Skip to main content

hope.set_expire

Overview

  • Cheat/test: directly overrides a currently-selected hope's remaining lifetime in in-game seconds, bypassing the hope's table LifeTimeSecond and the GLOBAL deselect_cooltime config (which only apply at selection time). Also unfixes the hope so it can expire. The hope must be selected (see hope.list).

Metadata

FieldValue
DisplaySet Hope Expire
Categoryhope
AccessScriptCheat
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdno—Target entity ID (default: possessed)
hope_idnameyes—Hope ID to modify (must be currently selected)
remain_secondsintyes—New remaining lifetime in in-game seconds (> 0)

Usage

await inzoi.cli.execute('hope.set_expire', {
entity_id: 0, // optional
hope_id: '',
remain_seconds: 0,
});