diff --git a/README.md b/README.md index 6ca6bf1..973f47e 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,7 @@ enable_mod_channels = true - Fixed raw porkchops not being edible - Fixed xp level number scaling huge - Added in cool spider sounds +- Snow and ice now melts when not snowing --- @@ -169,6 +170,12 @@ enable_mod_channels = true > #1 idea, - make mobs pathfind +### snowman +- only spawns when snowing +- throws snowballs at the player +- creates snow wherever it "walks" +- you can put a pumpkin on it's head to make it survive when it's not snowing out +- drops snowballs and coal ### sheep - sheep can be punched to drop wool without damage diff --git a/mods/fishing/init.lua b/mods/fishing/init.lua index 014af90..0361982 100644 --- a/mods/fishing/init.lua +++ b/mods/fishing/init.lua @@ -95,9 +95,8 @@ lure.on_step = function(self, dtime) self.catch_timer = self.catch_timer + dtime if self.catch_timer >= 0.5 then - print("trying") self.catch_timer = 0 - if math.random() > 0.96 then + if math.random() > 0.94 then local obj = minetest.add_item(pos, "fishing:fish") if obj then local distance = vector.distance(pos,pos2) diff --git a/mods/weather/init.lua b/mods/weather/init.lua index 906e960..91020b4 100644 --- a/mods/weather/init.lua +++ b/mods/weather/init.lua @@ -325,6 +325,20 @@ minetest.register_node("weather:snow_block", { }, }) +minetest.register_abm({ + label = "snow and ice melt", + nodenames = {"weather:snow","main:ice"}, + neighbors = {"air"}, + interval = 3, + chance = 10, + catch_up = true, + action = function(pos) + if weather_type ~= 1 then + minetest.remove_node(pos) + end + end, +}) + minetest.register_craftitem("weather:snowball", { description = "Snowball", inventory_image = "snowball.png",