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