Mini Gravity Generator (#8449)

* meenee

* Update Resources/Prototypes/Entities/Structures/Machines/gravity_generator.yml

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
EmoGarbage404
2022-05-26 23:08:05 -04:00
committed by GitHub
parent 5d8cdf10bf
commit d908435222
5 changed files with 54 additions and 0 deletions

View File

@@ -70,3 +70,37 @@
# Gravity generator is a large machine, not casting shadows is fine within the radius set above.
castShadows: false
color: "#a8ffd9"
- type: entity
id: GravityGeneratorMini
parent: GravityGenerator
name: mini gravity generator
description: It's what keeps you to the floor, now in fun size.
components:
- type: Sprite
netsync: false
sprite: Structures/Machines/gravity_generator_mini.rsi
layers:
- state: on
map: ["enum.GravityGeneratorVisualLayers.Base"]
- sprite: Structures/Machines/gravity_generator_core.rsi
state: activated
shader: unshaded
map: ["enum.GravityGeneratorVisualLayers.Core"]
scale: "0.4,0.4"
offset: "0,0.2"
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.4,-0.4,0.4,0.4"
mass: 500
mask:
- LargeMobMask
layer:
- WallLayer
- type: GravityGenerator
idlePower: 15
activePower: 500
lightRadiusMin: 0.75
lightRadiusMax: 2.5

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 B

View File

@@ -0,0 +1,20 @@
{
"version":1,
"license": "CC-BY-SA-4.0",
"copyright": "By Peptide90 for OR14 and SS14",
"size":{
"x": 32,
"y": 32
},
"states":[
{
"name":"on"
},
{
"name": "off"
},
{
"name": "broken"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 B