summaryrefslogtreecommitdiff
path: root/src/emap/script.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-09 22:05:22 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-09 22:05:22 +0300
commitc95ac0d7e312aade368f7213eafa6476ef2cd3fe (patch)
tree6391aad9062c784f989d126938a4d9710865e3a4 /src/emap/script.h
parentb5c56b1147e6ec93d948c9e5eedcd5d68618b308 (diff)
downloadevol-hercules-c95ac0d7e312aade368f7213eafa6476ef2cd3fe.tar.gz
evol-hercules-c95ac0d7e312aade368f7213eafa6476ef2cd3fe.tar.bz2
evol-hercules-c95ac0d7e312aade368f7213eafa6476ef2cd3fe.tar.xz
evol-hercules-c95ac0d7e312aade368f7213eafa6476ef2cd3fe.zip
Add support for different use actions for items.s20170810
Diffstat (limited to 'src/emap/script.h')
-rw-r--r--src/emap/script.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emap/script.h b/src/emap/script.h
index cd29816..06aa7b2 100644
--- a/src/emap/script.h
+++ b/src/emap/script.h
@@ -24,6 +24,9 @@ void eset_reg_npcscope_str_pre(struct script_state **stPtr,
char *eget_val_npcscope_str_pre(struct script_state **stPtr,
struct reg_db **nPtr,
struct script_data **dataPtr);
+void escript_run_use_script_pre(struct map_session_data **sdPtr,
+ struct item_data **itemDataPtr,
+ int *oidPtr);
void script_run_item_amount_script(TBL_PC *sd,
struct script_code *itemScript,
int itemId,