From 3760a18db677d3295f02194bd747fe79c65963b5 Mon Sep 17 00:00:00 2001 From: Reid Date: Tue, 19 Apr 2016 08:27:18 +0200 Subject: Replace Artis's sign functions with npctalkonce. --- npc/001-1/sign.txt | 119 ++++++++--------------------------------------------- 1 file changed, 17 insertions(+), 102 deletions(-) diff --git a/npc/001-1/sign.txt b/npc/001-1/sign.txt index 438b692c..a8b8694b 100644 --- a/npc/001-1/sign.txt +++ b/npc/001-1/sign.txt @@ -5,12 +5,7 @@ // Sign pillars aside Artis houses. 001-1,73,119,0 script #001-1-s-market NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("Market Place."); - } - + npctalkonce l("Market Place"); close; OnInit: @@ -20,12 +15,7 @@ OnInit: } 001-1,48,122,0 script #001-1-s-marketright NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("Market Place."); - } - + npctalkonce l("Market Place"); close; OnInit: @@ -35,12 +25,7 @@ OnInit: } 001-1,57,88,0 script #001-1-s-marketdir NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("↓ Market Place."); - } - + npctalkonce l("↓ Market Place"); close; OnInit: @@ -50,12 +35,7 @@ OnInit: } 001-1,55,86,0 script #001-1-s-exit-l-dir NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("← Exit."); - } - + npctalkonce l("← Exit"); close; OnInit: @@ -65,12 +45,7 @@ OnInit: } 001-1,59,85,0 script #001-1-s-legiondir NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("↑ Legion."); - } - + npctalkonce l("↑ Legion"); close; OnInit: @@ -80,12 +55,7 @@ OnInit: } 001-1,57,80,0 script #001-1-s-library NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("Library."); - } - + npctalkonce l("Library"); close; OnInit: @@ -95,12 +65,7 @@ OnInit: } 001-1,57,71,0 script #001-1-s-lightarmor NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("Light Armor Shop."); - } - + npctalkonce l("Light Armor Shop"); close; OnInit: @@ -110,12 +75,7 @@ OnInit: } 001-1,53,56,0 script #001-1-s-legion NPC_OFFSET_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("Legion of Aemil."); - } - + npctalkonce l("Legion of Aemil"); close; OnInit: @@ -125,12 +85,7 @@ OnInit: } 001-1,60,56,0 script #001-1-s-legionright NPC_OFFSET_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("Legion of Aemil."); - } - + npctalkonce l("Legion of Aemil"); close; OnInit: @@ -140,12 +95,7 @@ OnInit: } 001-1,91,66,0 script #001-1-s-cityhall NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("City Hall."); - } - + npctalkonce l("City Hall"); close; OnInit: @@ -155,12 +105,7 @@ OnInit: } 001-1,95,111,0 script #001-1-s-blacksmith NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("Blacksmith."); - } - + npctalkonce l("Blacksmith"); close; OnInit: @@ -170,12 +115,7 @@ OnInit: } 001-1,115,88,0 script #001-1-s-inn NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("INN."); - } - + npctalkonce l("INN"); close; OnInit: @@ -185,12 +125,7 @@ OnInit: } 001-1,134,85,0 script #001-1-s-innright NPC_OFFSET_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("INN."); - } - + npctalkonce l("INN"); close; OnInit: @@ -200,12 +135,7 @@ OnInit: } 001-1,118,36,0 script #001-1-s-merchantg NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("Merchant Guild."); - } - + npctalkonce l("Merchant Guild"); close; OnInit: @@ -215,12 +145,7 @@ OnInit: } 001-1,171,48,0 script #001-1-s-hill NPC_OFFSET_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("Hill & Cliff."); - } - + npctalkonce l("Hill & Cliff"); close; OnInit: @@ -230,12 +155,7 @@ OnInit: } 001-1,161,72,0 script #001-1-s-alchemist NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("Alchemist's Laboratory."); - } - + npctalkonce l("Alchemist's Laboratory"); close; OnInit: @@ -245,12 +165,7 @@ OnInit: } 001-1,175,76,0 script #001-1-s-warehouse NPC_NO_SPRITE,{ - if ((.@current_time = gettimetick(2)) >= Repeat_NPC_lock) - { - Repeat_NPC_lock = .@current_time + 1; - npctalk3 l("Docks's Warehouse."); - } - + npctalkonce l("Docks's Warehouse"); close; OnInit: -- cgit v1.2.3-60-g2f50