Browse Source

Made attachments a random pickup from blurspheres

Alison Watson 5 years ago
parent
commit
273cef806b
3 changed files with 27 additions and 5 deletions
  1. 27
    2
      pk7/DECORATE.dec
  2. 0
    3
      pk7/actors/CPlayer.dec
  3. BIN
      pk7/sprites/BOXXA0.png

+ 27
- 2
pk7/DECORATE.dec View File

@@ -24,8 +24,33 @@ actor dummy : Inventory {Inventory.MaxAmount 1}
24 24
 actor mod : dummy {Inventory.MaxAmount 2}
25 25
 
26 26
 // Attachments
27
-actor Laz : dummy {}
28
-actor LTrig : dummy {}
27
+actor Laz : dummy
28
+{
29
+	Inventory.PickupMessage "Picked up a Laser Sight"
30
+	States
31
+	{
32
+	Spawn:
33
+		BOXX A -1
34
+		wait
35
+	}
36
+}
37
+
38
+actor LTrig : dummy
39
+{
40
+	Inventory.PickupMessage "Picked up a Light Trigger."
41
+	States
42
+	{
43
+	Spawn:
44
+		BOXX A -1
45
+		wait
46
+	}
47
+}
48
+
49
+actor BlurReplacer : RandomSpawner replaces BlurSphere
50
+{
51
+	DropItem Laz
52
+	DropItem LTrig
53
+}
29 54
 
30 55
 actor PistolSil : dummy {}
31 56
 actor PistolLaz : dummy {}

+ 0
- 3
pk7/actors/CPlayer.dec View File

@@ -4,7 +4,4 @@ actor CPlayer : DoomPlayer
4 4
 	Player.StartItem "Fist"
5 5
 	
6 6
 	Player.StartItem "Clip", 50
7
-	
8
-	Player.StartItem "Laz", 1
9
-	Player.StartItem "LTrig", 1
10 7
 }

BIN
pk7/sprites/BOXXA0.png View File


Loading…
Cancel
Save