mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-14 14:30:44 +01:00
conservative chances on avm's
This commit is contained in:
parent
bcbdb116c8
commit
c562064a62
|
@ -498,7 +498,7 @@ minetest.register_abm({
|
||||||
label = "Machines: timeout check",
|
label = "Machines: timeout check",
|
||||||
nodenames = {"group:technic_machine"},
|
nodenames = {"group:technic_machine"},
|
||||||
interval = 1,
|
interval = 1,
|
||||||
chance = 1,
|
chance = 3,
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
for tier, machines in pairs(technic.machines) do
|
for tier, machines in pairs(technic.machines) do
|
||||||
|
|
|
@ -349,7 +349,7 @@ if minetest.settings:get_bool("enable_damage") then
|
||||||
label = "Radiation damage",
|
label = "Radiation damage",
|
||||||
nodenames = {"group:radioactive"},
|
nodenames = {"group:radioactive"},
|
||||||
interval = 1,
|
interval = 1,
|
||||||
chance = 1,
|
chance = 2,
|
||||||
action = dmg_abm,
|
action = dmg_abm,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -465,7 +465,7 @@ minetest.register_abm({
|
||||||
nodenames = {"group:water"},
|
nodenames = {"group:water"},
|
||||||
neighbors = {"technic:corium_source"},
|
neighbors = {"technic:corium_source"},
|
||||||
interval = 1,
|
interval = 1,
|
||||||
chance = 1,
|
chance = 3,
|
||||||
action = function(pos, node)
|
action = function(pos, node)
|
||||||
minetest.remove_node(pos)
|
minetest.remove_node(pos)
|
||||||
end,
|
end,
|
||||||
|
@ -476,7 +476,7 @@ minetest.register_abm({
|
||||||
nodenames = {"technic:corium_flowing"},
|
nodenames = {"technic:corium_flowing"},
|
||||||
neighbors = {"group:water"},
|
neighbors = {"group:water"},
|
||||||
interval = 1,
|
interval = 1,
|
||||||
chance = 1,
|
chance = 3,
|
||||||
action = function(pos, node)
|
action = function(pos, node)
|
||||||
minetest.set_node(pos, {name="technic:chernobylite_block"})
|
minetest.set_node(pos, {name="technic:chernobylite_block"})
|
||||||
end,
|
end,
|
||||||
|
@ -513,4 +513,3 @@ if griefing then
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user