diff --git a/SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp b/SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp
index 14da467c2..ea6a00762 100644
--- a/SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp
+++ b/SQF/dayz_code/Configs/CfgMagazines/CfgMagazines.hpp
@@ -39,8 +39,8 @@ class CfgMagazines
//EPOCH ADDITIONS
+
#include "VehicleAmmo.hpp"
-
// Gems
#include "DZE\Gems.hpp"
#include "DZE\Ores.hpp"
@@ -56,26 +56,14 @@ class CfgMagazines
#include "DZE\Currency\AluminumBar.hpp"
#include "DZE\Currency\TinBar.hpp"
- // Waterbottle
- //#include "ItemWaterbottle.hpp" //Moved to WaterBottle.hpp in consumables and items folders
#include "DZE\ItemWaterbottle.hpp"
-
- //#include "MeleeSwing.hpp" //MOVED TO \MAGAZINES
-
#include "Planting.hpp"
// Building Stuff
#include "DZE\ModularBuilding.hpp"
#include "DZE\Misc.hpp"
-
- //#include "Parts.hpp" //MOVED TO VehicleParts.hpp
- //#include "Skins.hpp"//MOVED TO CLOTHING
- // Food
- //#include "Food.hpp"
+ // Consumables
#include "DZE\Food.hpp"
-
- // EPOCH SODA
- //#include "ItemSoda.hpp" //Moved to Consumables
#include "DZE\ItemSoda.hpp"
};
\ No newline at end of file
diff --git a/SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp b/SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp
index 538ab7fcb..25b6d7a98 100644
--- a/SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp
+++ b/SQF/dayz_code/Configs/CfgMagazines/Clothing/Clothing.hpp
@@ -21,13 +21,6 @@ class SkinBase : CA_Magazine
text = "Tear Clothes";
script = "spawn player_tearClothes;";
};
- };
- /*
- class ItemActions {
- class Use {
- text = $STR_EPOCH_PLAYER_268;
- script = "spawn player_wearClothes;";
- };
class Crafting {
text = $STR_EPOCH_PLAYER_269b;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
@@ -45,7 +38,7 @@ class SkinBase : CA_Magazine
input[] = {{"SkinBase",1},{"ItemTrashToiletpaper",1}};
};
};
- */
+ weight = 1;
};
#include "Ghillie.hpp"
diff --git a/SQF/dayz_code/Configs/CfgMagazines/Consumables/WaterBottle.hpp b/SQF/dayz_code/Configs/CfgMagazines/Consumables/WaterBottle.hpp
index 7dc38b4b9..b56569404 100644
--- a/SQF/dayz_code/Configs/CfgMagazines/Consumables/WaterBottle.hpp
+++ b/SQF/dayz_code/Configs/CfgMagazines/Consumables/WaterBottle.hpp
@@ -9,7 +9,7 @@ class ItemWaterBottle : FoodDrink
Nutrition[] = {0,0,1000,0};
- infectionChance = 0;
+ infectionChance = 0.3;
consumeOutput = "ItemWaterBottleUnfilled";
@@ -27,6 +27,7 @@ class ItemWaterBottle : FoodDrink
script = "spawn player_emptyContainer";
};
};
+ wateroz = 10; //Custom Epoch value
};
class ItemWaterBottleInfected : ItemWaterBottle
diff --git a/SQF/dayz_code/Configs/CfgMagazines/DELETE_ME_MeleeSwing.hpp b/SQF/dayz_code/Configs/CfgMagazines/DELETE_ME_MeleeSwing.hpp
deleted file mode 100644
index 674a07970..000000000
--- a/SQF/dayz_code/Configs/CfgMagazines/DELETE_ME_MeleeSwing.hpp
+++ /dev/null
@@ -1,95 +0,0 @@
-class Melee_Swing : CA_Magazine {
- // scopeWeapon = protected;
- // scopeMagazine = protected;
- // magazineType = WeaponNoSlot;
- type = VSoft;
- flash = "";
- flashSize = 0;
- initSpeed = 100;
- maxLeadSpeed = 15; //20
- dexterity = 2; //20
- picture = "\dayz_weapons\textures\equip_shells_ca.paa";
- displayName = "crt";
- displayNameMagazine = "crt";
- shortNameMagazine = "crt";
- optics = false;
- distanceZoomMin = 0;
- distanceZoomMax = 0;
- reloadTime = 0.1;
- magazineReloadTime = 0.01;
- drySound[] = {"", 0, 1};
- reloadMagazineSound[] = {"", 0, 1};
- modes[] = {"Single"};
- sound[] = {"Weapons\grenade_launch", 0.0031623, 1};
- reloadSound[] = {"", 0.0003162, 1};
- showEmpty = 0;
- autoReload = true;
- count = 100000;
- canLock = LockNo;
- //
- burst = 1;
- multiplier = 1;
- ffMagnitude = 0.1;
- ffFrequency = 1;
- ffCount = 1;
- recoil = "Empty";
- dispersion = 0.2;
- class HitEffects {
- hit_blood = "ImpactBlood";
- hit_concrete = "ImpactConcrete";
- hit_foliage = "ImpactLeaves";
- hit_foliage_green = "ImpactLeavesGreen";
- hit_glass = "ImpactGlass";
- hit_glass_thin = "ImpactGlassThin";
- hit_metal = "ImpactMetal";
- hit_plaster = "ImpactPlaster";
- hit_rubber = "ImpactRubber";
- hit_wood = "ImpactWood";
- };
-};
-
-class Machete_Swing : Melee_Swing {
- displayName = Machete;
- displayNameMagazine = Machete;
- shortNameMagazine = Machete;
- ammo = "Machete_Swing_Ammo";
-};
-class crowbar_swing : Melee_Swing {
- displayName = Crowbar;
- displayNameMagazine = Crowbar;
- shortNameMagazine = Crowbar;
- ammo = "Crowbar_Swing_Ammo";
-};
-class Fishing_Swing : Melee_Swing {
- displayName = Fishing;
- displayNameMagazine = Fishing;
- shortNameMagazine = Fishing;
- ammo = "Fishing_Swing_Ammo";
-};
-
-class Hatchet_Swing : Melee_Swing {
- displayName = Hatchet;
- displayNameMagazine = Hatchet;
- shortNameMagazine = Hatchet;
- ammo = "Hatchet_Swing_Ammo";
-};
-/*
-class Bat_Swing : Melee_Swing {
- displayName = BaseBallBat;
- displayNameMagazine = BaseBallBat;
- shortNameMagazine = BaseBallBat;
- ammo = Bat_Swing_Ammo;
-};
-class BatBarbed_Swing : Melee_Swing {
- displayName = BaseBallBatBarbed;
- displayNameMagazine = BaseBallBatBarbed;
- shortNameMagazine = BaseBallBatBarbed;
- ammo = BatBarbed_Swing_Ammo;
-};
-class BatNails_Swing : Melee_Swing {
- displayName = BaseBallBatNails;
- displayNameMagazine = BaseBallBatNails;
- shortNameMagazine = BaseBallBatNails;
- ammo = BatNailed_Swing_Ammo;
-};
-*/
\ No newline at end of file
diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp
index 2850f6924..7d8582c2b 100644
--- a/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp
+++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp
@@ -1,51 +1,3 @@
-class ItemTrout : FoodEdible {
- scope = public;
- displayName = "Rainbow Trout";
- descriptionShort = "Rainbow Trout: A small fish that can be fairly easy to catch.";
- model = "\z\addons\dayz_epoch\models\trout.p3d";
- picture = "\z\addons\dayz_epoch\pictures\equip_rainbowtrout_CA.paa";
- bloodRegen = 400;
-};
-class ItemSeaBass : FoodEdible {
- scope = public;
- displayName = "Sea Bass";
- descriptionShort = "Sea Bass: A medium sized fish that is fairly rare.";
- model = "\z\addons\dayz_epoch\models\seabass.p3d";
- picture = "\z\addons\dayz_epoch\pictures\equip_seabass_CA.paa";
- bloodRegen = 800;
-};
-class ItemTuna : FoodEdible {
- scope = public;
- displayName = "Blue Fin Tuna";
- descriptionShort = "Blue Fin Tuna: A very large and hard to catch fish. Sushi anyone?";
- model = "\z\addons\dayz_epoch\models\tuna.p3d";
- picture = "\z\addons\dayz_epoch\pictures\equip_tuna_CA.paa";
- bloodRegen = 2500;
-};
-class ItemTroutCooked : FoodEdible {
- scope = public;
- displayName = "Rainbow Trout (Cooked)";
- descriptionShort = "Rainbow Trout: A small fish that can be fairly easy to catch.";
- model = "\z\addons\dayz_epoch\models\trout_cooked.p3d";
- picture = "\z\addons\dayz_epoch\pictures\equip_trout_cooked_CA.paa";
- bloodRegen = 800;
-};
-class ItemSeaBassCooked : FoodEdible {
- scope = public;
- displayName = "Sea Bass (Cooked)";
- descriptionShort = "Sea Bass: A medium sized fish that is fairly rare.";
- model = "\z\addons\dayz_epoch\models\seabass_cooked.p3d";
- picture = "\z\addons\dayz_epoch\pictures\equip_seabass_cooked_CA.paa";
- bloodRegen = 1600;
-};
-class ItemTunaCooked : FoodEdible {
- scope = public;
- displayName = "Blue Fin Tuna (Cooked)";
- descriptionShort = "Blue Fin Tuna: A very large and hard to catch fish. Sushi anyone?";
- model = "\z\addons\dayz_epoch\models\tuna_cooked.p3d";
- picture = "\z\addons\dayz_epoch\pictures\equip_tuna_cooked_CA.paa";
- bloodRegen = 5000;
-};
class FoodBioMeat: FoodEdible {
scope = public;
displayName = "Bio Meat";
diff --git a/SQF/dayz_code/Configs/CfgMagazines/Food.hpp b/SQF/dayz_code/Configs/CfgMagazines/Food.hpp
deleted file mode 100644
index 71c520cca..000000000
--- a/SQF/dayz_code/Configs/CfgMagazines/Food.hpp
+++ /dev/null
@@ -1,359 +0,0 @@
-class FoodEdible;
-
-class FoodCanFrankBeans: FoodEdible {
- scope = public;
- // displayName = $STR_EQUIP_NAME_28;
- displayName = "Can (Frank n Beans)"; // addactions cannot have &
- model = "\dayz_equip\models\food_fbtin.p3d";
- picture = "\dayz_equip\textures\equip_fbtin_ca.paa";
- descriptionShort = $STR_EQUIP_DESC_28;
-};
-
-class FoodmeatRaw : FoodEdible {
- scope = public;
- count = 1;
- type = 256;
- displayName = $STR_FOOD_EQIP_CODE_NAME_0;
- model = "\dayz_equip\models\food_steak_gear.p3d";
- picture = "\dayz_equip\textures\equip_steak_ca.paa";
- descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_0;
- bloodRegen = 100;
-};
-class FoodmuttonRaw : FoodmeatRaw {
- displayName = $STR_FOOD_EQIP_CODE_NAME_1;
- descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_1;
- bloodRegen = 100;
-};
-class FoodchickenRaw : FoodmeatRaw {
- displayName = $STR_FOOD_EQIP_CODE_NAME_2;
- descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_2;
- bloodRegen = 100;
-};
-class FoodrabbitRaw : FoodmeatRaw {
- displayName = $STR_FOOD_EQIP_CODE_NAME_3;
- descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_3;
- bloodRegen = 400;
-};
-class FoodbaconRaw : FoodmeatRaw {
- displayName = $STR_FOOD_EQIP_CODE_NAME_4;
- model = "z\addons\dayz_communityassets\models\bacon_raw.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_bacon_raw_CA.paa";
- descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_4;
- bloodRegen = 150;
-};
-class FoodbeefRaw : FoodmeatRaw {
- displayName = $STR_FOOD_EQIP_CODE_NAME_6;
- descriptionShort = $STR_FOOD_EQUIP_CODE_DESC_6;
- bloodRegen = 100;
-};
-
-class FoodmeatCooked : FoodEdible {
- scope = public;
- count = 1;
- displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_0;
- model = "\dayz_equip\models\food_steak_cooked_gear.p3d";
- picture = "\dayz_equip\textures\equip_steak_cooked_ca.paa";
- descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_0;
- bloodRegen = 800;
-};
-class FoodmuttonCooked : FoodmeatCooked {
- displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_1;
- descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_1;
- bloodRegen = 400;
-};
-class FoodchickenCooked : FoodmeatCooked {
- displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_2;
- descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_2;
- bloodRegen = 400;
-};
-class FoodbaconCooked : FoodmeatCooked {
- displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_4;
- model = "z\addons\dayz_communityassets\models\bacon_fried.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_bacon_fried_CA.paa";
- descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_4;
- bloodRegen = 400;
-};
-class FoodrabbitCooked : FoodmeatCooked {
- displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_3;
- descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_3;
- bloodRegen = 1600;
-};
-class FoodbeefCooked : FoodmeatCooked {
- displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_6;
- descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_6;
- bloodRegen = 600;
-};
-
-class AngelCookies : FoodEdible {
- scope = public;
- count = 1;
- displayName = $STR_FOODCOOKED_EQIP_CODE_NAME_5;
- model = "z\addons\dayz_communityassets\models\buiscits_box.p3d";
- picture = "z\addons\dayz_communityassets\pictures\i_buiscit_ca.paa";
- descriptionShort = $STR_FOODCOOKED_EQUIP_CODE_DESC_5;
- bloodRegen = 100;
-};
-class FoodMRE : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 800;
- displayName = $STR_FOOD_NAME_MRE;
- descriptionShort = $STR_FOOD_DESC_MRE;
- model = "z\addons\dayz_communityassets\models\mre.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_mre_CA.paa";
-};
-class FoodPistachio : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 100;
- displayName = $STR_FOOD_NAME_PISTACHIO;
- descriptionShort = $STR_FOOD_DESC_PISTACHIO;
- model = "z\addons\dayz_communityassets\models\pistachio.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa";
-};
-class FoodNutmix : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 100;
- displayName = $STR_FOOD_NAME_NUTMIX;
- descriptionShort = $STR_FOOD_DESC_NUTMIX;
- model = "z\addons\dayz_communityassets\models\nutmix.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_nutmix_CA.paa";
-};
-
-class FoodCanGriff : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 200;
- displayName = $STR_FOOD_NAME_CAN_GRIFF;
- descriptionShort = $STR_FOOD_DESC_CAN_GRIFF;
- model = "z\addons\dayz_communityassets\models\can_griff_clean_full.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_griff_clean_full_ca.paa";
-};
-class FoodCanBadguy : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 200;
- displayName = $STR_FOOD_NAME_CAN_BADGUY;
- descriptionShort = $STR_FOOD_DESC_CAN_BADGUY;
- model = "z\addons\dayz_communityassets\models\can_badguy_clean_full.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_badguy_clean_full_ca.paa";
-};
-class FoodCanBoneboy : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 200;
- displayName = $STR_FOOD_NAME_CAN_BONEBOY;
- descriptionShort = $STR_FOOD_DESC_CAN_BONEBOY;
- model = "z\addons\dayz_communityassets\models\can_boneboy_clean_full.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_boneboy_clean_full_ca.paa";
-};
-class FoodCanCorn : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 200;
- displayName = $STR_FOOD_NAME_CAN_CORN;
- descriptionShort = $STR_FOOD_DESC_CAN_CORN;
- model = "z\addons\dayz_communityassets\models\can_corn_clean_full.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_corn_clean_full_ca.paa";
-};
-class FoodCanCurgon : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 200;
- displayName = $STR_FOOD_NAME_CAN_CURGON;
- descriptionShort = $STR_FOOD_DESC_CAN_CURGON;
- model = "z\addons\dayz_communityassets\models\can_curgon_clean_full.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_curgon_clean_full_ca.paa";
-};
-class FoodCanDemon : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 200;
- displayName = $STR_FOOD_NAME_CAN_DEMON;
- descriptionShort = $STR_FOOD_DESC_CAN_DEMON;
- model = "z\addons\dayz_communityassets\models\can_demon_clean_full.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_demon_clean_full_ca.paa";
-};
-class FoodCanFraggleos : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 200;
- displayName = $STR_FOOD_NAME_CAN_FRAGGLEOS;
- descriptionShort = $STR_FOOD_DESC_CAN_FRAGGLEOS;
- model = "z\addons\dayz_communityassets\models\can_fraggleos_clean_full.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_fraggleos_clean_full_ca.paa";
-};
-class FoodCanHerpy : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 200;
- displayName = $STR_FOOD_NAME_CAN_HERPY;
- descriptionShort = $STR_FOOD_DESC_CAN_HERPY;
- model = "z\addons\dayz_communityassets\models\can_herpy_clean_full.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_herpy_clean_full_ca.paa";
-};
-class FoodCanOrlok : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 200;
- displayName = $STR_FOOD_NAME_CAN_ORLOK;
- descriptionShort = $STR_FOOD_DESC_CAN_ORLOK;
- model = "z\addons\dayz_communityassets\models\can_orlok_clean_full.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_orlok_clean_full_ca.paa";
-};
-class FoodCanPowell : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 200;
- displayName = $STR_FOOD_NAME_CAN_POWELL;
- descriptionShort = $STR_FOOD_DESC_CAN_POWELL;
- model = "z\addons\dayz_communityassets\models\can_powell_clean_full.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_powell_clean_full_ca.paa";
-};
-class FoodCanTylers : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 200;
- displayName = $STR_FOOD_NAME_CAN_TYLERS;
- descriptionShort = $STR_FOOD_DESC_CAN_TYLERS;
- model = "z\addons\dayz_communityassets\models\can_tylers_clean_full.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_tylers_clean_full_ca.paa";
-};
-class FoodCanUnlabeled : FoodEdible {
- scope = public;
- count = 1;
- bloodRegen = 200;
- displayName = $STR_FOOD_NAME_CAN_UNLABELED;
- descriptionShort = $STR_FOOD_DESC_CAN_UNLABELED;
- model = "z\addons\dayz_communityassets\models\can_unlabeled_clean_full.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_unlabeled_clean_full_ca.paa";
-};
-
-class TrashTinCan: HandGrenade {
- scope = public;
- displayName = $STR_EQUIP_NAME_33;
- model = "\dayz_equip\models\trash_tincan.p3d";
- picture = "\dayz_equip\textures\equip_tincan_ca.paa";
- descriptionShort = $STR_EQUIP_DESC_33;
- ammo = "TinCan";
- class ItemActions {
- class Crafting {
- text = "Melt into Bars";
- script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
- neednearby[] = {"fire"};
- requiretools[] = {"ItemToolbox"};
- output[] = {{"ItemTinBar",1}};
- input[] = {{"TrashTinCan",6}};
- };
- };
-};
-
-class FoodCanGriffEmpty : TrashTinCan {
- scope = public;
- count = 1;
- model = "z\addons\dayz_communityassets\models\can_griff_clean_empty.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_griff_clean_empty_ca.paa";
- displayName = $STR_FOOD_NAME_CAN_GRIFF_EMPTY;
- descriptionShort = $STR_FOOD_DESC_CAN_GRIFF_EMPTY;
- ammo = "TinCan";
-};
-class FoodCanBadguyEmpty : TrashTinCan {
- scope = public;
- count = 1;
- displayName = $STR_FOOD_NAME_CAN_BADGUY_EMPTY;
- descriptionShort = $STR_FOOD_DESC_CAN_BADGUY_EMPTY;
- model = "z\addons\dayz_communityassets\models\can_badguy_clean_empty.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_badguy_clean_empty_ca.paa";
- ammo = "TinCan";
-};
-class FoodCanBoneboyEmpty : TrashTinCan {
- scope = public;
- count = 1;
- displayName = $STR_FOOD_NAME_CAN_BONEBOY_EMPTY;
- descriptionShort = $STR_FOOD_DESC_CAN_BONEBOY_EMPTY;
- model = "z\addons\dayz_communityassets\models\can_boneboy_clean_empty.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_boneboy_clean_empty_ca.paa";
- ammo = "TinCan";
-};
-class FoodCanCornEmpty : TrashTinCan {
- scope = public;
- count = 1;
- displayName = $STR_FOOD_NAME_CAN_CORN_EMPTY;
- descriptionShort = $STR_FOOD_DESC_CAN_CORN_EMPTY;
- model = "z\addons\dayz_communityassets\models\can_corn_clean_empty.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_corn_clean_empty_ca.paa";
- ammo = "TinCan";
-};
-class FoodCanCurgonEmpty : TrashTinCan {
- scope = public;
- count = 1;
- displayName = $STR_FOOD_NAME_CAN_CURGON_EMPTY;
- descriptionShort = $STR_FOOD_DESC_CAN_CURGON_EMPTY;
- model = "z\addons\dayz_communityassets\models\can_curgon_clean_empty.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_curgon_clean_empty_ca.paa";
- ammo = "TinCan";
-};
-class FoodCanDemonEmpty : TrashTinCan {
- scope = public;
- count = 1;
- displayName = $STR_FOOD_NAME_CAN_DEMON_EMPTY;
- descriptionShort = $STR_FOOD_DESC_CAN_DEMON_EMPTY;
- model = "z\addons\dayz_communityassets\models\can_demon_clean_empty.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_demon_clean_empty_ca.paa";
- ammo = "TinCan";
-};
-class FoodCanFraggleosEmpty : TrashTinCan {
- scope = public;
- count = 1;
- displayName = $STR_FOOD_NAME_CAN_FRAGGLEOS_EMPTY;
- descriptionShort = $STR_FOOD_DESC_CAN_FRAGGLEOS_EMPTY;
- model = "z\addons\dayz_communityassets\models\can_fraggleos_clean_empty.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_fraggleos_clean_empty_ca.paa";
- ammo = "TinCan";
-};
-class FoodCanHerpyEmpty : TrashTinCan {
- scope = public;
- count = 1;
- displayName = $STR_FOOD_NAME_CAN_HERPY_EMPTY;
- descriptionShort = $STR_FOOD_DESC_CAN_HERPY_EMPTY;
- model = "z\addons\dayz_communityassets\models\can_herpy_clean_empty.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_herpy_clean_empty_ca.paa";
- ammo = "TinCan";
-};
-class FoodCanOrlokEmpty : TrashTinCan {
- scope = public;
- count = 1;
- displayName = $STR_FOOD_NAME_CAN_ORLOK_EMPTY;
- descriptionShort = $STR_FOOD_DESC_CAN_ORLOK_EMPTY;
- model = "z\addons\dayz_communityassets\models\can_orlok_clean_empty.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_orlok_clean_empty_ca.paa";
- ammo = "TinCan";
-};
-class FoodCanPowellEmpty : TrashTinCan {
- scope = public;
- count = 1;
- displayName = $STR_FOOD_NAME_CAN_POWELL_EMPTY;
- descriptionShort = $STR_FOOD_DESC_CAN_POWELL_EMPTY;
- model = "z\addons\dayz_communityassets\models\can_powell_clean_empty.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_powell_clean_empty_ca.paa";
- ammo = "TinCan";
-};
-class FoodCanTylersEmpty : TrashTinCan {
- scope = public;
- count = 1;
- displayName = $STR_FOOD_NAME_CAN_TYLERS_EMPTY;
- descriptionShort = $STR_FOOD_DESC_CAN_TYLERS_EMPTY;
- model = "z\addons\dayz_communityassets\models\can_tylers_clean_empty.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_tylers_clean_empty_ca.paa";
- ammo = "TinCan";
-};
-class FoodCanUnlabeledEmpty : TrashTinCan {
- scope = public;
- count = 1;
- displayName = $STR_FOOD_NAME_CAN_UNLABELED_EMPTY;
- descriptionShort = $STR_FOOD_DESC_CAN_UNLABELED_EMPTY;
- model = "z\addons\dayz_communityassets\models\can_unlabeled_clean_empty.p3d";
- picture = "\z\addons\dayz_communityassets\pictures\equip_can_unlabeled_clean_empty_ca.paa";
- ammo = "TinCan";
-};
diff --git a/SQF/dayz_code/Configs/CfgMagazines/Trash/Trash.hpp b/SQF/dayz_code/Configs/CfgMagazines/Trash/Trash.hpp
index 798875f2f..38db74796 100644
--- a/SQF/dayz_code/Configs/CfgMagazines/Trash/Trash.hpp
+++ b/SQF/dayz_code/Configs/CfgMagazines/Trash/Trash.hpp
@@ -16,6 +16,14 @@ class ItemSodaEmpty : HandGrenade
text = "Drink";//TODO: move to stringtable
script = "spawn player_drinkWater;";
};
+ class Crafting {
+ text = "Melt into Bars";
+ script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
+ neednearby[] = {"fire"};
+ requiretools[] = {"ItemToolbox"};
+ output[] = {{"ItemAluminumBar",1}};
+ input[] = {{"ItemSodaEmpty",6}};
+ };
};
};
@@ -37,6 +45,14 @@ class TrashTinCan : HandGrenade
text = "Drink";//TODO: move to stringtable
script = "spawn player_drinkWater;";
};
+ class Crafting {
+ text = "Melt into Bars";
+ script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
+ neednearby[] = {"fire"};
+ requiretools[] = {"ItemToolbox"};
+ output[] = {{"ItemTinBar",1}};
+ input[] = {{"TrashTinCan",6}};
+ };
};
};
diff --git a/SQF/dayz_code/Configs/CfgWeapons/Melee/FishingPole.hpp b/SQF/dayz_code/Configs/CfgWeapons/Melee/FishingPole.hpp
index 31ea70aa2..442ce2afb 100644
--- a/SQF/dayz_code/Configs/CfgWeapons/Melee/FishingPole.hpp
+++ b/SQF/dayz_code/Configs/CfgWeapons/Melee/FishingPole.hpp
@@ -1,44 +1,27 @@
-class MeleeFishingPole: MeleeWeapon
+class MeleeFishingPole : MeleeWeapon
{
scope = public;
- autoreload=1;
- magazineReloadTime=0;
- model="\z\addons\dayz_epoch\models\fishing_rod_weaponized.p3d";
- picture="\z\addons\dayz_epoch\pictures\equip_fishingpole_CA.paa";
- displayName=$STR_EQUIP_FISHPOLE;
- magazines[]=
- {
- "Fishing_Swing"
- };
- handAnim[]=
- {
- "OFP2_ManSkeleton",
- "\dayz_weapons\anim\melee_hatchet_holding.rtm"
- };
+
+ model = "\z\addons\dayz_communityassets\models\fishing_rod_weaponized.p3d";
+ picture = "\z\addons\dayz_communityassets\pictures\equip_fishingpole_CA.paa";
+ displayName = $STR_ITEM_NAME_FISHINGPOLE;
+ descriptionShort = $STR_ITEM_DESC_FISHINGPOLE;
+
+ magazines[] = {"Fishing_Swing"};
+
class ItemActions
{
- class Use
- {
- text=$STR_EPOCH_PLAYER_297;
- script="spawn player_goFishing;";
- };
class Toolbelt
{
- text=$STR_EPOCH_PLAYER_296;
- script="spawn player_addToolbelt;";
- use[]=
- {
- "MeleeFishingPole"
- };
- output[]=
- {
- "ItemFishingPole"
- };
+ text = $STR_ACTIONS_2TB;
+ script = "spawn player_addToolbelt";
+ use[] = {"MeleeFishingPole"};
+ output[] = {"ItemFishingPole"};
};
};
+
class Library
{
- libTextDesc="";
+ libTextDesc = $STR_ITEM_DESC_FISHINGPOLE;
};
- descriptionShort=$STR_EQUIP_FISHPOLE_DESC;
-};
+};
\ No newline at end of file
diff --git a/SQF/dayz_code/Configs/CfgWeapons/Melee/MeleeSledgehammer.hpp b/SQF/dayz_code/Configs/CfgWeapons/Melee/MeleeSledgehammer.hpp
index 4c93ac519..52f97b125 100644
--- a/SQF/dayz_code/Configs/CfgWeapons/Melee/MeleeSledgehammer.hpp
+++ b/SQF/dayz_code/Configs/CfgWeapons/Melee/MeleeSledgehammer.hpp
@@ -21,7 +21,7 @@ class MeleeSledge: MeleeWeapon
{
class Toolbelt
{
- text=$STR_EPOCH_PLAYER_296;
+ text=$STR_ACTIONS_2TB;
script="spawn player_addToolbelt;";
use[]=
{
diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/FishingPole.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/FishingPole.hpp
index 2e9a88443..736c017b7 100644
--- a/SQF/dayz_code/Configs/CfgWeapons/Tools/FishingPole.hpp
+++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/FishingPole.hpp
@@ -1,10 +1,12 @@
-class ItemFishingPole: ItemCore
+class ItemFishingPole : ItemCore
{
scope = public;
- displayName=$STR_EQUIP_FISHPOLE;
- model="\z\addons\dayz_epoch\models\fishing_rod_loot_item.p3d";
- picture="\z\addons\dayz_epoch\pictures\equip_fishingpole_CA.paa";
- descriptionShort=$STR_EQUIP_FISHPOLE_DESC;
+
+ model = "\z\addons\dayz_communityassets\models\fishing_rod_loot_item.p3d";
+ picture = "\z\addons\dayz_communityassets\pictures\equip_fishingpole_CA.paa";
+ displayName = $STR_ITEM_NAME_FISHINGPOLE;
+ descriptionShort = $STR_ITEM_DESC_FISHINGPOLE;
+
class ItemActions
{
class Toolbelt
@@ -35,4 +37,4 @@ class ItemFishingPole: ItemCore
};
};
};
-};
+};
\ No newline at end of file
diff --git a/SQF/dayz_code/actions/dog/feed.sqf b/SQF/dayz_code/actions/dog/feed.sqf
index bee74eed8..cd1bd745f 100644
--- a/SQF/dayz_code/actions/dog/feed.sqf
+++ b/SQF/dayz_code/actions/dog/feed.sqf
@@ -12,7 +12,7 @@ switch (_type) do {
case 0: {
// expanded to allow all meats as input
_removed = 0;
- _itemIn = "FoodmeatRaw";
+ _itemIn = "FoodRaw";
_countIn = 1;
{
if( (_removed < _countIn) && ((_x == _itemIn) || configName(inheritsFrom(configFile >> "cfgMagazines" >> _x)) == _itemIn)) then {
diff --git a/SQF/dayz_code/actions/player_goFishing.sqf b/SQF/dayz_code/actions/player_goFishing.sqf
index 212472881..edeb430fa 100644
--- a/SQF/dayz_code/actions/player_goFishing.sqf
+++ b/SQF/dayz_code/actions/player_goFishing.sqf
@@ -2,83 +2,159 @@
DayZ Fishing
Usage: spawn player_goFishing;
Made for DayZ Mod please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
+ fixed by facoptere@gmail.com for dayzmod
*/
-private ["_itemOut","_position","_isOk","_counter","_rnd","_item","_itemtodrop","_vehicle","_inVehicle"];
+private ["_linecastmax","_linecastmin","_num","_position","_ispond","_objectsPond","_isPondNearBy","_isOk","_counter",
+"_vehicle","_inVehicle","_rnd","_itemOut","_text","_item","_itemtodrop","_result", "_elevation"];
-if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_65") , "PLAIN DOWN"]; };
-DZE_ActionInProgress = true;
+//if (!isNil "faco_goFishing") exitWith { _this call faco_goFishing };
-call gear_ui_init;
+_vehicle = _this select 3;
+_vehicle removeAction (_this select 2);
+s_player_fishing = -1;
+s_player_fishing_veh = -1;
-// find position 5m in front of player
-_position = player modeltoworld [0,5,0];
-if(!(surfaceIsWater _position)) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_66") , "PLAIN DOWN"]; };
+if(dayz_fishingInprogress) exitWith { cutText [localize "str_fishing_inprogress", "PLAIN DOWN"];};
+dayz_fishingInprogress = true;
-if((currentWeapon player) != "MeleeFishingPole") exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_67"), "PLAIN DOWN"]; };
+//line distance
+_linecastmax = 67;
-if(dayz_isSwimming) exitWith {DZE_ActionInProgress = false; cutText [localize "str_player_26", "PLAIN DOWN"]; };
-if(player getVariable["combattimeout", 0] >= time) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_312"), "PLAIN DOWN"];};
+_isOk = false;
+_inBoat = (player != vehicle player) and {((vehicle player) isKindOf "Ship")};
+for "_i" from 1 to 10 do {
+ _num = floor(random (2 * _linecastmax / 3) + _linecastmax / 3);
+ _position = if (_inBoat) then { (vehicle player) modeltoworld [-_num, 0 ,0] } else { player modeltoworld [0,_num,0] };
+ _elevation = _position select 2;
+ /*
+ _position set [ 2, 1 ];
+ _position = ASLToATL _position;
+ if (_position select 2 < 1) then { _position set [2, 1];};
+ if (isNil "tutu") then {
+ tutu = "Sign_sphere100cm_EP1" createVehicleLocal _position;
+ }
+ else {
+ tutu setPosATL _position;
+ };
+ */
+ _ispond = if (_elevation < 0.5 or surfaceIsWater _position) then { false } else { // riverbed must be at 0.5 m depth at least
+ private [ "_ret","_bb","_w2m" ];
+ _position set [ 2, _elevation - 0.5 ];
+ _ret = false;
+ {
+ {
+ _w2m = _x worldToModel _position;
+ _bb = (boundingbox _x) select 1;
+ _linecastmax = _linecastmax min ((_bb select 0) min (_bb select 1));
+ //_dir = [player, _x] call BIS_fnc_relativeDirTo; if (_dir > 180) then {_dir = _dir - 360};
+ if ((("" == typeOf _x) and ((_w2m select 2) < 0.5)) and {((abs(_w2m select 0) < (_bb select 0)) and (abs(_w2m select 1) < (_bb select 1)))}) exitWith { // ponds
+ _ret = true;
+ };
+ } count (nearestObjects [_x, [], 2]); // find ponds
+ if (_ret) exitWith {};
+ } foreach nearestObjects [_position, ["waterHoleProxy"], 45]; // find waterholeproxy close to pond centers
+ _ret
+ };
+// diag_log [ _position, _elevation, surfaceIsWater _position, _linecastmax, _ispond, "=>", ((surfaceIsWater _position or _ispond) and ((player == vehicle player) or {((vehicle player) isKindOf "Ship")})) ];
+ if ((surfaceIsWater _position or _ispond) and ((player == vehicle player) or {((vehicle player) isKindOf "Ship")})) exitWith {
+ _isOk = true;
+ };
+};
+
+if (!_isOk) exitWith {
+ dayz_fishingInprogress = false;
+ cutText [localize "str_fishing_watercheck" , "PLAIN DOWN"];
+};
-_isOk = true;
_counter = 0;
// swing fishingpole
player playActionNow "GestureSwing";
+
// Alert zeds
-[player,10,true,(getPosATL player)] spawn player_alertZombies;
+[player,3,true,(getPosATL player)] call player_alertZombies;
r_interrupt = false;
while {_isOk} do {
+ if(dayz_isSwimming) exitWith {cutText [localize "str_player_26", "PLAIN DOWN"];_isOk = false;};
+ if !((currentWeapon player) in Dayz_fishingItems or (player != vehicle player and !((vehicle player) isKindOf "Ship"))) exitwith {
+ cutText [localize "str_fishing_canceled", "PLAIN DOWN"];
+ _isOk = false;
+ };
+ if (r_interrupt) then {
+ _isOk = false;
+ cutText [localize "str_fishing_canceled", "PLAIN DOWN"];
+ } else {
+ //make sure the player isnt swimming
- if (r_interrupt || (player getVariable["combattimeout", 0] >= time)) then {
- _isOk = false;
- cutText [(localize "str_epoch_player_68"), "PLAIN DOWN"];
- } else {
-
- uiSleep 2;
+ // wait for animation
+ uiSleep 2;
- _rnd = 50;
+ // check if player is in boat
+ _vehicle = vehicle player;
+ if ((_vehicle != player) and (_vehicle isKindOf "Ship")) then {
+ _inVehicle = true;
+ _rnd = 75;
+ } else {
+ _inVehicle = false;
+ _rnd = 100;
+ };
+ //Check for rain fish are more active during the rain.
+ if (rain > 0) then {_rnd = _rnd / 2;};
- // check if player is in boat
- _vehicle = vehicle player;
- _inVehicle = (_vehicle != player);
- if(_inVehicle) then {
- if(_vehicle isKindOf "Ship") then {
- // higher chance to catch if water is deeper than 25m
- if(((getPosATL _vehicle) select 2) > 25) then {
- _rnd = 12;
- } else {
- _rnd = 25;
- };
- };
- };
+ // 1% chance to catch anything
+ if((random _rnd) <= 5) then {
+ // Just the one fish for now
+ _itemOut = [];
+ _itemOut = switch (true) do {
+ case ((_num > 30) and (_num <= 45)) : { ["FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout"]; };
+ case ((_num > 45) and (_num <= 60)) : { ["FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout","FishRawSeaBass","FishRawSeaBass"]; };
+ case ((_num > 60)) : { ["FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout","FishRawSeaBass","FishRawSeaBass","FishRawTuna"]; };
+ default { ["FishRawTrout"]; };
+ };
+ _itemOut = _itemOut call BIS_fnc_selectRandom;
+ _text = getText (configFile >> "CfgMagazines" >> _itemOut >> "displayName");
+ if(_inVehicle) then {
+ _item = _vehicle;
+ _itemtodrop = _itemOut;
+ _item addMagazineCargoGlobal [_itemtodrop,1];
+ //Let the player know what he caught
+ cutText [format [localize "str_fishing_success",_text], "PLAIN DOWN"];
+ } else {
+ call gear_ui_init;
+ //Remove melee magazines (BIS_fnc_invAdd fix)
+ {player removeMagazines _x} forEach MeleeMagazines;
+ _result = [player,_itemOut] call BIS_fnc_invAdd;
+ if (_result) then {
+ //Let the player know what he caught
+ cutText [format [localize "str_fishing_success",_text], "PLAIN DOWN"];
+ } else {
+ cutText [format [localize "str_fishing_noroom",_text], "PLAIN DOWN"];
+ };
+ //adding melee mags back if needed
+ call dayz_meleeMagazineCheck;
+ };
+
+ //"Working",0,[cal,thirst,hunger]
+ ["Working",0,[3,2,8,0]] call dayz_NutritionSystem;
+ _isOk = false;
+ } else {
+ switch (true) do {
+ case (_counter == 0) : { cutText [format [localize "str_fishing_cast",_num], "PLAIN DOWN"]; };
+ case (_counter == 4) : { cutText [localize "str_fishing_pull", "PLAIN DOWN"]; player playActionNow "GesturePoint"; };
+ case (_counter == 8) : { cutText [localize "str_fishing_pull", "PLAIN DOWN"]; player playActionNow "GesturePoint"; };
+ default { cutText [localize "str_fishing_nibble", "PLAIN DOWN"]; };
+ };
+ _counter = _counter + 1;
- // chance to catch anything
- if((random _rnd) <= 1) then {
- // Just the one fish for now
- _itemOut = ["ItemTrout","ItemTrout","ItemTrout","ItemTrout","ItemTrout","ItemTrout","ItemTrout","ItemSeaBass","ItemSeaBass","ItemTuna"] call BIS_fnc_selectRandom;
-
- if(_inVehicle) then {
- _item = _vehicle;
- _itemtodrop = _itemOut;
- _item addMagazineCargoGlobal [_itemtodrop,1];
- } else {
- player addMagazine _itemOut;
- };
-
- cutText [(localize "str_epoch_player_69"), "PLAIN DOWN"];
- _isOk = false;
- } else {
- cutText [(localize "str_epoch_player_70"), "PLAIN DOWN"];
- _counter = _counter + 1;
- if(_counter == 10) then {
- _isOk = false;
- uiSleep 2;
- cutText [(localize "str_epoch_player_71"), "PLAIN DOWN"];
- };
- };
- };
+ if(_counter == 12) then {
+ _isOk = false;
+ uisleep 1;
+ cutText [localize "str_fishing_failed", "PLAIN DOWN"];
+ };
+ };
+ };
};
-DZE_ActionInProgress = false;
+dayz_fishingInprogress = false;
diff --git a/SQF/dayz_code/actions/player_goFishing_vanilla.sqf b/SQF/dayz_code/actions/player_goFishing_vanilla.sqf
deleted file mode 100644
index edeb430fa..000000000
--- a/SQF/dayz_code/actions/player_goFishing_vanilla.sqf
+++ /dev/null
@@ -1,160 +0,0 @@
-/*
- DayZ Fishing
- Usage: spawn player_goFishing;
- Made for DayZ Mod please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
- fixed by facoptere@gmail.com for dayzmod
-*/
-private ["_linecastmax","_linecastmin","_num","_position","_ispond","_objectsPond","_isPondNearBy","_isOk","_counter",
-"_vehicle","_inVehicle","_rnd","_itemOut","_text","_item","_itemtodrop","_result", "_elevation"];
-
-//if (!isNil "faco_goFishing") exitWith { _this call faco_goFishing };
-
-_vehicle = _this select 3;
-_vehicle removeAction (_this select 2);
-s_player_fishing = -1;
-s_player_fishing_veh = -1;
-
-if(dayz_fishingInprogress) exitWith { cutText [localize "str_fishing_inprogress", "PLAIN DOWN"];};
-dayz_fishingInprogress = true;
-
-//line distance
-_linecastmax = 67;
-
-_isOk = false;
-_inBoat = (player != vehicle player) and {((vehicle player) isKindOf "Ship")};
-for "_i" from 1 to 10 do {
- _num = floor(random (2 * _linecastmax / 3) + _linecastmax / 3);
- _position = if (_inBoat) then { (vehicle player) modeltoworld [-_num, 0 ,0] } else { player modeltoworld [0,_num,0] };
- _elevation = _position select 2;
- /*
- _position set [ 2, 1 ];
- _position = ASLToATL _position;
- if (_position select 2 < 1) then { _position set [2, 1];};
- if (isNil "tutu") then {
- tutu = "Sign_sphere100cm_EP1" createVehicleLocal _position;
- }
- else {
- tutu setPosATL _position;
- };
- */
- _ispond = if (_elevation < 0.5 or surfaceIsWater _position) then { false } else { // riverbed must be at 0.5 m depth at least
- private [ "_ret","_bb","_w2m" ];
- _position set [ 2, _elevation - 0.5 ];
- _ret = false;
- {
- {
- _w2m = _x worldToModel _position;
- _bb = (boundingbox _x) select 1;
- _linecastmax = _linecastmax min ((_bb select 0) min (_bb select 1));
- //_dir = [player, _x] call BIS_fnc_relativeDirTo; if (_dir > 180) then {_dir = _dir - 360};
- if ((("" == typeOf _x) and ((_w2m select 2) < 0.5)) and {((abs(_w2m select 0) < (_bb select 0)) and (abs(_w2m select 1) < (_bb select 1)))}) exitWith { // ponds
- _ret = true;
- };
- } count (nearestObjects [_x, [], 2]); // find ponds
- if (_ret) exitWith {};
- } foreach nearestObjects [_position, ["waterHoleProxy"], 45]; // find waterholeproxy close to pond centers
- _ret
- };
-// diag_log [ _position, _elevation, surfaceIsWater _position, _linecastmax, _ispond, "=>", ((surfaceIsWater _position or _ispond) and ((player == vehicle player) or {((vehicle player) isKindOf "Ship")})) ];
- if ((surfaceIsWater _position or _ispond) and ((player == vehicle player) or {((vehicle player) isKindOf "Ship")})) exitWith {
- _isOk = true;
- };
-};
-
-if (!_isOk) exitWith {
- dayz_fishingInprogress = false;
- cutText [localize "str_fishing_watercheck" , "PLAIN DOWN"];
-};
-
-_counter = 0;
-
-// swing fishingpole
-player playActionNow "GestureSwing";
-
-// Alert zeds
-[player,3,true,(getPosATL player)] call player_alertZombies;
-
-r_interrupt = false;
-
-while {_isOk} do {
- if(dayz_isSwimming) exitWith {cutText [localize "str_player_26", "PLAIN DOWN"];_isOk = false;};
- if !((currentWeapon player) in Dayz_fishingItems or (player != vehicle player and !((vehicle player) isKindOf "Ship"))) exitwith {
- cutText [localize "str_fishing_canceled", "PLAIN DOWN"];
- _isOk = false;
- };
- if (r_interrupt) then {
- _isOk = false;
- cutText [localize "str_fishing_canceled", "PLAIN DOWN"];
- } else {
- //make sure the player isnt swimming
-
- // wait for animation
- uiSleep 2;
-
- // check if player is in boat
- _vehicle = vehicle player;
- if ((_vehicle != player) and (_vehicle isKindOf "Ship")) then {
- _inVehicle = true;
- _rnd = 75;
- } else {
- _inVehicle = false;
- _rnd = 100;
- };
- //Check for rain fish are more active during the rain.
- if (rain > 0) then {_rnd = _rnd / 2;};
-
- // 1% chance to catch anything
- if((random _rnd) <= 5) then {
- // Just the one fish for now
- _itemOut = [];
- _itemOut = switch (true) do {
- case ((_num > 30) and (_num <= 45)) : { ["FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout"]; };
- case ((_num > 45) and (_num <= 60)) : { ["FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout","FishRawSeaBass","FishRawSeaBass"]; };
- case ((_num > 60)) : { ["FishRawTrout","FishRawTrout","FishRawTrout","FishRawTrout","FishRawSeaBass","FishRawSeaBass","FishRawTuna"]; };
- default { ["FishRawTrout"]; };
- };
- _itemOut = _itemOut call BIS_fnc_selectRandom;
- _text = getText (configFile >> "CfgMagazines" >> _itemOut >> "displayName");
- if(_inVehicle) then {
- _item = _vehicle;
- _itemtodrop = _itemOut;
- _item addMagazineCargoGlobal [_itemtodrop,1];
- //Let the player know what he caught
- cutText [format [localize "str_fishing_success",_text], "PLAIN DOWN"];
- } else {
- call gear_ui_init;
- //Remove melee magazines (BIS_fnc_invAdd fix)
- {player removeMagazines _x} forEach MeleeMagazines;
- _result = [player,_itemOut] call BIS_fnc_invAdd;
- if (_result) then {
- //Let the player know what he caught
- cutText [format [localize "str_fishing_success",_text], "PLAIN DOWN"];
- } else {
- cutText [format [localize "str_fishing_noroom",_text], "PLAIN DOWN"];
- };
- //adding melee mags back if needed
- call dayz_meleeMagazineCheck;
- };
-
- //"Working",0,[cal,thirst,hunger]
- ["Working",0,[3,2,8,0]] call dayz_NutritionSystem;
- _isOk = false;
- } else {
-
- switch (true) do {
- case (_counter == 0) : { cutText [format [localize "str_fishing_cast",_num], "PLAIN DOWN"]; };
- case (_counter == 4) : { cutText [localize "str_fishing_pull", "PLAIN DOWN"]; player playActionNow "GesturePoint"; };
- case (_counter == 8) : { cutText [localize "str_fishing_pull", "PLAIN DOWN"]; player playActionNow "GesturePoint"; };
- default { cutText [localize "str_fishing_nibble", "PLAIN DOWN"]; };
- };
- _counter = _counter + 1;
-
- if(_counter == 12) then {
- _isOk = false;
- uisleep 1;
- cutText [localize "str_fishing_failed", "PLAIN DOWN"];
- };
- };
- };
-};
-dayz_fishingInprogress = false;
diff --git a/SQF/dayz_code/actions/tame_dog.sqf b/SQF/dayz_code/actions/tame_dog.sqf
index 5f28d0773..70f1cc7cd 100644
--- a/SQF/dayz_code/actions/tame_dog.sqf
+++ b/SQF/dayz_code/actions/tame_dog.sqf
@@ -19,7 +19,7 @@ _id = _this select 2;
_dog = _this select 3;
_removed = 0;
-_itemIn = "FoodmeatRaw";
+_itemIn = "FoodRaw";
_countIn = 1;
_selected = "";
diff --git a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/R3F_CfgWeight.h b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/R3F_CfgWeight.h
index 48ccb0426..43df432cd 100644
--- a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/R3F_CfgWeight.h
+++ b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/R3F_CfgWeight.h
@@ -1165,10 +1165,6 @@ class CfgWeight
{
weight = 0.25;
};
- class FoodmeatCooked
- {
- weight = 0.25;
- };
class FoodbeefCooked
{
weight = 0.25;
@@ -1209,10 +1205,6 @@ class CfgWeight
{
weight = 0.25;
};
- class FoodmeatRaw
- {
- weight = 0.25;
- };
class FoodSteakRaw
{
weight = 0.25;
@@ -1731,27 +1723,27 @@ class CfgWeight
weight = 2;
};
- class ItemTrout
+ class FishRawTrout
{
weight = 1;
};
- class ItemTroutCooked
+ class FishCookedTrout
{
weight = 1;
};
- class ItemSeaBass
+ class FishRawSeaBass
{
weight = 6;
};
- class ItemSeaBassCooked
+ class FishCookedSeaBass
{
weight = 5;
};
- class ItemTuna
+ class FishRawTuna
{
weight = 27;
};
- class ItemTunaCooked
+ class FishCookedTuna
{
weight = 25;
};
diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf
index b322e2d72..006dd514a 100644
--- a/SQF/dayz_code/init/variables.sqf
+++ b/SQF/dayz_code/init/variables.sqf
@@ -60,12 +60,9 @@ meatraw = [
"FoodGoatRaw",
"FishRawTrout",
"FishRawSeaBass",
- "FishRawTuna",
- "ItemTrout",
- "ItemSeaBass",
- "ItemTuna"
+ "FishRawTuna"
];
-exceptionsraw = ["ItemTuna","ItemSeaBass","ItemTrout","FishRawTuna","FishRawSeaBass","FishRawTrout"];
+exceptionsraw = ["FishRawTuna","FishRawSeaBass","FishRawTrout"];
meatcooked = [
"FoodSteakCooked",
"FoodmeatCooked",
@@ -77,10 +74,7 @@ meatcooked = [
"FoodmuttonCooked",
"FoodchickenCooked",
"FoodrabbitCooked",
- "FoodbaconCooked",
- "ItemTroutCooked",
- "ItemSeaBassCooked",
- "ItemTunaCooked"
+ "FoodbaconCooked"
];
//Eating
no_output_food = ["FoodMRE", "FoodPistachio", "FoodNutmix","FoodBioMeat"]+meatcooked+meatraw;
diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml
index 362e2fe6b..882d6f0b0 100644
--- a/SQF/dayz_code/stringtable.xml
+++ b/SQF/dayz_code/stringtable.xml
@@ -8,6 +8,7 @@
Přidat do nástrojů
Placer à la ceinture
Zum Werkzeuggürtel hinzufügen
+ Voeg toe aan gereedschapsgordel
Add to back
@@ -48,6 +49,7 @@
Lancer la ligne
Uchytit rybářský prut
Angel auswerfen
+ Werp vislijn uit
Create quiver
@@ -1126,6 +1128,7 @@
Nic jsi nechytil.
Vous n'avez rien pris
Schade... nichts dran.
+ Je hebt niets gevangen.
Nibble... Nibble...
@@ -1134,6 +1137,7 @@
Bere... Nebere...
Ça mord
Knabber... knabber...
+ Dobber.. Dobber..
You caught a %1.
@@ -1158,6 +1162,7 @@
Rybaření přerušeno.
Pêche annulée
Angeln abgebrochen
+ Gestopt met vissen.
Must be facing a pond, near a shore or on a boat to fish.
@@ -1199,6 +1204,7 @@
Rybaření již probíhá.
Vous êtes déjà en train de pêcher
Du angelst schon.
+ Afmaken van creatie is al bezig.
Siphon Vehicle Fuel
@@ -6500,6 +6506,7 @@
Canne à pêche
Rybářský prut
Angel
+ Vishengel
This carbon fiber rod may be old but she still works like a charm.
@@ -6508,6 +6515,7 @@
Canne en fibre de carbone, sans doute assez ancienne mais fonctionnant parfaitement.
Sice vypadá starobyle, ale svůj účet splní dokonale.
Die Carbonrute mag alt aussehen, funktioniert aber noch tadellos.
+ Dit carbonnen hengeltje is al oud, maar werkt nog prima!
CamoNet
diff --git a/SQF/dayz_epoch_b/CfgServerTrader/Category/FriendlyCookedMeats.hpp b/SQF/dayz_epoch_b/CfgServerTrader/Category/FriendlyCookedMeats.hpp
index b672ae96b..edcd5024d 100644
--- a/SQF/dayz_epoch_b/CfgServerTrader/Category/FriendlyCookedMeats.hpp
+++ b/SQF/dayz_epoch_b/CfgServerTrader/Category/FriendlyCookedMeats.hpp
@@ -24,17 +24,17 @@ class Category_630 {
buy[] = {2,"ItemSilverBar10oz"};
sell[] = {1,"ItemSilverBar10oz"};
};
- class ItemTroutCooked {
+ class FishCookedTrout {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemSilverBar10oz"};
};
- class ItemSeaBassCooked {
+ class FishCookedSeaBass {
type = "trade_items";
buy[] = {3,"ItemGoldBar"};
sell[] = {2,"ItemSilverBar10oz"};
};
- class ItemTunaCooked {
+ class FishCookedTuna {
type = "trade_items";
buy[] = {4,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
@@ -66,17 +66,17 @@ class Category_690 {
buy[] = {2,"ItemSilverBar10oz"};
sell[] = {1,"ItemSilverBar10oz"};
};
- class ItemTroutCooked {
+ class FishCookedTrout {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemSilverBar10oz"};
};
- class ItemSeaBassCooked {
+ class FishCookedSeaBass {
type = "trade_items";
buy[] = {3,"ItemGoldBar"};
sell[] = {2,"ItemSilverBar10oz"};
};
- class ItemTunaCooked {
+ class FishCookedTuna {
type = "trade_items";
buy[] = {4,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
diff --git a/SQF/dayz_epoch_b/CfgServerTrader/Category/FriendlyMedicalSupplies.hpp b/SQF/dayz_epoch_b/CfgServerTrader/Category/FriendlyMedicalSupplies.hpp
index 0954b9ed9..74e0809f2 100644
--- a/SQF/dayz_epoch_b/CfgServerTrader/Category/FriendlyMedicalSupplies.hpp
+++ b/SQF/dayz_epoch_b/CfgServerTrader/Category/FriendlyMedicalSupplies.hpp
@@ -14,6 +14,48 @@ class Category_541 {
buy[] = {2,"ItemSilverBar"};
sell[] = {1,"ItemSilverBar"};
};
+ /*
+ class bloodBagONEG {
+ type = "trade_items";
+ buy[] = {2,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagANEG {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagAPOS {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagBNEG {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagBPOS {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagABNEG {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagABPOS {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagOPOS {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ */
class ItemEpinephrine {
type = "trade_items";
buy[] = {2,"ItemSilverBar"};
diff --git a/SQF/dayz_epoch_b/CfgServerTrader/Category/NeutralCookedMeats.hpp b/SQF/dayz_epoch_b/CfgServerTrader/Category/NeutralCookedMeats.hpp
index 7d157c0c3..d16d317c3 100644
--- a/SQF/dayz_epoch_b/CfgServerTrader/Category/NeutralCookedMeats.hpp
+++ b/SQF/dayz_epoch_b/CfgServerTrader/Category/NeutralCookedMeats.hpp
@@ -24,17 +24,17 @@ class Category_686 {
buy[] = {2,"ItemSilverBar10oz"};
sell[] = {1,"ItemSilverBar10oz"};
};
- class ItemTroutCooked {
+ class FishCookedTrout {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemSilverBar10oz"};
};
- class ItemSeaBassCooked {
+ class FishCookedSeaBass {
type = "trade_items";
buy[] = {3,"ItemGoldBar"};
sell[] = {2,"ItemSilverBar10oz"};
};
- class ItemTunaCooked {
+ class FishCookedTuna {
type = "trade_items";
buy[] = {4,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
@@ -66,17 +66,17 @@ class Category_580 {
buy[] = {2,"ItemSilverBar10oz"};
sell[] = {1,"ItemSilverBar10oz"};
};
- class ItemTroutCooked {
+ class FishCookedTrout {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemSilverBar10oz"};
};
- class ItemSeaBassCooked {
+ class FishCookedSeaBass {
type = "trade_items";
buy[] = {3,"ItemGoldBar"};
sell[] = {2,"ItemSilverBar10oz"};
};
- class ItemTunaCooked {
+ class FishCookedTuna {
type = "trade_items";
buy[] = {4,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
@@ -108,17 +108,17 @@ class Category_634 {
buy[] = {2,"ItemSilverBar10oz"};
sell[] = {1,"ItemSilverBar10oz"};
};
- class ItemTroutCooked {
+ class FishCookedTrout {
type = "trade_items";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemSilverBar10oz"};
};
- class ItemSeaBassCooked {
+ class FishCookedSeaBass {
type = "trade_items";
buy[] = {3,"ItemGoldBar"};
sell[] = {2,"ItemSilverBar10oz"};
};
- class ItemTunaCooked {
+ class FishCookedTuna {
type = "trade_items";
buy[] = {4,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
diff --git a/SQF/dayz_epoch_b/CfgServerTrader/Category/NeutralMedicalSupplies.hpp b/SQF/dayz_epoch_b/CfgServerTrader/Category/NeutralMedicalSupplies.hpp
index b8579d736..b88a93805 100644
--- a/SQF/dayz_epoch_b/CfgServerTrader/Category/NeutralMedicalSupplies.hpp
+++ b/SQF/dayz_epoch_b/CfgServerTrader/Category/NeutralMedicalSupplies.hpp
@@ -51,6 +51,48 @@ class Category_670 {
buy[] = {2,"ItemSilverBar"};
sell[] = {1,"ItemSilverBar"};
};
+ /*
+ class bloodBagONEG {
+ type = "trade_items";
+ buy[] = {2,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagANEG {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagAPOS {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagBNEG {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagBPOS {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagABNEG {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagABPOS {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ class bloodBagOPOS {
+ type = "trade_items";
+ buy[] = {1,"ItemSilverBar"};
+ sell[] = {1,"ItemSilverBar"};
+ };
+ */
class ItemEpinephrine {
type = "trade_items";
buy[] = {2,"ItemSilverBar"};
diff --git a/SQF/dayz_epoch_b/stringtable.xml b/SQF/dayz_epoch_b/stringtable.xml
index 515d711a1..04551ea47 100644
--- a/SQF/dayz_epoch_b/stringtable.xml
+++ b/SQF/dayz_epoch_b/stringtable.xml
@@ -123,136 +123,6 @@
-
- Raw Meat
- Raw Meat
- Rohes Fleisch
- Сырое мясо
- Carne Cruda
- Rauw vlees
- Viande Crue
- Syrové maso
-
-
- Mutton Raw
- Mutton Raw
- Rohes Hammelfleisch
- Сырая ягнятина
- Cordero Crudo
- Rauw lamsvlees
- Mouton Cru
- Jehněčí maso
-
-
- Raw Chicken Leg
- Raw Chicken Leg
- Rohe Hühnchenkeule
- Сырой куриный окорочок
- Pata de Pollo Cruda
- Rauwe kippenpoot
- Cuisse de Poulet crue
- Syrová kuřecí noha
-
-
- Rabbit Raw
- Rabbit Raw
- Rohes Kaninchen
- Крольчатина
- Conejo Crudo
- Rauw konijn
- Lapin cru
- Králičí maso
-
-
- Raw Bacon
- Raw Bacon
- Roher Speck
- Сырой бекон
- Costillar de Cerdo Crudo
- Rauwe spek
- Bacon cru
- Syrová slanina
-
-
- Raw Beef
- Raw Beef
- Rohes Rindfleisch
- Сырая говядина
- Churrasco Crudo
- Rauwe steak
- Boeuf Cru
- Syrové hovězí maso
-
-
- Cooked Meat
- Cooked Meat
- Gekochtes Fleisch
- Жареное мясо
- Carce Cocinada
- Gekookt vlees
- Viande Cuite
- Upečené maso
-
-
- Cooked Mutton
- Cooked Mutton
- Gekochtes Hammelfleisch
- Жареная ягнятина
- Cordero Cocinado
- Gekookt lamsvlees
- Mouton Cuit
- Upečené jehněčí
-
-
- Chicken Leg
- Chicken Leg
- Hühnchenkeule
- Жареный куриный окрочок
- Pata de Pollo
- Kippenpoot
- Cuisse de Poulet
- Kuřecí nožka
-
-
- Rabbit
- Rabbit
- Kaninchen
- Жареная крольчатина
- Conejo
- Konijn
- Lapin
- Králík
-
-
- Bacon
- Bacon
- Speck
- Бекон
- Costillar de Cerdo
- Spek
- Bacon
- Slanina
-
-
- Angel Cookies
- Angel Cookies
- Engelskekse
- Печеньки!
- Galletitas de Ángel
- Angel Koekjes
- Cookies d'Ange
- Sušenky Angel
-
-
- Beefsteak
- Beefsteak
- Rindersteak
- Бифштекс
- Churrasco
- Rundersteak
- Bifteck
- Hovězí maso
-
Red Bull
Red Bull
@@ -333,26 +203,6 @@
Un outil composé d'une large tête aux faces latérales plates attachée à un manche. Sa tête est habituellement faite en acier. La masse se manipule à deux mains et permet d'exercer plus de force qu'un marteau.
Nástroj s velkou plochou hlavou připevněnou k rukojeti. Hlava je tvořena především z kovu. Palice je silnější než ostatní kladiva.
-
- Fishing Pole
- Fishing Pole
- Angelrute
- Удочка
- Caña de Pesca
- Vishengel
- Canne à Pêche
- Rybářský prut
-
-
- Fishing Pole: This carbon fiber rod may be old but, she still works like a charm.
- Fishing Pole: This carbon fiber rod may be old but, she still works like a charm.
- Angelrute: Der Kohlefaser-Stab scheint alt zu sein aber funktioniert immer noch einwandfrei.
- Удочка: Эта палка из углеродного волокна может быть стара, но она до сих пор работает как часы.
- Fishing Pole: This carbon fiber rod may be old but, she still works like a charm.
- Vishengel: Dit carbonnen hengeltje is al oud, maar werkt nog prima!
- Cette canne à pêche en fibre de carbone a beau être vieille, elle fonctionne encore à merveille!
- Tento rybářský prut je již celkem starý, ale funguje tak, jak za mlada.
-
@@ -985,76 +835,6 @@
\n\nConstruction annulée.
\n\nVytváření zrušeno.
-
- \n\nFishing already in progress.
- \n\nFishing already in progress.
- \n\nFischen bereits im Gange.
- \n\nВы уже ловите рыбу.
-
- \n\nAfmaken van creatie is al bezig.
- \n\nLa pêche est déjà en cours.
- Již rybaříte.
-
-
- \n\nMust be near a shore or on a boat to fish.
- \n\nMust be near a shore or on a boat to fish.
- \n\nSie müssen in der Nähe eines Ufers oder auf einem Boot sein um Angeln zu können.
- \n\nНужно находиться вблизи берега или на лодке, чтобы ловить рыбу.
-
- \n\nJe moet aan de kust of op een boot zijn om te vissen.
- \n\nVous devez être sur la côte ou sur un bateau pour pêcher.
- \n\nMusíte být poblíž vody nebo na lodi, abyste mohli rybařit.
-
-
- \n\nFishing pole needs to be in your hand to fish.
- \n\nFishing pole needs to be in your hand to fish.
- \n\nSie müssen die Angelrute in den Händen haben um angeln zu können.
- \n\nУдочка должна быть в ваших руках, чтобы ловить рыбу.
-
- \n\nJe moet een vishengel in je hand hebben om te vissen.
- \n\nVous devez avoir la canne à pêche en main pour pêcher.
- \n\nMusíte mít v ruce Rybářský prut, abyste mohli rybařit.
-
-
- \n\nCanceled Fishing.
- \n\nCanceled Fishing.
- \n\nAngeln abgebrochen.
- \n\nЛовля рыбы отменена.
-
- \n\nGestopt met vissen.
- \n\nPêche annulée.
- Rybaření zrušeno.
-
-
- \n\nYou caught a fish.
- \n\nYou caught a fish.
- \n\nSie haben einen Fisch gefangen.
- \n\nВы поймали рыбу.
-
- \n\nJe hebt een vis gevangen.
- \n\nVous avez pêché un poisson!
- Chytil jsi rybu!
-
-
- \n\nNibble... Nibble...
- \n\nNibble... Nibble...
- \n\nKnabber... Knabber...
- \n\nКлюй... клюй...
-
- \n\nDobber.. Dobber..
- \n\nÇa grignote... ça grignote...
- \n\nKousek... Ještě kousek...
-
-
- \n\nYou didn't catch anything.
- \n\nYou didn't catch anything.
- \n\nSie haben nichts gefangen.
- \n\nВы ничего не поймали.
-
- \n\nJe hebt niets gevangen.
- \n\nVous n'avez rien attrapé.
- \n\nNechytil jste nic.
-
\n\nHarvest already in progress.
\n\nHarvest already in progress.
@@ -3215,16 +2995,6 @@
Vytvořit Zlatou cihlu
-
- Wear %1
- Wear %1
- %1 tragen
- Одеть %1
-
-
-
- Nosit %1
-
Craft Bandages
Craft Bandages
@@ -3405,26 +3175,6 @@
Retirer de la Ceinture.
Odstranit z opasku na nářadí.
-
- Add to Toolbelt.
- Add to Toolbelt.
- Zum Werkzeuggürtel hinzufügen.
- Повесить на пояс.
- Add to Toolbelt.
- Voeg toe aan gereedschapsgordel
- Ajouter à la Ceinture.
- Přidat do opasku na nářadí.
-
-
- Cast Fishing Pole
- Cast Fishing Pole
- Angelrute auswerfen
- Забросить удочку
- Cast Fishing Pole
- Werp vislijn uit
- Lancer la Ligne
- Nahození prutu
-
Craft Round Fence
Craft Round Fence
@@ -3575,16 +3325,6 @@
-
- \n\nCannot fish while in combat.
- \n\nCannot fish while in combat.
- \n\nSie können nicht im Kampf zu fischen.
- \n\nВы не можете ловить рыбу, находясь в бою.
-
- \n\nVissen is niet mogelijk tijdens een conflictsituatie.
- \n\nVous ne pouvez pas pêcher pendant les combats.
- \n\nNemůžete rybařit, když jste v boji.
-
%1 is already in your inventory. Adding to backpack!
%1 is already in your inventory. Adding to backpack!
diff --git a/Server Files/SQL/1.0.6_Updates.sql b/Server Files/SQL/1.0.6_Updates.sql
index b26cbae72..96eb9318f 100644
--- a/Server Files/SQL/1.0.6_Updates.sql
+++ b/Server Files/SQL/1.0.6_Updates.sql
@@ -1,7 +1,41 @@
-- ----------------------------
-- Run to replace legacy bloodbag with universal type if using DZE_UseBloodTypes = true;
-- ----------------------------
-UPDATE `Traders_DATA` SET `item` = '["bloodBagONEG",1]' WHERE `item` = '["ItemBloodbag",1]';
-UPDATE character_data SET Backpack = REPLACE(Backpack, 'ItemBloodbag', 'bloodBagONEG') WHERE INSTR(Backpack, 'ItemBloodbag') > 0;
-UPDATE character_data SET Inventory = REPLACE(Inventory, 'ItemBloodbag', 'bloodBagONEG') WHERE INSTR(Inventory, 'ItemBloodbag') > 0;
-UPDATE object_data SET Inventory = REPLACE(Inventory, 'ItemBloodbag', 'bloodBagONEG') WHERE INSTR(Inventory, 'ItemBloodbag') > 0;
\ No newline at end of file
+-- UPDATE `Traders_DATA` SET `item` = '["bloodBagONEG",1]' WHERE `item` = '["ItemBloodbag",1]';
+-- UPDATE character_data SET Backpack = REPLACE(Backpack, 'ItemBloodbag', 'bloodBagONEG') WHERE INSTR(Backpack, 'ItemBloodbag') > 0;
+-- UPDATE character_data SET Inventory = REPLACE(Inventory, 'ItemBloodbag', 'bloodBagONEG') WHERE INSTR(Inventory, 'ItemBloodbag') > 0;
+-- UPDATE object_data SET Inventory = REPLACE(Inventory, 'ItemBloodbag', 'bloodBagONEG') WHERE INSTR(Inventory, 'ItemBloodbag') > 0;
+
+
+-- ----------------------------
+-- Updated fish names from 1.8.7
+-- ----------------------------
+UPDATE `Traders_DATA` SET `item` = '["FishRawTrout",1]' WHERE `item` = '["ItemTrout",1]';
+UPDATE character_data SET Backpack = REPLACE(Backpack, 'ItemTrout', 'FishRawTrout') WHERE INSTR(Backpack, 'ItemTrout') > 0;
+UPDATE character_data SET Inventory = REPLACE(Inventory, 'ItemTrout', 'FishRawTrout') WHERE INSTR(Inventory, 'ItemTrout') > 0;
+UPDATE object_data SET Inventory = REPLACE(Inventory, 'ItemTrout', 'FishRawTrout') WHERE INSTR(Inventory, 'ItemTrout') > 0;
+
+UPDATE `Traders_DATA` SET `item` = '["FishRawSeaBass",1]' WHERE `item` = '["ItemSeaBass",1]';
+UPDATE character_data SET Backpack = REPLACE(Backpack, 'ItemSeaBass', 'FishRawSeaBass') WHERE INSTR(Backpack, 'ItemSeaBass') > 0;
+UPDATE character_data SET Inventory = REPLACE(Inventory, 'ItemSeaBass', 'FishRawSeaBass') WHERE INSTR(Inventory, 'ItemSeaBass') > 0;
+UPDATE object_data SET Inventory = REPLACE(Inventory, 'ItemSeaBass', 'FishRawSeaBass') WHERE INSTR(Inventory, 'ItemSeaBass') > 0;
+
+UPDATE `Traders_DATA` SET `item` = '["FishRawTuna",1]' WHERE `item` = '["ItemTuna",1]';
+UPDATE character_data SET Backpack = REPLACE(Backpack, 'ItemTuna', 'FishRawTuna') WHERE INSTR(Backpack, 'ItemTuna') > 0;
+UPDATE character_data SET Inventory = REPLACE(Inventory, 'ItemTuna', 'FishRawTuna') WHERE INSTR(Inventory, 'ItemTuna') > 0;
+UPDATE object_data SET Inventory = REPLACE(Inventory, 'ItemTuna', 'FishRawTuna') WHERE INSTR(Inventory, 'ItemTuna') > 0;
+
+UPDATE `Traders_DATA` SET `item` = '["FishCookedTrout",1]' WHERE `item` = '["ItemTroutCooked",1]';
+UPDATE character_data SET Backpack = REPLACE(Backpack, 'ItemTroutCooked', 'FishCookedTrout') WHERE INSTR(Backpack, 'ItemTroutCooked') > 0;
+UPDATE character_data SET Inventory = REPLACE(Inventory, 'ItemTroutCooked', 'FishCookedTrout') WHERE INSTR(Inventory, 'ItemTroutCooked') > 0;
+UPDATE object_data SET Inventory = REPLACE(Inventory, 'ItemTroutCooked', 'FishCookedTrout') WHERE INSTR(Inventory, 'ItemTroutCooked') > 0;
+
+UPDATE `Traders_DATA` SET `item` = '["FishCookedSeaBass",1]' WHERE `item` = '["ItemSeaBassCooked",1]';
+UPDATE character_data SET Backpack = REPLACE(Backpack, 'ItemSeaBassCooked', 'FishCookedSeaBass') WHERE INSTR(Backpack, 'ItemSeaBassCooked') > 0;
+UPDATE character_data SET Inventory = REPLACE(Inventory, 'ItemSeaBassCooked', 'FishCookedSeaBass') WHERE INSTR(Inventory, 'ItemSeaBassCooked') > 0;
+UPDATE object_data SET Inventory = REPLACE(Inventory, 'ItemSeaBassCooked', 'FishCookedSeaBass') WHERE INSTR(Inventory, 'ItemSeaBassCooked') > 0;
+
+UPDATE `Traders_DATA` SET `item` = '["FishCookedTuna",1]' WHERE `item` = '["ItemTunaCooked",1]';
+UPDATE character_data SET Backpack = REPLACE(Backpack, 'ItemTunaCooked', 'FishCookedTuna') WHERE INSTR(Backpack, 'ItemTunaCooked') > 0;
+UPDATE character_data SET Inventory = REPLACE(Inventory, 'ItemTunaCooked', 'FishCookedTuna') WHERE INSTR(Inventory, 'ItemTunaCooked') > 0;
+UPDATE object_data SET Inventory = REPLACE(Inventory, 'ItemTunaCooked', 'FishCookedTuna') WHERE INSTR(Inventory, 'ItemTunaCooked') > 0;
\ No newline at end of file