mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
Updated Loottables
This commit is contained in:
@@ -598,7 +598,8 @@ class CfgBuildingLoot {
|
|||||||
,{"M16A2GL","weapon",0.01}
|
,{"M16A2GL","weapon",0.01}
|
||||||
,{"M249_EP1_DZ","weapon",0.01}
|
,{"M249_EP1_DZ","weapon",0.01}
|
||||||
,{"M9SD","weapon",0.02}
|
,{"M9SD","weapon",0.02}
|
||||||
,{"Pecheneg_DZ","weapon",0.01}
|
,{"Pecheneg_DZ","weapon",0.02}
|
||||||
|
,{"PK_DZ","weapon",0.01}
|
||||||
,{"AK_74","weapon",0.02}
|
,{"AK_74","weapon",0.02}
|
||||||
,{"M4A1_Aim","weapon",0.01}
|
,{"M4A1_Aim","weapon",0.01}
|
||||||
,{"AKS_74_kobra","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
@@ -32,6 +32,8 @@ while (my $line = <CFG>) {
|
|||||||
for (my $i=0; $i<scalar(@itemType); $i++) {
|
for (my $i=0; $i<scalar(@itemType); $i++) {
|
||||||
$cfg .= sprintf("\t\t%s{\"%s\",%.2f}\n", ($i > 0 ? ',' : ''), $itemType[$i], $itemChance[$i]);
|
$cfg .= sprintf("\t\t%s{\"%s\",%.2f}\n", ($i > 0 ? ',' : ''), $itemType[$i], $itemChance[$i]);
|
||||||
}
|
}
|
||||||
|
@itemType = ();
|
||||||
|
@itemChance = ();
|
||||||
|
|
||||||
$cfg .= "\t};\n";
|
$cfg .= "\t};\n";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user