Allow bots to use multiple types of repair packs

Dekline
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Jan 13, 2015 10:00 pm
Contact:

Allow bots to use multiple types of repair packs

Post by Dekline »

Hi all,

I'm quite new to modding so apologies if I'm missing something.

I'd like to create other types of repair packs (which I've done) but currently the bots can only use one type at a time due to the bot repair pack being specified as a string (see below). It would be good if this could be a list to allow mods to add other repair packs that the bots will use.

The code is in the entities file in base/prototypes/entity

Code: Select all

repair_pack = "repair-pack"
Post Reply

Return to “Implemented mod requests”