summaryrefslogtreecommitdiff
path: root/npc/functions
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/functions
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/functions')
-rw-r--r--npc/functions/estate2.txt51
1 files changed, 51 insertions, 0 deletions
diff --git a/npc/functions/estate2.txt b/npc/functions/estate2.txt
index 758a73e4b..99100f2f8 100644
--- a/npc/functions/estate2.txt
+++ b/npc/functions/estate2.txt
@@ -273,3 +273,54 @@ function script realestate_cauldron {
return;
}
+////////////////////////////////////////////////////////////////////////////
+// TODO: NPCs toogle on/off controller?
+
+////////////////////////////////////////////////////////////////////////////
+012-8,21,23,0 script Wardrobe#RES_0128 NPC_NO_SPRITE,{
+ openstorage;
+ end;
+
+OnInit:
+ .distance=3;
+ end;
+}
+
+017-7,21,23,0 duplicate(Wardrobe#RES_0128) Wardrobe#RES_0177 NPC_NO_SPRITE
+017-8,21,23,0 duplicate(Wardrobe#RES_0128) Wardrobe#RES_0178 NPC_NO_SPRITE
+009-6,21,23,0 duplicate(Wardrobe#RES_0128) Wardrobe#RES_0096 NPC_NO_SPRITE
+009-7,21,23,0 duplicate(Wardrobe#RES_0128) Wardrobe#RES_0097 NPC_NO_SPRITE
+
+
+////////////////////////////////////////////////////////////////////////////
+012-8,29,24,0 script Cauldron#RES_0128 NPC_NO_SPRITE,{
+ realestate_cauldron();
+ close;
+
+OnInit:
+ .distance=3;
+ end;
+}
+
+017-7,29,24,0 duplicate(Cauldron#RES_0128) Cauldron#RES_0177 NPC_NO_SPRITE
+017-8,29,24,0 duplicate(Cauldron#RES_0128) Cauldron#RES_0178 NPC_NO_SPRITE
+009-6,29,24,0 duplicate(Cauldron#RES_0128) Stovetop#RES_0096 NPC_NO_SPRITE
+009-7,29,24,0 duplicate(Cauldron#RES_0128) Stovetop#RES_0097 NPC_NO_SPRITE
+
+
+////////////////////////////////////////////////////////////////////////////
+012-8,34,25,0 script Piano#RES_0128 NPC_NO_SPRITE,{
+ realestate_piano();
+ close;
+
+OnInit:
+ .distance=3;
+ end;
+}
+
+017-7,34,25,0 duplicate(Piano#RES_0128) Piano#RES_0177 NPC_NO_SPRITE
+017-8,34,25,0 duplicate(Piano#RES_0128) Piano#RES_0178 NPC_NO_SPRITE
+009-6,34,25,0 duplicate(Piano#RES_0128) Piano#RES_0096 NPC_NO_SPRITE
+009-7,34,25,0 duplicate(Piano#RES_0128) Piano#RES_0097 NPC_NO_SPRITE
+
+