summaryrefslogtreecommitdiff
path: root/npc/012-8
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-26 07:28:19 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-26 07:28:19 -0300
commit080e42fc093a6693e225ea734d22049094351af0 (patch)
treeca7a507eb65cbe4239e47021c06fcc8e805ed383 /npc/012-8
parent0ed4665e14b6df06788c7b24c75380a230a8be61 (diff)
downloadserverdata-080e42fc093a6693e225ea734d22049094351af0.tar.gz
serverdata-080e42fc093a6693e225ea734d22049094351af0.tar.bz2
serverdata-080e42fc093a6693e225ea734d22049094351af0.tar.xz
serverdata-080e42fc093a6693e225ea734d22049094351af0.zip
Move more stuff from Real Estate System around.
It's still difficult to implement and maintain, imo.
Diffstat (limited to 'npc/012-8')
-rw-r--r--npc/012-8/utils.txt40
1 files changed, 4 insertions, 36 deletions
diff --git a/npc/012-8/utils.txt b/npc/012-8/utils.txt
index 952a3221b..7e34e91fe 100644
--- a/npc/012-8/utils.txt
+++ b/npc/012-8/utils.txt
@@ -22,6 +22,7 @@
// REAL_ESTATE_CREDITS → Credits equivalent to GP the player have. Will be used first.
+// Real Estate NPCs and settings
// The sign is the main controller for rent system
// Doorbell is the main controller for indoor
// This is the NPC script controller
@@ -52,10 +53,6 @@
end;
OnInit:
- // Estate Settings
- .id=1; // Estate ID
- .mapa$="012-8"; // Map name
-
// NPC Settings
.sex = G_OTHER;
.distance = 3;
@@ -65,39 +62,10 @@ OnInit:
OnReload:
//debugmes "[REAL ESTATE] NPC ONRELOAD";
// load_npc ( name , map, x , y{, cell} )
- load_npc("Wardrobe#RES_0128", .mapa$, 21, 23);
- load_npc("Cauldron#RES_0128", .mapa$, 28, 24);
- load_npc("Piano#RES_0128" , .mapa$, 34, 25);
- end;
-
-}
-
-012-8,21,23,0 script Wardrobe#RES_0128 NPC_NO_SPRITE,{
- openstorage;
+ load_npc("Wardrobe#RES_0128", .map$, 21, 23);
+ load_npc("Cauldron#RES_0128", .map$, 28, 24);
+ load_npc("Piano#RES_0128" , .map$, 34, 25);
end;
-OnInit:
- .distance=3;
- end;
-}
-
-
-012-8,29,24,0 script Cauldron#RES_0128 NPC_NO_SPRITE,{
- realestate_cauldron();
- close;
-
-OnInit:
- .distance=3;
- end;
-}
-
-
-012-8,34,25,0 script Piano#RES_0128 NPC_NO_SPRITE,{
- realestate_piano();
- close;
-
-OnInit:
- .distance=3;
- end;
}