Further LOD object additions

- Airship dock
- Coastal house
- Coastal workshop
This commit is contained in:
Treeco 2024-03-27 13:39:11 +00:00
parent 794af0207a
commit 948e7e646f
6 changed files with 39 additions and 0 deletions

BIN
assets/voxygen/lod/airship_dock.obj (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/lod/coastal_house.obj (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/lod/coastal_workshop.obj (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -37,6 +37,9 @@ pub enum ObjectKind {
TerracottaPalace,
TerracottaHouse,
TerracottaYard,
AirshipDock,
CoastalHouse,
CoastalWorkshop,
}
#[derive(Clone, Debug, Serialize, Deserialize)]

View File

@ -126,6 +126,18 @@ impl Lod {
lod::ObjectKind::TerracottaYard,
make_lod_object("terracotta_yard", renderer),
),
(
lod::ObjectKind::AirshipDock,
make_lod_object("airship_dock", renderer),
),
(
lod::ObjectKind::CoastalHouse,
make_lod_object("coastal_house", renderer),
),
(
lod::ObjectKind::CoastalWorkshop,
make_lod_object("coastal_workshop", renderer),
),
]
.into(),
}

View File

@ -723,6 +723,21 @@ impl World {
Rgb::black(),
lod::ObjectKind::TerracottaYard,
)),
site2::plot::PlotKind::AirshipDock(_) => Some((
site.tile_wpos(plot.root_tile),
Rgb::black(),
lod::ObjectKind::AirshipDock,
)),
site2::plot::PlotKind::CoastalHouse(_) => Some((
site.tile_wpos(plot.root_tile),
Rgb::black(),
lod::ObjectKind::CoastalHouse,
)),
site2::plot::PlotKind::CoastalWorkshop(_) => Some((
site.tile_wpos(plot.root_tile),
Rgb::black(),
lod::ObjectKind::CoastalWorkshop,
)),
_ => None,
})
})