From b38cc330d6f897cb51f52a7f4c507886fac0502d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 5 Mar 2019 17:06:01 -0300 Subject: Uncomment some debug prints We still need to update map cells when renting... --- npc/012-8/utils.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/npc/012-8/utils.txt b/npc/012-8/utils.txt index 894a5f291..e8c5ceb9a 100644 --- a/npc/012-8/utils.txt +++ b/npc/012-8/utils.txt @@ -30,12 +30,13 @@ function load_npc { if (checknpccell(getarg(1), getarg(2), getarg(3), getarg(4, cell_chknopass))) { enablenpc getarg(0); - debugmes "ENABLING NPC %s", getarg(0); + //debugmes "ENABLING NPC %s", getarg(0); } else { disablenpc getarg(0); - debugmes "Disabling NPC %s", getarg(0); + //debugmes "Disabling NPC %s", getarg(0); } + /* debugmes "----- %s (%d,%d) cell report", getarg(1), getarg(2), getarg(3); debugmes "cell_chknopass: %d", checknpccell(getarg(1), getarg(2), getarg(3), cell_chknopass); debugmes "cell_chknoreach: %d", checknpccell(getarg(1), getarg(2), getarg(3), cell_chknoreach); @@ -45,6 +46,7 @@ debugmes "cell_chkwall: %d", checknpccell(getarg(1), getarg(2), getarg(3), cell_chkwall); debugmes "cell_chkcliff: %d", checknpccell(getarg(1), getarg(2), getarg(3), cell_chkcliff); debugmes "----- Npc Id: %s", getarg(0); + */ return; } end; @@ -61,7 +63,7 @@ OnInit: // Load or unload accordingly OnReload: - debugmes "[REAL ESTATE] NPC 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); -- cgit v1.2.3-70-g09d2