Added pickaxe, asteroid rock and floors (#301)
This commit is contained in:
committed by
Pieter-Jan Briers
parent
4175f891fb
commit
f0053f15bf
25
Resources/Prototypes/Entities/buildings/asteroid.yml
Normal file
25
Resources/Prototypes/Entities/buildings/asteroid.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
- type: entity
|
||||
id: asteroid_rock
|
||||
name: Asteroid Rock
|
||||
components:
|
||||
- type: AsteroidRock
|
||||
- type: Clickable
|
||||
- type: Sprite
|
||||
sprite: Buildings/Walls/asteroid_rock.rsi
|
||||
state: 0
|
||||
- type: Icon
|
||||
sprite: Buildings/Walls/asteroid_rock.rsi
|
||||
state: 0
|
||||
- type: BoundingBox
|
||||
- type: Collidable
|
||||
- type: Damageable
|
||||
- type: Destructible
|
||||
thresholdvalue: 100
|
||||
- type: Occluder
|
||||
sizeX: 32
|
||||
sizeY: 32
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
placement:
|
||||
snap:
|
||||
- Wall
|
||||
@@ -253,7 +253,7 @@
|
||||
- type: IconSmooth
|
||||
key: walls. Seriously, just a wall. Nothing extraordinary here.
|
||||
base: sandstone
|
||||
|
||||
|
||||
- type: entity
|
||||
id: silver_wall
|
||||
name: Silver wall
|
||||
@@ -302,7 +302,7 @@
|
||||
- type: IconSmooth
|
||||
key: walls. Seriously, just a wall. Nothing extraordinary here.
|
||||
base: uranium
|
||||
|
||||
|
||||
- type: entity
|
||||
id: wood_wall
|
||||
name: Wood wall
|
||||
|
||||
20
Resources/Prototypes/Entities/items/weapons/mining.yml
Normal file
20
Resources/Prototypes/Entities/items/weapons/mining.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
- type: entity
|
||||
name: Pickaxe
|
||||
parent: BaseItem
|
||||
id: Pickaxe
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/items/pickaxe.rsi
|
||||
state: pickaxe
|
||||
|
||||
- type: Icon
|
||||
sprite: Objects/items/pickaxe.rsi
|
||||
state: pickaxe
|
||||
- type: Pickaxe
|
||||
- type: MeleeWeapon
|
||||
damage: 25
|
||||
- type: Item
|
||||
Size: 24
|
||||
sprite: Objects/items/pickaxe.rsi
|
||||
prefix: inhand
|
||||
- type: Sound
|
||||
@@ -62,4 +62,13 @@
|
||||
id: footstep_heavy
|
||||
files:
|
||||
- /Audio/effects/footsteps/suitstep1.ogg
|
||||
- /Audio/effects/footsteps/suitstep2.ogg
|
||||
- /Audio/effects/footsteps/suitstep2.ogg
|
||||
|
||||
- type: sound_collection
|
||||
id: footstep_asteroid
|
||||
files:
|
||||
- /Audio/effects/footsteps/asteroid1.ogg
|
||||
- /Audio/effects/footsteps/asteroid2.ogg
|
||||
- /Audio/effects/footsteps/asteroid3.ogg
|
||||
- /Audio/effects/footsteps/asteroid4.ogg
|
||||
- /Audio/effects/footsteps/asteroid5.ogg
|
||||
@@ -147,3 +147,63 @@
|
||||
footstep_sounds: footstep_floor
|
||||
friction: 0.1
|
||||
subfloor: underplating
|
||||
|
||||
- type: tile
|
||||
name: floor_asteroid_sand
|
||||
display_name: Asteroid Floor
|
||||
texture: asteroid_sand
|
||||
is_subfloor: false
|
||||
can_crowbar: false
|
||||
footstep_sounds: footstep_asteroid
|
||||
friction: 0.35
|
||||
subfloor: space
|
||||
|
||||
- type: tile
|
||||
name: floor_asteroid_tile
|
||||
display_name: Asteroid Tile
|
||||
texture: asteroid_tile
|
||||
is_subfloor: false
|
||||
can_crowbar: false
|
||||
footstep_sounds: footstep_asteroid
|
||||
friction: 0.35
|
||||
subfloor: space
|
||||
|
||||
- type: tile
|
||||
name: floor_asteroid_coarse_sand0
|
||||
display_name: Asteroid Coarse Sand 0
|
||||
texture: asteroid_coarse_sand0
|
||||
is_subfloor: false
|
||||
can_crowbar: false
|
||||
footstep_sounds: footstep_asteroid
|
||||
friction: 0.35
|
||||
subfloor: space
|
||||
|
||||
- type: tile
|
||||
name: floor_asteroid_coarse_sand1
|
||||
display_name: Asteroid Coarse Sand 1
|
||||
texture: asteroid_coarse_sand1
|
||||
is_subfloor: false
|
||||
can_crowbar: false
|
||||
footstep_sounds: footstep_asteroid
|
||||
friction: 0.35
|
||||
subfloor: space
|
||||
|
||||
- type: tile
|
||||
name: floor_asteroid_coarse_sand2
|
||||
display_name: Asteroid Coarse Sand 2
|
||||
texture: asteroid_coarse_sand2
|
||||
is_subfloor: false
|
||||
can_crowbar: false
|
||||
footstep_sounds: footstep_asteroid
|
||||
friction: 0.35
|
||||
subfloor: space
|
||||
|
||||
- type: tile
|
||||
name: floor_asteroid_coarse_sand_dug
|
||||
display_name: Asteroid Dug Coarse Sand
|
||||
texture: asteroid_coarse_sand_dug
|
||||
is_subfloor: false
|
||||
can_crowbar: false
|
||||
footstep_sounds: footstep_asteroid
|
||||
friction: 0.35
|
||||
subfloor: space
|
||||
|
||||
Reference in New Issue
Block a user