diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-04-16 18:32:08 +0000 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-04-16 18:32:08 +0000 |
commit | cfdac168646533c73d56da77b95b90d2b995c6eb (patch) | |
tree | 8a092147e03ef4be86fb5288c5a27690bedaa4ab /npc/001-1/sophialla.txt | |
parent | 69dd9c2d6dac4bcf3a396a8c375c1098a86dd541 (diff) | |
parent | 2c225255950a09ee5641913bb6022e8881c1c679 (diff) | |
download | serverdata-s20190422.tar.gz serverdata-s20190422.tar.bz2 serverdata-s20190422.tar.xz serverdata-s20190422.zip |
Merge branch 'jesusalva/legion' into 'master's20190422
Package Legion for travel.
Closes evol-all#25
See merge request evol/serverdata!174
Diffstat (limited to 'npc/001-1/sophialla.txt')
-rw-r--r-- | npc/001-1/sophialla.txt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/npc/001-1/sophialla.txt b/npc/001-1/sophialla.txt index ad4d508a..ad0755ec 100644 --- a/npc/001-1/sophialla.txt +++ b/npc/001-1/sophialla.txt @@ -6,15 +6,59 @@ // THIS IS A PLACEHOLDER! 001-1,73,40,0 script Sophialla#001-1 NPC_SOPHIALLA,{ + .@q=getq(General_Brotherhood); + if (!.@q) + { + speech + l("Hello."), + l("Can't you see I am reading? Please go, please."); + close; + } speech l("Hello."), l("Can't you see I am reading? If you need something, tell me the secret password."); + // TODO: Use a token to know password or whatever + select + l("Sorry to disturb you."), + rif(getq(ArtisQuests_MonaDad) == 3, l("Sagratha is great.")), + l("I don't know the password"); + mes ""; + if (@menu == 2) + { + speech + l("If you visit the sewers again... You'll find secret passages..."), + l("Look for the hideout, but tell no one about this. Then, say the password again."); + compareandsetq General_Brotherhood, 1, 2; + } + + speech lg("If you don't know it, just go, please."); + close; +OnLegionComplete: + restorecam; + mesn "???"; + mesc l("A strange voice seems to be calling out your name."); + next; + // NOTE: Sophialla is more than 15 tiles of distance from player + // Server refuses to send client data about where she is and that makes + // setcamnpc fail. This is why I set .alwaysVisible attribute to true. + // Note: you can work around with coordinates, but she won't be drawn. + setcamnpc "Sophialla#001-1"; + mesn; + mesq l("Hey. ppst. I have something important to tell you."); + next; + mesn; + mesq l("I just can't remember what. But come talk to me later once devs becomes less lazy."); + setq General_Brotherhood, 1; + next; + restorecam; + closeclientdialog; close; OnInit: .sex = G_FEMALE; .distance = 2; + .alwaysVisible = true; end; } |