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 | |
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.
-rw-r--r-- | npc/000-2-0/julia.txt | 15 | ||||
-rw-r--r-- | npc/001-2-21/julia.txt | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/npc/000-2-0/julia.txt b/npc/000-2-0/julia.txt index ea1645e7f..1a936d5f0 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; diff --git a/npc/001-2-21/julia.txt b/npc/001-2-21/julia.txt index c50fd63d9..6d9ea55ec 100644 --- a/npc/001-2-21/julia.txt +++ b/npc/001-2-21/julia.txt @@ -18,6 +18,7 @@ L_Menu: menu + 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, @@ -104,6 +105,20 @@ L_Rules: goto L_YNMenu; +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; + L_Quit: goodbye; |