Browse Source

of course I forgot to set the ammo give values

Alison Watson 5 years ago
parent
commit
6f72a818c2
2 changed files with 4 additions and 2 deletions
  1. 1
    0
      pk7/DECORATE.dec
  2. 3
    2
      pk7/actors/CShotgun.dec

+ 1
- 0
pk7/DECORATE.dec View File

@@ -13,6 +13,7 @@ actor CWeapon : Weapon
13 13
 	+WEAPON.NOAUTOFIRE
14 14
 	Weapon.KickBack 40
15 15
 	Weapon.AmmoUse1 1
16
+	Weapon.AmmoGive1 4
16 17
 }
17 18
 
18 19
 #include "actors/CPlayer.dec"	// Player

+ 3
- 2
pk7/actors/CShotgun.dec View File

@@ -2,13 +2,14 @@ actor CShotgun : CWeapon replaces Shotgun
2 2
 {
3 3
 	Weapon.SlotNumber 3
4 4
 	Weapon.AmmoType1 "Shell"
5
+	Weapon.AmmoGive1 8
5 6
 	Obituary "$CW_SHOTGN_OBIT"
6 7
 	Tag "$CW_SHOTGN_WTAG"
7 8
 	States
8 9
 	{
9 10
 	Spawn:
10
-		SHOT A 1
11
-		loop
11
+		SHOT A -1
12
+		stop
12 13
 	
13 14
 	// Select //
14 15
 	Select:

Loading…
Cancel
Save