Ice and snow now melts when not snowing
This commit is contained in:
parent
8d77857ad0
commit
6c7fa6f422
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user