Forum Thread
  Posts  
Trying to make reusable repair kit mod (Games : S.T.A.L.K.E.R.: Call of Pripyat : Mods : S.T.A.L.K.E.R.: Last Day : Forum : Suggestions : Trying to make reusable repair kit mod) Locked
Thread Options
Apr 24 2018 Anchor

So I'm trying to make a seemingly balanced mod, where repair kits have unlimited uses. Here's the file that needs modifying: Mediafire.com

The idea is that you'll still have to provide the materials for the repair, which you can purchase or find out in the world (cloths, hides, etc). I'll remove the ability to use the swiss knife as a repair material, since it lasts forever (making repairs free when used with a kit). I'll remove repair bonuses from kits, so that more expensive/specialized kits simply allow you to repair items in worse conditions. I don't intend to modify cleaning kits or knife sharpeners, as they're too cheap in-game to make last forever (and still be balanced, imo).

The only problem I'm having is that I don't know how to make a repair kit have infinite uses. I've tried changing "max_uses" to 99, along with "remove_after_use" to false, but neither worked. I believe it occurs because items don't really have multiple "uses" in a sense. If an item has those green use indicators, it means that when you use it, it despawns and is replaced with a second (third, fourth, etc) version of itself. For example, the Professional Armor Repair Set is called armor_repair_pro and when used, it despawns and is replaced with armor_repair_pro_2, which has less weight and value. I'm just clueless as to how one would bypass this and simply give the first armor_repair_pro infinite uses. Preferably without having to create a metric ton of armor_repair_pro_# entries.

If anyone can figure out how to make this work, I'll buy you any Steam game under $15, lol.

Edited by: timmylongdong

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.