diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-16 00:51:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-16 00:51:15 -0300 |
commit | fdfe72f2707634323226f8097dc1060f511eba1b (patch) | |
tree | e83c8f0f8fc6fc5504d83fefbdd04ff7bd0e0aa4 /npc/024-14 | |
parent | c80e4d95db756c941ccc8d0ea3813971cc0672ca (diff) | |
download | serverdata-fdfe72f2707634323226f8097dc1060f511eba1b.tar.gz serverdata-fdfe72f2707634323226f8097dc1060f511eba1b.tar.bz2 serverdata-fdfe72f2707634323226f8097dc1060f511eba1b.tar.xz serverdata-fdfe72f2707634323226f8097dc1060f511eba1b.zip |
Fix other bugs detected
Diffstat (limited to 'npc/024-14')
-rw-r--r-- | npc/024-14/doorbell.txt | 7 | ||||
-rw-r--r-- | npc/024-14/utils.txt | 9 |
2 files changed, 9 insertions, 7 deletions
diff --git a/npc/024-14/doorbell.txt b/npc/024-14/doorbell.txt index f60d9cea7..d40aef1f1 100644 --- a/npc/024-14/doorbell.txt +++ b/npc/024-14/doorbell.txt @@ -51,7 +51,8 @@ L_Manage: next; select l("Leave"), - l("Manage Furniture"); + l("Manage Furniture"), + l("Reload NPC Data"); switch (@menu) { case 1: @@ -60,6 +61,10 @@ L_Manage: case 2: goto L_Furniture; break; + case 3: + addtimer2(150, "NPCs#RES_PPL::OnReload"); + close; + break; } goto L_Manage; diff --git a/npc/024-14/utils.txt b/npc/024-14/utils.txt index e9c8853bb..4e58f8b7e 100644 --- a/npc/024-14/utils.txt +++ b/npc/024-14/utils.txt @@ -33,9 +33,6 @@ end; OnInit: - // Estate Settings - .mapa$="024-14"; // Map name - // NPC Settings .sex = G_OTHER; .distance = 3; @@ -45,9 +42,9 @@ OnInit: OnReload: //debugmes "[REAL ESTATE] NPC ONRELOAD"; // load_npc ( name , map, x , y{, cell} ) - load_npc("Wardrobe#RES_PPL", .mapa$, 25, 26); - load_npc("Cauldron#RES_PPL", .mapa$, 28, 27); - load_npc("Piano#RES_PPL" , .mapa$, 32, 26); + load_npc("Wardrobe#RES_PPL", "ples@"+getcharid(0), 25, 26); + load_npc("Cauldron#RES_PPL", "ples@"+getcharid(0), 28, 27); + load_npc("Piano#RES_PPL" , "ples@"+getcharid(0), 32, 26); end; } |