This commit is contained in:
2024-11-07 23:12:37 +01:00
parent a67a1d8f40
commit f7c91862a0
3089 changed files with 18209 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
---@diagnostic disable: missing-return, lowercase-global
---Puts the cursor in item repair mode. Unlike most other cursor functions, this functions changes the behavior as well as the appearance of the mouse cursor: while repair mode is active, calling PickupContainerItem() or PickupInventoryItem() will attempt to repair the item (and deduct the cost of such from the player's savings) instead of putting it on the cursor. Only has effect while the player is interacting with a vendor which can perform repairs; i.e. between the MERCHANT_SHOW and MERCHANT_CLOSED events, and only if CanMerchantRepair() returns 1.
function ShowRepairCursor() end