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
|
||||
Reference in New Issue
Block a user