Skip to main content

building.reset_site_to_default

Overview

  • [Build Mode Only] DESTRUCTIVE. Discards the current layout and restores the site's shipped default asset, settling the price difference against the household wallet. This is undoable with building.undo, but ONLY until build mode is left. Requires confirm_phrase="reset to default" and phase == 'ready' (see build.get_mode_state).

Metadata

FieldValue
DisplayReset Site To Default
Categorybuilding
AccessScriptCheat
ScopeB1Standalone
TagsExperimental
Aliases—

Parameters

NameTypeRequiredDefaultDescription
confirm_phrasestringyes—Must be exactly "reset to default". Guards against accidental invocation.

Usage

await inzoi.cli.execute('building.reset_site_to_default', {
confirm_phrase: '',
});