From d56f3a68f45c587f44a48ea04c38852007078fec Mon Sep 17 00:00:00 2001 From: A Man Date: Thu, 14 Dec 2017 19:29:20 +0100 Subject: [PATCH] 7 new items, missing localizations (#2004) 7 new items - server admins can add them if desired Adding a better and some missing localizations Adding a localization for the car bomb --- .../CfgMagazines/Crafting/equip_carbomb.hpp | 7 +- .../Configs/CfgMagazines/DZE/Misc.hpp | 58 ++++++++++++ SQF/dayz_code/stringtable.xml | 88 ++++++++++++++++++- 3 files changed, 148 insertions(+), 5 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_carbomb.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_carbomb.hpp index bd76e2a0b..699bde503 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_carbomb.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_carbomb.hpp @@ -1,15 +1,14 @@ - class ItemCarBomb : CA_Magazine { scope = public; count = 1; type = 256; - displayName = "Car Bomb"; + displayName = $STR_ITEM_NAME_equip_carbomb; model = "\ca\weapons\explosive.p3d"; picture = "\z\addons\dayz_communityassets\pictures\carbomb.paa"; - descriptionShort = "Can be attached to a vehicles engine and then automaticly explode when the next player enters the drivers seat!"; + descriptionShort = $STR_ITEM_DESC_equip_carbomb; class ItemActions { class Use { - text = "Attach Carbomb"; + text = $STR_ACTIONS_attach_carbomb; script = "spawn player_attach_bomb;"; }; }; diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp index df3ebb130..6be31bf10 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp @@ -1179,3 +1179,61 @@ class ItemKiloHemp : CA_Magazine }; }; }; + +class ItemOilBarrelEmpty : ItemOilBarrel +{ + displayName = $STR_EPOCH_EMPTYOILBARREL; + descriptionShort = $STR_EPOCH_EMPTYOILBARREL_DESC; +}; + +class ItemMethylaminBarrelEmpty : ItemOilBarrel +{ + displayName = $STR_EPOCH_EMPTYMETHYLAMINEBARREL; + descriptionShort = $STR_EPOCH_EMPTYMETHYLAMINEBARREL_DESC; +}; + +class ItemMethylaminBarrel : ItemOilBarrel +{ + displayName = $STR_EPOCH_METHYLAMINEBARREL; + descriptionShort = $STR_EPOCH_METHYLAMINEBARREL_DESC; +}; + +class ItemC4Charge : CA_Magazine +{ + scope = public; + count = 1; + type = 256; + displayName = $STR_EPOCH_C4_CHARGE; + descriptionShort = $STR_EPOCH_C4_CHARGE_DESC; + model = "\ca\weapons\explosive.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\carbomb.paa"; +}; + +class ItemKiloTobacco : CA_Magazine +{ + scope = public; + count = 1; + displayName = $STR_EPOCH_KILOTOBACCO; + descriptionShort = $STR_EPOCH_KILOTOBACCO_DESC; + weight = 1; + model = "z\addons\dayz_epoch\models\kilohemp.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_kilohemp_CA.paa"; + type = 256; +}; + +class ItemKiloBlackTea : ItemKiloTobacco +{ + displayName = $STR_EPOCH_KILOBLACKTEA; + descriptionShort = $STR_EPOCH_KILOBLACKTEA_DESC; +}; + +class ItemTobaccoLeafs : CA_Magazine +{ + scope = public; + count = 1; + displayName = $STR_EPOCH_TOBACCO_LEAFS; + descriptionShort = $STR_EPOCH_TOBACCO_LEAFS_DESC; + model = "\z\addons\dayz_communityassets\models\comfrey.p3d"; + picture = "\z\addons\dayz_communityassets\pictures\equip_comfrey_CA.paa"; + type = 256; +}; diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 4be074c8e..7d4ef63dd 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -2538,7 +2538,19 @@ Una abrazadera de plástico para cables Un serre-câble en plastique Svazek plastových kabelů. + + + Car Bomb + Autobombe + + Can be attached to a vehicles engine and then automaticly explode when the next player enters the drivers seat! + Kann an einem Fahrzeugmotor angebracht werden. Die Bombe explodiert automatisch, wenn sich ein Spieler auf den Fahrersitz setzt. + + + Attach Car Bomb + Autobombe anbringen + AA Battery AA-Batterie @@ -7610,9 +7622,11 @@ Status icons: + Status Icons: Show status icons (F3 hotkey) + Zeige Status Icons (F3 Hotkey) @@ -9575,10 +9589,12 @@ L85A2 FL + L85A2 TL L85A2 Ф L85A2 MFL + L85A2 MTL L85A2 вФ @@ -9587,10 +9603,12 @@ L85A2 SD FL + L85A2 SD TL L85A2 ПБС Ф L85A2 SD MFL + L85A2 SD MTL L85A2 ПБС вФ @@ -9599,10 +9617,12 @@ L85A2 CCO FL + L85A2 CCO TL L85A2 CCO Ф L85A2 CCO MFL + L85A2 CCO MTL L85A2 CCO вФ @@ -9611,10 +9631,12 @@ L85A2 CCO SD FL + L85A2 CCO SD TL L85A2 CCO ПБС Ф L85A2 CCO SD MFL + L85A2 CCO SD MTL L85A2 CCO ПБС вФ @@ -9623,10 +9645,12 @@ L85A2 Holo FL + L85A2 Holo TL L85A2 Holo Ф L85A2 Holo MFL + L85A2 Holo MTL L85A2 Holo вФ @@ -9635,10 +9659,12 @@ L85A2 Holo SD FL + L85A2 Holo SD TL L85A2 Holo ПБС Ф L85A2 Holo SD MFL + L85A2 Holo SD MTL L85A2 Holo ПБС вФ @@ -9647,10 +9673,12 @@ L85A2 ACOG FL + L85A2 ACOG TL L85A2 ACOG Ф L85A2 ACOG MFL + L85A2 ACOG MTL L85A2 ACOG вФ @@ -9659,10 +9687,12 @@ L85A2 ACOG SD FL + L85A2 ACOG SD TL L85A2 ACOG ПБС Ф L85A2 ACOG SD MFL + L85A2 ACOG SD MTL L85A2 ACOG ПБС вФ @@ -11214,7 +11244,7 @@ %1 has been gutted, zombie parts are now on the carcass - Du hast den Zombie (%1) ausgenommen und kannst das Fleisch jetzt abschneiden. + %1 wurde ausgenommen. Du kannst das Fleisch nun aus der Leiche nehmen. Вы разделали: %1, куски плоти лежат на трупе %1 ha sido destripado, piezas de zombies están ahora en la carcasa %1 a été vidé, les pièces de zombies sont maintenant sur la carcasse. @@ -14491,6 +14521,14 @@ 210 Liter Öl in einem Fass. 210 литров нефти в бочке. + + Oil Barrel (Empty) + Leeres Ölfass + + + 210 litres of oil per barrel. (Empty) + Leeres 210 Liter Ölfass. + Fuel Barrel Kraftstofffass @@ -17100,6 +17138,54 @@ A map with markers about safe places and where survivors can stay. Unfortunately useless now. Eine Karte mit Markierungen von sicheres Orten, wo Überlebende bleiben können. Leider ist die Karte jetzt nutzlos. Карта с маркерами о безопасных местах и где могут остаться выжившие. К сожалению, теперь бесполезна. + + + Methylamine Barrel + Methylaminfass + + + Methylamine Barrel (Empty) + Leeres Methylaminfass + + + 210 litres of Methylamine per barrel. + 210 Liter Methylamin in einem Fass. + + + 210 litres of Methylamine per barrel. (Empty) + Leeres 210 Liter Methylaminfass. + + + C4 Charge + C4 Ladung + + + C4 charge to blow up buildings and vehicles. + Eine C4 Ladung, welche genutzt wird, um Gebäude oder Fahrzeuge zu sprengen. + + + Kilo Tobacco + Kilo Tabak + + + A package of tobacco + Ein Paket Tabak + + + Kilo Black Tea + Kilo Schwarzer Tee + + + A package of black tea + Ein Paket Schwarzer Tee + + + Tobacco Leafs + Tabakblätter + + + Leaf of a tobacco plant + Blätter einer Tabakpflanze