summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authornmaligec <wouldnot@hotmail.com>2011-01-26 01:33:40 -0500
committernmaligec <wouldnot@hotmail.com>2011-01-26 01:33:40 -0500
commitd9458220575d7698b59488c1864b980b1b9dfc5c (patch)
tree7a056faf14f36e81b798522702db866ee85dd22c /npc
parent0bc8cd75797e485f792608c3b7deda5d8f1abc77 (diff)
downloadserverdata-d9458220575d7698b59488c1864b980b1b9dfc5c.tar.gz
serverdata-d9458220575d7698b59488c1864b980b1b9dfc5c.tar.bz2
serverdata-d9458220575d7698b59488c1864b980b1b9dfc5c.tar.xz
serverdata-d9458220575d7698b59488c1864b980b1b9dfc5c.zip
adding gy-inn food
Diffstat (limited to 'npc')
-rwxr-xr-xnpc/027-2_Caretakers_House/gy_inn_shops.txt70
-rwxr-xr-xnpc/027-2_Caretakers_House/testnpcs.txt219
2 files changed, 146 insertions, 143 deletions
diff --git a/npc/027-2_Caretakers_House/gy_inn_shops.txt b/npc/027-2_Caretakers_House/gy_inn_shops.txt
index af6b2d39..6d1ce909 100755
--- a/npc/027-2_Caretakers_House/gy_inn_shops.txt
+++ b/npc/027-2_Caretakers_House/gy_inn_shops.txt
@@ -1,35 +1,35 @@
-// chef: function,
-// barmaid: function,
-// shopkeeper: multiples and function,
-// magic undead shop: function,
-// chief barman: function,
-// receptionist: function,
-// banker: function
-
-
-027-2.gat,75,22,0 shop Chef 300,519:100
-027-2.gat,90,36,0 shop Barmaid 301,519:100,533:150,534:90,562:500,676:200
-027-2.gat,93,22,0 shop Shopkeeper 302,586:1000,524:1600,544:10000,632:10000,528:1000,735:1
-027-2.gat,56,99,0 shop Magic Undead Shop 304,501:50
-027-2.gat,106,22,0 shop Chief Barman 309,539:175,567:500,568:500
-
-// Inn
-027-2.gat,107,39,0 script Bloody Receptionist 320,{
- set @npcName$, "Barbara Grey";
- set @cost, 1000;
-
- mes "[" + @npcName$ + "]";
- mes "\"Don't be shy darling.";
- mes "\"Come on in and have a nice long ... long slumber ...";
- next;
- callfunc "Inn";
- close;
-}
-
-// Bank and Storage
-027-2.gat,88,22,0 script Undead Banker 321,{
- set @npcName$, "J.P. Morbid";
- callfunc "Banker";
- close;
-}
-
+// chef: function,
+// barmaid: function,
+// shopkeeper: multiples and function,
+// magic undead shop: function,
+// chief barman: function,
+// receptionist: function,
+// banker: function
+
+
+027-2.gat,75,22,0 shop Chef 300,784:100,785:100,786:100,787:100
+027-2.gat,90,36,0 shop Barmaid 301,788:100,789:100,790:100
+027-2.gat,93,22,0 shop Shopkeeper 302,586:1000,524:1600,544:10000,632:10000,528:1000,735:1
+027-2.gat,56,99,0 shop Magic Undead Shop 304,501:50
+027-2.gat,106,22,0 shop Chief Barman 309,784:100,785:100,786:100,787:100
+
+// Inn
+027-2.gat,107,39,0 script Bloody Receptionist 320,{
+ set @npcName$, "Barbara Grey";
+ set @cost, 1000;
+
+ mes "[" + @npcName$ + "]";
+ mes "\"Don't be shy darling.";
+ mes "\"Come on in and have a nice long ... long slumber ...";
+ next;
+ callfunc "Inn";
+ close;
+}
+
+// Bank and Storage
+027-2.gat,88,22,0 script Undead Banker 321,{
+ set @npcName$, "J.P. Morbid";
+ callfunc "Banker";
+ close;
+}
+
diff --git a/npc/027-2_Caretakers_House/testnpcs.txt b/npc/027-2_Caretakers_House/testnpcs.txt
index 9cd452c6..38f961c3 100755
--- a/npc/027-2_Caretakers_House/testnpcs.txt
+++ b/npc/027-2_Caretakers_House/testnpcs.txt
@@ -1,108 +1,111 @@
-// Temporary placing of all non shop npcs
-// A proper break down of files will need to be done later
-
-// drunk lover: quest,
-// werewolf: gambling,
-// chef's helper: simple dialog,
-// horn mage: golbenez,
-// drunker: simple dialog,
-// barman: crafting related,
-// swordguy: weapon master,
-// ghost from dead drunk: simple dialog,
-// crying child: I don't know,
-// Innkeeper's ghost: quest,
-// evil guard: simple dialog,
-// hangman: quest,
-// headless: quest or simple dialog,
-// lightman: quest,
-
-
-027-2.gat,80,34,0 script Drunk Lover 303,{
- end;
-}
-
-027-2.gat,118,23,0 script Werewolf 305,{
- mes "debug for the lovetriangle quest";
- menu
- "reset reid", -,
- "leave", L_Close;
-
- set @Graveyard_Inn_MASK, NIBBLE_0_MASK;
- set @Graveyard_Inn_SHIFT, NIBBLE_0_SHIFT;
-
- set @state, ((QUEST_Graveyard_Inn & @Graveyard_Inn_MASK) >> @Graveyard_Inn_SHIFT);
- set @state, 0;
- callsub S_Update_Mask;
-
-L_Close:
- close;
-
-S_Update_Mask:
- set QUEST_Graveyard_Inn,
- (QUEST_Graveyard_Inn & ~(@Graveyard_Inn_MASK))
- | (@state << @Graveyard_Inn_SHIFT);
- return;
-}
-
-027-2.gat,75,29,0 script Archibald 306,{
- end;
-}
-
-027-2.gat,77,40,0 script Drunker 308,{
- set @drunker, rand(4);
- if (@drunker == 0) goto L_0;
- if (@drunker == 1) goto L_1;
- if (@drunker == 2) goto L_2;
- if (@drunker == 3) goto L_3;
- end;
-L_0:
- mes "[Ghost Drunker]";
- mes "\"zzzZZZzzz...\"";
- close;
-L_1:
- mes "[Ghost Drunker]";
- mes "\"Ish that a Zzombee?...\"";
- close;
-L_2:
- mes "[Ghost Drunker]";
- mes "\"Auuu... Hiccup... Don't byte mee... \"";
- close;
-L_3:
- mes "[Ghost Drunker]";
- mes "\"Moar Bearr...Pleash!\"";
- close;
-}
-
-027-2.gat,103,22,0 script Barman 310,{
- end;
-}
-
-027-2.gat,70,77,0 script Cerhan 311,{
- end;
-}
-
-027-2.gat,110,23,0 script Ghost Drunker 312,{
- mes "[Ghost Drunker]";
- mes "\"Ohh... My head is killing me! I have to stop drinking too much or I will lose my job... But being a waiter... oh I can't resist a drink or two!\"";
- close;
-}
-
-027-2.gat,39,91,0 script Golbenez 307,{
- end;
-}
-
-027-2.gat,100,43,0 script Evil Guard 316,{
- end;
-}
-
-027-2.gat,43,73,0 script Hanged Lover 317,{
- end;
-}
-
-027-2.gat,24,77,0 script Headless Man 318,{
- end;
-}
-
-027-2.gat,22,84,0 script Lantern Man 319,{
- end;
-}
+// Temporary placing of all non shop npcs
+// A proper break down of files will need to be done later
+
+// drunk lover: quest,
+// werewolf: gambling,
+// chef's helper: simple dialog,
+// horn mage: golbenez,
+// drunker: simple dialog,
+// barman: crafting related,
+// swordguy: weapon master,
+// ghost from dead drunk: simple dialog,
+// crying child: I don't know,
+// Innkeeper's ghost: quest,
+// evil guard: simple dialog,
+// hangman: quest,
+// headless: quest or simple dialog,
+// lightman: quest,
+
+
+027-2.gat,80,34,0 script Drunk Lover 303,{
+ end;
+}
+
+027-2.gat,118,23,0 script Werewolf 305,{
+ mes "debug for the lovetriangle quest";
+ menu
+ "reset reid", -,
+ "leave", L_Close;
+
+ set @Graveyard_Inn_MASK, NIBBLE_0_MASK;
+ set @Graveyard_Inn_SHIFT, NIBBLE_0_SHIFT;
+
+ set @state, ((QUEST_Graveyard_Inn & @Graveyard_Inn_MASK) >> @Graveyard_Inn_SHIFT);
+ set @state, 0;
+ callsub S_Update_Mask;
+ close;
+
+L_Close:
+ close;
+
+S_Update_Mask:
+ set QUEST_Graveyard_Inn,
+ (QUEST_Graveyard_Inn & ~(@Graveyard_Inn_MASK))
+ | (@state << @Graveyard_Inn_SHIFT);
+ return;
+}
+
+027-2.gat,75,29,0 script Archibald 306,{
+ end;
+}
+
+027-2.gat,77,40,0 script Drunker 308,{
+ set @drunker, rand(4);
+ if (@drunker == 0) goto L_0;
+ if (@drunker == 1) goto L_1;
+ if (@drunker == 2) goto L_2;
+ if (@drunker == 3) goto L_3;
+ end;
+L_0:
+ mes "[Ghost Drunker]";
+ mes "\"zzzZZZzzz...\"";
+ close;
+L_1:
+ mes "[Ghost Drunker]";
+ mes "\"Ish that a Zzombee?...\"";
+ close;
+L_2:
+ mes "[Ghost Drunker]";
+ mes "\"Auuu... Hiccup... Don't byte mee... \"";
+ close;
+L_3:
+ mes "[Ghost Drunker]";
+ mes "\"Moar Bearr...Pleash!\"";
+ close;
+}
+
+027-2.gat,103,22,0 script Barman 310,{
+ end;
+}
+
+027-2.gat,70,77,0 script Cerhan 311,{
+ end;
+}
+
+027-2.gat,110,23,0 script Ghost Drunker 312,{
+ mes "[Ghost Drunker]";
+ mes "\"Ohh... My head is killing me! I have to stop "
+ + "drinking too much or I will lose my job... But "
+ + "being a waiter... oh I can't resist a drink or two!\"";
+ close;
+}
+
+027-2.gat,39,91,0 script Golbenez 307,{
+ end;
+}
+
+027-2.gat,100,43,0 script Evil Guard 316,{
+ end;
+}
+
+027-2.gat,43,73,0 script Hanged Lover 317,{
+ end;
+}
+
+027-2.gat,24,77,0 script Headless Man 318,{
+ end;
+}
+
+027-2.gat,22,84,0 script Lantern Man 319,{
+ end;
+}