diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-03-06 01:04:36 +0100 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-03-06 01:04:36 +0100 |
commit | 78a610cf93feb1148730b9a4b392d73320359262 (patch) | |
tree | f3567ced48b94470a0f98b5651956e235eb13d0e | |
parent | 7071512b58d79765c970ad780e52885ce0294065 (diff) | |
download | serverdata-fortress_encampment_hut_doors.tar.gz serverdata-fortress_encampment_hut_doors.tar.bz2 serverdata-fortress_encampment_hut_doors.tar.xz serverdata-fortress_encampment_hut_doors.zip |
Replace duplicate door NPCs on fortress island encampment with OnTouch areasfortress_encampment_hut_doors
- Two pairs of door NPCs are replaced by stretching OnTouch across a fireplace
- one pair of door NPC is replaced by one tile OnTouch, as the other one
is blocked off by apparent crack in floor.
- main hut ontouch door reduced from 2x1 to 1x1 area. The other tile is
a collision.
-rw-r--r-- | npc/025-4/main.txt | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/npc/025-4/main.txt b/npc/025-4/main.txt index 68668ab0e..bc37cd9a2 100644 --- a/npc/025-4/main.txt +++ b/npc/025-4/main.txt @@ -62,8 +62,11 @@ OnTouch: end; } -// The huts doors use 2 tiles, so all NPCs have a duplicate -025-4,95,52,0 script #MQFinHutB NPC_NO_SPRITE,{ + +025-4,94,53,0 script #MQFinHutB NPC_HIDDEN,0,0,{ + end; + +OnTouch: .@q=getq(General_Narrator); .@q2=getq2(General_Narrator); // Cheater Detected @@ -80,16 +83,15 @@ OnTouch: mes l("The distinct lack of metal weapons such as swords make you nervous, and makes impossible to say for how long it was abandoned."); if (!(.@q2 & FRAG_CAMP_01)) setq2 General_Narrator, .@q2 | FRAG_CAMP_01; - close; - -OnInit: - .distance=3; end; } -025-4,96,52,0 duplicate(#MQFinHutB) #MQFinHutB2 NPC_NO_SPRITE -// The huts doors use 2 tiles, so all NPCs have a duplicate -025-4,90,59,0 script #MQFinHutC NPC_NO_SPRITE,{ + +// This hut's "door" is stretched across 2 tiles of collision (fireplace) +025-4,89,60,0 script #MQFinHutC NPC_HIDDEN,3,0,{ + end; + +OnTouch: .@q=getq(General_Narrator); .@q2=getq2(General_Narrator); // Cheater Detected @@ -107,15 +109,14 @@ OnInit: if (!(.@q2 & FRAG_CAMP_02)) setq2 General_Narrator, .@q2 | FRAG_CAMP_02; close; - -OnInit: - .distance=3; - end; } -025-4,91,59,0 duplicate(#MQFinHutC) #MQFinHutC2 NPC_NO_SPRITE -// The huts doors use 2 tiles, so all NPCs have a duplicate -025-4,80,60,0 script #MQFinHutD NPC_NO_SPRITE,{ + +// This hut's "door" is stretched across 2 tiles of collision (fireplace) +025-4,78,61,0 script #MQFinHutD NPC_HIDDEN,3,0,{ + end; + +OnTouch: .@q=getq(General_Narrator); .@q2=getq2(General_Narrator); // Cheater Detected @@ -133,15 +134,11 @@ OnInit: if (!(.@q2 & FRAG_CAMP_03)) setq2 General_Narrator, .@q2 | FRAG_CAMP_03; close; - -OnInit: - .distance=3; - end; } -025-4,79,60,0 duplicate(#MQFinHutD) #MQFinHutD2 NPC_NO_SPRITE + // Their central dorm -025-4,85,58,0 script #MQFinLHut NPC_HIDDEN,1,0,{ +025-4,85,58,0 script #MQFinLHut NPC_HIDDEN,0,0,{ end; OnTouch: @@ -176,6 +173,7 @@ OnTouch: close; } + // Your parent's hut 025-4,74,21,0 script #MQFinPHut NPC_HIDDEN,1,0,{ end; |