summaryrefslogtreecommitdiff
path: root/npc/000-2-0
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2018-01-29 21:30:07 +0100
committerSaulc <lucashelaine14@gmail.com>2018-01-29 21:30:07 +0100
commitf81c9bf29573c5aed48ece46165a55b9dbe19e21 (patch)
treed67648668c78be0a3c96e0ff165c69e38b2de14c /npc/000-2-0
parenta78a682dd267a326b8414611829d7f8799edf0dd (diff)
downloadserverdata-f81c9bf29573c5aed48ece46165a55b9dbe19e21.tar.gz
serverdata-f81c9bf29573c5aed48ece46165a55b9dbe19e21.tar.bz2
serverdata-f81c9bf29573c5aed48ece46165a55b9dbe19e21.tar.xz
serverdata-f81c9bf29573c5aed48ece46165a55b9dbe19e21.zip
change npc script
Diffstat (limited to 'npc/000-2-0')
-rw-r--r--npc/000-2-0/billybons.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/000-2-0/billybons.txt b/npc/000-2-0/billybons.txt
index 23e056a89..4a4e63682 100644
--- a/npc/000-2-0/billybons.txt
+++ b/npc/000-2-0/billybons.txt
@@ -6,6 +6,8 @@
000-2-0,20,23,0 script Billy Bons NPC_BILLY_BONS,{
if (rand(5) == 2) goto L_Hic;
+ .@q = getq(ShipQuests_Bottle);
+ if (.@q) == 1 close;
mesn;
mesq l("You? Here?");
@@ -26,6 +28,7 @@
menu
l("Are you ok?"), L_Quit,
+ ("Take the bottle?"), L_Give,
l("Alright... Bye."), -;
mes "";
@@ -89,6 +92,15 @@ L_Quit:
close;
+ L_Give:
+ mes "";
+ inventoryplace 833, 1;
+
+ setq ShipQuests_Bottle, 1;
+ getitem 833, 1;
+
+ close;
+
OnInit:
.sex = G_MALE;
.distance = 3;