From 728e63eede2fbad2bcc0ad650f7ccdd6e2dae11e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 25 May 2019 15:38:52 -0300 Subject: HUB - clean-up 001-8/hub and add functions/hub along blue sage Pyry's basic loop. --- npc/020-7-1/core.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'npc/020-7-1/core.txt') diff --git a/npc/020-7-1/core.txt b/npc/020-7-1/core.txt index d7d5c755b..fb1b282ec 100644 --- a/npc/020-7-1/core.txt +++ b/npc/020-7-1/core.txt @@ -7,6 +7,7 @@ // Some setup is required +// Check if you have something to ask to Blue Sage staff // BSQuestion( ) function script BSQuestion { .@b1=getq(NivalisQuest_BlueSage); @@ -28,3 +29,28 @@ function script BSQuestion { } +// Proccess the slime type and amount +// BSProccess( SlimeNestID ) +function script BSProccess { + .@b1=getq(NivalisQuest_BlueSageSlimes); + .@b2=getq2(NivalisQuest_BlueSageSlimes); + .@b3=getq3(NivalisQuest_BlueSageSlimes); + + // Quest state not assigned + if (!.@b1) + return; + + // TODO + + return; +} + +020-7-1,0,0,0 script #BlueSageHUB NPC_HIDDEN,{ + end; + +OnCycle: + addtimer(1000, "#BlueSageHUB::OnCycle"); + end; + +} + -- cgit v1.2.3-60-g2f50