diff options
Diffstat (limited to 'npc/005-4')
-rw-r--r-- | npc/005-4/_import.txt | 6 | ||||
-rw-r--r-- | npc/005-4/_warps.txt | 3 | ||||
-rw-r--r-- | npc/005-4/rosen.txt | 80 | ||||
-rw-r--r-- | npc/005-4/shop.txt | 37 | ||||
-rw-r--r-- | npc/005-4/tolchi.txt | 24 |
5 files changed, 150 insertions, 0 deletions
diff --git a/npc/005-4/_import.txt b/npc/005-4/_import.txt new file mode 100644 index 000000000..000bb26f5 --- /dev/null +++ b/npc/005-4/_import.txt @@ -0,0 +1,6 @@ +// Map 005-4: Merchant Guild +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/005-4/_warps.txt", +"npc/005-4/rosen.txt", +"npc/005-4/shop.txt", +"npc/005-4/tolchi.txt", diff --git a/npc/005-4/_warps.txt b/npc/005-4/_warps.txt new file mode 100644 index 000000000..97c3f55a7 --- /dev/null +++ b/npc/005-4/_warps.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 005-4: Merchant Guild warps +005-4,25,43,0 warp #005-4_25_43 0,0,005-1,48,71 diff --git a/npc/005-4/rosen.txt b/npc/005-4/rosen.txt new file mode 100644 index 000000000..32d2bcb81 --- /dev/null +++ b/npc/005-4/rosen.txt @@ -0,0 +1,80 @@ +// Evol scripts. +// Author: +// Reid +// Description: +// Light Armor shop keeper. +// Variables: +// ArtisQuests_Enora +// Values: +// 0 Default. +// 1 BlackSmith quest delivered. +// 2 Chelios Quest given. +// 3 Chelios Quest done. +// 4 BlackSmith gave the sword. +// 5 Light Armor Shop quest delivered. +// 6 Light Armor Shop gave the cloths. + +005-4,29,36,0 script Rosen NPC_ELVEN_FEMALE_ARMOR_SHOP,{ + + function explain_craft { + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, + l("Did you see Don the blacksmith? He might know how you could improve your metal equipment."), + l("Nevertheless, you can craft some cards that you can then attach to your equipment."), + l("We sell a brimmed hat, you can craft a feather card and attach it to this hat to obtain an enhanced version of it!"); + + return; + } + + function enora_quest { + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, + l("I thought that she would never come to pick it up!"), + l("Here it is, a fashionable @@.", getitemlink(ArtisTankTop, CamelCottonDye)), + l("I asked Calypsan to dye this tank top, now it has an unique look!"); + + narrator S_LAST_NEXT, l("You pick up the package."); + + setq ArtisQuests_Enora, 6; + + return; + } + + speech S_LAST_NEXT, + l("Welcome to my office."), + l("What would you like today?"); + + do + { + .@enora = getq(ArtisQuests_Enora); + select + rif(.@enora == 5, lg("I came to retrieve a package for Enora.")), + menuaction(l("Trade")), + l("How can I improve my equipment?"), + menuaction(l("Quit")); + + switch (@menu) + { + case 1: + enora_quest; + closedialog; + goodbye; + close; + case 2: + closedialog; + shop "Store#001-2-0"; + close; + case 3: + explain_craft; + break; + case 4: + closedialog; + goodbye; + close; + } + } while (1); + + +OnInit: + .sex = G_FEMALE; + .distance = 2; + end; +} diff --git a/npc/005-4/shop.txt b/npc/005-4/shop.txt new file mode 100644 index 000000000..bb5dd0e25 --- /dev/null +++ b/npc/005-4/shop.txt @@ -0,0 +1,37 @@ +// Evol scripts. +// Author: +// Reid +// Description: +// Light Armor shop keeper. +// Variables: +// ArtisQuests_Enora +// Values: +// 0 Default. +// 1 BlackSmith quest delivered. +// 2 Chelios Quest given. +// 3 Chelios Quest done. +// 4 BlackSmith gave the sword. +// 5 Light Armor Shop quest delivered. +// 6 Light Armor Shop gave the cloths. + +005-4,30,37,0 trader Shop NPC_NO_SPRITE,{ + +OnInit: + tradertype(NST_MARKET); + + sellitem RoundLeatherShield, -1, 3; + sellitem Knife, -1, 5; + sellitem TolchiArrow, -1, 30000; + sellitem LousyMoccasins, -1, 20; + + .sex = G_OTHER; + .distance = 3; + end; + +OnClock0000: + restoreshopitem RoundLeatherShield, 3; + restoreshopitem Knife, 5; + restoreshopitem TolchiArrow, 30000; + restoreshopitem LousyMoccasins, 20; +} + diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt new file mode 100644 index 000000000..99d68d691 --- /dev/null +++ b/npc/005-4/tolchi.txt @@ -0,0 +1,24 @@ +// Evol scripts. +// Author: +// Reid +// Description: +// Light Armor shop keeper. +// Variables: +// ArtisQuests_Enora +// Values: +// 0 Default. +// 1 BlackSmith quest delivered. +// 2 Chelios Quest given. +// 3 Chelios Quest done. +// 4 BlackSmith gave the sword. +// 5 Light Armor Shop quest delivered. +// 6 Light Armor Shop gave the cloths. + +005-4,42,37,0 script Tolchi NPC_ELVEN_FEMALE_ARMOR_SHOP,{ + + +OnInit: + .sex = G_FEMALE; + .distance = 2; + end; +} |