label all ABMs for profiler

This commit is contained in:
Vanessa Ezekowitz 2017-03-31 19:15:10 -04:00
parent 9755127ffd
commit 78f16c3e8e
9 changed files with 14 additions and 1 deletions

View File

@ -221,6 +221,7 @@ end
minetest.register_abm({
label = "Machines: reactor melt-down check",
nodenames = {"technic:hv_nuclear_reactor_core_active"},
interval = 4,
chance = 1,

View File

@ -146,6 +146,7 @@ minetest.register_node("technic:power_radiator", {
})
minetest.register_abm({
label = "Machines: run power radiator",
nodenames = {"technic:power_radiator"},
interval = 1,
chance = 1,

View File

@ -70,6 +70,7 @@ minetest.register_node("technic:coal_alloy_furnace_active", {
})
minetest.register_abm({
label = "Machines: run coal alloy furnace",
nodenames = {"technic:coal_alloy_furnace", "technic:coal_alloy_furnace_active"},
interval = 1,
chance = 1,

View File

@ -104,6 +104,7 @@ minetest.register_node("technic:injector", {
})
minetest.register_abm({
label = "Machines: run injector",
nodenames = {"technic:injector"},
interval = 1,
chance = 1,

View File

@ -35,7 +35,7 @@ minetest.register_node("technic:power_monitor",{
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)

View File

@ -436,6 +436,7 @@ local function switching_station_timeout_count(pos, tier)
end
end
minetest.register_abm({
label = "Machines: timeout check",
nodenames = {"group:technic_machine"},
interval = 1,
chance = 1,
@ -461,6 +462,7 @@ minetest.register_abm({
--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,

View File

@ -346,6 +346,7 @@ end
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_node("technic:chernobylite_block", {
})
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({
})
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({
})
minetest.register_abm({
label = "Corium: become chernobylite",
nodenames = {"technic:corium_flowing"},
interval = 5,
chance = (griefing and 10 or 1),
@ -468,6 +472,7 @@ minetest.register_abm({
if griefing then
minetest.register_abm({
label = "Corium: griefing",
nodenames = {"technic:corium_source", "technic:corium_flowing"},
interval = 4,
chance = 4,

View File

@ -62,6 +62,7 @@ minetest.register_craftitem("technic:rubber", {
})
minetest.register_abm({
label = "Tools: tree tap",
nodenames = {"moretrees:rubber_tree_trunk_empty"},
interval = 60,
chance = 15,

View File

@ -73,6 +73,7 @@ technic.rubber_tree_model={
minetest.register_abm({
nodenames = {"moretrees:rubber_tree_sapling"},
label = "Worldgen: grow rubber tree sapling",
interval = 60,
chance = 20,
action = function(pos, node)