Vanessa Ezekowitz
2017-04-01 78f16c3e8e7ce5bb0bce1279e380679f6f688a5a
label all ABMs for profiler
9 files modified
15 ■■■■■ changed files
technic/machines/HV/nuclear_reactor.lua 1 ●●●● patch | view | raw | blame | history
technic/machines/MV/power_radiator.lua 1 ●●●● patch | view | raw | blame | history
technic/machines/other/coal_alloy_furnace.lua 1 ●●●● patch | view | raw | blame | history
technic/machines/other/injector.lua 1 ●●●● patch | view | raw | blame | history
technic/machines/power_monitor.lua 2 ●●● patch | view | raw | blame | history
technic/machines/switching_station.lua 2 ●●●●● patch | view | raw | blame | history
technic/radiation.lua 5 ●●●●● patch | view | raw | blame | history
technic/tools/tree_tap.lua 1 ●●●● patch | view | raw | blame | history
technic_worldgen/rubber.lua 1 ●●●● patch | view | raw | blame | history
technic/machines/HV/nuclear_reactor.lua
@@ -221,6 +221,7 @@
minetest.register_abm({
    label = "Machines: reactor melt-down check",
    nodenames = {"technic:hv_nuclear_reactor_core_active"},
    interval = 4,
    chance = 1,
technic/machines/MV/power_radiator.lua
@@ -146,6 +146,7 @@
})
minetest.register_abm({
    label = "Machines: run power radiator",
    nodenames = {"technic:power_radiator"},
    interval   = 1,
    chance     = 1,
technic/machines/other/coal_alloy_furnace.lua
@@ -70,6 +70,7 @@
})
minetest.register_abm({
    label = "Machines: run coal alloy furnace",
    nodenames = {"technic:coal_alloy_furnace", "technic:coal_alloy_furnace_active"},
    interval = 1,
    chance = 1,
technic/machines/other/injector.lua
@@ -104,6 +104,7 @@
})
minetest.register_abm({
    label = "Machines: run injector",
    nodenames = {"technic:injector"},
    interval = 1,
    chance = 1,
technic/machines/power_monitor.lua
@@ -35,7 +35,7 @@
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)
technic/machines/switching_station.lua
@@ -436,6 +436,7 @@
    end
end
minetest.register_abm({
    label = "Machines: timeout check",
    nodenames = {"group:technic_machine"},
    interval   = 1,
    chance     = 1,
@@ -461,6 +462,7 @@
--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,
technic/radiation.lua
@@ -346,6 +346,7 @@
if minetest.setting_getbool("enable_damage") then
    minetest.register_abm({
        label = "Radiation damage",
        nodenames = {"group:radioactive"},
        interval = 1,
        chance = 1,
@@ -438,6 +439,7 @@
})
minetest.register_abm({
    label = "Corium: boil-off water (sources)",
    nodenames = {"group:water"},
    neighbors = {"technic:corium_source"},
    interval = 1,
@@ -448,6 +450,7 @@
})
minetest.register_abm({
    label = "Corium: boil-off water (flowing)",
    nodenames = {"technic:corium_flowing"},
    neighbors = {"group:water"},
    interval = 1,
@@ -458,6 +461,7 @@
})
minetest.register_abm({
    label = "Corium: become chernobylite",
    nodenames = {"technic:corium_flowing"},
    interval = 5,
    chance = (griefing and 10 or 1),
@@ -468,6 +472,7 @@
if griefing then
    minetest.register_abm({
        label = "Corium: griefing",
        nodenames = {"technic:corium_source", "technic:corium_flowing"},
        interval = 4,
        chance = 4,
technic/tools/tree_tap.lua
@@ -62,6 +62,7 @@
})
minetest.register_abm({
    label = "Tools: tree tap",
    nodenames = {"moretrees:rubber_tree_trunk_empty"},
    interval = 60,
    chance = 15,
technic_worldgen/rubber.lua
@@ -73,6 +73,7 @@
minetest.register_abm({
    nodenames = {"moretrees:rubber_tree_sapling"},
    label = "Worldgen: grow rubber tree sapling",
    interval = 60,
    chance = 20,
    action = function(pos, node)