Does the RepairedOnMe command work? If so, what's the point of it?

Does the RepairedOnMe command work? If so, what's the point of it? - From above of Asian child pointing with finger at platform while training intelligent dog in town

One of the obscure Morrowind script commands is RepairedOnMe, which the UESP documentation says works as follows:

Returns 1 if the calling object is repaired by given object, or 0 otherwise. For example,

if ( "banhammer_unique"->RepairedOnMe, "repair_journeyman_01" == 1 )

checks against a Banhammer being repaired by a journeyman's hammer. Obviously, the ObjectID should be a valid repair item and the calling item should be a weapon or armor.

Does this command even work? A talk page user said that the example didn't work for them, and I don't have a Windows machine to test myself.

If it does work, what's the point of RepairedOnMe? Do any mods do anything useful with that call? None of the vanilla scripts use it, so I'm wondering if it does anything useful.



Best Answer

I am guessing it was only for devs to quickly debug repair items and such without having to use them. Don't know if any mods use it.




Pictures about "Does the RepairedOnMe command work? If so, what's the point of it?"

Does the RepairedOnMe command work? If so, what's the point of it? - Top view of miniature airplane placed on over gray world map with crop hand of anonymous person indicating direction representing travel concept
Does the RepairedOnMe command work? If so, what's the point of it? - Formal man with tablet giving presentation in office
Does the RepairedOnMe command work? If so, what's the point of it? - Serious female teacher wearing old fashioned dress and eyeglasses standing with book while pointing at chalkboard with schemes and looking at camera





How to Fix Command Prompt(CMD) Not Working/Opening in Windows 10




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Sam Lion, Andrea Piacquadio, Andrea Piacquadio, Andrea Piacquadio