mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
+ [CHANGED] Build-ables now get deleted from database when killed. + [ADDED] Basic fishing on ocean using toolbelt item: ItemFishingPole. TODO: add model + [ADDED] New way of chopping down trees that actually takes into account the size of the tree for number of chops/output. For example medium sized tree will typically require 3 animations and will yield 3 wood piles. + [ADDED] Airplane dealer to Namalsk and updated trader config. + [CHANGED] Can now remove park bench with refund. + [FIXED] dayz_maxGlobalZombies was not incrementing when other players are within 400m. Also, variable was overwritten in player_spawncheck code so a init variable was added dayz_maxGlobalZombiesInit (default=40) as well as dayz_maxGlobalZombiesIncrease (default=10) to control the amount of increase for each additional player within range. + [CHANGED] Any backpack placed on the ground will with gear will now disappear to all other players. + [FIXED] Added 5 second sleep to swimming in ground fix, now it should actually work without glitching. fixes #326 + [CHANGED] To prevent lost primary weapons in backpacks, all backpacks have been Upgraded. This requires that backpacks the weapon to magazines ratio be within 1:10. http://dayzepoch.com/wiki/index.php/Backpacks + [CLEANUP] disable debug of player zombie vision. + [ADDED] ASC EU Lights Mod FROM http://www.armaholic.com/page.php?id=12076 + [ADDED] New Craft-able light_pole_kit and Build-able LightPole_DZ for night lighting. RECIPE 4 lumber + 1 scrap + 1 Light Bulb + [ADDED] MAP Editorupgrade (EU) @MAP Mod FROM http://www.armaholic.com/page.php?id=6194 + [CHANGED] Picking up crowbar now gives toolbelt item instead of melee weapon.
433 lines
6.4 KiB
C++
433 lines
6.4 KiB
C++
class CfgLoot {
|
|
trash[] = {
|
|
{
|
|
"TrashTinCan",
|
|
"TrashJackDaniels",
|
|
"ItemSodaEmpty",
|
|
"ItemTrashToiletpaper",
|
|
"ItemTrashRazor",
|
|
"ItemLightBulb"
|
|
},
|
|
{
|
|
1,
|
|
0.1,
|
|
0.5,
|
|
0.4,
|
|
0.2,
|
|
0.05
|
|
}
|
|
};
|
|
civilian[] = {
|
|
{
|
|
"FoodCanUnlabeled",
|
|
"TrashJackDaniels",
|
|
"ItemSodaEmpty",
|
|
"ItemSodaCoke",
|
|
"ItemSodaPepsi",
|
|
"FoodCanBakedBeans",
|
|
"FoodCanSardines",
|
|
"FoodCanFrankBeans",
|
|
"FoodCanPasta",
|
|
"8Rnd_9x18_Makarov",
|
|
"7Rnd_45ACP_1911",
|
|
"2Rnd_shotgun_74Slug",
|
|
"2Rnd_shotgun_74Pellets",
|
|
"ItemBandage",
|
|
"ItemPainkiller",
|
|
"FoodBioMeat",
|
|
"8Rnd_9x18_Makarov"
|
|
},
|
|
{
|
|
0.09,
|
|
0.09,
|
|
0.09,
|
|
0.12,
|
|
0.09,
|
|
0.05,
|
|
0.05,
|
|
0.05,
|
|
0.05,
|
|
0.07,
|
|
0.05,
|
|
0.05,
|
|
0.05,
|
|
0.06,
|
|
0.06,
|
|
0.01,
|
|
0.01
|
|
}
|
|
};
|
|
food[] = {
|
|
{
|
|
//trash
|
|
"TrashTinCan",
|
|
"TrashJackDaniels",
|
|
"ItemSodaEmpty",
|
|
"ItemSodaCoke",
|
|
"ItemSodaPepsi",
|
|
"FoodCanBakedBeans",
|
|
"FoodCanSardines",
|
|
"FoodCanFrankBeans",
|
|
"FoodCanPasta",
|
|
"FoodCanUnlabeled",
|
|
//Bags
|
|
"FoodPistachio",
|
|
"FoodNutmix"
|
|
},
|
|
{
|
|
//trash
|
|
0.13,
|
|
0.13,
|
|
0.13,
|
|
0.09,
|
|
0.13,
|
|
0.09,
|
|
0.09,
|
|
0.09,
|
|
0.09,
|
|
0.06,
|
|
//Bags
|
|
0.05,
|
|
0.04
|
|
}
|
|
};
|
|
generic[] = {
|
|
{
|
|
"FoodCanUnlabeled",
|
|
"ItemSodaEmpty",
|
|
"ItemSodaCoke",
|
|
"ItemSodaPepsi",
|
|
"TrashJackDaniels",
|
|
"FoodCanBakedBeans",
|
|
"FoodCanSardines",
|
|
"FoodCanFrankBeans",
|
|
"FoodCanPasta",
|
|
"ItemWaterbottleUnfilled",
|
|
"ItemWaterbottle",
|
|
"ItemBandage",
|
|
"7Rnd_45ACP_1911",
|
|
"5x_22_LR_17_HMR",
|
|
"10x_303",
|
|
"6Rnd_45ACP",
|
|
"2Rnd_shotgun_74Slug",
|
|
"2Rnd_shotgun_74Pellets",
|
|
"8Rnd_9x18_Makarov",
|
|
"15Rnd_W1866_Slug",
|
|
"WoodenArrow",
|
|
"HandRoadFlare",
|
|
"ItemPainkiller",
|
|
"HandChemGreen",
|
|
"HandChemBlue",
|
|
"HandChemRed",
|
|
"ItemHeatPack"
|
|
},
|
|
{
|
|
0.06,
|
|
0.06,
|
|
0.06,
|
|
0.04,
|
|
0.04,
|
|
0.01,
|
|
0.01,
|
|
0.01,
|
|
0.01,
|
|
0.01,
|
|
0.01,
|
|
0.11,
|
|
0.03,
|
|
0.01,
|
|
0.04,
|
|
0.04,
|
|
0.05,
|
|
0.05,
|
|
0.09,
|
|
0.02,
|
|
0.04,
|
|
0.07,
|
|
0.02,
|
|
0.01,
|
|
0.03,
|
|
0.03,
|
|
0.04
|
|
}
|
|
};
|
|
medical[] = {
|
|
{
|
|
"ItemBandage",
|
|
"ItemPainkiller",
|
|
"ItemMorphine",
|
|
"ItemEpinephrine",
|
|
"ItemAntibiotic",
|
|
"ItemHeatPack"
|
|
},
|
|
{
|
|
0.8,
|
|
0.5,
|
|
0.5,
|
|
0.2,
|
|
0.3,
|
|
0.1
|
|
}
|
|
};
|
|
hospital[] = {
|
|
{
|
|
"ItemBandage",
|
|
"ItemPainkiller",
|
|
"ItemMorphine",
|
|
"ItemEpinephrine",
|
|
"ItemBloodbag",
|
|
"ItemAntibiotic"
|
|
},
|
|
{
|
|
0.33,
|
|
0.17,
|
|
0.13,
|
|
0.09,
|
|
0.17,
|
|
0.12
|
|
}
|
|
};
|
|
military[] = {
|
|
{
|
|
"FoodCanUnlabeled",
|
|
"ItemSodaEmpty",
|
|
"ItemSodaCoke",
|
|
"ItemSodaPepsi",
|
|
"ItemBandage",
|
|
"ItemAntibiotic",
|
|
"ItemPainkiller",
|
|
"ItemMorphine",
|
|
"30Rnd_556x45_Stanag",
|
|
"20Rnd_762x51_DMR",
|
|
"17Rnd_9x19_glock17",
|
|
"15Rnd_9x19_M9SD",
|
|
"15Rnd_9x19_M9",
|
|
"30Rnd_762x39_AK47",
|
|
"30Rnd_545x39_AK",
|
|
"5Rnd_762x51_M24",
|
|
"10Rnd_127x99_m107",
|
|
"8Rnd_B_Beneli_74Slug",
|
|
"1Rnd_HE_M203",
|
|
"FlareWhite_M203",
|
|
"FlareGreen_M203",
|
|
"1Rnd_Smoke_M203",
|
|
"200Rnd_556x45_M249",
|
|
"HandGrenade_west",
|
|
"SmokeShell",
|
|
"SmokeShellRed",
|
|
"SmokeShellGreen",
|
|
"8Rnd_B_Beneli_Pellets",
|
|
"30Rnd_556x45_StanagSD",
|
|
"30Rnd_9x19_MP5",
|
|
"30Rnd_9x19_MP5SD",
|
|
"100Rnd_762x51_M240",
|
|
"HandChemGreen",
|
|
"HandChemBlue",
|
|
"HandChemRed",
|
|
"ItemHeatPack",
|
|
"FoodMRE",
|
|
"8Rnd_9x18_MakarovSD",
|
|
"20Rnd_B_765x17_Ball",
|
|
"30Rnd_9x19_UZI_SD"
|
|
},
|
|
{
|
|
0.18,
|
|
0.09,
|
|
0.01,
|
|
0.01,
|
|
0.04,
|
|
0.04,
|
|
0.04,
|
|
0.01,
|
|
0.04,
|
|
0.04,
|
|
0.05,
|
|
0.01,
|
|
0.02,
|
|
0.04,
|
|
0.04,
|
|
0.01,
|
|
0.01,
|
|
0.04,
|
|
0.01,
|
|
0.01,
|
|
0.01,
|
|
0.01,
|
|
0.01,
|
|
0.01,
|
|
0.04,
|
|
0.02,
|
|
0.02,
|
|
0.04,
|
|
0.01,
|
|
0.02,
|
|
0.01,
|
|
0.01,
|
|
0.02,
|
|
0.02,
|
|
0.02,
|
|
0.04,
|
|
0.03,
|
|
0.01,
|
|
0.04,
|
|
0.01,
|
|
}
|
|
};
|
|
policeman[] = {
|
|
{
|
|
"ItemBandage",
|
|
"7Rnd_45ACP_1911",
|
|
"6Rnd_45ACP",
|
|
"15Rnd_W1866_Slug",
|
|
"8Rnd_B_Beneli_74Slug",
|
|
"HandRoadFlare"
|
|
},
|
|
{
|
|
1,
|
|
0.8,
|
|
0.3,
|
|
0.3,
|
|
0.5,
|
|
0.3
|
|
}
|
|
};
|
|
hunter[] = {
|
|
{
|
|
"ItemBandage",
|
|
"5x_22_LR_17_HMR",
|
|
"7Rnd_45ACP_1911",
|
|
"10x_303",
|
|
"ItemWaterbottleUnfilled",
|
|
"WoodenArrow",
|
|
"ItemHeatPack",
|
|
"FoodMRE",
|
|
"FoodNutmix"
|
|
},
|
|
{
|
|
1,
|
|
0.5,
|
|
0.2,
|
|
0.5,
|
|
0.2,
|
|
1,
|
|
0.2,
|
|
0.04,
|
|
0.1
|
|
|
|
}
|
|
};
|
|
|
|
worker[] = {
|
|
{
|
|
"FoodCanUnlabeled",
|
|
"TrashJackDaniels",
|
|
"ItemSodaEmpty",
|
|
"ItemSodaCoke",
|
|
"ItemSodaPepsi",
|
|
"FoodCanBakedBeans",
|
|
"FoodCanSardines",
|
|
"FoodCanFrankBeans",
|
|
"FoodCanPasta",
|
|
"ItemBandage",
|
|
"ItemPainkiller",
|
|
"ItemWire",
|
|
"ItemTankTrap",
|
|
},
|
|
{
|
|
0.09,
|
|
0.09,
|
|
0.09,
|
|
0.12,
|
|
0.09,
|
|
0.05,
|
|
0.05,
|
|
0.05,
|
|
0.05,
|
|
0.06,
|
|
0.06,
|
|
0.01,
|
|
0.01
|
|
}
|
|
};
|
|
|
|
clothes[] = {
|
|
{
|
|
"Skin_RU_Policeman_DZ",
|
|
"Skin_Pilot_EP1_DZ",
|
|
"Skin_Functionary1_EP1_DZ",
|
|
"Skin_Priest_DZ",
|
|
"Skin_Rocker2_DZ",
|
|
"Skin_SurvivorW3_DZ",
|
|
"Skin_SurvivorWpink_DZ",
|
|
"Skin_SurvivorWurban_DZ",
|
|
},
|
|
{
|
|
0.01,
|
|
0.02,
|
|
0.03,
|
|
0.02,
|
|
0.02,
|
|
0.05,
|
|
0.02,
|
|
0.01,
|
|
}
|
|
};
|
|
militaryclothes[] = {
|
|
{
|
|
"Skin_Camo1_DZ",
|
|
"Skin_Sniper1_DZ",
|
|
"Skin_Rocket_DZ",
|
|
"Skin_Soldier1_DZ",
|
|
"Skin_Drake_Light_DZ",
|
|
"Skin_Soldier_TL_PMC_DZ",
|
|
"Skin_Soldier_Sniper_PMC_DZ",
|
|
"Skin_Soldier_Bodyguard_AA12_PMC_DZ",
|
|
"Skin_CZ_Special_Forces_GL_DES_EP1_DZ",
|
|
"Skin_FR_OHara_DZ",
|
|
"Skin_FR_Rodriguez_DZ",
|
|
"Skin_CZ_Soldier_Sniper_EP1_DZ",
|
|
"Skin_Graves_Light_DZ"
|
|
},
|
|
{
|
|
0.03, // "Skin_Camo1_DZ",
|
|
0.02, // "Skin_Sniper1_DZ",
|
|
0.03, // "Skin_Rocket_DZ",
|
|
0.05, // "Skin_Soldier1_DZ",
|
|
0.01, // "Skin_Drake_Light_DZ"
|
|
0.02, // Skin_Soldier_TL_PMC_DZ
|
|
0.02, // Skin_Soldier_Sniper_PMC_DZ
|
|
0.02, // Skin_Soldier_Bodyguard_AA12_PMC_DZ
|
|
0.02, // Skin_CZ_Special_Forces_GL_DES_EP1_DZ
|
|
0.01, // "Skin_FR_OHara_DZ",
|
|
0.01, // "Skin_FR_Rodriguez_DZ",
|
|
0.01, // "Skin_CZ_Soldier_Sniper_EP1_DZ",
|
|
0.01, // "Skin_Graves_Light_DZ"
|
|
}
|
|
};
|
|
specialclothes[] = {
|
|
{
|
|
"Skin_Ins_Soldier_GL_DZ",
|
|
"Skin_GUE_Commander_DZ",
|
|
"Skin_Bandit1_DZ",
|
|
"Skin_Bandit2_DZ",
|
|
"Skin_BanditW1_DZ",
|
|
"Skin_BanditW2_DZ",
|
|
"Skin_TK_INS_Soldier_EP1_DZ",
|
|
"Skin_TK_INS_Warlord_EP1",
|
|
"Skin_SurvivorWcombat_DZ",
|
|
"Skin_SurvivorWdesert_DZ",
|
|
},
|
|
{
|
|
0.01, //"Skin_Ins_Soldier_GL_DZ",
|
|
0.01, //"Skin_GUE_Commander_DZ",
|
|
0.05, //"Skin_Bandit1_DZ",
|
|
0.02, //"Skin_Bandit2_DZ",
|
|
0.05, //"Skin_BanditW1_DZ",
|
|
0.03, //"Skin_BanditW2_DZ",
|
|
0.01, //"Skin_TK_INS_Soldier_EP1_DZ",
|
|
0.01, //"Skin_TK_INS_Warlord_EP1",
|
|
0.01, //"Skin_SurvivorWcombat_DZ",
|
|
0.03, //"Skin_SurvivorWdesert_DZ",
|
|
}
|
|
};
|
|
}; |