something like:
Code: Select all
data:extend{
{
type = "magic-entity",
name = "battey-powered-miner",
entity = "battery-powered-miner"
control_script = "aai-vehicles-miner"
}
}
Code: Select all
data:extend{
{
type = "magic-entity",
name = "battey-powered-miner",
entity = "battery-powered-miner"
control_script = "aai-vehicles-miner"
}
}
Ah, but what if you want to make something magic in two ways; if you have just one tag, only one value can be associated; you could also do a set of tags, so this thing is interesting to mod 1 and mod 2.eradicator wrote: ↑Sat Sep 12, 2020 10:31 am A freetext "tag=" on PrototypeBase would be sufficient.
Sorry i meant to write that in plural. A group of freetext strings. Like LuaEntity.tags or LuaEntityPrototype.flags. As those two names are already in use you'd have to name it something else. Or allow non-hardcoded flags.mrudat wrote: ↑Sun Sep 13, 2020 9:11 amAh, but what if you want to make something magic in two ways; if you have just one tag, only one value can be associated; you could also do a set of tags, so this thing is interesting to mod 1 and mod 2.eradicator wrote: ↑Sat Sep 12, 2020 10:31 am A freetext "tag=" on PrototypeBase would be sufficient.