Skip to content

Commit

Permalink
barrel base freight fill item done
Browse files Browse the repository at this point in the history
  • Loading branch information
Temoffy committed Jan 19, 2025
1 parent b5359b5 commit fa239a0
Show file tree
Hide file tree
Showing 14 changed files with 108 additions and 25 deletions.
83 changes: 58 additions & 25 deletions Resources/Prototypes/_NF/Entities/Structures/Shipping/Shipping.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
- type: entity
id: TestPalette
id: ShippingBox1
parent: BaseStructure
suffix: barrel
name: shipping palette
#suffix: container
name: shipping container
description: A load of cargo to be delivered.
# placement:
# mode: AlignTileAny
components:
#- type: SpriteFade
- type: Sprite
sprite: _NF\Structures\Shipping\shippingboxes.rsi
sprite: _NF/Structures/Shipping/shippingboxes.rsi
offset: 0,.5
drawdepth: Mobs
state: box1
noRot: true
#- type: Anchorable
Expand All @@ -17,8 +22,8 @@
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.5
!type:PhysShapeAabb
bounds: "-.5,-.5,.5,.5"
density: 60
mask:
- MachineMask
Expand All @@ -27,22 +32,50 @@
- 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" ]
# - 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" ]

- type: entity
id: BarrelPallet
parent: BaseStructure
name: shipping pallete
components:
- type: Sprite
drawdepth: Mobs
layers:
- sprite: _NF/Structures/Shipping/shippingpallet.rsi
state: base
offset: 0,.5
- sprite: _NF/Structures/Shipping/shippingbarrels.rsi
state: red
offset: -0.25,0.3125 #top left, options are -0.25,0.3125 and -0.21875,0.3125
- sprite: _NF/Structures/Shipping/shippingbarrels.rsi
state: black
offset: 0.25,0.3125 #top right, options are 0.25,0.3125 and 0.21875,0.3125
- sprite: _NF/Structures/Shipping/shippingbarrels.rsi
state: green
offset: -0.25,-0.03125 #bottom left, options are -0.25,0 and -0.25,-0.03125
- sprite: _NF/Structures/Shipping/shippingbarrels.rsi
state: white
offset: 0.25,0 #bottom right, options are 0.25,0 and 0.25,-0.03125
- sprite: _NF/Structures/Shipping/shippingpallet.rsi
state: barrel_straps
offset: 0,.5
noRot: true
Binary file removed Resources/Textures/_NF/Structures/Shipping/box1.png
Binary file not shown.
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.
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
@@ -0,0 +1,32 @@
{
"version": 1,
"license": "CC-BY-4.0",
"copyright": "Taken from tgstation PR https://github.com/tgstation/tgstation/pull/38977, modified by rosieposieeee, whatston3, & Telos",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "black"
},
{
"name": "blue"
},
{
"name": "gray"
},
{
"name": "green"
},
{
"name": "red"
},
{
"name": "white"
},
{
"name": "yellow"
}
]
}
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.
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 @@ -9,5 +9,6 @@
"states": [
{
"name": "box1"
}
]
}
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
@@ -0,0 +1,17 @@
{
"version": 1,
"license": "CC-BY-4.0",
"copyright": "https://github.com/Temoffy, Discord: @telos2387",
"size": {
"x": 32,
"y": 64
},
"states": [
{
"name": "barrel_straps"
},
{
"name": "base"
}
]
}

0 comments on commit fa239a0

Please sign in to comment.