Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port N14 Mapper Assets (#1315) #46

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
720 changes: 720 additions & 0 deletions Resources/Prototypes/Entities/Structures/Decoration/floordecor.yml

Large diffs are not rendered by default.

95 changes: 95 additions & 0 deletions Resources/Prototypes/Entities/Structures/Decoration/rails.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
- type: entity
id: Rails
name: railway
placement:
mode: SnapgridCenter
components:
- type: Sprite
sprite: Structures/Decoration/rails64.rsi
state: rails
netsync: false
drawdepth: FloorObjects
- type: Damageable
damageModifierSet: Wood
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Transform
anchored: true
- type: Physics
bodyType: Static
canCollide: false
- type: Clickable

- type: entity
parent: Rails
id: RailsJunctionRightTop
suffix: junction right top
components:
- type: Sprite
state: junction-right-top

- type: entity
parent: Rails
id: RailsJunctionLeftTop
suffix: junction left top
components:
- type: Sprite
state: junction-left-top

- type: entity
parent: Rails
id: RailsJunctionRightBottom
suffix: junction right bottom
components:
- type: Sprite
state: junction-right-bottom

- type: entity
parent: Rails
id: RailsJunctionLeftBottom
suffix: junction left bottom
components:
- type: Sprite
state: junction-left-bottom

- type: entity
parent: Rails
id: RailsTurnWS
suffix: turn west-south
components:
- type: Sprite
state: turn-WS

- type: entity
parent: Rails
id: RailsTurnNW
suffix: turn north-west
components:
- type: Sprite
state: turn-NW

- type: entity
parent: Rails
id: RailsTurnNE
suffix: turn north-east
components:
- type: Sprite
state: turn-NE

- type: entity
parent: Rails
id: RailsTurnSE
suffix: turn south-east
components:
- type: Sprite
state: turn-SE
73 changes: 73 additions & 0 deletions Resources/Prototypes/Entities/Structures/Decoration/torches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
- type: entity
id: Torch2
name: torch
suffix: floor
description: A flaming torch for lighting an area.
placement:
mode: SnapgridCenter
components:
- type: Transform
anchored: true
- type: Clickable
- type: InteractionOutline
- type: Physics
bodyType: Static
canCollide: false
- type: Sprite
netsync: false
noRot: true
sprite: Structures/Decoration/torches.rsi
state: torch_unlit
- type: Appearance
- type: Reactive
groups:
Flammable: [ Touch ]
Extinguish: [ Touch ]
- type: ExtinguishOnInteract
extinguishAttemptSound:
path: /Audio/Items/candle_blowing.ogg
params:
variation: 0.05
volume: 10
- type: UseDelay
- type: Flammable
fireSpread: false
canResistFire: false
alwaysCombustible: true
canExtinguish: true
firestacksOnIgnite: 3.0
firestackFade: -0.01
damage:
types:
Heat: 0.1
- type: FireVisuals
sprite: Structures/Decoration/torches.rsi
normalState: torch_lit
- type: Damageable
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: ToggleableLightVisuals
spriteLayer: null
- type: PointLight
color: "#e39c40"
radius: 5
power: 16

- type: entity
parent: Torch2
id: TorchWall
suffix: wall
components:
- type: Sprite
noRot: false
state: wall_torch_unlit
- type: FireVisuals
sprite: Structures/Decoration/torches.rsi
normalState: wall_torch_lit
Loading
Loading