mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Expanded module and string table
This commit is contained in:
parent
704e858d9c
commit
279541676e
@ -6,4 +6,11 @@ class ACE_Settings {
|
||||
typeName = "SCALAR";
|
||||
values[] = {CSTRING(RearmSettings_vehicle), CSTRING(RearmSettings_magazine), CSTRING(RearmSettings_caliber)};
|
||||
};
|
||||
class GVAR(supply) {
|
||||
displayName = CSTRING(RearmSettings_supply_DisplayName);
|
||||
description = CSTRING(RearmSettings_supply_Description);
|
||||
value = 0;
|
||||
typeName = "SCALAR";
|
||||
values[] = {CSTRING(RearmSettings_unlimited), CSTRING(RearmSettings_caliber), CSTRING(RearmSettings_magazineSupply)};
|
||||
};
|
||||
};
|
||||
|
@ -22,5 +22,7 @@ params ["_logic", "", ["_activated", false, [false]]];
|
||||
if (!_activated) exitWith {};
|
||||
|
||||
[_logic, QGVAR(level), "level"] call EFUNC(common,readSettingFromModule);
|
||||
[_logic, QGVAR(supply), "supply"] call EFUNC(common,readSettingFromModule);
|
||||
|
||||
diag_log text format ["[ACE]: Rearm Module Initialized on level: %1", GVAR(level)];
|
||||
diag_log text format ["[ACE]: Rearm Module Initialized on supply: %1", GVAR(supply)];
|
||||
|
@ -71,6 +71,22 @@
|
||||
<Italian>Ammontare basato sul calibro</Italian>
|
||||
<Spanish>Cantidad basada en el calibre</Spanish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Rearm_RearmSettings_supply_DisplayName">
|
||||
<English>Ammunition supply</English>
|
||||
<German>Munitionsvorat</German>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Rearm_RearmSettings_supply_Description">
|
||||
<English>How much ammunition does an ammo truck carry?</English>
|
||||
<German>Wie viel Munition transportiert ein Munitionslaster?</German>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Rearm_RearmSettings_unlimited">
|
||||
<English>Unlimited ammo supply</English>
|
||||
<German>Unbegrenzter Munitionsvorat</German>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Rearm_RearmSettings_magazineSupply">
|
||||
<English>Only specific Magazines</English>
|
||||
<German>Nur bestimmte Magazine</German>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Rearm_Rearm">
|
||||
<English>Rearm</English>
|
||||
<German>Aufmunitionieren</German>
|
||||
@ -313,4 +329,4 @@
|
||||
<Spanish>FAB-250M-54</Spanish>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user