mirror of
https://github.com/DramaticShape/DramaticShapeVoxelMod.git
synced 2026-08-12 08:01:09 +02:00
console class: a machine on furniture, without the furniture's edging
The Poke Mart register shares its two tiles with the counter, which draws a full-height black rule down each outer edge. Black always survives the shade flood, so the billboard pool extruded those rules too and the machine stood flanked by a pair of tall black slabs. A white column separates them from the register body, so they are their own connected components -- which is exactly what `cutout`'s one-object contract drops. `cutout` is a single voxel though, and a register wants body, so this adds `console`: the billboard treatment at ten voxels with that same contract. It cannot be the default for the thick pools, because a cluster there may legitimately hold several objects (two stools side by side, a leaf beside a vase).
This commit is contained in:
@@ -81,6 +81,7 @@ local FALLBACK_HEIGHTS = {
|
||||
desk = 24,
|
||||
prop = 16,
|
||||
cutout = 16,
|
||||
console = 16,
|
||||
relief = 3,
|
||||
bookcase = 32,
|
||||
stair_e = 16,
|
||||
@@ -150,6 +151,11 @@ local ART = {
|
||||
desk = "upright",
|
||||
prop = "billboard",
|
||||
cutout = "billboard",
|
||||
-- a machine standing on furniture: the billboard treatment with
|
||||
-- body, plus the one-object contract `cutout` has -- the drawing is
|
||||
-- ringed by the furniture it sits on, and those edges must not be
|
||||
-- extruded along with it (see Structures' component filter)
|
||||
console = "billboard",
|
||||
relief = "relief",
|
||||
-- free-standing shelves: the drawing is TALL, not deep -- Structures
|
||||
-- collapses each drawn rank onto a one-cell-deep box at full height
|
||||
|
||||
Reference in New Issue
Block a user