forked from minetest-mods/mesecons
Fix #198 by adding gates to the "overheat" group
This commit is contained in:
parent
adb803ce17
commit
80648b6c14
@ -78,7 +78,7 @@ function register_gate(name, inputnumber, assess, recipe)
|
|||||||
},{
|
},{
|
||||||
tiles = {"jeija_microcontroller_bottom.png^".."jeija_gate_off.png^"..
|
tiles = {"jeija_microcontroller_bottom.png^".."jeija_gate_off.png^"..
|
||||||
"jeija_gate_"..name..".png"},
|
"jeija_gate_"..name..".png"},
|
||||||
groups = {dig_immediate = 2},
|
groups = {dig_immediate = 2, overheat = 1},
|
||||||
mesecons = { receptor = {
|
mesecons = { receptor = {
|
||||||
state = "off",
|
state = "off",
|
||||||
rules = gate_get_output_rules
|
rules = gate_get_output_rules
|
||||||
@ -89,7 +89,7 @@ function register_gate(name, inputnumber, assess, recipe)
|
|||||||
},{
|
},{
|
||||||
tiles = {"jeija_microcontroller_bottom.png^".."jeija_gate_on.png^"..
|
tiles = {"jeija_microcontroller_bottom.png^".."jeija_gate_on.png^"..
|
||||||
"jeija_gate_"..name..".png"},
|
"jeija_gate_"..name..".png"},
|
||||||
groups = {dig_immediate = 2, not_in_creative_inventory = 1},
|
groups = {dig_immediate = 2, not_in_creative_inventory = 1, overheat = 1},
|
||||||
mesecons = { receptor = {
|
mesecons = { receptor = {
|
||||||
state = "on",
|
state = "on",
|
||||||
rules = gate_get_output_rules
|
rules = gate_get_output_rules
|
||||||
|
Loading…
Reference in New Issue
Block a user