diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-13 21:08:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-13 21:09:15 +0300 |
commit | ab731862f899dd87b84613ebf12a82cdc73e094f (patch) | |
tree | e0dff28ea24a942d0ad6d07783aadbccfc5022a7 /src/emap/script.h | |
parent | f7cce6ac2d1c010af4865212dc6ddc2a7aea66a4 (diff) | |
download | plugin-ab731862f899dd87b84613ebf12a82cdc73e094f.tar.gz plugin-ab731862f899dd87b84613ebf12a82cdc73e094f.tar.bz2 plugin-ab731862f899dd87b84613ebf12a82cdc73e094f.tar.xz plugin-ab731862f899dd87b84613ebf12a82cdc73e094f.zip |
Add support for take (pickup) script for items taked from ground by player.
Diffstat (limited to 'src/emap/script.h')
-rw-r--r-- | src/emap/script.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/script.h b/src/emap/script.h index b8245cd..8e6ad3c 100644 --- a/src/emap/script.h +++ b/src/emap/script.h @@ -8,6 +8,7 @@ void eset_reg_npcscope_num(struct script_state* st, struct reg_db *n, int64 *num int eget_val_npcscope_num(struct script_state* st, struct reg_db *n, struct script_data* data); void eset_reg_npcscope_str(struct script_state* st, struct reg_db *n, int64 *num, const char* name, const char *str); char *eget_val_npcscope_str(struct script_state* st, struct reg_db *n, struct script_data* data); +void script_run_item_amount_script(TBL_PC *sd, struct script_code *itemScript, int itemId, int amount); BUILDIN(l); BUILDIN(lg); |