mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Tweaked HOOK_INVENTORYMOVE for dropping caps
* before the amount was set in the dropped object only after the hook. Edits to hook script documents.
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ See [hook types]({{ site.baseurl }}/hook-types/) and hook [functions reference](
|
||||
|
||||
## Hooks compatibility
|
||||
|
||||
To aid in mods compatibility, avoid using `hs_xxx` .int scripts. Instead it is recommended to use a normal global script combined with [register_hook_proc]({{ site.baseurl }}/hook-functions/#register_hook_proc) or [register_hook]({{ site.baseurl }}/hook-functions/#register_hook).
|
||||
To aid in mods compatibility, avoid using the predefined `hs_<name>.int` scripts. Instead it is recommended to use a normal global script combined with [register_hook_proc]({{ site.baseurl }}/hook-functions/#register_hook_proc) or [register_hook]({{ site.baseurl }}/hook-functions/#register_hook).
|
||||
|
||||
Example setup for a hook-script based mod:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user