reviews + test

This commit is contained in:
Kara D
2021-08-05 22:01:02 -07:00
parent 5af4c06231
commit 9354abb024
6 changed files with 95 additions and 110 deletions

View File

@@ -10,9 +10,9 @@
drawdepth: FloorObjects
sprite: Structures/Doors/Windoors/windoor.rsi
layers:
- state: assembly
- state: panel_open
visible: false
- state: assembly
- state: panel_open
visible: true
- type: Physics
fixtures:
- shape:
@@ -37,7 +37,7 @@
acts: ["Destruction"]
- !type:SpawnEntitiesBehavior
spawn:
MetalRod:
SheetSteel1:
min: 1
max: 3
- type: Construction
@@ -71,9 +71,9 @@
acts: ["Destruction"]
- !type:SpawnEntitiesBehavior
spawn:
MetalRod:
min: 2
max: 4
SheetPlasteel1:
min: 1
max: 2
- type: Construction
graph: windoor
node: assemblySecure

View File

@@ -50,9 +50,9 @@
ShardGlass:
min: 1
max: 2
MetalRod:
min: 1
max: 3
SheetSteel1:
min: 2
max: 4
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: AccessReader
@@ -125,19 +125,11 @@
ShardGlass:
min: 1
max: 2
MetalRod:
min: 2
max: 4
SheetPlasteel1:
min: 1
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Construction
graph: windoor
node: windoorSecure
# "0.49,-0.49,-0.49,-0.2"
# to:
# (-0.2, -0.49), (-0.2, 0.49), (-0.49, 0.49), (-0.49, -0.49)
# what i want is:
# (0.49, -0.49), (0.49, -0.2), (-0.49, -0.2), (-0.49, -0.49)
# which is:
# "-0.2,-0.49,-0.49,0.49"