redefineCommand beta
Variable of @v12-engine/engine/debug
ts
redefineCommand: DefinedCommand<"debug.redefine", {
kind: Check<"abilities" | "buffs" | "items" | "races" | "units" | "upgrades">;
id: Check<string>;
path: Check<string>;
value: Check<import("./gameData").FieldValue>;
}>Changes a field of a definition while the game runs, as the editor's Data panel tries it: only one the game lets be changed (Rules.editable), and for players allowed the debug tools