mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical - Add new setting to hide self-interaction actions (#6756)
* Medical - Hide self interaction menu if disabled * Add new setting
This commit is contained in:
parent
59aa38185a
commit
188aabe699
@ -3,7 +3,7 @@ class Medical {
|
||||
runOnHover = 1;
|
||||
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
||||
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
|
||||
condition = "true";
|
||||
condition = QUOTE(GVAR(menuTypeStyleSelf));
|
||||
icon = QPATHTOF(UI\icons\medical_cross.paa);
|
||||
|
||||
class ACE_Head {
|
||||
|
@ -299,7 +299,15 @@ class ACE_Settings {
|
||||
description = CSTRING(menuTypeDescription);
|
||||
typeName = "SCALAR";
|
||||
value = 0;
|
||||
values[] = {CSTRING(useSelection), CSTRING(useRadial), "Disabled"};
|
||||
values[] = {CSTRING(useSelection), CSTRING(useRadial), ECSTRING(common,Disabled)};
|
||||
isClientSettable = 1;
|
||||
};
|
||||
class GVAR(menuTypeStyleSelf) {
|
||||
category = CSTRING(Category_Medical);
|
||||
displayName = CSTRING(menuTypeDisplaySelf);
|
||||
description = CSTRING(menuTypeDescriptionSelf);
|
||||
typeName = "BOOL";
|
||||
value = 1;
|
||||
isClientSettable = 1;
|
||||
};
|
||||
class GVAR(delayUnconCaptive) {
|
||||
|
@ -3177,6 +3177,12 @@
|
||||
<Chinesesimp>选择你喜欢的选单样式; 预设为3D选项或放射状</Chinesesimp>
|
||||
<Chinese>選擇你喜歡的選單樣式; 預設為3D選項或放射狀</Chinese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_menuTypeDisplaySelf">
|
||||
<English>Show medical interaction for self</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_menuTypeDisplaySelf">
|
||||
<English>Show the self interaction medical actions</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_useSelection">
|
||||
<English>Selections (3d)</English>
|
||||
<Polish>Pozycje (3D)</Polish>
|
||||
|
Loading…
Reference in New Issue
Block a user