2017-05-31 22:54:57 +00:00
|
|
|
class Cfg3DEN {
|
|
|
|
class Object {
|
|
|
|
class AttributeCategories {
|
|
|
|
class ace_attributes {
|
|
|
|
class Attributes {
|
2021-10-12 22:42:38 +00:00
|
|
|
class GVAR(customName) {
|
|
|
|
displayName = CSTRING(customName_edenName);
|
|
|
|
tooltip = CSTRING(customName_edenDesc);
|
|
|
|
property = QGVAR(customName);
|
|
|
|
control = "Edit";
|
|
|
|
|
2023-11-17 23:07:28 +00:00
|
|
|
expression = QUOTE(_this setVariable [ARR_3(QQGVAR(customName),_value,true)]);
|
2021-10-12 22:42:38 +00:00
|
|
|
defaultValue = "''";
|
|
|
|
|
|
|
|
condition = "objectHasInventoryCargo - objectVehicle";
|
|
|
|
typeName = "STRING";
|
|
|
|
};
|
2017-05-31 22:54:57 +00:00
|
|
|
class GVAR(space) {
|
|
|
|
displayName = CSTRING(space_edenName);
|
|
|
|
tooltip = CSTRING(space_edenDesc);
|
|
|
|
property = QGVAR(space);
|
|
|
|
control = "Edit";
|
|
|
|
|
2023-11-01 01:29:59 +00:00
|
|
|
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?!)
|
2023-11-01 01:29:59 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|