Lot format 3.0

This JSON conversation is lot more readable, to say the least. xD
This commit is contained in:
Tony Bark 2024-05-01 11:30:57 -04:00
parent ac29443425
commit 445d8a6a08
4 changed files with 7770 additions and 12 deletions

View file

@ -5,12 +5,8 @@ pub const Floor = struct {
value: u8,
};
pub const Floors = struct {
floor: []Floor,
};
pub const World = struct {
floors: Floors,
floors: []Floor,
walls: u8,
};
@ -23,13 +19,10 @@ pub const Item = struct {
group: u8,
};
pub const Items = struct {
Item: []Item,
};
pub const House = struct {
version: f32,
size: u8,
category: u8,
world: World,
items: Item,
items: []Item,
};