diff options
-rw-r--r-- | db/constants.conf | 7 | ||||
-rw-r--r-- | db/quest_db.conf | 4 | ||||
-rw-r--r-- | npc/017-1/paxel.txt | 56 |
3 files changed, 66 insertions, 1 deletions
diff --git a/db/constants.conf b/db/constants.conf index f3f133287..f978b5605 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -4182,6 +4182,12 @@ constants_db: { REDPLUSH_INN: 1 CURRENT_INN: 2 + comment__: "Easter eggs enum" + EE_NONE: 0 + EE_SAXSO: 1 + EE_DEMURE: 2 + EE_PRSM: 4 + comment__: "Teleporter enum" TP_NONE: 0 TP_FROST: 1 @@ -4263,6 +4269,7 @@ constants_db: { E_TIRED: 112 E_PALMHEAD: 113 E_EVILCROC: 114 + E_FURIOUS: 114 E_ANGRY: 115 E_PURPLESAD: 116 E_INSULTBUBBLE: 117 diff --git a/db/quest_db.conf b/db/quest_db.conf index dce9e432c..9aa2d8431 100644 --- a/db/quest_db.conf +++ b/db/quest_db.conf @@ -93,6 +93,10 @@ quest_db: ( Id: 17 Name: "General_Collector" }, +{ + Id: 18 + Name: "General_EasterEggs" +}, // ID 31 to 50: Candor Quests { 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); |