label all ABMs for profiler
| | |
| | | |
| | | |
| | | minetest.register_abm({ |
| | | label = "Machines: reactor melt-down check", |
| | | nodenames = {"technic:hv_nuclear_reactor_core_active"}, |
| | | interval = 4, |
| | | chance = 1, |
| | |
| | | }) |
| | | |
| | | minetest.register_abm({ |
| | | label = "Machines: run power radiator", |
| | | nodenames = {"technic:power_radiator"}, |
| | | interval = 1, |
| | | chance = 1, |
| | |
| | | }) |
| | | |
| | | minetest.register_abm({ |
| | | label = "Machines: run coal alloy furnace", |
| | | nodenames = {"technic:coal_alloy_furnace", "technic:coal_alloy_furnace_active"}, |
| | | interval = 1, |
| | | chance = 1, |
| | |
| | | }) |
| | | |
| | | minetest.register_abm({ |
| | | label = "Machines: run injector", |
| | | nodenames = {"technic:injector"}, |
| | | interval = 1, |
| | | chance = 1, |
| | |
| | | |
| | | minetest.register_abm({ |
| | | nodenames = {"technic:power_monitor"}, |
| | | label = "Power Monitor", |
| | | label = "Machines: run power monitor", |
| | | interval = 1, |
| | | chance = 1, |
| | | action = function(pos, node, active_object_count, active_object_count_wider) |
| | |
| | | end |
| | | end |
| | | minetest.register_abm({ |
| | | label = "Machines: timeout check", |
| | | nodenames = {"group:technic_machine"}, |
| | | interval = 1, |
| | | chance = 1, |
| | |
| | | |
| | | --Re-enable disabled switching station if necessary, similar to the timeout above |
| | | minetest.register_abm({ |
| | | label = "Machines: re-enable check", |
| | | nodenames = {"technic:switching_station"}, |
| | | interval = 1, |
| | | chance = 1, |
| | |
| | | |
| | | if minetest.setting_getbool("enable_damage") then |
| | | minetest.register_abm({ |
| | | label = "Radiation damage", |
| | | nodenames = {"group:radioactive"}, |
| | | interval = 1, |
| | | chance = 1, |
| | |
| | | }) |
| | | |
| | | minetest.register_abm({ |
| | | label = "Corium: boil-off water (sources)", |
| | | nodenames = {"group:water"}, |
| | | neighbors = {"technic:corium_source"}, |
| | | interval = 1, |
| | |
| | | }) |
| | | |
| | | minetest.register_abm({ |
| | | label = "Corium: boil-off water (flowing)", |
| | | nodenames = {"technic:corium_flowing"}, |
| | | neighbors = {"group:water"}, |
| | | interval = 1, |
| | |
| | | }) |
| | | |
| | | minetest.register_abm({ |
| | | label = "Corium: become chernobylite", |
| | | nodenames = {"technic:corium_flowing"}, |
| | | interval = 5, |
| | | chance = (griefing and 10 or 1), |
| | |
| | | |
| | | if griefing then |
| | | minetest.register_abm({ |
| | | label = "Corium: griefing", |
| | | nodenames = {"technic:corium_source", "technic:corium_flowing"}, |
| | | interval = 4, |
| | | chance = 4, |
| | |
| | | }) |
| | | |
| | | minetest.register_abm({ |
| | | label = "Tools: tree tap", |
| | | nodenames = {"moretrees:rubber_tree_trunk_empty"}, |
| | | interval = 60, |
| | | chance = 15, |
| | |
| | | |
| | | minetest.register_abm({ |
| | | nodenames = {"moretrees:rubber_tree_sapling"}, |
| | | label = "Worldgen: grow rubber tree sapling", |
| | | interval = 60, |
| | | chance = 20, |
| | | action = function(pos, node) |