2017-05-31 22:54:57 +00:00
|
|
|
class Cfg3DEN {
|
|
|
|
class Object {
|
|
|
|
class AttributeCategories {
|
|
|
|
class ace_attributes {
|
|
|
|
class Attributes {
|
|
|
|
class GVAR(space) {
|
|
|
|
displayName = CSTRING(space_edenName);
|
|
|
|
tooltip = CSTRING(space_edenDesc);
|
|
|
|
property = QGVAR(space);
|
|
|
|
control = "Edit";
|
|
|
|
|
|
|
|
expression = QUOTE([ARR_2(_this,_value)] call DFUNC(setSpace););
|
2021-02-18 18:58:08 +00:00
|
|
|
defaultValue = QUOTE(GET_NUMBER(configOf _this >> QQGVAR(space),0));
|
2017-05-31 22:54:57 +00:00
|
|
|
|
|
|
|
validate = "number";
|
|
|
|
condition = "objectHasInventoryCargo";
|
|
|
|
typeName = "NUMBER";
|
|
|
|
};
|
|
|
|
class GVAR(size) {
|
|
|
|
displayName = CSTRING(size_edenName);
|
|
|
|
tooltip = CSTRING(size_edenDesc);
|
|
|
|
property = QGVAR(size);
|
|
|
|
control = "Edit";
|
|
|
|
|
|
|
|
// Expression only runs on the server, must handle actions for all machines and future JIPs (Why BI?!)
|
|
|
|
expression = QUOTE([ARR_2(_this,_value)] call DFUNC(setSize););
|
2021-02-18 18:58:08 +00:00
|
|
|
defaultValue = QUOTE(GET_NUMBER(configOf _this >> QQGVAR(size),-1));
|
2017-05-31 22:54:57 +00:00
|
|
|
|
|
|
|
validate = "number";
|
|
|
|
condition = "1-objectBrain";
|
|
|
|
typeName = "NUMBER";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|