*** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1848 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f667db2a35
commit
601d04ee4d
1 changed files with 8 additions and 8 deletions
|
@ -895,7 +895,7 @@ void() ammo_touch =
|
|||
sprint (other, 2, ammocountftos);
|
||||
sprint (other, 2, ") ");
|
||||
|
||||
AddStackable(other, ammotype, ammocount);
|
||||
TryGiveStackable(other, ammotype, ammocount);
|
||||
|
||||
if (random()*20 <= 10)
|
||||
{
|
||||
|
@ -918,7 +918,7 @@ void() ammo_touch =
|
|||
sprint (other, 2, ammocountftos);
|
||||
sprint (other, 2, ") ");
|
||||
|
||||
AddStackable(other, ammotype, ammocount);
|
||||
TryGiveStackable(other, ammotype, ammocount);
|
||||
|
||||
if (random()*20 <= 10)
|
||||
{
|
||||
|
@ -937,7 +937,7 @@ void() ammo_touch =
|
|||
sprint (other, 2, ammocountftos);
|
||||
sprint (other, 2, ") ");
|
||||
|
||||
AddStackable(other, ammotype, ammocount);
|
||||
TryGiveStackable(other, ammotype, ammocount);
|
||||
|
||||
if (random()*20 <= 10)
|
||||
{
|
||||
|
@ -957,7 +957,7 @@ void() ammo_touch =
|
|||
sprint (other, 2, ammocountftos);
|
||||
sprint (other, 2, ") ");
|
||||
|
||||
AddStackable(other, ammotype, ammocount);
|
||||
TryGiveStackable(other, ammotype, ammocount);
|
||||
|
||||
if (random()*20 <= 10)
|
||||
{
|
||||
|
@ -1536,22 +1536,22 @@ void() BackpackTouch =
|
|||
|
||||
if (self.weapon == 1)
|
||||
{
|
||||
AddStackable(other, IID_AM_10MM, floor(9+random()*9));
|
||||
TryGiveStackable(other, IID_AM_10MM, floor(9+random()*9));
|
||||
sprint(other, 2, " 10mm ammo");
|
||||
}
|
||||
else if (self.weapon == 2)
|
||||
{
|
||||
AddStackable(other, IID_AM_556MM, floor(5+random()*5));
|
||||
TryGiveStackable(other, IID_AM_556MM, floor(5+random()*5));
|
||||
sprint(other, 2, " 5mm ammo");
|
||||
}
|
||||
else if (self.weapon == 3)
|
||||
{
|
||||
AddStackable(other, IID_AM_12GAUGESHELLS, floor(3+random()*3));
|
||||
TryGiveStackable(other, IID_AM_12GAUGESHELLS, floor(3+random()*3));
|
||||
sprint(other, 2, " 12 gauge ammo");
|
||||
}
|
||||
else if (self.weapon == 4)
|
||||
{
|
||||
AddStackable(other, IID_AM_10MM, floor(9+random()*9));
|
||||
TryGiveStackable(other, IID_AM_10MM, floor(9+random()*9));
|
||||
sprint(other, 2, " 10mm ammo");
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue