[Mod] Happy Weather API [0.1]

Post Reply
User avatar
xeranas
Member
Posts: 160
Joined: Fri Feb 05, 2016 11:06

[Mod] Happy Weather API [0.1]

by xeranas » Post

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://gitlab.com/rautars/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 Sun Oct 06, 2019 14:27, edited 3 times in total.

User avatar
azekill_DIABLO
Member
Posts: 7494
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Happy Weather API [0.1]

by azekill_DIABLO » Post

great, should allow us to do interesting things!

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

Re: [Mod] Happy Weather API [0.1]

by Azazel » Post

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: 160
Joined: Fri Feb 05, 2016 11:06

Re: [Mod] Happy Weather API [0.1]

by xeranas » Post

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'.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests