- 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
---
> #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
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)
},
})
+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",