More progress on localization support

This commit is contained in:
Adaptivity
2016-04-25 15:47:09 +03:00
parent 7db6f63935
commit 4dc46705f9
4 changed files with 506 additions and 87 deletions

View File

@@ -65,7 +65,7 @@ class ItemJerryMixed: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS20L_CAN; //Full Mixed Gas Can?
displayName = $STR_EPOCH_CHAINSAW_MIXEDGAS20L_CAN;
model = "\dayz_equip\models\jerrycan.p3d";
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
descriptionShort = $STR_EPOCH_CHAINSAW_MIXEDGAS20L_CAN_DESC;
@@ -254,10 +254,10 @@ class ItemDocument: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Document";
displayName = $STR_EPOCH_DOCUMENT;
model = "\z\addons\dayz_epoch\models\doc_generic.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_doc_generic_ca.paa";
descriptionShort = "Unknown document";
descriptionShort = $STR_EPOCH_DOCUMENT_DESC;
weight = 0.1;
sfx = "document";
class ItemActions {
@@ -276,15 +276,15 @@ class ItemPlotDeed: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Plot Deed"; // TODO: localize
displayName = $STR_EPOCH_PLOTDEED;
model = "\z\addons\dayz_epoch\models\doc_generic.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_doc_generic_ca.paa";
descriptionShort = "Deed to a plot of land, similar to a plot pole."; // TODO: localize
descriptionShort = $STR_EPOCH_PLOTDEED_DESC;
weight = 0.1;
sfx = "document";
class ItemActions {
class Crafting {
text = "Craft Plot Pole";
text = $STR_EPOCH_PLOTDEED_ACTION; //move to crafting in stringtable
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
@@ -297,64 +297,64 @@ class ItemLetter: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Letter";
displayName = $STR_EPOCH_LETTER;
model = "\z\addons\dayz_epoch\models\doc_letter.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_doc_letter_ca.paa";
descriptionShort = "Random letter";
descriptionShort = $STR_EPOCH_LETTER_DESC;
weight = 0.1;
};
class ItemBook1: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Romance Novel";
displayName = $STR_EPOCH_ROMANCENOVEL;
model = "\z\addons\dayz_epoch\models\doc_trashy1.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_trashy1_ca.paa";
descriptionShort = "Trashy Romance Novel - ""The seas are laden with lust and jealousy.""";
descriptionShort = $STR_EPOCH_ROMANCENOVEL_DESC;
weight = 0.1;
};
class ItemBook2: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Romance Novel";
displayName = $STR_EPOCH_ROMANCENOVEL;
model = "\z\addons\dayz_epoch\models\doc_trashy2.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_trashy2_ca.paa";
descriptionShort = "Trashy Romance Novel - ""He had a chest of iron, and a heart of gold.""";
descriptionShort = $STR_EPOCH_ROMANCENOVEL_DESC2;
weight = 0.1;
};
class ItemBook3: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Book";
displayName = $STR_EPOCH_BOOK;
model = "\z\addons\dayz_epoch\models\doc_child1.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_child1_ca.paa";
descriptionShort = "Random Children's Book";
descriptionShort = $STR_EPOCH_BOOK_DESC;
weight = 0.1;
};
class ItemBook4: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Book";
displayName = $STR_EPOCH_BOOK;
model = "\z\addons\dayz_epoch\models\doc_child2.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_child2_ca.paa";
descriptionShort = "Random Children's Book";
descriptionShort = $STR_EPOCH_BOOK_DESC;
weight = 0.1;
};
class ItemNewspaper: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Torn Newspaper";
displayName = $STR_EPOCH_TORNNEWSPAPER;
model = "\z\addons\dayz_epoch\models\doc_deaths.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_deaths_ca.paa";
descriptionShort = "Torn Newspaper - ""The recent obituaries are stil legible...""";
descriptionShort = $STR_EPOCH_TORNNEWSPAPER_DESC;
weight = 0.1;
class ItemActions {
class Obituaries {
text = "Read Obituaries"; // TODO: localize
text = $STR_EPOCH_TORNNEWSPAPER_ACTION;
script = "spawn player_deathBoard;";
};
@@ -364,10 +364,10 @@ class ItemDocumentRamp: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Wood Ramp";
displayName = $STR_EPOCH_WOODRAMP;
model = "\z\addons\dayz_epoch\models\doc_ramp.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_doc_ramp_ca.paa";
descriptionShort = "Document used in building a wooden ramp.";
descriptionShort = $STR_EPOCH_WOODRAMP_DESC;
weight = 0.1;
class ItemActions {
class Crafting {
@@ -385,10 +385,10 @@ class ItemHotwireKit: CA_Magazine {
scope = public;
count = 1;
type = 256;
displayName = "Hotwire kit";
displayName = $STR_EPOCH_HOTWIREKIT;
model = "\z\addons\dayz_epoch\models\hotwire.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_hotwire_ca.paa";
descriptionShort = "Used to temporarily unlock and start a vehicle has a chance of failure and is consumed on use.";
descriptionShort = $STR_EPOCH_HOTWIREKIT_DESC;
weight = 2;
};
@@ -403,7 +403,7 @@ class ItemBloodbag: CA_Magazine
descriptionShort = "$STR_EQUIP_DESC_16";
class ItemActions {
class use {
text = "Self transfusion";
text = $STR_EPOCH_BLOODBAG_ACTION;
script = "spawn player_useMeds;";
};
};

View File

@@ -3,10 +3,10 @@ class ItemCanvas: CA_Magazine
scope = public;
count = 1;
type = 256;
displayName = "Canvas";
displayName = $STR_EPOCH_CANVAS;
model = "\z\addons\dayz_epoch\models\canvas.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_canvas_ca.paa";
descriptionShort = "Canvas Parcel";
descriptionShort = $STR_EPOCH_CANVAS_DESC;
class ItemActions
{
class Crafting
@@ -61,10 +61,10 @@ class ItemBurlap: CA_Magazine
scope = public;
count = 1;
type = 256;
displayName = "Burlap";
displayName = $STR_EPOCH_BURLAP;
model = "\z\addons\dayz_epoch\models\burlap.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_burlap_ca.paa";
descriptionShort = "Burlap: A strong cloth like material used for building sandbags";
descriptionShort = $STR_EPOCH_BURLAP_DESC;
class ItemActions
{
class Crafting
@@ -83,10 +83,10 @@ class ItemLightBulb: CA_Magazine
scope = public;
count = 1;
type = 256;
displayName = "Light Bulb";
displayName = $STR_EPOCH_LIGHTBULB;
model = "\z\addons\dayz_epoch\models\bulb.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_bulb_CA.paa";
descriptionShort = "Lightbulb: Used in part to create a buildable lamp post. Don't tell me you didn't find this in a barn.";
descriptionShort = $STR_EPOCH_LIGHTBULB_DESC;
class ItemActions {
class Crafting
{
@@ -107,10 +107,10 @@ class ItemZombieParts: CA_Magazine
scope = public;
count = 1;
type = 256;
displayName = "Zombie Parts";
displayName = $STR_EPOCH_ZOMBIEPARTS;
model = "\z\addons\dayz_epoch\models\zombie_parts_bag_v2.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_zparts_CA.paa";
descriptionShort = "Zombie Parts in a Bag: Trade these for Bio Meat at medic traders.";
descriptionShort = $STR_EPOCH_ZOMBIEPARTS_DESC;
};
class ItemComboLock: CA_Magazine
@@ -118,11 +118,11 @@ class ItemComboLock: CA_Magazine
scope = public;
count = 1;
type = 256;
displayName = "Combination Lock";
displayName = $STR_EPOCH_COMBINATIONLOCK;
weight = 0.5;
model = "\z\addons\dayz_epoch\models\combo_lock_mag.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_combolock_ca.paa";
descriptionShort = "Used to secure structures from unauthorized entry.";
descriptionShort = $STR_EPOCH_COMBINATIONLOCK_DESC;
};
@@ -131,10 +131,10 @@ class ItemCorrugated : CA_Magazine
scope = public;
count = 1;
type = 256;
displayName = "Corrugated Fence";
displayName = $STR_EPOCH_CORRUGATEDFENCE;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = "Corrugated Fence: A buildable object used for fortification purposes.";
descriptionShort = $STR_EPOCH_CORRUGATEDFENCE_DESC;
class ItemActions {
class Build {
text = $STR_EPOCH_PLAYER_214;
@@ -176,10 +176,10 @@ class ItemPole: CA_Magazine
scope = public;
count = 1;
type = 256;
displayName = "Metal Pole";
displayName = $STR_EPOCH_METALPOLE;
model = "\z\addons\dayz_epoch\models\pipe.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_pipe_CA.paa";
descriptionShort = "Pole: A few sturdy metal poles used to craft tents and other buildables";
descriptionShort = $STR_EPOCH_METALPOLE_DESC;
class ItemActions {
class Crafting
{
@@ -224,8 +224,8 @@ class ItemGunRackKit: CA_Magazine
scope = public;
count = 1;
type = 256;
displayName = "Gun Rack Kit";
descriptionShort = "A Gun Rack for 20 weapons";
displayName = $STR_EPOCH_GUNRACKKIT;
descriptionShort = $STR_EPOCH_GUNRACKKIT_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 20;
@@ -245,8 +245,8 @@ class ItemWoodCrateKit: CA_Magazine
scope = public;
count = 1;
type = 256;
displayName = "Wood Crate";
descriptionShort = "A wood crate that holds a lot of items.";
displayName = $STR_EPOCH_WOODCRATE;
descriptionShort = $STR_EPOCH_WOODCRATE_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 20;
@@ -267,10 +267,10 @@ class ItemOilBarrel: CA_Magazine
count = 1;
// fuelQuantity = 210;
type = 256;
displayName = "Oil Barrel";
displayName = $STR_EPOCH_OILBARREL;
model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_oil_drum_model_ca.paa";
descriptionShort = "210 litres of Oil in a Barrel";
descriptionShort = $STR_EPOCH_OILBARREL_DESC;
};
class ItemFuelBarrel: CA_Magazine
{
@@ -278,10 +278,10 @@ class ItemFuelBarrel: CA_Magazine
count = 1;
fuelQuantity = 210;
type = 256;
displayName = "Fuel Barrel";
displayName = $STR_EPOCH_FUELBARREL;
model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_oil_drum_model_ca.paa";
descriptionShort = "210 litres of fuel per barrel";
descriptionShort = $STR_EPOCH_FUELBARREL_DESC;
fireIntensity = 6; //used for tent burning
emptycan = "ItemFuelBarrelEmpty";
};
@@ -291,9 +291,9 @@ class ItemFuelBarrelEmpty: ItemFuelBarrel
count = 1;
fuelQuantity = 0;
type = 256;
displayName = "Fuel Barrel (Empty)";
displayName = $STR_EPOCH_EMPTYFUELBARREL;
picture = "\z\addons\dayz_epoch\pictures\equip_oildrum_e_CA.paa";
descriptionShort = "210 litres of fuel per barrel (Empty)";
descriptionShort = $STR_EPOCH_EMPTYFUELBARREL_DESC;
fullcan = "ItemFuelBarrel";
class ItemActions {
class Crafting
@@ -312,8 +312,8 @@ class ItemFireBarrel_kit: CA_Magazine
scope = public;
count = 1;
type = 256;
displayName = "Fire Barrel Kit";
descriptionShort = "Fire Barrel";
displayName = $STR_EPOCH_FIREBARRELKIT;
descriptionShort = $STR_EPOCH_FIREBARRELKIT_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 45;
@@ -333,8 +333,8 @@ class workbench_kit: CA_Magazine
scope = public;
count = 1;
type = 256;
displayName = "Workbench";
descriptionShort = "Workbench: Used to craft.";
displayName = $STR_EPOCH_WORKBENCH;
descriptionShort = $STR_EPOCH_WORKBENCH_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 10;
@@ -1135,8 +1135,8 @@ class ItemSledgeHandle : CA_Magazine {
class ItemKiloHemp : CA_Magazine {
scope = public;
count = 1;
displayName = "Kilo of Hemp";
descriptionShort = "Kilo of Hemp";
displayName = $STR_EPOCH_KILOOFHEMP;
descriptionShort = $STR_EPOCH_KILOOFHEMP;
weight = 1;
model = "z\addons\dayz_epoch\models\kilohemp.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_kilohemp_CA.paa";
@@ -1154,7 +1154,7 @@ class ItemKiloHemp : CA_Magazine {
};
class Crafting1
{
text = "Craft Hemp Seeds";
text = $STR_EPOCH_PLAYER_269a;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem; r_action_count = r_action_count + 1;";
neednearby[] = {""};
requiretools[] = {"ItemKnife"};