From 9636c33e62e2e45e6cb4db20fc2237bb37bbbbbd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 27 Mar 2018 11:05:31 -0300 Subject: Write a small prototype for Jakod --- npc/003-0-1/luca.txt | 10 ++++++++++ npc/003-1/jakod.txt | 42 ++++++++++++++++++++++++++++++++---------- 2 files changed, 42 insertions(+), 10 deletions(-) (limited to 'npc') diff --git a/npc/003-0-1/luca.txt b/npc/003-0-1/luca.txt index bdf4cbb98..24e12c8de 100644 --- a/npc/003-0-1/luca.txt +++ b/npc/003-0-1/luca.txt @@ -10,6 +10,16 @@ mesn; mesq l("I am the Magic Warriors master."); + if (getskilllv(SM_BASH) >= 1) mesq l("Are you using my skill?"); + if (getskilllv(SM_BASH) >= 1) close; + if (!MAGIC_LVL && !is_staff()) close; + + mesq l("Hey, you are strong! But still, so, so GREEN! You're PATHETIC! I mean, look your skill list! Empty!"); + next; + // The last argument is duration: 0 - permanent 1- temporary. If omitted, defaults to 1. + skill(SM_BASH,1,0); + mesq l("Here, learn the ##BFalkon Punch##b. It is on Physical skills tab. You can drag it to the shortcut list. Thanks me later, man!"); + close; OnInit: diff --git a/npc/003-1/jakod.txt b/npc/003-1/jakod.txt index 0c343a621..c4668429e 100644 --- a/npc/003-1/jakod.txt +++ b/npc/003-1/jakod.txt @@ -10,17 +10,39 @@ mesn; - if (BaseLevel < 40) mesq l("Hello there. I am looking for strong people, but you are not strong enough."); - if (BaseLevel < 40) close; - if (getskilllv(SM_BASH) >= 1) mesq l("Are you using my skill?"); - if (getskilllv(SM_BASH) >= 1) close; - if (!is_staff()) mesq l("Hey, you're strong! Congratulations!"); - if (!is_staff()) close; - mesq l("Hey, you are strong! But still, so, so GREEN! You're PATHETIC! I mean, look your skill list! Empty!"); + if (BaseLevel < 30) mesq l("Hello there. I am looking for strong people, but you are not strong enough."); + if (BaseLevel < 30) close; + + mes l("\"Ah, hello there, @@. You've grown quite skilled lately.", strcharinfo(0)); + if (MAGIC_LVL) mes l("I also see you have a level @@ magic skill!\"", MAGIC_LVL); + if (!MAGIC_LVL) mes l("But you lack magic! That's a pity.\""); + + menu + rif(!MAGIC_LVL, l("How do I get magic?")), L_HowTo, + l("Good bye."), -; + + close; + +L_HowTo: + mes ""; + mesn; + mesq l("Well, the first thing would be to get access to a Mana Stone."); + next; + mesn; + mes l("\"That's the only hard part. Have at least level 40, do not neglect Intelligence nor Job level..."); + mes l("...And, if you're lucky, you can touch it and receive magic power.\""); next; - // The last argument is duration: 0 - permanent 1- temporary. If omitted, defaults to 1. - skill(SM_BASH,1,0); - mesq l("Here, learn the ##BFalkon Punch##b. It is on Physical skills tab. You can drag it to the shortcut list. Thanks me later, man!"); + mesn; + mesq l("Having magic power is useless by itself, so you must visit the Magic Council and sign up in one of two classes."); + next; + mesn; + mesq l("Your class selection is ##BPermanent##b and cannot be changed later. Do their tasks, and you'll be able to harness magic!"); + next; + mesn; + mesq l("The more levels and intelligence you have, more likely the Mana Stone will grant you more Magic Power. But that means nothing."); + next; + mesn; + mesq l("Because in the end, you are in the hands of your class leader!"); // Rare: Some loner NPCs may grant you EXTRA skills beyond that. close; OnInit: -- cgit v1.2.3-60-g2f50