More localization support

This commit is contained in:
Adaptivity
2016-04-24 14:11:14 +03:00
parent 6bee7a17f0
commit 52ee70394a
5 changed files with 366 additions and 102 deletions

View File

@@ -1,9 +1,9 @@
class FoodBioMeat: FoodEdible {
scope = public;
displayName = "Bio Meat";
displayName = $STR_FOOD_NAME_BIOMEAT;
model = "\z\addons\dayz_epoch\models\biomeat_can.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_biomeat_CA.paa";
descriptionShort = "Bio Meat: A very good source of nutrition, and a very high chance of infection. Eat at own risk.";
descriptionShort = $STR_FOOD_NAME_BIOMEAT_DESC;
bloodRegen = 1600;
};
// new DZE harvested food
@@ -11,8 +11,8 @@ class FoodPumpkin : FoodEdible {
scope = public;
count = 1;
bloodRegen = 100;
displayName = "Pumpkin";
descriptionShort = "Pumpkin";
displayName = $STR_FOOD_NAME_PUMPKIN;
descriptionShort = $STR_FOOD_NAME_PUMPKIN;
weight = 1;
model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa";
@@ -20,7 +20,7 @@ class FoodPumpkin : FoodEdible {
{
class Crafting
{
text = "Craft Pumpkin Seeds";
text = $STR_FOOD_NAME_PUMPKIN_CRAFT;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {""};
requiretools[] = {"ItemKnife"};
@@ -33,8 +33,8 @@ class FoodSunFlowerSeed : FoodEdible {
scope = public;
count = 1;
bloodRegen = 100;
displayName = "Bag of Sunflower Seeds";
descriptionShort = "Bag of Sunflower Seeds";
displayName = $STR_FOOD_NAME_SUNFLOWER;
descriptionShort = $STR_FOOD_NAME_SUNFLOWER;
weight = 0.1;
model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon
picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa";

View File

@@ -1,63 +1,63 @@
class ItemTopaz : CA_Magazine {
scope = public;
displayName = "Topaz";
displayName = $STR_GEM_NAME_TOPAZ;
model = "\z\addons\dayz_epoch\models\topaz.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_topaz_CA.paa";
count = 1;
type = "256";
descriptionShort = "Topaz";
descriptionShort = $STR_GEM_NAME_TOPAZ;
};
class ItemObsidian : CA_Magazine {
scope = public;
displayName = "Obsidian";
displayName = $STR_GEM_NAME_OBSIDIAN;
model = "\z\addons\dayz_epoch\models\obsidian.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_obsidian_CA.paa";
count = 1;
type = "256";
descriptionShort = "Obsidian";
descriptionShort = $STR_GEM_NAME_OBSIDIAN;
};
class ItemSapphire : CA_Magazine {
scope = public;
displayName = "Sapphire";
displayName = $STR_GEM_NAME_SAPPHIRE;
model = "\z\addons\dayz_epoch\models\sapphire.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_sapphire_CA.paa";
count = 1;
type = "256";
descriptionShort = "Sapphire";
descriptionShort = $STR_GEM_NAME_SAPPHIRE;
};
class ItemAmethyst : CA_Magazine {
scope = public;
displayName = "Amethyst";
displayName = $STR_GEM_NAME_AMETHYST;
model = "\z\addons\dayz_epoch\models\amethyst.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_amethyst_CA.paa";
count = 1;
type = "256";
descriptionShort = "Amethyst";
descriptionShort = $STR_GEM_NAME_AMETHYST;
};
class ItemEmerald : CA_Magazine {
scope = public;
displayName = "Emerald";
displayName = $STR_GEM_NAME_EMERALD;
model = "\z\addons\dayz_epoch\models\emerald.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_emerald_CA.paa";
count = 1;
type = "256";
descriptionShort = "Emerald";
descriptionShort = $STR_GEM_NAME_EMERALD;
};
class ItemCitrine : CA_Magazine {
scope = public;
displayName = "Citrine";
displayName = $STR_GEM_NAME_CITRINE;
model = "\z\addons\dayz_epoch\models\citrine.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_citrine_CA.paa";
count = 1;
type = "256";
descriptionShort = "Citrine";
descriptionShort = $STR_GEM_NAME_CITRINE;
};
class ItemRuby : CA_Magazine {
scope = public;
displayName = "Ruby";
displayName = $STR_GEM_NAME_RUBY;
model = "\z\addons\dayz_epoch\models\ruby.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_ruby_CA.paa";
count = 1;
type = "256";
descriptionShort = "Ruby";
descriptionShort = $STR_GEM_NAME_RUBY;
};

View File

@@ -1,16 +1,16 @@
// For Chainsaw
class ItemMixOil : CA_Magazine {
scope = public;
displayName = "2-Stroke Engine Oil";
displayName = $STR_EPOCH_CHAINSAW_OIL;
model = "\z\addons\dayz_epoch\models\oilmix.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_oilmix_CA.paa";
count = 1;
type = "256";
descriptionShort = "2-Stroke Engine Oil";
descriptionShort = $STR_EPOCH_CHAINSAW_OIL;
sfx = "refuel";
class ItemActions {
class Crafting {
text = "Mix Chainsaw Gas"; // TODO: localize
text = $STR_EPOCH_CHAINSAW_MIXGAS_ACTION;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
@@ -23,8 +23,8 @@ class ItemMixOil : CA_Magazine {
class CSGAS : CA_Magazine {
scope = public;
type = VSoft;
displayName = "Gas";
descriptionShort = "Gas for Chainsaw";
displayName = $STR_EPOCH_CHAINSAW_GAS;
descriptionShort = $STR_EPOCH_CHAINSAW_GAS_DESC;
count = 1000;
picture = "\CA\weapons\data\equip\m_m240_ca.paa";
ammo = "Chainsaw_Swing_Ammo";
@@ -65,14 +65,14 @@ class ItemJerryMixed: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Mixed Gas Full";
displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS20L_CAN; //Full Mixed Gas Can?
model = "\dayz_equip\models\jerrycan.p3d";
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
descriptionShort = "20 liters of Mixed Gas.";
descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS20L_CAN_DESC;
sfx = "refuel";
class ItemActions {
class Crafting {
text = "Fill Chainsaw";
text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
@@ -85,14 +85,14 @@ class ItemJerryMixed4: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Mixed Gas 16L";
displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS16L_CAN;
model = "\dayz_equip\models\jerrycan.p3d";
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
descriptionShort = "16 liters of Mixed Gas.";
descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS16L_CAN_DESC;
sfx = "refuel";
class ItemActions {
class Crafting {
text = "Fill Chainsaw";
text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
@@ -105,14 +105,14 @@ class ItemJerryMixed3: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Mixed Gas 12L";
displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS12L_CAN;
model = "\dayz_equip\models\jerrycan.p3d";
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
descriptionShort = "12 liters of Mixed Gas.";
descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS12L_CAN_DESC;
sfx = "refuel";
class ItemActions {
class Crafting {
text = "Fill Chainsaw";
text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
@@ -125,14 +125,14 @@ class ItemJerryMixed2: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Mixed Gas 8L";
displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS8L_CAN;
model = "\dayz_equip\models\jerrycan.p3d";
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
descriptionShort = "8 liters of Mixed Gas.";
descriptionShort = STR_EPOCH_CHAINSAW_MIXEDGAS8L_CAN_DESC;
sfx = "refuel";
class ItemActions {
class Crafting {
text = "Fill Chainsaw";
text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
@@ -145,14 +145,14 @@ class ItemJerryMixed1: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Mixed Gas 4L";
displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS4L_CAN;
model = "\dayz_equip\models\jerrycan.p3d";
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
descriptionShort = "4 liters of Mixed Gas.";
descriptionShort = STR_EPOCH_CHAINSAW_MIXEDGAS4L_CAN;
sfx = "refuel";
class ItemActions {
class Crafting {
text = "Fill Chainsaw";
text = $STR_EPOCH_CHAINSAW_MIXEDGAS_CAN_ACTION;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};

View File

@@ -2,10 +2,10 @@ class PartOre: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Iron Ore";
displayName = $STR_ORE_NAME_IRON;
model = "\z\addons\dayz_epoch\models\iron_ore.p3d";
picture="\z\addons\dayz_epoch\pictures\equip_iron_ore_CA.paa";
descriptionShort = "Used for crafting scrap metal. Can be mined from rocks using a sledgehammer.";
descriptionShort = $STR_ORE_NAME_IRON_DESC;
weight = 1;
class ItemActions {
class Crafting {
@@ -22,10 +22,10 @@ class PartOreSilver: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Silver Ore";
displayName = $STR_ORE_NAME_SILVER;
model = "\z\addons\dayz_epoch\models\silver_ore.p3d";
picture="\z\addons\dayz_epoch\pictures\equip_silver_ore_CA.paa";
descriptionShort = "Can be mined from rocks using a sledgehammer.";
descriptionShort = $STR_ORE_NAME_SILVER_DESC;
weight = 1;
class ItemActions {
class Crafting {
@@ -42,10 +42,10 @@ class PartOreGold: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Gold Ore";
displayName = $STR_ORE_NAME_GOLD;
model = "\z\addons\dayz_epoch\models\gold_ore.p3d";
picture="\z\addons\dayz_epoch\pictures\equip_gold_ore_CA.paa";
descriptionShort = "Can be mined from rocks using a sledgehammer.";
descriptionShort = $STR_ORE_NAME_GOLD_DESC;
weight = 1;
class ItemActions {
class Crafting {