Restore cars in parking lots and garages only
This commit is contained in:
1 parent
e7500c8ef9
commit
3d4b29fedf
6 files changed
+33
-5
No files matched your search
@@ -9,6 +9,7 @@ import * as K from './catalog';
|
||||
import type { Def } from './catalog';
|
||||
import { Rng } from '../util/rng';
|
||||
import { distToSegment } from '../util/geom';
|
||||
import { CAR_COLORS } from './props';
|
||||
|
||||
export interface PropL {
|
||||
prop: Prop;
|
||||
@@ -462,6 +463,7 @@ export function furnishFloor(ctx: Ctx): PropL[] {
|
||||
break;
|
||||
}
|
||||
case 'garage': {
|
||||
if (a > 14 && shortSide(room) >= 2.6) inMiddle(room, K.carDef(), 0, undefined, rng.pick(CAR_COLORS));
|
||||
atWall(room, K.workbench(1.6));
|
||||
atWall(room, K.shelf(1.2));
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user