Skip to content

Commit 71a9978

Browse files
feat(model): add HasCharges and FloorChange properties to DatThingType
Adds missing DAT flag properties that Object Builder supports: - HasCharges (V4 flag 0x08): items with charge count - FloorChange (V3 0x17, V4 0x18): floor change tiles These are needed for accurate per-version flag read/write alignment.
1 parent 7ca90ee commit 71a9978

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/OTB/DatThingType.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public sealed class DatThingType
1919
public bool IsStackable { get; set; }
2020
public bool IsForceUse { get; set; }
2121
public bool IsMultiUse { get; set; }
22+
public bool HasCharges { get; set; }
2223
public bool IsWritable { get; set; }
2324
public bool IsWritableOnce { get; set; }
2425
public bool IsFluidContainer { get; set; }
@@ -35,6 +36,7 @@ public sealed class DatThingType
3536
public bool IsRotatable { get; set; }
3637
public bool HasLight { get; set; }
3738
public bool IsDontHide { get; set; }
39+
public bool FloorChange { get; set; }
3840
public bool IsTranslucent { get; set; }
3941
public bool HasOffset { get; set; }
4042
public bool HasElevation { get; set; }

0 commit comments

Comments
 (0)