Merge pull request #20 from R00Ki3/Features/sniper-nails

Make sniper rifle use nails as ammo
 * Removes the shared ammo between the sniper rifle and auto rifle, because with the removal of the nailgun, the sniper would have no guns left if they run out of shells
This commit is contained in:
Ryan Liptak 2015-03-10 11:50:54 -07:00
commit 6c72c87583
2 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ PlayerClassData
AmmoData AmmoData
{ {
"AMMO_SHELLS" "60" "AMMO_SHELLS" "60"
"AMMO_NAILS" "50" "AMMO_NAILS" "60"
"AMMO_CELLS" "0" "AMMO_CELLS" "0"
"AMMO_ROCKETS" "0" "AMMO_ROCKETS" "0"
"AMMO_DETPACK" "0" "AMMO_DETPACK" "0"
@ -53,7 +53,7 @@ PlayerClassData
MaxAmmoData MaxAmmoData
{ {
"AMMO_SHELLS" "75" "AMMO_SHELLS" "75"
"AMMO_NAILS" "100" "AMMO_NAILS" "75"
"AMMO_CELLS" "30" "AMMO_CELLS" "30"
"AMMO_ROCKETS" "25" "AMMO_ROCKETS" "25"
"AMMO_DETPACK" "0" "AMMO_DETPACK" "0"

View file

@ -27,7 +27,7 @@ WeaponData
"default_clip" "60" "default_clip" "60"
"default_clip2" "-1" "default_clip2" "-1"
"primary_ammo" "AMMO_SHELLS" "primary_ammo" "AMMO_NAILS"
"secondary_ammo" "None" "secondary_ammo" "None"
"ffencrypted" "1" // required for the script to load "ffencrypted" "1" // required for the script to load