diff options
Diffstat (limited to 'npc/007-1')
-rw-r--r-- | npc/007-1/caelum.txt | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/npc/007-1/caelum.txt b/npc/007-1/caelum.txt index c589f8b97..dba7d8820 100644 --- a/npc/007-1/caelum.txt +++ b/npc/007-1/caelum.txt @@ -6,10 +6,11 @@ // Jesusalva // Description: // Caelum Miner, main author Skydragon Caelum mean Sky in Latin. +// id:193 MineQuests_Caelum 007-1,138,49,0 script Caelum NPC_PLAYER,{ - .@Miner = getq(MineQuests_Miner); - if (BaseLevel < 25) goto L_TooWeak; + .@Miner = getq(MineQuests_Caelum); + if (BaseLevel < 28) goto L_TooWeak; if (.@Miner == 1) goto L_Check; if (.@Miner == 2) goto L_Complete; @@ -37,11 +38,11 @@ L_Quest: L_Start: - setq MineQuests_Miner, 1; + setq MineQuests_Caelum, 1; mes ""; mesn; mesq l("Ok, what I need is:"); - goto L_Lista; + goto L_List; L_Quit: mes ""; @@ -49,16 +50,16 @@ L_Quit: mesq l("Alright."); close; -L_Lista: +L_List: mes ""; mesn; - mes " * 25 " + getitemlink(MaggotSlime); - mes " * 20 " + getitemlink(BugLeg); - mes " * 08 " + getitemlink(RedScorpionStinger); - mes " * 15 " + getitemlink(BatWing); - mes " * 10 " + getitemlink(BatTeeth); - mes " * 10 " + getitemlink(CactusDrink); - mes " * 03 " + getitemlink(ScorpionClaw); + mes l("Here's what I need:"); + mes l("@@/1 @@", countitem(CottonCloth), getitemlink(CottonCloth)); + mes l("@@/2 @@", countitem(BlackScorpionStinger), getitemlink(BlackScorpionStinger)); + mes l("@@/8 @@", countitem(RedScorpionStinger), getitemlink(RedScorpionStinger)); + mes l("@@/10 @@", countitem(CactusDrink), getitemlink(CactusDrink)); + mes l("@@/20 @@", countitem(MaggotSlime), getitemlink(MaggotSlime)); + mes l("@@/5 @@", just cause I'm hungry as a bear. countitem(ScorpionClaw), getitemlink(ScorpionClaw)); close; L_Check: @@ -72,28 +73,26 @@ L_Check: L_Give: if ( - countitem(MaggotSlime) < 25 || - countitem(BugLeg) < 20 || + countitem(CottonCloth) < 1 || + countitem(BlackScorpionStinger) < 2 || countitem(RedScorpionStinger) < 8 || - countitem(BatWing) < 15 || - countitem(BatTeeth) < 10 || countitem(CactusDrink) < 10 || - countitem(ScorpionClaw) < 3 + countitem(MaggotSlime) < 20 || + countitem(ScorpionClaw) < 5 ) goto L_Lying; inventoryplace MinerGloves, 1; - delitem(MaggotSlime, 25); - delitem(BugLeg, 20); + delitem(CottonCloth, 1); + delitem(BlackScorpionStinger, ); delitem(RedScorpionStinger, 8); - delitem(BatWing, 15); - delitem(BatTeeth, 10); delitem(CactusDrink, 10); - delitem(ScorpionClaw, 3); + delitem(MaggotSlime, 20); + delitem(ScorpionClaw, 5); getitem(MinerGloves, 1); - getexp(350, 0); - setq(MineQuests_Miner, 2); + getexp(855, 3); + setq(MineQuests_Caelum, 2); mes ""; mesn; |