Crowbar floor tiles and placement (#429)
* Adds tile removing behavior to CrowbarComponent. Add FloorTileItemComponent. Add genhit.ogg Add tile.png for testing * fixes * Gives ContentTileDefinition a default value for tile item to drop. Adds a few more tileitems. * Changes per review request * move stack.use and if statement
This commit is contained in:
committed by
Pieter-Jan Briers
parent
35f9de3366
commit
d63c879404
83
Resources/Prototypes/Entities/items/tiles.yml
Normal file
83
Resources/Prototypes/Entities/items/tiles.yml
Normal file
@@ -0,0 +1,83 @@
|
||||
- type: entity
|
||||
name: Carpet Floor Tile
|
||||
parent: BaseItem
|
||||
id: FloorTileItemCarpet
|
||||
description: Those could work as a pretty decent throwing weapon.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tiles/tile.rsi
|
||||
state: tile_carpet
|
||||
- type: Icon
|
||||
sprite: Objects/Tiles/tile.rsi
|
||||
state: tile_carpet
|
||||
- type: Item
|
||||
Size: 25
|
||||
- type: FloorTile
|
||||
output: floor_carpet
|
||||
- type: Stack
|
||||
stacktype: FloorTileCarpet
|
||||
count: 1
|
||||
max: 8
|
||||
|
||||
- type: entity
|
||||
name: White Floor Tile
|
||||
parent: BaseItem
|
||||
id: FloorTileItemWhite
|
||||
description: Those could work as a pretty decent throwing weapon.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tiles/tile.rsi
|
||||
state: tile_white
|
||||
- type: Icon
|
||||
sprite: Objects/Tiles/tile.rsi
|
||||
state: tile_white
|
||||
- type: Item
|
||||
Size: 25
|
||||
- type: FloorTile
|
||||
output: floor_white
|
||||
- type: Stack
|
||||
stacktype: FloorTileWhite
|
||||
count: 1
|
||||
max: 8
|
||||
|
||||
- type: entity
|
||||
name: Dark Floor Tile
|
||||
parent: BaseItem
|
||||
id: FloorTileItemDark
|
||||
description: Those could work as a pretty decent throwing weapon.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tiles/tile.rsi
|
||||
state: tile_dark
|
||||
- type: Icon
|
||||
sprite: Objects/Tiles/tile.rsi
|
||||
state: tile_dark
|
||||
- type: Item
|
||||
Size: 25
|
||||
- type: FloorTile
|
||||
output: floor_dark
|
||||
- type: Stack
|
||||
stacktype: FloorTileDark
|
||||
count: 1
|
||||
max: 8
|
||||
|
||||
- type: entity
|
||||
name: Steel Floor Tile
|
||||
parent: BaseItem
|
||||
id: FloorTileItemSteel
|
||||
description: Those could work as a pretty decent throwing weapon.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tiles/tile.rsi
|
||||
state: tile_steel
|
||||
- type: Icon
|
||||
sprite: Objects/Tiles/tile.rsi
|
||||
state: tile_steel
|
||||
- type: Item
|
||||
Size: 25
|
||||
- type: FloorTile
|
||||
output: floor_steel
|
||||
- type: Stack
|
||||
stacktype: FloorTileSteel
|
||||
count: 1
|
||||
max: 8
|
||||
@@ -7,6 +7,7 @@
|
||||
footstep_sounds: footstep_carpet
|
||||
friction: 0.35
|
||||
subfloor: plating
|
||||
item_drop: FloorTileItemCarpet
|
||||
|
||||
- type: tile
|
||||
name: floor_dark
|
||||
@@ -17,6 +18,7 @@
|
||||
footstep_sounds: footstep_floor
|
||||
friction: 0.35
|
||||
subfloor: plating
|
||||
item_drop: FloorTileItemDark
|
||||
|
||||
- type: tile
|
||||
name: floor_elevator_shaft
|
||||
@@ -117,6 +119,7 @@
|
||||
footstep_sounds: footstep_floor
|
||||
friction: 0.35
|
||||
subfloor: plating
|
||||
item_drop: FloorTileItemSteel
|
||||
|
||||
- type: tile
|
||||
name: floor_steel_dirty
|
||||
@@ -147,6 +150,7 @@
|
||||
footstep_sounds: footstep_floor
|
||||
friction: 0.1
|
||||
subfloor: underplating
|
||||
item_drop: FloorTileItemWhite
|
||||
|
||||
- type: tile
|
||||
name: floor_asteroid_sand
|
||||
|
||||
Reference in New Issue
Block a user