Skip to main content

building

Overview

  • 27 commands in this category.

Commands

CommandNameDescription
building.change_floor_viewChange Floor View[Build Mode Only] Moves the build mode floor view up or down by 'delta' levels - the CLI equivalent…
building.construct_roomConstruct Room[Build Mode Only] Builds all four walls of an axis-aligned rectangular room in ONE command and ONE …
building.construct_wallConstruct Wall[Build Mode Only] Builds a SINGLE wall segment between two site-relative points on the given floor.…
building.copy_objectCopy Object[Build Mode Only] Duplicates a placed object at an offset, through the build undo/redo stack (rever…
building.destroy_all_objectsDestroy All Site Objects[Build Mode Only] DESTRUCTIVE. Removes every object and wall from the current site and refunds thei…
building.edit_all_siteEdit All SiteToggles cheat that allows editing all site areas.
building.get_historyGet Build History[Build Mode Only] Returns whether undo/redo are available, plus the build commands issued through t…
building.get_object_transformGet Object Transform[Build Mode Only] [Object Selection] Returns the current location, rotation, and scale of selected …
building.get_optionsGet Build Options[Build Mode Only] Returns all build mode option states as JSON.
building.move_objectMove Object[Build Mode Only] Moves, rotates, rescales and/or re-floors a single placed object through the buil…
building.place_objectPlace Object[Build Mode Only] Places a NEW object from the Object data table onto the current site, through the…
building.put_in_inventoryPut Object In Inventory[Build Mode Only] Moves one or more placed objects into the household inventory through the build u…
building.redoBuild Redo[Build Mode Only] Re-applies build command(s) that were undone with building.undo. Issuing any new …
building.reset_site_to_defaultReset Site To Default[Build Mode Only] DESTRUCTIVE. Discards the current layout and restores the site's shipped default …
building.reset_site_to_last_savedReset Site To Last Saved[Build Mode Only] DESTRUCTIVE. Discards every edit made in this build-mode session and restores the…
building.set_floor_viewSet Floor View[Build Mode Only] Switches which floor the build mode is showing and editing, the same state the Pg…
building.set_light_cast_shadowSet Light Cast Shadow[Build Mode Only] Turns shadow casting on or off for a placed light object, through the build undo/…
building.set_object_locationSet Object Location[Build Mode Only] [Object Selection] Sets the location of selected game object(s) relative to the p…
building.set_object_rotationSet Object Rotation[Build Mode Only] [Object Selection] Sets the rotation of selected game object(s). Omitted axes kee…
building.set_object_scaleSet Object Scale[Build Mode Only] [Object Selection] Sets the scale of selected game object(s). Use 'scale' for uni…
building.set_object_transformSet Object Transform[Build Mode Only] [Object Selection] Sets location, rotation, and/or scale of selected game object(…
building.set_optionSet Build Options[Build Mode Only] Sets one or more build mode options at once. All parameters are optional; only sp…
building.set_storey_wall_heightSet Storey Wall Height[Build Mode Only] Changes the WALL HEIGHT OF A WHOLE STOREY, not of one wall. This is the in-game '…
building.show_studio_categoryShow Studio CategoryToggles studio build category visibility in the UI.
building.show_user_dev_categoryShow User Dev CategoryToggles user dev build category visibility in the UI.
building.undoBuild Undo[Build Mode Only] Undoes the most recent build command(s). Note that building.move_object issued fo…
building.unlock_site_areaUnlock Site AreaUnlocks site area restrictions for building.