Skip to content

Commit

Permalink
crate base done as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Temoffy committed Jan 19, 2025
1 parent fa239a0 commit aa9550b
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 39 deletions.
70 changes: 31 additions & 39 deletions Resources/Prototypes/_NF/Entities/Structures/Shipping/Shipping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,51 +14,16 @@
drawdepth: Mobs
state: box1
noRot: true
#- type: Anchorable
# delay: 2
- type: Physics
bodyType: Static
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-.5,-.5,.5,.5"
density: 60
mask:
- MachineMask
layer:
- MidImpassable
- LowImpassable
- BulletImpassable
- Opaque #??
# - type: Damageable
# damageContainer: StructuralInorganic
# damageModifierSet: Steel
# - type: Destructible
# thresholds:
# - trigger:
# !type:DamageTrigger
# damage: 200
# behaviors:
# - !type:PlaySoundBehavior
# sound:
# collection: GlassBreak
# - !type:SpawnEntitiesBehavior
# spawn:
# ShardCrystalGreen:
# min: 1
# max: 1
# - !type:DoActsBehavior
# acts: [ "Destruction" ]

#barrels pallets and spawner
- type: entity
id: BarrelPallet
parent: BaseStructure
id: BarrelPallet1
parent: ShippingBox1
name: shipping pallete
components:
- type: Sprite
drawdepth: Mobs
offset: 0,0
layers:
- sprite: _NF/Structures/Shipping/shippingpallet.rsi
state: base
Expand All @@ -78,4 +43,31 @@
- sprite: _NF/Structures/Shipping/shippingpallet.rsi
state: barrel_straps
offset: 0,.5
noRot: true

#crate pallets and spawner
- type: entity
id: CratePallet1
parent: ShippingBox1
name: shipping pallete
components:
- type: Sprite
drawdepth: Mobs
offset: 0,0
layers:
- sprite: _NF/Structures/Shipping/shippingpallet.rsi
state: base
offset: 0,.5
- sprite: Structures/Storage/Crates/electrical.rsi
state: icon
offset: 0,0.65625
- sprite: Structures/Storage/Crates/engineering.rsi
state: icon
offset: 0,-0.03125
- sprite: Structures/Storage/Crates/chemcrate_secure.rsi
state: icon
offset: 0,0.34375
- sprite: _NF/Structures/Shipping/shippingpallet.rsi
state: crate_straps
offset: 0,.5
noRot: true
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
{
"name": "barrel_straps"
},
{
"name": "crate_straps"
},
{
"name": "base"
}
Expand Down

0 comments on commit aa9550b

Please sign in to comment.