Skip to content

Commit

Permalink
fix PRISONShuttleWindow price
Browse files Browse the repository at this point in the history
  • Loading branch information
Doublechest committed Oct 28, 2024
1 parent e045520 commit c46d91c
Showing 1 changed file with 2 additions and 69 deletions.
71 changes: 2 additions & 69 deletions Resources/Prototypes/Stories/Entities/Structures/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,59 +2,16 @@
id: PRISONShuttleWindow
name: окно
description: Смотри не заляпай.
parent: WindowRCDResistant
parent: ShuttleWindow
components:
- type: Sprite
drawdepth: WallTops
sprite: Stories/Structures/Windows/shuttle_window_sp.rsi
- type: Icon
sprite: Stories/Structures/Windows/shuttle_window_sp.rsi
- type: Repairable
fuelCost: 15
doAfterDelay: 3
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: RGlass
- type: Destructible
thresholds:
- trigger: !type:DamageTrigger
damage: 1000
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- trigger: !type:DamageTrigger
damage: 500
behaviors:
- !type:PlaySoundBehavior
sound:
collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassReinforced:
min: 1
max: 2
PartRodMetal:
min: 1
max: 2
- !type:DoActsBehavior
acts: ["Destruction"]
- type: IconSmooth
base: swindow
- type: Construction
graph: Window
node: shuttleWindow
- type: Appearance
- type: DamageVisuals
thresholds: [5, 10, 20]
damageDivisor: 28
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
- type: StaticPrice
price: 100

- type: entity
parent: PRISONShuttleWindow
parent: ShuttleWindowDiagonal
id: PRISONShuttleWindowDiagonal
name: окно
description: Смотри не заляпай.
Expand All @@ -68,30 +25,6 @@
drawdepth: WallTops
sprite: Stories/Structures/Windows/shuttle_window_diagonal_sp.rsi
state: state0
- type: IconSmooth
mode: Diagonal
key: walls
base: state
- type: Icon
sprite: Stories/Structures/Windows/shuttle_window_diagonal_sp.rsi
state: state0
- type: Fixtures
fixtures:
fix1:
shape: !type:PolygonShape
vertices:
- "-0.5,-0.5"
- "0.5,0.5"
- "0.5,-0.5"
mask:
- FullTileMask
layer:
- GlassLayer
- type: Airtight
noAirWhenFullyAirBlocked: false
airBlockedDirection:
- South
- East
- type: DamageVisuals
damageOverlay:
sprite: Structures/Windows/cracks_diagonal.rsi

0 comments on commit c46d91c

Please sign in to comment.