repair packs?

Place to get help with not working mods / modding interface.
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

repair packs?

Post by Dysoch »

how to get the construction robots to access all repair packs? i tried with these 2 options:

Code: Select all

    repair_pack = "repair-pack-0",
	repair_pack = "repair-pack",
	repair_pack = "repair-pack-2",
and

Code: Select all

    repair_pack = {"repair-pack-0", "repair-pack", "repair-pack-2"}
but neither works (well the first one does, but only the last placed repair_pack code.

how to get them to work correctly?

edit:
i also tried

Code: Select all

repair_pack = "repair-pack-0" or "repair-pack" or "repair-pack-2"
but here they only take the first entered (repair-pack-0!)
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: repair packs?

Post by ficolas »

The repairpack variable needs a string, you can only make repair robots use one repairpack I think.
The first try and the last one dont make much sense, the first one first sets the var to a thing then to another, and then to another, and the "or" is only for conditional checking, second one could make sense and if it doesnt work I guess you could post it as a request.
Post Reply

Return to “Modding help”