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