summaryrefslogtreecommitdiff
path: root/src/emap/script.c
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-08-22 09:49:32 -0400
committergumi <git@gumi.ca>2020-08-22 09:49:32 -0400
commit6ecfee0a8a9a84ccb659bd41dfb9f108eeffb9e7 (patch)
treef8d1004e1ed1a144ec4d51f5ec067ab85be291f6 /src/emap/script.c
parentbc848331618cf512fadc41f4a88b628c13bca97c (diff)
downloadevol-hercules-6ecfee0a8a9a84ccb659bd41dfb9f108eeffb9e7.tar.gz
evol-hercules-6ecfee0a8a9a84ccb659bd41dfb9f108eeffb9e7.tar.bz2
evol-hercules-6ecfee0a8a9a84ccb659bd41dfb9f108eeffb9e7.tar.xz
evol-hercules-6ecfee0a8a9a84ccb659bd41dfb9f108eeffb9e7.zip
add an IT_VIRTUAL item type for card groups
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();
}