[Mod] Happy Weather API [0.1]

User avatar
xeranas
Member
 
Posts: 151
Joined: Fri Feb 05, 2016 11:06
GitHub: xeranas

[Mod] Happy Weather API [0.1]

by xeranas » Sun Apr 16, 2017 19:05

Minetest utility mod to help manage weather.

Mod itself does not do much as 'heavy-lifting' is leaved to weather implementations.

Main features:
* Ability to define weather effect area
* Ability to combine multiple weathers at once

Mod dependencies: <none>
Download and details on: https://github.com/xeranas/happy_weather_api
Licensing:
- Code: MIT
Tested on: Minetest 0.4.15

There are sample/demo implementation of api happy_weather (no auto weather start yet, currently samples can be invoked only from chat commands).
Last edited by xeranas on Sat May 13, 2017 07:24, edited 1 time in total.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7207
Joined: Wed Oct 29, 2014 20:05
Location: Under my desk (but I can't see my monitor now X'[ )
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Happy Weather API [0.1]

by azekill_DIABLO » Sun Apr 16, 2017 22:36

great, should allow us to do interesting things!
【Voxellar 2.0】 ; 【MILA】 ; 【Rec_a_MT】 ; 【BB,HD】 ; 【▶ Youtube】 "Pizza is many people's lifeblood. The sauce is like nectar, dough is like ambrosia." -Chem871
 

Azazel
Member
 
Posts: 13
Joined: Sun Dec 13, 2015 18:44
In-game: Omallem

Re: [Mod] Happy Weather API [0.1]

by Azazel » Mon Apr 17, 2017 16:04

This mod changes the color of the sky as does wheather_pack or change the time to darken the environment. Changing the time would be ideal for monsters spawning
 

User avatar
xeranas
Member
 
Posts: 151
Joined: Fri Feb 05, 2016 11:06
GitHub: xeranas

Re: [Mod] Happy Weather API [0.1]

by xeranas » Mon Apr 17, 2017 20:04

Azazel wrote:This mod changes the color of the sky as does wheather_pack or change the time to darken the environment. Changing the time would be ideal for monsters spawning

This API is acts as glue/bridge between weather implementations and mods who whant hook additional functionality for certain weather. It isn't too hard to create weather which would change time. Technically you could do anything what is possible with minetest lua api and register it as 'weaher'.
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 6 guests

cron