Add plant patch kits

This commit is contained in:
A Man
2022-03-27 13:07:56 +02:00
parent 59e04523be
commit 29e4a3339e
4 changed files with 242 additions and 1 deletions

View File

@@ -0,0 +1,197 @@
class Plant_Patch_Pumpkin_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_PLANT_PATCH_PUMPKIN;
descriptionShort = $STR_EPOCH_PLANT_PATCH_PUMPKIN_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemShovel"};
create = "Plant_Patch_Pumpkin_DZE";
};
};
};
class Plant_Patch_Sunflower_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_PLANT_PATCH_SUNFLOWER;
descriptionShort = $STR_EPOCH_PLANT_PATCH_SUNFLOWER_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemShovel"};
create = "Plant_Patch_Sunflower_DZE";
};
};
};
class Plant_Patch_Carrot_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_PLANT_PATCH_CARROT;
descriptionShort = $STR_EPOCH_PLANT_PATCH_CARROT_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemShovel"};
create = "Plant_Patch_Carrot_DZE";
};
};
};
class Plant_Patch_Potato_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_PLANT_PATCH_POTATO;
descriptionShort = $STR_EPOCH_PLANT_PATCH_POTATO_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemShovel"};
create = "Plant_Patch_Potato_DZE";
};
};
};
class Plant_Patch_Hemp_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_PLANT_PATCH_HEMP;
descriptionShort = $STR_EPOCH_PLANT_PATCH_HEMP_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemShovel"};
create = "Plant_Patch_Hemp_DZE";
};
};
};
class Plant_Patch_Tobacco_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_PLANT_PATCH_TOBACCO;
descriptionShort = $STR_EPOCH_PLANT_PATCH_TOBACCO_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemShovel"};
create = "Plant_Patch_Tobacco_DZE";
};
};
};
class Plant_Patch_Tea_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_PLANT_PATCH_TEA;
descriptionShort = $STR_EPOCH_PLANT_PATCH_TEA_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemShovel"};
create = "Plant_Patch_Tea_DZE";
};
};
};
class Plant_Patch_Garlic_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_PLANT_PATCH_GARLIC;
descriptionShort = $STR_EPOCH_PLANT_PATCH_GARLIC_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemShovel"};
create = "Plant_Patch_Garlic_DZE";
};
};
};
class Plant_Patch_Comfrey_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_PLANT_PATCH_COMFREY;
descriptionShort = $STR_EPOCH_PLANT_PATCH_COMFREY_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemShovel"};
create = "Plant_Patch_Comfrey_DZE";
};
};
};

View File

@@ -67,4 +67,5 @@ class CfgMagazines
#include "Buildings\Tent.hpp"
#include "Buildings\Misc.hpp"
#include "Buildings\StaticWeapons.hpp"
#include "Buildings\Plants.hpp"
};

View File

@@ -124,7 +124,7 @@ class Plant_Patch_Garlic_DZE : Plant_Patch_Base_DZE {
class Plant_Patch_Comfrey_DZE : Plant_Patch_Base_DZE {
scope = 2;
displayname = $STR_EPOCH_PLANT_PATCH_GARLIC;
displayname = $STR_EPOCH_PLANT_PATCH_COMFREY;
};
class Plant_Pumpkin_DZE : Plant_Patch_Base_DZE {

View File

@@ -35171,43 +35171,86 @@
<German>Kürbisbeet</German>
<Russian>Тыквенный участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_PUMPKIN_DESC">
<English>Pumpkin patch</English>
<German>Kürbisbeet</German>
<Russian>Тыквенный участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_SUNFLOWER">
<English>Sunflower patch</English>
<German>Sonnenblumenbeet</German>
<Russian>Подсолнуховый участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_SUNFLOWER_DESC">
<English>Sunflower patch</English>
<German>Sonnenblumenbeet</German>
<Russian>Подсолнуховый участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_CARROT">
<English>Carrot patch</English>
<German>Karottenbeet</German>
<Russian>Морковный участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_CARROT_DESC">
<English>Carrot patch</English>
<German>Karottenbeet</German>
<Russian>Морковный участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_POTATO">
<English>Potato patch</English>
<German>Kartoffelbeet</German>
<Russian>Картофельный участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_POTATO_DESC">
<English>Potato patch</English>
<German>Kartoffelbeet</German>
<Russian>Картофельный участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_HEMP">
<English>Hemp plant patch</English>
<German>Hanfpflanzenbeet</German>
<Russian>Конопляный участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_HEMP_DESC">
<English>Hemp plant patch</English>
<German>Hanfpflanzenbeet</German>
<Russian>Конопляный участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_TOBACCO">
<English>Tobacco plant patch</English>
<German>Tabakpflanzenbeet</German>
<Russian>Табачный участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_TOBACCO_DESC">
<English>Tobacco plant patch</English>
<German>Tabakpflanzenbeet</German>
<Russian>Табачный участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_TEA">
<English>Tea plant patch</English>
<German>Teepflanzenbeet</German>
<Russian>Чайный участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_TEA_DESC">
<English>Tea plant patch</English>
<German>Teepflanzenbeet</German>
<Russian>Чайный участок</Russian>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_GARLIC">
<English>Garlic patch</English>
<German>Knoblauchbeet</German>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_GARLIC_DESC">
<English>Garlic patch</English>
<German>Knoblauchbeet</German>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_COMFREY">
<English>Comfrey patch</English>
<German>Beinwellbeet</German>
</Key>
<Key ID="STR_EPOCH_PLANT_PATCH_COMFREY_DESC">
<English>Comfrey patch</English>
<German>Beinwellbeet</German>
</Key>
<Key ID="STR_EPOCH_PLANT_PUMPKIN">
<English>Pumpkin Plant</English>