From 0ca76095bc2cf27e02ea2d03f7df8b6cf424da76 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 17 Jun 2018 18:45:10 -0300 Subject: Setcells with Quirino fix --- npc/003-10/quirino.txt | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'npc/003-10/quirino.txt') diff --git a/npc/003-10/quirino.txt b/npc/003-10/quirino.txt index 41cb1adc0..101e385c5 100644 --- a/npc/003-10/quirino.txt +++ b/npc/003-10/quirino.txt @@ -96,8 +96,8 @@ L_Hub: mes col("Activate event?", 1); if (askyesno() == ASK_YES) { $EVENT$="Hunger"; - setcells "001-8", 42, 57, 42, 42, 1, "qhubN"; - setcells "001-8", 42, 57, 57, 57, 1, "qhubS"; + setcells "001-8", 42, 57, 42, 42, 5, "qhubN"; + setcells "001-8", 42, 57, 57, 57, 5, "qhubS"; announce("##1HUNGRY QUIRIN EVENT: ##3##BRegister is now open! Talk to Quirin, on Tulimshar Guardhouse!", bc_all|bc_npc); } close; @@ -136,3 +136,15 @@ OnInit: } +/* +Blockwalls TileCondition and masks for setcells +manaplus/src/enums/resources/map/blockmask.h + + WALL = 0x80, // 1000 0000 = 128 + AIR = 0x04, // 0000 0100 = 4 + WATER = 0x08, // 0000 1000 = 8 + GROUND = 0x10, // 0001 0000 = 16 + GROUNDTOP = 0x20, // 0010 0000 = 32 + PLAYERWALL = 0x40, // 0100 0000 = 64 + MONSTERWALL = 0x02 // 0000 0010 = 2 +*/ -- cgit v1.2.3-60-g2f50