Updated Loottables

This commit is contained in:
Florian Kinder
2014-02-15 02:36:35 +01:00
parent ce6246882d
commit b0888b8a64
4 changed files with 63 additions and 9897 deletions

View File

@@ -538,7 +538,7 @@ class CfgBuildingLoot {
,{"PartGlass","magazine",0.08}
,{"WeaponHolder_ItemJerrycan","object",0.03}
};
};
};
class DynamicDebrisMilitary: Default
{
lootChance = 0.4;
@@ -598,7 +598,8 @@ class CfgBuildingLoot {
,{"M16A2GL","weapon",0.01}
,{"M249_EP1_DZ","weapon",0.01}
,{"M9SD","weapon",0.02}
,{"Pecheneg_DZ","weapon",0.01}
,{"Pecheneg_DZ","weapon",0.02}
,{"PK_DZ","weapon",0.01}
,{"AK_74","weapon",0.02}
,{"M4A1_Aim","weapon",0.01}
,{"AKS_74_kobra","weapon",0.01}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -32,6 +32,8 @@ while (my $line = <CFG>) {
for (my $i=0; $i<scalar(@itemType); $i++) {
$cfg .= sprintf("\t\t%s{\"%s\",%.2f}\n", ($i > 0 ? ',' : ''), $itemType[$i], $itemChance[$i]);
}
@itemType = ();
@itemChance = ();
$cfg .= "\t};\n";
}