From cf18ce071c79ae37e14ea38943e0b1d88da70a7b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Apr 2021 13:33:57 -0300 Subject: Override --- npc/001-2-0/_import.txt | 6 ---- npc/001-2-0/_warps.txt | 4 --- npc/001-2-0/mapflags.txt | 1 - npc/001-2-0/resa.txt | 79 ------------------------------------------------ npc/001-2-0/shop.txt | 34 --------------------- 5 files changed, 124 deletions(-) delete mode 100644 npc/001-2-0/_import.txt delete mode 100644 npc/001-2-0/_warps.txt delete mode 100644 npc/001-2-0/mapflags.txt delete mode 100644 npc/001-2-0/resa.txt delete mode 100644 npc/001-2-0/shop.txt (limited to 'npc/001-2-0') diff --git a/npc/001-2-0/_import.txt b/npc/001-2-0/_import.txt deleted file mode 100644 index 2fb6a262..00000000 --- a/npc/001-2-0/_import.txt +++ /dev/null @@ -1,6 +0,0 @@ -// Map 001-2-0: Light Armor Shop -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-0/_warps.txt", -"npc/001-2-0/mapflags.txt", -"npc/001-2-0/resa.txt", -"npc/001-2-0/shop.txt", diff --git a/npc/001-2-0/_warps.txt b/npc/001-2-0/_warps.txt deleted file mode 100644 index c81b7fa6..00000000 --- a/npc/001-2-0/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-0: Light Armor Shop warps -001-2-0,30,35,0 warp #001-2-0_30_35 0,0,001-1,51,66 -001-2-0,37,46,0 warp #001-2-0_37_46 0,0,001-1,55,72 diff --git a/npc/001-2-0/mapflags.txt b/npc/001-2-0/mapflags.txt deleted file mode 100644 index a1781431..00000000 --- a/npc/001-2-0/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-0 mapflag town diff --git a/npc/001-2-0/resa.txt b/npc/001-2-0/resa.txt deleted file mode 100644 index 160b8351..00000000 --- a/npc/001-2-0/resa.txt +++ /dev/null @@ -1,79 +0,0 @@ -// 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. - -001-2-0,37,28,0 script Resa 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, l("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; - closeclientdialog; - goodbye; - close; - case 2: - closeclientdialog; - shop "Store#001-2-0"; - close; - case 3: - explain_craft; - break; - case 4: - closeclientdialog; - goodbye; - close; - } - } while (1); - - -OnInit: - .distance = 2; - end; -} diff --git a/npc/001-2-0/shop.txt b/npc/001-2-0/shop.txt deleted file mode 100644 index eccc812c..00000000 --- a/npc/001-2-0/shop.txt +++ /dev/null @@ -1,34 +0,0 @@ -// Evol scripts. -// Authors: -// 4144 -// Reid -// Description: -// Light armor shop. - -001-2-0,37,29,0 trader Store#001-2-0 NPC_NO_SPRITE,{ -// The ArtisTankTop should be store at x: 39 or 40, y: 31. -// 38,35 is server's location of where client displays a black torso gear on display. (using @where for server). -// 35,27 is some shelves and a cabinet at 4 tiles from where player select it. -// 39,27 is where to put store that sells only fabric. (the cloth shelf). -OnInit: - tradertype(NST_MARKET); - - sellitem ArtisTankTop, -1, 50; - sellitem VneckJumper, -1, 30; - sellitem BrownTrousers, -1, 30; - sellitem BrimmedHat, -1, 35; - - .distance = 2; - end; - -OnClock0000: - restoreshopitem ArtisTankTop, 30; - restoreshopitem VneckJumper, 12; - restoreshopitem BrownTrousers, 15; - restoreshopitem BrimmedHat, 10; -OnClock1200: - restoreshopitem ArtisTankTop, 25; - restoreshopitem VneckJumper, 10; - restoreshopitem BrownTrousers, 10; - restoreshopitem BrimmedHat, 20; -} -- cgit v1.2.3-70-g09d2