[request] Modded repair packs usable by construction robots

Suggestions that have been added to the game.

Moderator: ickputzdirwech

Post Reply
DevilXD
Fast Inserter
Fast Inserter
Posts: 213
Joined: Tue Aug 12, 2014 10:47 am
Contact:

[request] Modded repair packs usable by construction robots

Post by DevilXD »

I just want to request a little feature - change "construction-robot" entity definition from:

Code: Select all

repair_pack = "repair-pack",
... to:

Code: Select all

repair_pack = {"repair-pack"},
... so modders can add their own custom repair pack and make it usable by construction robots:

Code: Select all

data.raw["construction-robot"]["construction-robot"].repair_pack = { "repair-pack", "modded-repair-pack", "etc." }
This would of course mean couple more changes in the code to handle a table instead of just one string, but it should be simple, quick and doable.

mophydeen
Filter Inserter
Filter Inserter
Posts: 529
Joined: Sun Nov 22, 2015 5:02 pm
Contact:

Re: [request] Modded repair packs usable by construction robots

Post by mophydeen »

Code: Select all

 {
    type = "repair-tool",
    name = "repair-pack",
    icon = "__base__/graphics/icons/repair-pack.png",
    flags = {"goes-to-quickbar"},
    subgroup = "tool",
    order = "b[repair]-a[repair-pack]",
    speed = 1,
    durability = 100,
    stack_size = 50
  },
if they would allow all robots to use all repair tools and not only the repair-pack ...

DevilXD
Fast Inserter
Fast Inserter
Posts: 213
Joined: Tue Aug 12, 2014 10:47 am
Contact:

Re: [request] Modded repair packs usable by construction robots

Post by DevilXD »

mophydeen wrote:

Code: Select all

type = "repair-tool",
if they would allow all robots to use all repair tools and not only the repair-pack ...
Yeah, that would be neat too...
Last edited by DevilXD on Wed Mar 02, 2016 2:21 pm, edited 1 time in total.

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [request] Modded repair packs usable by construction robots

Post by bobingabout »

I'd vote for the original suggestion, it would mean you can choose which tools which construction robots can use.

in any case, either solution would be a major step forward when trying to add extra repair packs via modding.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

Post Reply

Return to “Implemented Suggestions”