Add collision teleport portals and ledge-safe movement in VNext dungeons

This commit is contained in:
dingo
2026-02-14 15:05:10 -05:00
parent 147e7d625d
commit 8f7098af81
9 changed files with 382 additions and 34 deletions
+9 -2
View File
@@ -385,9 +385,12 @@ public sealed partial class DungeonHandler
frame = o.FrameIndex,
blocks = o.BlocksMovement,
interact = o.IsInteractable,
triggeredByWalk = o.TriggeredByWalk,
interactionType = o.InteractionType,
trap = o.IsTrap,
damage = o.TrapDamage,
loot = o.LootTableId
loot = o.LootTableId,
metadataJson = o.MetadataJson
}).ToArray();
}
@@ -453,7 +456,11 @@ public sealed partial class DungeonHandler
id = p.Id,
x = p.X,
y = p.Y,
type = p.Type.ToString().ToLower()
type = p.Type.ToString().ToLower(),
triggerOnCollision = p.TriggerOnCollision,
triggerRadius = p.TriggerRadius,
destinationX = p.DestinationX,
destinationY = p.DestinationY
}),
// V3 visual tile data
tileSheets,