From a128a876e368e86cf6075bbd1ff8a7779c30ef20 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 12 Mar 2019 18:19:32 -0300 Subject: Fix doorbells --- npc/009-6/doorbell.txt | 4 ++-- npc/009-7/doorbell.txt | 4 ++-- npc/012-8/doorbell.txt | 4 ++-- npc/017-7/doorbell.txt | 4 ++-- npc/017-8/doorbell.txt | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'npc') diff --git a/npc/009-6/doorbell.txt b/npc/009-6/doorbell.txt index 67dda0bf5..2b461e8de 100644 --- a/npc/009-6/doorbell.txt +++ b/npc/009-6/doorbell.txt @@ -52,11 +52,11 @@ OnSlide: // If someone press the doorbell from outside and doorbell is enabled OnDoorbell: - if (!$ESTATE_DOORBELL[.id]) + if ($ESTATE_DOORBELL[.id]) end; if (.dpost < gettimetick(2)) { - npctalk l("@@ is pressing the doorbell.", strcharinfo(0)); // We actually don't want l() + npctalk (strcharinfo(0)+" is pressing the doorbell."); // We actually don't want l() } .dpost=gettimetick(2)+.delay; end; diff --git a/npc/009-7/doorbell.txt b/npc/009-7/doorbell.txt index adf96b233..6060d49bd 100644 --- a/npc/009-7/doorbell.txt +++ b/npc/009-7/doorbell.txt @@ -52,11 +52,11 @@ OnSlide: // If someone press the doorbell from outside and doorbell is enabled OnDoorbell: - if (!$ESTATE_DOORBELL[.id]) + if ($ESTATE_DOORBELL[.id]) end; if (.dpost < gettimetick(2)) { - npctalk l("@@ is pressing the doorbell.", strcharinfo(0)); // We actually don't want l() + npctalk (strcharinfo(0)+" is pressing the doorbell."); // We actually don't want l() } .dpost=gettimetick(2)+.delay; end; diff --git a/npc/012-8/doorbell.txt b/npc/012-8/doorbell.txt index 3b85335ec..f910556e7 100644 --- a/npc/012-8/doorbell.txt +++ b/npc/012-8/doorbell.txt @@ -52,11 +52,11 @@ OnSlide: // If someone press the doorbell from outside and doorbell is enabled OnDoorbell: - if (!$ESTATE_DOORBELL[.id]) + if ($ESTATE_DOORBELL[.id]) end; if (.dpost < gettimetick(2)) { - npctalk l("@@ is pressing the doorbell.", strcharinfo(0)); // We actually don't want l() + npctalk (strcharinfo(0)+" is pressing the doorbell."); // We actually don't want l() } .dpost=gettimetick(2)+.delay; end; diff --git a/npc/017-7/doorbell.txt b/npc/017-7/doorbell.txt index b2009bd00..c343ef1dc 100644 --- a/npc/017-7/doorbell.txt +++ b/npc/017-7/doorbell.txt @@ -52,11 +52,11 @@ OnSlide: // If someone press the doorbell from outside and doorbell is enabled OnDoorbell: - if (!$ESTATE_DOORBELL[.id]) + if ($ESTATE_DOORBELL[.id]) end; if (.dpost < gettimetick(2)) { - npctalk l("@@ is pressing the doorbell.", strcharinfo(0)); // We actually don't want l() + npctalk (strcharinfo(0)+" is pressing the doorbell."); // We actually don't want l() } .dpost=gettimetick(2)+.delay; end; diff --git a/npc/017-8/doorbell.txt b/npc/017-8/doorbell.txt index 901d8d2f6..9b1095b38 100644 --- a/npc/017-8/doorbell.txt +++ b/npc/017-8/doorbell.txt @@ -52,11 +52,11 @@ OnSlide: // If someone press the doorbell from outside and doorbell is enabled OnDoorbell: - if (!$ESTATE_DOORBELL[.id]) + if ($ESTATE_DOORBELL[.id]) end; if (.dpost < gettimetick(2)) { - npctalk l("@@ is pressing the doorbell.", strcharinfo(0)); // We actually don't want l() + npctalk (strcharinfo(0)+" is pressing the doorbell."); // We actually don't want l() } .dpost=gettimetick(2)+.delay; end; -- cgit v1.2.3-60-g2f50