ShowRepairMenu

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Opens the repair menu so that the player may repair their equipment by paying caps. The repair skill of the calling actor will be used, and any caps spent will be added to that actor's inventory.

Syntax

[help]
Actor.ShowRepairMenu 

Or:

Actor.srm

Example

player.ShowRepairMenu

Opens the repair menu so that the player's repair skill is used, and any caps spent will be added to the player's inventory.

Notes

  • ShowRepairMenu can be called without a specified reference (for example, via a quest script or the console) without causing a compiler error, but nothing will happen.
  • If ShowRepairMenu is called on the player, any caps spent will be added back to the player's inventory so that none are lost, but they must have enough caps in their inventory before they can repair an item.