forked from MLGTASTICa/Hullrot-YAML-Prototypes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfloor_trap.yml
116 lines (108 loc) · 2.49 KB
/
floor_trap.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
- type: entity
id: CollideFloorTrap
abstract: true
placement:
mode: SnapgridCenter
components:
- type: Sprite
sprite: Tiles/Misc/floortrap.rsi
state: floortrap
- type: Fixtures
fixtures:
floortrap:
shape:
!type:PhysShapeAabb
bounds: "-0.4,-0.4,0.4,0.4"
hard: false
mask:
- ItemMask
layer:
- SlipLayer
- type: Physics
- type: Tag
tags:
- HideContextMenu
- type: entity
parent: CollideFloorTrap
id: CollideFloorTrapSpawn
name: floor trap spawn
abstract: true
components:
- type: Sprite
sprite: Tiles/Misc/floortrap.rsi
state: floortrapspawn
- type: entity
parent: CollideFloorTrap
id: FloorTrapExplosion
name: explosion floor trap
components:
- type: TriggerOnCollide
fixtureID: floortrap
- type: ExplodeOnTrigger
- type: Explosive
explosionType: Default
totalIntensity: 20.0
intensitySlope: 5
maxIntensity: 4
- type: DeleteOnTrigger
- type: entity
parent: CollideFloorTrap
id: FloorTrapEMP
name: EMP floor trap
components:
- type: TriggerOnCollide
fixtureID: floortrap
- type: EmpOnTrigger
range: 2
energyConsumption: 5000
- type: DeleteOnTrigger
- type: entity
parent: CollideFloorTrapSpawn
id: SpawnFloorTrapCarp
suffix: Carp
components:
- type: TriggerOnCollide
fixtureID: floortrap
- type: SpawnOnTrigger
proto: MobCarp
- type: DeleteOnTrigger
- type: entity
parent: CollideFloorTrapSpawn
id: SpawnFloorTrapBear
suffix: Bear
components:
- type: TriggerOnCollide
fixtureID: floortrap
- type: SpawnOnTrigger
proto: MobBearSpace
- type: DeleteOnTrigger
- type: entity
parent: CollideFloorTrapSpawn
id: SpawnFloorTrapKangaroo
suffix: Kangaroo
components:
- type: TriggerOnCollide
fixtureID: floortrap
- type: SpawnOnTrigger
proto: MobKangarooSpace
- type: DeleteOnTrigger
- type: entity
parent: CollideFloorTrapSpawn
id: SpawnFloorTrapXenoDrone
suffix: Xeno. Drone
components:
- type: TriggerOnCollide
fixtureID: floortrap
- type: SpawnOnTrigger
proto: MobXenoDrone
- type: DeleteOnTrigger
- type: entity
parent: CollideFloorTrapSpawn
id: SpawnFloorTrapXenoBurrower
suffix: Xeno. Burrower
components:
- type: TriggerOnCollide
fixtureID: floortrap
- type: SpawnOnTrigger
proto: MobXeno
- type: DeleteOnTrigger