From 38319d39bc9de1d75bea27235c635ad580646ab0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 4 Mar 2019 10:25:42 -0300 Subject: Omattizator minigame --- npc/017-1/paxel.txt | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) (limited to 'npc/017-1/paxel.txt') diff --git a/npc/017-1/paxel.txt b/npc/017-1/paxel.txt index b6dda6b6f..342a9678d 100644 --- a/npc/017-1/paxel.txt +++ b/npc/017-1/paxel.txt @@ -12,7 +12,7 @@ .@q=getq(SQuest_Paxel); if(.@q == 2) goto L_Done; if (season() != SEASON_SPRING && !$@GM_OVERRIDE) goto L_OutOfSeason; - if(.@q == 1) goto L_Ask2; + if(.@q == 1) goto L_Ask2; if (BaseLevel >= 60) goto L_Ask1; @@ -169,6 +169,60 @@ L_Spring: mesq l("Hahah, good to hear! Do you know some items are only dropped on spring? You should go after them!"); close; +// Saulc/Omatt/Prsm minigame +OnTouch: + addtimer(100, "Paxel::OnOmattizator"); + end; + +OnOmattizator: + if (!isin("017-1", 131, 22, 0)) + end; + if (!issit()) + addtimer(100, "Paxel::OnOmattizator"); + npctalk3 l("Unsit me at once!"); + emotion E_FURIOUS; + addtimer(1000, "Paxel::OnOmattizator2"); + end; + +OnOmattizator2: + if (!isin("017-1", 131, 22, 0)) + end; + if (!issit()) + addtimer(100, "Paxel::OnOmattizator"); + npctalk3 l("Unsit me OR I'LL KILL YOU in name of my father, Prsm!"); + emotion E_FURIOUS; + addtimer(3000, "Paxel::OnOmattizator3"); + end; + +OnOmattizator3: + if (!isin("017-1", 131, 22, 0)) + end; + if (!issit()) + addtimer(100, "Paxel::OnOmattizator"); + npctalk3 l("I HAVE WARNED YOU!!!!!"); + emotion E_FURIOUS; + addtimer(1000, "Paxel::OnOmattizator4"); + end; + +OnOmattizator4: + if (!isin("017-1", 131, 22, 0)) + end; + if (!issit()) + addtimer(100, "Paxel::OnOmattizator"); + .@q=getq(General_EasterEggs); + npctalk3 l("DIE!"); + + if (!(.@q & EE_PRSM)) { + setq General_EasterEggs, .@q|EE_PRSM; + dispbottom l("For finding an Easter Egg, you got Strange Coins!"); + getitem StrangeCoin, 3; + } + + slide 130, 23; + emotion E_FURIOUS; + percentheal -100, -100; + end; + OnInit: .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, PrsmHelmet); -- cgit v1.2.3-60-g2f50