mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
HOOK_STEAL: add ret0 value 2 to fail "silently"
This commit is contained in:
@@ -377,7 +377,7 @@
|
||||
int arg3 - 0 when stealing, 1 when planting
|
||||
int arg4 - quantity of items being stolen
|
||||
|
||||
int ret0 - overrides hard-coded handler (1 - force success, 0 - force fail, -1 - use engine handler)
|
||||
int ret0 - overrides hard-coded handler (2 - force fail without closing window, 1 - force success, 0 - force fail, -1 - use engine handler)
|
||||
int ret1 - overrides experience points gained for stealing this item
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user