mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-13 05:50:41 +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",
|
||||
nodenames = {"group:technic_machine"},
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
chance = 3,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
local meta = minetest.get_meta(pos)
|
||||
for tier, machines in pairs(technic.machines) do
|
||||
|
|
|
@ -349,7 +349,7 @@ if minetest.settings:get_bool("enable_damage") then
|
|||
label = "Radiation damage",
|
||||
nodenames = {"group:radioactive"},
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
chance = 2,
|
||||
action = dmg_abm,
|
||||
})
|
||||
|
||||
|
@ -465,7 +465,7 @@ minetest.register_abm({
|
|||
nodenames = {"group:water"},
|
||||
neighbors = {"technic:corium_source"},
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
chance = 3,
|
||||
action = function(pos, node)
|
||||
minetest.remove_node(pos)
|
||||
end,
|
||||
|
@ -476,7 +476,7 @@ minetest.register_abm({
|
|||
nodenames = {"technic:corium_flowing"},
|
||||
neighbors = {"group:water"},
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
chance = 3,
|
||||
action = function(pos, node)
|
||||
minetest.set_node(pos, {name="technic:chernobylite_block"})
|
||||
end,
|
||||
|
@ -513,4 +513,3 @@ if griefing then
|
|||
end,
|
||||
})
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user