[Mod]mymonths[mymonths]

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

[Mod]mymonths[mymonths]

by Don » Tue Nov 24, 2015 14:08

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.

+ Screenshots


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)
Last edited by Don on Mon Apr 11, 2016 00:19, edited 4 times in total.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
mahmutelmas06
Member
 
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod]mymonths[mymonths]

by mahmutelmas06 » Tue Nov 24, 2015 14:52

Nice idea and good job. Especially weather
My Mods:

Beverage
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Tue Nov 24, 2015 14:58

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.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
duane
Member
 
Posts: 1274
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod]mymonths[mymonths]

by duane » Tue Nov 24, 2015 15:52

Very ambitious, my friend. How do you keep coming up with this stuff? /tip-of-the-hat
Believe in people and you don't need to believe anything else.
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod]mymonths[mymonths]

by Nathan.S » Tue Nov 24, 2015 16:03

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. :)
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Tue Nov 24, 2015 16:06

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.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Napiophelios
Member
 
Posts: 940
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod]mymonths[mymonths]

by Napiophelios » Tue Nov 24, 2015 17:53

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.
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Tue Nov 24, 2015 18:10

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.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Tue Nov 24, 2015 22:29

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.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

twoelk
Member
 
Posts: 1257
Joined: Fri Apr 19, 2013 16:19
Location: northern Germany
GitHub: twoelk
IRC: twoelk
In-game: twoelk

Re: [Mod]mymonths[mymonths]

by twoelk » Tue Nov 24, 2015 22:56

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
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Tue Nov 24, 2015 23:03

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.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod]mymonths[mymonths]

by Nathan.S » Wed Nov 25, 2015 01:22

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Wed Nov 25, 2015 02:58

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.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

twoelk
Member
 
Posts: 1257
Joined: Fri Apr 19, 2013 16:19
Location: northern Germany
GitHub: twoelk
IRC: twoelk
In-game: twoelk

Re: [Mod]mymonths[mymonths]

by twoelk » Wed Nov 25, 2015 09:22

thirst per biome might be interesting to make large deserts real obstacles
 

User avatar
TenPlus1
Member
 
Posts: 2419
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod]mymonths[mymonths]

by TenPlus1 » Wed Nov 25, 2015 12:15

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.
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Wed Nov 25, 2015 12:58

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.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Nathan.S
Member
 
Posts: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod]mymonths[mymonths]

by Nathan.S » Wed Nov 25, 2015 19:02

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.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
duane
Member
 
Posts: 1274
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod]mymonths[mymonths]

by duane » Thu Nov 26, 2015 01:21

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.
Believe in people and you don't need to believe anything else.
 

User avatar
mahmutelmas06
Member
 
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod]mymonths[mymonths]

by mahmutelmas06 » Sun Nov 29, 2015 14:58

This rain sound is so annoying after a minute.
And rain never stops after 2 minetest days
My Mods:

Beverage
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Sun Nov 29, 2015 17:00

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.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
cd2
Member
 
Posts: 562
Joined: Mon Jun 01, 2015 06:30
Location: Linux
GitHub: cdqwertz
In-game: cd cd2
 

KCoombes
Member
 
Posts: 403
Joined: Thu Jun 11, 2015 23:19
Location: SW Florida, USA
In-game: Knatt

Re: [Mod]mymonths[mymonths]

by KCoombes » Mon Nov 30, 2015 23:22

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?
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Tue Dec 01, 2015 01:34

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.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Thu Jan 07, 2016 12:51

Nathan added new sounds.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Fritigern
Member
 
Posts: 43
Joined: Mon Sep 29, 2014 11:01
Location: Spokane, WA
In-game: Fritigern

Re: [Mod]mymonths[mymonths]

by Fritigern » Mon Jan 11, 2016 00:00

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 :-)
--
This is NOT a sig.
 

Next

Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 1 guest