Code: Select all
defines = {
shooting = {
not_shooting = 0,
shooting_enemies = 1,
shooting_seleted = 2
Code: Select all
defines = {
control_behavior = {
type = {
.......
storage_tank = 7,
["train-stop"] = 8,
transport_belt = 12
if defines.control_behavior.type["train-stop"]