packages: the editor's schema attributes on every .lres-bound record (@Ref, @OneOf, @Asset, @Unit, @Range, @Color, @Text, @Derived, @Key; @AppendOnly/@ByKey) - annotation only

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-29 18:36:11 +03:00
parent 48bf705ca4
commit 5197cf4cb8
11 changed files with 56 additions and 49 deletions

View file

@ -7,9 +7,9 @@ export const SETTING_TEXT: int = 3
export property SettingDef {
key: string = "" # its name in the file; a registry fills it with the entry's own name
kind: int = 0 # SETTING_*
@OneOf(SETTING_) kind: int = 0 # SETTING_*
num: float = 0.0 # the default: 0 or 1 for a switch, a whole number, a float
text: string = "" # the default of a text setting
@Text text: string = "" # the default of a text setting
lo: float = 0.0 # the range, inclusive; a value outside it is the default again
hi: float = -1.0 # hi below lo: any value
rescue: bool = false # a rescue start puts it back to its default