Page 1 of 6

[Mod]mymonths[mymonths]

Posted: Tue Nov 24, 2015 14:08
by Don
Image

Mymonths adds a few things to Minetest. Please only use on new worlds. It has not been tested in multiplayer yet.
If anyone wants to help develop this then please let me know. It is still in development so there may be issues. Please report all issues or suggestions.

Months - there are 12 months in a Minetest year. January - December. Each month has 14 days. Each week has 7 days, Monday - Sunday.

Length of days - In the summer months the days are longer then the nights. Spring and fall have days that are the same and in the winter the nights are longer.

Leaves - In the spring leaves grow on trees. Summer time apples grow. In the fall the leaves turn colour and eventually fall off the tree. Through the winter there are no apples or leaves. In the spring they grow back again.

Holidays - There are some holidays throughout the year.
- Dec 14 - New Years Eve
- Jan 1 - New Years Day
- March 12 - Friendship Day
- April 10 - Miners Day
- June 5 - Minetest Day
- Aug 12 - Builders Day
- Oct 8 - Harvest Day

Weather - Based off Jeija's weather mod. This adds rain, storm, snow, snowstorm, hail and sandstorm. Weather depends on what time of year it is and what biome you are in. There is a setting which make it so storm and snowstorm causes damage but is off by default.

Commands - You will need the mymonths priv to use most commands
/setweather - rain, storm, snow, snowstorm, hail, sandstorm, clear
/setmonth - 1-12 or jan - dec or January - December or january - december
/setday - 1 - 14

These commands do not need a priv
/weather - tells you what the weather is right now
/date - tell you the day, month and time
/holidays - gives a list of the holidays and the date

Everyday at 6am The time and date is show in chat. If it is a holiday it will say the holiday at the same time.

There is a settings.txt file that allows you to turn on and off different parts of the mod. Weather is a bit laggy since it uses particles. If you have an older computer you will want to turn the weather off.
Rename the settings.txt.example file to settings.txt. Change the setting to either true of false
damage - whether the storms cause damage or not
use_weather - turns weather on or off
leaves - whether or not the leaves change
snow_on_ground - whether or not snow accumulates on the ground when it snows
use_puddles - whether puddles appear on the ground when it rains or when snow melts.
Spoiler
Image
Image
Image
Image
If you have sofars lightning mod then storms look and sound much better.

Contributors - Nathan Salapat,sofar, tenplus1 and Don
Download - mymonths for 0.4.13 and below
Download - mymonths for 0.4.14
Github - https://github.com/minetest-mods/mymonths
Licence - DWYWPL (except for Jeija's stuff. Licence included)

Re: [Mod]mymonths[mymonths]

Posted: Tue Nov 24, 2015 14:52
by mahmutelmas06
Nice idea and good job. Especially weather

Re: [Mod]mymonths[mymonths]

Posted: Tue Nov 24, 2015 14:58
by Don
mahmutelmas06 wrote:Nice idea and good job. Especially weather
Thanks. The weather is laggy so it is not so great. If you play in single player it seems to work ok. It is nice to have things change over time. The leaves changing color is my favourite part. Fall looks really nice. Nathan did a nice job with the leaves. Acacia trees also bloom at certain times of the year. In the fall the apples drop to the ground. In the winter and spring there are no apples. If you have hunger mod then make sure you collect apples in the fall.

Re: [Mod]mymonths[mymonths]

Posted: Tue Nov 24, 2015 15:52
by duane
Very ambitious, my friend. How do you keep coming up with this stuff? /tip-of-the-hat

Re: [Mod]mymonths[mymonths]

Posted: Tue Nov 24, 2015 16:03
by Nathan.S
Duane, the leaves changing colors was actually requested by Peter B. in the Google+ community, I saw the request and thought I remembered seeing a mod from Don that did months, so I forked that and worked on adding the changing leaves. Don and I collaborated on it, and the rest as they say is history. :)

Re: [Mod]mymonths[mymonths]

Posted: Tue Nov 24, 2015 16:06
by Don
duane wrote:Very ambitious, my friend. How do you keep coming up with this stuff? /tip-of-the-hat
Coming from someone who is as creative and skilled as you I take that as quite a complement. Nathan and I put a lot of thought into it.

Re: [Mod]mymonths[mymonths]

Posted: Tue Nov 24, 2015 17:53
by Napiophelios
rain is kinda lame
but the storm setting is completely awesome;
even with the lag its awesome.
I hope you guys can optimize this some more.
its a nice one.

You should check out Hybriddog's fork of 4seasons
its got some pretty cool effects for wintery nodes
you might want to incorporate.

Tenplus1 has a similar simple seasons mod too
but all effects are chat command,
I dont think anything is automated.

Re: [Mod]mymonths[mymonths]

Posted: Tue Nov 24, 2015 18:10
by Don
I will check them out. Maybe Hybrid Dog or TenPlus1 will help improve this mod. Anyone who wants to help can.
I would guess Hybrid Dog has already took a look. He is great with suggestions and improvements.

