From f81c9bf29573c5aed48ece46165a55b9dbe19e21 Mon Sep 17 00:00:00 2001 From: Saulc Date: Mon, 29 Jan 2018 21:30:07 +0100 Subject: change npc script --- npc/000-2-0/billybons.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'npc/000-2-0') 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; -- cgit v1.2.3-60-g2f50