From 252107d61aa0c52b8d5df63ae7d486bdbed52c71 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 14 Jul 2019 12:27:03 -0300 Subject: Fix bug on Real Estate System, where RES_UTILITIES and RES_OBJECTS would get mixed up. --- 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 ++-- npc/024-14/doorbell.txt | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'npc') diff --git a/npc/009-6/doorbell.txt b/npc/009-6/doorbell.txt index 27ffb9e3b..72678ffd1 100644 --- a/npc/009-6/doorbell.txt +++ b/npc/009-6/doorbell.txt @@ -283,7 +283,7 @@ OnInit: for (.@i=0; .@i < getarraysize(.layer); .@i++) { switch (.layer[.@i]) { case 1: - if ($ESTATE_MOBILIA_128[.id] & .objid[.@i]) + if ($ESTATE_MOBILIA_64[.id] & .objid[.@i]) array_push(.valid_ids, .@i); break; case 2: @@ -299,7 +299,7 @@ OnInit: array_push(.valid_ids, .@i); break; case 5: - if ($ESTATE_MOBILIA_64[.id] & .objid[.@i]) + if ($ESTATE_MOBILIA_128[.id] & .objid[.@i]) array_push(.valid_ids, .@i); break; case 6: diff --git a/npc/009-7/doorbell.txt b/npc/009-7/doorbell.txt index 41ec0420b..7a5f2d474 100644 --- a/npc/009-7/doorbell.txt +++ b/npc/009-7/doorbell.txt @@ -283,7 +283,7 @@ OnInit: for (.@i=0; .@i < getarraysize(.layer); .@i++) { switch (.layer[.@i]) { case 1: - if ($ESTATE_MOBILIA_128[.id] & .objid[.@i]) + if ($ESTATE_MOBILIA_64[.id] & .objid[.@i]) array_push(.valid_ids, .@i); break; case 2: @@ -299,7 +299,7 @@ OnInit: array_push(.valid_ids, .@i); break; case 5: - if ($ESTATE_MOBILIA_64[.id] & .objid[.@i]) + if ($ESTATE_MOBILIA_128[.id] & .objid[.@i]) array_push(.valid_ids, .@i); break; case 6: diff --git a/npc/012-8/doorbell.txt b/npc/012-8/doorbell.txt index 209bb9fad..e9f5877d4 100644 --- a/npc/012-8/doorbell.txt +++ b/npc/012-8/doorbell.txt @@ -290,7 +290,7 @@ OnInit: for (.@i=0; .@i < getarraysize(.layer); .@i++) { switch (.layer[.@i]) { case 1: - if ($ESTATE_MOBILIA_128[.id] & .objid[.@i]) + if ($ESTATE_MOBILIA_64[.id] & .objid[.@i]) array_push(.valid_ids, .@i); break; case 2: @@ -306,7 +306,7 @@ OnInit: array_push(.valid_ids, .@i); break; case 5: - if ($ESTATE_MOBILIA_64[.id] & .objid[.@i]) + if ($ESTATE_MOBILIA_128[.id] & .objid[.@i]) array_push(.valid_ids, .@i); break; case 6: diff --git a/npc/017-7/doorbell.txt b/npc/017-7/doorbell.txt index bee539357..1be18ad8b 100644 --- a/npc/017-7/doorbell.txt +++ b/npc/017-7/doorbell.txt @@ -290,7 +290,7 @@ OnInit: for (.@i=0; .@i < getarraysize(.layer); .@i++) { switch (.layer[.@i]) { case 1: - if ($ESTATE_MOBILIA_128[.id] & .objid[.@i]) + if ($ESTATE_MOBILIA_64[.id] & .objid[.@i]) array_push(.valid_ids, .@i); break; case 2: @@ -306,7 +306,7 @@ OnInit: array_push(.valid_ids, .@i); break; case 5: - if ($ESTATE_MOBILIA_64[.id] & .objid[.@i]) + if ($ESTATE_MOBILIA_128[.id] & .objid[.@i]) array_push(.valid_ids, .@i); break; case 6: diff --git a/npc/017-8/doorbell.txt b/npc/017-8/doorbell.txt index 18df81fc7..cc26c4679 100644 --- a/npc/017-8/doorbell.txt +++ b/npc/017-8/doorbell.txt @@ -290,7 +290,7 @@ OnInit: for (.@i=0; .@i < getarraysize(.layer); .@i++) { switch (.layer[.@i]) { case 1: - if ($ESTATE_MOBILIA_128[.id] & .objid[.@i]) + if ($ESTATE_MOBILIA_64[.id] & .objid[.@i]) array_push(.valid_ids, .@i); break; case 2: @@ -306,7 +306,7 @@ OnInit: array_push(.valid_ids, .@i); break; case 5: - if ($ESTATE_MOBILIA_64[.id] & .objid[.@i]) + if ($ESTATE_MOBILIA_128[.id] & .objid[.@i]) array_push(.valid_ids, .@i); break; case 6: diff --git a/npc/024-14/doorbell.txt b/npc/024-14/doorbell.txt index d40aef1f1..ef0a04246 100644 --- a/npc/024-14/doorbell.txt +++ b/npc/024-14/doorbell.txt @@ -236,7 +236,7 @@ OnReload: for (.@i=0; .@i < getarraysize(.layer); .@i++) { switch (.layer[.@i]) { case 1: - if (ESTATE_MOBILIA_128 & .objid[.@i]) + if (ESTATE_MOBILIA_64 & .objid[.@i]) array_push(.valid_ids, .@i); break; case 2: @@ -252,7 +252,7 @@ OnReload: array_push(.valid_ids, .@i); break; case 5: - if (ESTATE_MOBILIA_64 & .objid[.@i]) + if (ESTATE_MOBILIA_128 & .objid[.@i]) array_push(.valid_ids, .@i); break; case 6: -- cgit v1.2.3-70-g09d2