summaryrefslogtreecommitdiff
path: root/npc/012-8/utils.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/012-8/utils.txt')
-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;
}