add is_default script function

This commit is contained in:
GenevensiS
2026-04-19 19:06:52 +02:00
parent 17dd3cf407
commit d782e4851c
22 changed files with 93 additions and 13 deletions
+3 -1
View File
@@ -255,7 +255,9 @@ public:
virtual ValueP clone() const = 0;
/// Convert this value to a string for use in tables
virtual String toString() const = 0;
virtual String toString() const = 0;
/// Check if this value is in the default state
virtual bool isDefault();
/// Apply scripts to this value, return true if the value has changed
virtual bool update(Context& ctx);
/// This value has been updated by an action