diff options
author | gumi <git@gumi.ca> | 2020-08-22 14:03:02 +0000 |
---|---|---|
committer | gumi <git@gumi.ca> | 2020-08-22 14:03:02 +0000 |
commit | f47ed38b0e286c059d7f4ca9a36676788a6177e9 (patch) | |
tree | f8d1004e1ed1a144ec4d51f5ec067ab85be291f6 /src/emap/script.c | |
parent | b5cc367814b76f960f7366352a2a23d5cb1e7ab9 (diff) | |
parent | 6ecfee0a8a9a84ccb659bd41dfb9f108eeffb9e7 (diff) | |
download | evol-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.c | 6 |
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(); } |