diff options
author | Reid <reidyaro@gmail.com> | 2015-03-16 09:35:45 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2015-03-16 09:35:45 +0100 |
commit | f8616ebcddc1b04e08c9077d7cee6480f35dcefe (patch) | |
tree | 8d7fe640c32a9dd93562f4bd81ed48fee97eefda /npc/000-2-0 | |
parent | bdea7e4211c9cefdb0664c8bf7b4f194f5b27fd1 (diff) | |
download | serverdata-f8616ebcddc1b04e08c9077d7cee6480f35dcefe.tar.gz serverdata-f8616ebcddc1b04e08c9077d7cee6480f35dcefe.tar.bz2 serverdata-f8616ebcddc1b04e08c9077d7cee6480f35dcefe.tar.xz serverdata-f8616ebcddc1b04e08c9077d7cee6480f35dcefe.zip |
Add check for basic skill on julia scripts.
Diffstat (limited to 'npc/000-2-0')
-rw-r--r-- | npc/000-2-0/julia.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/npc/000-2-0/julia.txt b/npc/000-2-0/julia.txt index ea1645e7..1a936d5f 100644 --- a/npc/000-2-0/julia.txt +++ b/npc/000-2-0/julia.txt @@ -48,6 +48,7 @@ L_Menu: rif(.@q3 == 3 && .@q2 == 0, l("I heard rumors about some old hostilities between you and Gado. Are they true?")), L_Rumors, rif(.@q2 == 2 && countitemcolor("PoisonedDish", 1), l("Well... No wait, I have something for you but you shouldn't eat it... I'm taking it back to the kitchen.")), L_Regret, rif(.@q2 == 2 && countitemcolor("PoisonedDish", 1), l("I have brought you a tasty present for your delicate mouth.")), L_PoisonJulia, + rif(getskilllv(1) != 3, l("Something is wrong with me, I can't smile nor sit.")), L_BasicSkill, lg("I made a mistake, I would like to change my language."), L_ChooseLang, l("Could you explain to me where I am?"), L_WhereIam, l("What happened to me?"), L_What, @@ -265,6 +266,20 @@ L_Rumors: close; +L_BasicSkill: + mes ""; + mesn; + mesq l("Let me check into it..."); + next; + adddefaultskills; + mesq l("Here you go, everything is fixed."); + emotion 3; + next; + mesq l("Do you have any other questions for me?"); + next; + + goto L_YNMenu; + OnInit: setnpcsex G_FEMALE; setnpcdistance 10; |