From 7be7e78af91e52ec86a683e8eeadf3c9799656cc Mon Sep 17 00:00:00 2001 From: Joseph Botosh Date: Thu, 30 Jun 2016 13:02:31 +0300 Subject: call QuestTreeTrigger when player *hugs tree* --- world/map/npc/commands/hug.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'world/map/npc/commands') diff --git a/world/map/npc/commands/hug.txt b/world/map/npc/commands/hug.txt index 323e0563..f97c81e4 100644 --- a/world/map/npc/commands/hug.txt +++ b/world/map/npc/commands/hug.txt @@ -13,7 +13,8 @@ if (@target_id != BL_ID) misceffect FX_HUG, @target_id; if (@target_id != .tree_id) end; - callfunc "QuestTreeTouch"; + set @flag, 2; + callfunc "QuestTreeTrigger"; close; OnInit: -- cgit v1.2.3-60-g2f50