Call this 4.0.

This commit is contained in:
Quentin Quaadgras 2018-04-23 22:57:50 +12:00
parent 1b4cc3e94c
commit 5b4e705055
4 changed files with 29 additions and 41 deletions

View File

@ -1,5 +1,10 @@
CHANGELOG: CHANGELOG:
------------ ------------
Version 4.0
Snow mod is now a complimentary mod to the default snow found in minetest.
HybridDog's large changes, fixes and more (see commit log).
Version 3.2 Version 3.2

View File

@ -5,21 +5,19 @@
____) | | | | (_) \ V V / | | | | (_) | (_| | ____) | | | | (_) \ V V / | | | | (_) | (_| |
|_____/|_| |_|\___/ \_/\_/ |_| |_|\___/ \__,_| |_____/|_| |_|\___/ \_/\_/ |_| |_|\___/ \__,_|
Version 3.2 Version 4.0
By Splizard and LazyJ. By Splizard, HybridDog and LazyJ.
Minetest version: 0.4.9 Minetest version: 0.4.16+
Depends: default Depends: default
License: GPL v2 License: GPL v3
Complimentary Mods: Complimentary Mods:
--------------------- ---------------------
* "Snowdrift" by paramat
* "More Blocks" by Calinou (2014_05_11 or newer) * "More Blocks" by Calinou (2014_05_11 or newer)
* "Skins" by Zeg9 * "Skins" by Zeg9
Install: Install:
Forum post: http://minetest.net/forum/viewtopic.php?id=2290 Forum post: http://minetest.net/forum/viewtopic.php?id=2290
@ -43,26 +41,8 @@ Place this folder in your minetest mods folder.
world's "world.mt" file: world's "world.mt" file:
load_mod_snow = true load_mod_snow = true
NOTICE
While this mod is installed you may experience slower map loading while a snow biome is generated.
USAGE: USAGE:
------- -------
If you walk around a bit you will find snow biomes scattered around the world.
There are nine biome types:
* Normal
* Icebergs
* Icesheet
* Broken icesheet
* Icecave
* Coast
* Alpine
* Snowy
* Plain
Snow can be picked up and thrown as snowballs or stacked into snow blocks. Snow can be picked up and thrown as snowballs or stacked into snow blocks.
Snow and ice melts when near warm blocks such as torches or igniters such as lava. Snow and ice melts when near warm blocks such as torches or igniters such as lava.
Snow blocks freeze water source blocks around them. Snow blocks freeze water source blocks around them.
@ -86,24 +66,21 @@ Icy Snow:
Snow Ice Snow Ice
Ice Snow Ice Snow
MAPGEN_V7:
------------
If you are using minetest 0.4.8 or the latest dev version of minetest you can choose to generate a v7 map.
This option can be found when creating a new map from the menu.
Snow Biomes has support for this though you might need a couple other biomes too otherwise you will only spawn snow.
There are a couple of bugs and limitations with this such as no ice being generated at the moment.
Config file: Config file:
------------ ------------
After starting a game in minetest with snow mod, a config file will be placed in this folder that contains the various options for snow mod. You can change various settings from the advanced settings in Minetest.
As admin you can use the /snow command in-game to make various changes.
* Go to the settings tab.
* Click on Advanced Settings.
* Click on Mods.
* Click on snow.
* Change stuff!
UNINSTALL: UNINSTALL:
------------ ------------
Simply delete the folder snow from the mods folder. Simply delete the folder snow from the mods folder.
TODO: TODO:
— use the settingtypes.txt
— test if the fixed ground_y search works correctly at chunkcorners at ground level — test if the fixed ground_y search works correctly at chunkcorners at ground level

View File

@ -266,12 +266,14 @@ nodedef.groups.flammable = 1
minetest.register_node("snow:apple", nodedef) minetest.register_node("snow:apple", nodedef)
snow.known_plants[minetest.get_content_id("default:apple")] = minetest.get_content_id("snow:apple") snow.known_plants[minetest.get_content_id("default:apple")] = minetest.get_content_id("snow:apple")
-- decay from default/nodes.lua:2537 if not snow.disable_mapgen then
default.register_leafdecay{ -- decay from default/nodes.lua:2537
trunks = {"default:tree"}, default.register_leafdecay{
leaves = {"snow:apple", "snow:leaves"}, trunks = {"default:tree"},
radius = minetest.get_mapgen_setting"mg_name" == "v6" and 2 or 3, leaves = {"snow:apple", "snow:leaves"},
} radius = minetest.get_mapgen_setting"mg_name" == "v6" and 2 or 3,
}
end
-- TODO -- TODO
snow.known_plants[minetest.get_content_id("default:jungleleaves")] = minetest.get_content_id("default:jungleleaves") snow.known_plants[minetest.get_content_id("default:jungleleaves")] = minetest.get_content_id("default:jungleleaves")

View File

@ -27,6 +27,10 @@ if snow.disable_mapgen == nil then
snow.disable_mapgen = true snow.disable_mapgen = true
end end
if snow.enable_snowfall == nil then
snow.enable_snowfall = true
end
-- functions for dynamically changing settings -- functions for dynamically changing settings
local on_configurings,n = {},1 local on_configurings,n = {},1