Gravity generator rewrite (#4828)

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Pieter-Jan Briers
2021-11-02 01:12:55 +01:00
committed by GitHub
parent 0e33b246db
commit 059fa9ae48
17 changed files with 739 additions and 361 deletions

View File

@@ -23,7 +23,6 @@
- type: Transform
anchored: true
- type: ApcPowerReceiver
powerLoad: 500
- type: ExtensionCableReceiver
- type: Physics
bodyType: Static
@@ -51,6 +50,10 @@
- !type:DoActsBehavior
acts: ["Breakage"]
- type: GravityGenerator
idlePower: 15
activePower: 500
lightRadiusMin: 0.75
lightRadiusMax: 2.5
- type: UserInterface
interfaces:
- key: enum.GravityGeneratorUiKey.Key
@@ -63,3 +66,8 @@
unpowered: "off"
off: "off"
on: "on"
- type: PointLight
energy: 0.5
# Gravity generator is a large machine, not casting shadows is fine within the radius set above.
castShadows: false
color: "#a8ffd9"