summaryrefslogtreecommitdiff
path: root/src/emap/script.c
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-08-22 14:03:02 +0000
committergumi <git@gumi.ca>2020-08-22 14:03:02 +0000
commitf47ed38b0e286c059d7f4ca9a36676788a6177e9 (patch)
treef8d1004e1ed1a144ec4d51f5ec067ab85be291f6 /src/emap/script.c
parentb5cc367814b76f960f7366352a2a23d5cb1e7ab9 (diff)
parent6ecfee0a8a9a84ccb659bd41dfb9f108eeffb9e7 (diff)
downloadevol-hercules-f47ed38b0e286c059d7f4ca9a36676788a6177e9.tar.gz
evol-hercules-f47ed38b0e286c059d7f4ca9a36676788a6177e9.tar.bz2
evol-hercules-f47ed38b0e286c059d7f4ca9a36676788a6177e9.tar.xz
evol-hercules-f47ed38b0e286c059d7f4ca9a36676788a6177e9.zip
Merge branch 'card-group' into 'master'
Allow to use item groups in AllowCards See merge request evol/evol-hercules!27
Diffstat (limited to 'src/emap/script.c')
-rw-r--r--src/emap/script.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emap/script.c b/src/emap/script.c
index d2a64e4..778ebe0 100644
--- a/src/emap/script.c
+++ b/src/emap/script.c
@@ -109,6 +109,12 @@ void escript_hardcoded_constants_pre(void)
script->set_constant("NPCSUBTYPE_SCRIPT", SCRIPT, false, false);
script->set_constant("NPCSUBTYPE_CASHSHOP", CASHSHOP, false, false);
script->set_constant("NPCSUBTYPE_TOMB", TOMB, false, false);
+
+ // new item types
+#ifdef IT_VIRTUAL
+ script->set_constant("IT_VIRTUAL", IT_VIRTUAL, false, false);
+#endif
+
script->constdb_comment(NULL);
eskill_addskill_conststants();
}