From 049b7e2e0023bd8b36fbb66d3fbb8c8da2a2baaa Mon Sep 17 00:00:00 2001 From: Bernhardt Date: Sat, 18 Jan 2014 19:23:45 +0100 Subject: Add some info to present NPCs --- world/map/npc/annuals/xmas/core.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'world') 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: -- cgit v1.2.3-60-g2f50