diff options
author | Bernhardt <orgzfrgh@gmail.com> | 2014-01-18 19:23:45 +0100 |
---|---|---|
committer | Bernhardt <orgzfrgh@gmail.com> | 2014-01-27 22:39:40 +0100 |
commit | 049b7e2e0023bd8b36fbb66d3fbb8c8da2a2baaa (patch) | |
tree | 3d5373c3ec0caea6d98d83d888b4f7116f19922d /world/map/npc/annuals | |
parent | 48b21ab1032d03cfe11f95540afc7124b5485ed6 (diff) | |
download | serverdata-049b7e2e0023bd8b36fbb66d3fbb8c8da2a2baaa.tar.gz serverdata-049b7e2e0023bd8b36fbb66d3fbb8c8da2a2baaa.tar.bz2 serverdata-049b7e2e0023bd8b36fbb66d3fbb8c8da2a2baaa.tar.xz serverdata-049b7e2e0023bd8b36fbb66d3fbb8c8da2a2baaa.zip |
Add some info to present NPCs
Diffstat (limited to 'world/map/npc/annuals')
-rw-r--r-- | world/map/npc/annuals/xmas/core.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/world/map/npc/annuals/xmas/core.txt b/world/map/npc/annuals/xmas/core.txt index 41ec2ce5..0f0c53b4 100644 --- a/world/map/npc/annuals/xmas/core.txt +++ b/world/map/npc/annuals/xmas/core.txt @@ -173,8 +173,20 @@ function|script|XmasMainItemReward|, { callfunc "XmasSetReward"; - if(($@xmas_time == $@xmas_reward_time) && ((@xmas_reward_start_state) || (@xmas_reward1_done_state))) + if (($@xmas_time == $@xmas_reward_time) && ((@xmas_reward_start_state) || (@xmas_reward1_done_state))) goto L_FinalGift; + if (($@xmas_time == $@xmas_reward_time) && ((@xmas_reward_done_state) || (@xmas_reward2_done_state))) + goto L_GotGift; + if ($@xmas_time == $@xmas_reward_time) + goto L_NoGift; + goto L_Return; + +L_GotGift: + mes "Hey, this is not for you!"; + goto L_Return; + +L_NoGift: + mes "Oh someone got a present. Maybe you can get one too if help the right person?"; goto L_Return; L_FinalGift: |