Jump to content

Repairing everything in inventory at once.


James005S2

Recommended Posts

Hi all,

 

I am trying to figure out if something is possible using scripts in the GECK.

 

What I want to do is select an option on a terminal screen and have all items in the player's inventory return to perfect condition. I'm not great at scripting, so I'm really not sure how to go about this. Does the GECK support lists (ala python)?

 

In my head, I think that the script should be simple. Just:

  1. Iterate through players inventory,
  2. for each weapon/armour;
  3. set condition to 100%.

I know nothing about the syntax of the GECK, so I'm not sure if this is possible.

 

Any help is appreciated.

 

Thanks,

James.

Link to comment
Share on other sites

This functionality is already in the game, and has been added by at least one mod, though not precisely as you specify. See the "Repairs by non-player characters" section of the "Repair" page of the Fandom Fallout Wiki for a list of those who can repair to 100%, and "Dean the repair Ghoul" of the mod "Afterschool Special". You do have to "select/highlight" what you want repaired as I recall. Which does mean you would have to select weapons and armor separately.

 

But it can be done and the scripts used by those characters should give you the basics as to how.

 

-Dubious-

Link to comment
Share on other sites

There is a mod in Fallout 3, (Mesme https://www.nexusmods.com/fallout3/mods/10922) that has a function for repairing everything in the inventory. It is not the main reason for the mod, but an added benefit. It was originally meant to allow the player to revive any intact dead body and make them a follower. Part of the follower functions was a "Repair" that allowed the player to choose an individual item or a "Repair All". So it could be done in FNV if someone were to reverse engineer that mod to see how it was done.

Link to comment
Share on other sites

If you want it to work from a Terminal screen. You may need a separate script triggered by the "Item Result Script" on the terminal object. Like have it start a quest for example :

 

StartQuest MyRepairQuest

 

Then In a quest script ... you put the code in from the mod that will repair all .

Probably starting with a ...

 

Begin MenuMode 1057

 

; insert code

 

StopQuest MyRepairQuest

 

End

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...