more fixes and added some rare soda cans back in

This commit is contained in:
vbawol
2013-06-26 13:53:47 -05:00
parent ea32ea1dfb
commit c4475aa92c
2 changed files with 12 additions and 4 deletions

View File

@@ -512,6 +512,7 @@ class CfgBuildingLoot {
itemType[] = { itemType[] = {
{ "ItemSodaMdew","magazine" }, { "ItemSodaMdew","magazine" },
{ "ItemSodaRbull","magazine" }, { "ItemSodaRbull","magazine" },
{ "ItemSodaOrangeSherbet","magazine" },
{ "ItemWatch","generic" }, { "ItemWatch","generic" },
{ "ItemCompass","generic" }, { "ItemCompass","generic" },
{ "ItemMap","weapon" }, { "ItemMap","weapon" },
@@ -547,7 +548,8 @@ class CfgBuildingLoot {
}; };
itemChance[] = { itemChance[] = {
0.001, 0.001,
0.004, 0.001,
0.003,
0.04, 0.04,
0.03, 0.03,
0.02, 0.02,
@@ -589,6 +591,7 @@ class CfgBuildingLoot {
itemType[] = { itemType[] = {
{ "ItemSodaMdew","magazine" }, { "ItemSodaMdew","magazine" },
{ "ItemSodaRbull","magazine" }, { "ItemSodaRbull","magazine" },
{ "ItemSodaOrangeSherbet","magazine" },
{ "ItemWatch","generic" }, { "ItemWatch","generic" },
{ "ItemCompass","generic" }, { "ItemCompass","generic" },
{ "ItemMap","weapon" }, { "ItemMap","weapon" },
@@ -624,7 +627,8 @@ class CfgBuildingLoot {
}; };
itemChance[] = { itemChance[] = {
0.001, 0.001,
0.004, 0.001,
0.003,
0.04, 0.04,
0.03, 0.03,
0.02, 0.02,
@@ -797,6 +801,8 @@ class CfgBuildingLoot {
zombieChance = 0.3; zombieChance = 0.3;
zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"}; zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2"};
itemType[] = { itemType[] = {
{ "ItemSodaMdew","magazine" },
{ "ItemSodaRbull","magazine" },
{ "ItemSodaOrangeSherbet","magazine" }, { "ItemSodaOrangeSherbet","magazine" },
{ "ItemWatch","generic" }, { "ItemWatch","generic" },
{ "ItemCompass","generic" }, { "ItemCompass","generic" },
@@ -832,7 +838,9 @@ class CfgBuildingLoot {
{"ItemKeyKit","weapon"} {"ItemKeyKit","weapon"}
}; };
itemChance[] = { itemChance[] = {
0.01, 0.003,
0.003,
0.004,
0.10, 0.10,
0.02, 0.02,
0.04, 0.04,

View File

@@ -210,7 +210,7 @@ while {true} do {
if ((time - dayz_lastSave) > _saveTime) then { if ((time - dayz_lastSave) > _saveTime) then {
//["dayzPlayerSave",[player,dayz_Magazines,false]] call callRpcProcedure; //["dayzPlayerSave",[player,dayz_Magazines,false]] call callRpcProcedure;
dayzPlayerSave = [player,dayz_Magazines,false]; dayzPlayerSave = [player,dayz_Magazines,false,false];
publicVariableServer "dayzPlayerSave"; publicVariableServer "dayzPlayerSave";
if (isServer) then { if (isServer) then {