Does not workprg wrote:What you're doing there is syntactically correct, but results in assignment of just a single string and five statements without effect. Try curly braces around the strings to turn them into a table. (but no idea if the game actually supports this)
Search found 8 matches
- Sat Feb 20, 2016 1:44 pm
- Forum: Modding help
- Topic: Help, mod Repair_pack's_0.1.0
- Replies: 6
- Views: 2789
Re: Help, mod Repair_pack's_0.1.0
- Sat Feb 20, 2016 12:04 pm
- Forum: Modding help
- Topic: Help, mod Repair_pack's_0.1.0
- Replies: 6
- Views: 2789
Help, mod Repair_pack's_0.1.0
Drones do not use the added repair kits, or only the first listed in the base.lua:
data.raw["construction-robot"]["construction-robot"].repair_pack = "repair-pack", "repair-pack1", "repair-pack2", "repair-pack3", "repair-pack4", "repair-pack5"
data.raw["construction-robot"]["construction-robot"].repair_pack = "repair-pack", "repair-pack1", "repair-pack2", "repair-pack3", "repair-pack4", "repair-pack5"
- Sat Feb 20, 2016 11:16 am
- Forum: Mods
- Topic: Repair_pack's_0.2.0 [MOD 0.12.22]
- Replies: 2
- Views: 2411
Re: Repair_pack's_0.1.0 [MOD 0.12.22]
Trying to solve the problem, I will be glad to help.mophydeen wrote:Will robots use these ??
- Sat Feb 20, 2016 7:14 am
- Forum: Mods
- Topic: Repair_pack's_0.2.0 [MOD 0.12.22]
- Replies: 2
- Views: 2411
Repair_pack's_0.2.0 [MOD 0.12.22]
New repair kits, repair-pack1=construction-robotRepair-pack1.
- Fri Feb 19, 2016 4:45 pm
- Forum: Modding help
- Topic: Help
- Replies: 7
- Views: 5106
Re: Help
Thank you.Arch666Angel wrote:That's because you mixed upper and lower case names.
- Fri Feb 19, 2016 4:28 pm
- Forum: Modding help
- Topic: Help
- Replies: 7
- Views: 5106
Re: Help
--Item car
{
type = "item",
name = "Turecar",
icon = "__base__/graphics/icons/car.png",
flags = {"goes-to-quickbar"},
subgroup = "transport",
order = "a[personal-transport]-c[turecar]",
place_result = "turecar",
stack_size = 1
},
Error: Error in assignID, entity with name 'turecar' does ...
{
type = "item",
name = "Turecar",
icon = "__base__/graphics/icons/car.png",
flags = {"goes-to-quickbar"},
subgroup = "transport",
order = "a[personal-transport]-c[turecar]",
place_result = "turecar",
stack_size = 1
},
Error: Error in assignID, entity with name 'turecar' does ...
- Fri Feb 19, 2016 4:20 pm
- Forum: Modding help
- Topic: Help
- Replies: 7
- Views: 5106
Re: Help
Error when starting the game: EntityPrototype Turecar doesn't have an order string and there is no item to place it.
--Item car
{
type = "item",
name = "Turecar", -use lowercases, uppercase names are defined in the localisation files
icon = "__base__/graphics/icons/car.png",
flags = {"goes ...
--Item car
{
type = "item",
name = "Turecar", -use lowercases, uppercase names are defined in the localisation files
icon = "__base__/graphics/icons/car.png",
flags = {"goes ...
- Fri Feb 19, 2016 1:50 pm
- Forum: Modding help
- Topic: Help
- Replies: 7
- Views: 5106
Help
Error when starting the game: EntityPrototype Turecar doesn't have an order string and there is no item to place it.