diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-05-27 16:09:56 +0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-06-01 22:28:22 -0300 |
commit | 5350a4750bf916ed6f628b51cf2f84a379672533 (patch) | |
tree | 5900d5430d4b33600ca0e1a7a566df4aae5d61b0 /npc/006-2-5/dusk.txt | |
parent | de679dade0f287087f7ad09d5e2f3cf27dab3317 (diff) | |
download | serverdata-5350a4750bf916ed6f628b51cf2f84a379672533.tar.gz serverdata-5350a4750bf916ed6f628b51cf2f84a379672533.tar.bz2 serverdata-5350a4750bf916ed6f628b51cf2f84a379672533.tar.xz serverdata-5350a4750bf916ed6f628b51cf2f84a379672533.zip |
General fixes on Piou Isles.
spaces2tabs + force 2space indents in comment section to keep it neat
Me, jes, test all agree that tabs>spaces :3
Arkim-ize Glim daily
Rename new Piou island quests LilitQuest->PiouQuest and shift IDs
Trim unused quest vars, shift ID up
Diffstat (limited to 'npc/006-2-5/dusk.txt')
-rw-r--r-- | npc/006-2-5/dusk.txt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/npc/006-2-5/dusk.txt b/npc/006-2-5/dusk.txt index fa4ba8733..a49d2cc10 100644 --- a/npc/006-2-5/dusk.txt +++ b/npc/006-2-5/dusk.txt @@ -1,21 +1,21 @@ // TMW-2 scripts. // Original Authors: Hal9000 & Qwerty Dragon // TMW-2 Authors: -// +seeds -// dangerduck +// +seeds +// dangerduck // Description: -// Piou captain who gives information about the war, and the piou queen. +// Piou captain who gives information about the war, and the piou queen. 006-2-5,36,25,0 script Captain Dusk NPC_PIOU_KNIGHT_R,{ function duskHello; function duskAboutQueen; function duskAboutWar; - .@q=getq(LilitQuest_Pouf); - if (.@q <= 2) - { - switch (rand2(3)) - { + switch (getq(PiouQuest_Pouf)) { + case 0: + case 1: + case 2: + switch (rand2(3)) { case 0: npctalk3 l("Don't think you'll sneak anything by me. I'm watching you..."); break; @@ -26,10 +26,10 @@ npctalk3 l("Best steer clear of the Princess, %s. It won't go well if you upset her.", strcharinfo(0)); break; } - } - else if (.@q == 3) - { + break; + default: duskHello(); + break; } close; |