diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-06-18 23:41:58 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-04-15 11:45:05 -0400 |
commit | 98e5e62ef7a04977146fdbfbc3166dad5d082da0 (patch) | |
tree | f0ff9a10b07439786994887e406519bc86860a16 /src/map/script-parse.cpp | |
parent | ef4ae4d281127a0b84a73ab034bd22d6281a09ed (diff) | |
download | tmwa-98e5e62ef7a04977146fdbfbc3166dad5d082da0.tar.gz tmwa-98e5e62ef7a04977146fdbfbc3166dad5d082da0.tar.bz2 tmwa-98e5e62ef7a04977146fdbfbc3166dad5d082da0.tar.xz tmwa-98e5e62ef7a04977146fdbfbc3166dad5d082da0.zip |
add scope, npc/mob variables; add new get/set
Diffstat (limited to 'src/map/script-parse.cpp')
-rw-r--r-- | src/map/script-parse.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/script-parse.cpp b/src/map/script-parse.cpp index a785748..a69df40 100644 --- a/src/map/script-parse.cpp +++ b/src/map/script-parse.cpp @@ -283,6 +283,10 @@ ZString::iterator skip_word(ZString::iterator p) p++; // MAP鯖内共有変数用 if (*p == '@') p++; // 一時的変数用(like weiss) + if (*p == '.') + p++; // npc + if (*p == '@') + p++; // scope if (*p == '#') p++; // account変数用 if (*p == '#') @@ -623,6 +627,7 @@ ZString::iterator ScriptBuffer::parse_line(ZString::iterator p, bool *can_step) "end"_s, "mapexit"_s, "shop"_s, + "destroy"_s, }; *can_step = terminators.count(cmd->strs) == 0; } |