diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-26 19:24:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-26 19:24:41 +0300 |
commit | 01f62062d6058550b3f38e79d79080390b170d11 (patch) | |
tree | 9e9c2426f852820d4b5427e4d2e29269c3e4b72d /src/emap/init.c | |
parent | 57c278053e43fbce8d2bdf285b5c381f653e2751 (diff) | |
download | evol-hercules-01f62062d6058550b3f38e79d79080390b170d11.tar.gz evol-hercules-01f62062d6058550b3f38e79d79080390b170d11.tar.bz2 evol-hercules-01f62062d6058550b3f38e79d79080390b170d11.tar.xz evol-hercules-01f62062d6058550b3f38e79d79080390b170d11.zip |
Add/extend functions for manipulate quest variables and time.
See evol script docs.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r-- | src/emap/init.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/emap/init.c b/src/emap/init.c index d7b3415..948e10c 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -130,7 +130,11 @@ HPExport void plugin_init (void) addScriptCommand("getcraftslotamount", "ii", getCraftSlotAmount); addScriptCommand("validatecraft", "i", validateCraft); addScriptCommand("getq", "i", getq); - addScriptCommand("setq", "ii", setq); + addScriptCommand("getq1", "i", getq); + addScriptCommand("getq2", "i", getq2); + addScriptCommand("getq3", "i", getq3); + addScriptCommand("getqtime", "i", getqTime); + addScriptCommand("setq", "ii*", setq); addScriptCommand("setnpcdir", "*", setNpcDir); addScriptCommand("npcsit", "*", npcSit); addScriptCommand("npcstand", "*", npcStand); |