prototypes/equipment/equipment.lua
Code: Select all
name = "personal-roboport-equipment",
construction_radius = 15,
name = "personal-roboport-mk2-equipment",
construction_radius = 20,
BUT I can't get it.
Code: Select all
game.equipment_prototypes[equipment.name].construction_radius
https://lua-api.factorio.com/latest/Lua ... otype.htmlLuaEquipmentPrototype doesn't contain key construction_radius.
Am I calling the wrong thing?
Thank you.
note: I don't want to hard code the 15 & 20, I check on type "roboport-equipment"