James005S2 Posted December 13, 2019 Share Posted December 13, 2019 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: Iterate through players inventory, for each weapon/armour; 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 More sharing options...
dubiousintent Posted December 13, 2019 Share Posted December 13, 2019 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 More sharing options...
M48A5 Posted December 13, 2019 Share Posted December 13, 2019 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 More sharing options...
James005S2 Posted December 14, 2019 Author Share Posted December 14, 2019 Thanks. I'll look into these mods that you have mentioned. Link to comment Share on other sites More sharing options...
Mktavish Posted December 16, 2019 Share Posted December 16, 2019 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 More sharing options...
Recommended Posts