Armor repairing station


This mod gives you possibility to repair armor from vanilla or other mods.

Content
5 years ago
0.16
6
Armor
Owner:
alkor_shikyaro
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
5 years ago
Latest Version:
0.2.1 (5 years ago)
Factorio version:
0.16
Downloaded by:
6 users

Armor repairing station

Features

  • It can repair your armor
  • Recipes for all armor (including armor from other mods) are automatically generated. Thanks to ArtMares for this functionality
  • It saves armor equipment modules
  • Localized on English and Russian
  • Simple integration with other mods
  • Repairing expenses settings

Recipe generation rules

  • Repairing recipe ingredients are chosen by following rule: item which will be repaired + percent from mod settings of each it's ingredient excluding armors (if your armor uses another armor as ingredient it won't be included into the repairing recipe)

For modders

Making your armor non-repairable

You can make an armor from your mods non-repairable by this station by simply adding the armor_repairable = false field in your item prototype.

Recipe definition rules

If you want to create your own repairing recipe for your armor you should follow these rules:

  • Recipe category must be the armor-repairing
  • Recipe ingredients must include the armor itself

Automatic recipe name localization

For custom recipes you can also use the built-in localization template string from this mod by setting the localized_name field in your recipe prototype like this:

recipeProto.localised_name = {"recipe-name.armor-repairing", {"item-name." .. itemProto.name}}

Known problems

  • Default graphics for the station (used graphics from assembling machine 3)
  • Bad mod icon on the mod portal

Credits


Changelog

v0.2.1

  • Added repair expenses mod setting
  • Fixed bug when removed entity hasn't been removed from track table (little optimization)

v0.2.0

  • Added automatic recipe generation
  • Fixed bug when mined station became assembling machine 3 after mining
  • Little refactoring

v0.1.0

  • Initial version of mod