Re: [Mod]mymonths[mymonths]

Posted: Tue Nov 24, 2015 22:29
by Don
I added roadmap.txt to the mod. It is some of the ideas I plan to do to the mod. I thought I would put my ideas in writing in case people want to help with the mod. You can look at what I have planned or come up with new ideas.

Re: [Mod]mymonths[mymonths]

Posted: Tue Nov 24, 2015 22:56
by twoelk
amazing indeed

different day and night ratio - cool

synching this with some farming mod might be quite a feat.
will need carefull planing by the player to not starve if there is only one harvest in a year ingame

Re: [Mod]mymonths[mymonths]

Posted: Tue Nov 24, 2015 23:03
by Don
Depending on the crop and location there can be more than one harvest per season in real life. I will research each plant to make it as accurate as possible.
But it will take a little more planning or on servers it can be more of a community effort. I hope to make it server friendly soon excluding weather.

Re: [Mod]mymonths[mymonths]

Posted: Wed Nov 25, 2015 01:22
by Nathan.S
I'd planned on incorporating the thirst mod as an optional dependency and have you thirst faster in the summer. I'll be doing it for my subgame but can certainly give those changes here as well.

Re: [Mod]mymonths[mymonths]

Posted: Wed Nov 25, 2015 02:58
by Don
Nathan.S wrote:I'd planned on incorporating the thirst mod as an optional dependency and have you thirst faster in the summer. I'll be doing it for my subgame but can certainly give those changes here as well.
Thats a nice idea. Can you add it to the roadmap.txt? We can get it implemented pretty quick if you want.

Re: [Mod]mymonths[mymonths]

Posted: Wed Nov 25, 2015 09:22
by twoelk
thirst per biome might be interesting to make large deserts real obstacles

Re: [Mod]mymonths[mymonths]

Posted: Wed Nov 25, 2015 12:15
by TenPlus1
You would need a proper working heat and humidity map for v6/v5/v7 mapgens that can tell which biomes you are in, how hot or cold the player is as well as how cold it is for growing crops, which would also mean you need heaters to grow anything indoors in those particular biomes...

Reality comes at a price.

Re: [Mod]mymonths[mymonths]

Posted: Wed Nov 25, 2015 12:58
by Don
Proper heat and humidity would make things much easier.
Growing crops is easy with this mod cause you only have to tell it to grow on certain dates and die on other dates then run an abm to check the date and make the crops do what they need to do.

Re: [Mod]mymonths[mymonths]

Posted: Wed Nov 25, 2015 19:02
by Nathan.S
Thirst per biome would probably be better done in the thirst mod, but I can look into it and try and add it in to the seasonal thirst code. I'll probably do a multiplier so you can change a setting and it will multiply by that setting, you could do super extreme thirst this way or just slight changes making it adapt better for different playing styles.

Re: [Mod]mymonths[mymonths]

Posted: Thu Nov 26, 2015 01:21
by duane
TenPlus1 wrote:You would need a proper working heat and humidity map for v6/v5/v7 mapgens that can tell which biomes you are in, how hot or cold the player is as well as how cold it is for growing crops...
Afflatus has this licked for v7, at least, in biomes_lib. He's just reading the noise settings and generating data for any given spot the way the mapgen does. Once you have that, getting the biome from the list is easy.

Re: [Mod]mymonths[mymonths]

Posted: Sun Nov 29, 2015 14:58
by mahmutelmas06
This rain sound is so annoying after a minute.
And rain never stops after 2 minetest days

Re: [Mod]mymonths[mymonths]

Posted: Sun Nov 29, 2015 17:00
by Don
I will look into that as soon as I can. Next couple days are busy for me.
Thanks for letting me know. Please post any other issues you find.

Re: [Mod]mymonths[mymonths]

Posted: Mon Nov 30, 2015 19:48
by cd2
+1

Re: [Mod]mymonths[mymonths]

Posted: Mon Nov 30, 2015 23:22
by KCoombes
Consistently Monday June 1.... like Groundhog Day all over again :P

I noticed you have a settings.txt.example, with the same settings inside the init.lua - which should be used?

Re: [Mod]mymonths[mymonths]

Posted: Tue Dec 01, 2015 01:34
by Don
The settings in the mod are what is used if the settings.txt is not present. If you want to change anything you should rename the settings.txt.example to settings.txt. Make the changes in that.
If you know lua and want to make changes to the mod itself then feel free to do so. If you make any improvements then please share them here and I might add them to the mod.

Re: [Mod]mymonths[mymonths]

Posted: Thu Jan 07, 2016 12:51
by Don
Nathan added new sounds.

Re: [Mod]mymonths[mymonths]

Posted: Mon Jan 11, 2016 00:00
by Fritigern
Suggestion 1: Add a calendar node to display the date. Pointing at the calendar could show the date, and/or punching the calendar could show a formspec showing the days of the month with the current day highlighted.
Suggestion 2: Display the date on the HUD

Just some ideas as I played with the mod :-)