Gravity (#841)
BIN
Resources/Audio/effects/alert.ogg
Normal file
@@ -0,0 +1,36 @@
|
||||
- type: entity
|
||||
id: GravityGenerator
|
||||
name: Gravity Generator
|
||||
description: It's what keeps you to the floor.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Buildings/gravity_generator.rsi
|
||||
layers:
|
||||
- state: on
|
||||
- sprite: Buildings/gravity_generator_core.rsi
|
||||
state: activated
|
||||
shader: unshaded
|
||||
- type: Icon
|
||||
sprite: Buildings/gravity_generator.rsi
|
||||
state: on
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
- type: PowerDevice
|
||||
load: 500
|
||||
- type: Collidable
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
bounds: "-1.5,-1.5,1.5,1.5"
|
||||
layer: 15
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Damageable
|
||||
- type: Breakable
|
||||
threshold: 150
|
||||
- type: GravityGenerator
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.GravityGeneratorUiKey.Key
|
||||
type: GravityGeneratorBoundUserInterface
|
||||
placement:
|
||||
mode: AlignTileAny
|
||||
BIN
Resources/Textures/Buildings/gravity_generator.rsi/broken.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
23
Resources/Textures/Buildings/gravity_generator.rsi/meta.json
Executable file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"version":1,
|
||||
"size":{
|
||||
"x":96,
|
||||
"y":96
|
||||
},
|
||||
"license":"CC-BY-SA-3.0",
|
||||
"copyright":"Taken from https://github.com/tgstation/tgstation",
|
||||
"states":[
|
||||
{
|
||||
"name":"on",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "off",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "broken",
|
||||
"directions": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Buildings/gravity_generator.rsi/off.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
Resources/Textures/Buildings/gravity_generator.rsi/on.png
Executable file
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 684 B |
BIN
Resources/Textures/Buildings/gravity_generator_core.rsi/idle.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"version":1,
|
||||
"size":{
|
||||
"x":32,
|
||||
"y":32
|
||||
},
|
||||
"license":"CC-BY-SA-3.0",
|
||||
"copyright":"Taken from https://github.com/tgstation/tgstation",
|
||||
"states":[
|
||||
{
|
||||
"name": "activated",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[0.1,
|
||||
0.1,
|
||||
0.1]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.1 KiB |