Field Rations - Add sunflower seeds (#8833)

This commit is contained in:
PabstMirror 2022-04-08 20:44:15 -05:00 committed by GitHub
parent 72774c909a
commit fa7dbce104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 36 additions and 2 deletions

View File

@ -277,4 +277,14 @@ class CfgVehicles {
MACRO_ADDITEM(ACE_Humanitarian_Ration,1);
};
};
class ACE_Sunflower_Seeds_Item: Item_Base_F {
author = ECSTRING(common,ACETeam);
scope = 2;
scopeCurator = 2;
displayName = CSTRING(SunflowerSeeds_DisplayName);
vehicleClass = "Items";
class TransportItems {
MACRO_ADDITEM(ACE_Sunflower_Seeds,1);
};
};
};

View File

@ -225,4 +225,20 @@ class CfgWeapons {
model = QPATHTOF(data\mre_human.p3d);
picture = QPATHTOF(ui\item_mre_human_co.paa);
};
// - Misc Food ------------------------------------------------------------
class ACE_Sunflower_Seeds: ACE_ItemCore {
author = ECSTRING(common,ACETeam);
scope = 2;
displayName = CSTRING(SunflowerSeeds_DisplayName);
descriptionShort = CSTRING(SunflowerSeeds_Description);
model = QPATHTOF(data\sunflower_seeds.p3d);
picture = QPATHTOF(ui\item_sunflowerseeds_co.paa);
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 3;
};
XGVAR(consumeTime) = 10;
XGVAR(hungerSatiated) = 10;
XGVAR(consumeText) = CSTRING(EatingX);
};
};

View File

@ -21,7 +21,8 @@ class CfgPatches {
"ACE_MRE_SteakVegetables_Item",
"ACE_MRE_MeatballsPasta_Item",
"ACE_MRE_ChickenHerbDumplings_Item",
"ACE_Humanitarian_Ration_Item"
"ACE_Humanitarian_Ration_Item",
"ACE_Sunflower_Seeds_Item"
};
weapons[] = {
"ACE_WaterBottle",
@ -41,7 +42,8 @@ class CfgPatches {
"ACE_MRE_SteakVegetables",
"ACE_MRE_MeatballsPasta",
"ACE_MRE_ChickenHerbDumplings",
"ACE_Humanitarian_Ration"
"ACE_Humanitarian_Ration",
"ACE_Sunflower_Seeds"
};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interact_menu"};

Binary file not shown.

Binary file not shown.

View File

@ -1104,5 +1104,11 @@
<Russian>Суточный рацион питания для обеспечения населения районов, охваченных гуманитарной катастрофой или стоящих на ее грани</Russian>
<Spanish>Una ración humanitaria destinada a servir como el suministro de alimentos de una persona durante las crisis</Spanish>
</Key>
<Key ID="STR_ACE_Field_Rations_SunflowerSeeds_DisplayName">
<English>Sunflower Seeds</English>
</Key>
<Key ID="STR_ACE_Field_Rations_SunflowerSeeds_Descriptione">
<English>Roasted And Salted</English>
</Key>
</Package>
</Project>

Binary file not shown.