-
Notifications
You must be signed in to change notification settings - Fork 0
Reactor
hail12pink edited this page Apr 20, 2022
·
7 revisions
This documentation is incomplete. Please contribute via Issues!
A structure which generates steam using water and heat from radiation.
Returns an array with four numeric values each representative of their fuel rod. The order is strict and goes from the first to the fourth fuel rod.
The following code will trigger the uranium dispenser when the reactor is out of fuel, thus auto-refilling it.
local reactor = GetPartFromPort(1, "Reactor")
local uraniumDispenser = GetPartFromPort(2, "Dispenser")
while task.wait() do
for _, fuelAmount in pairs(reactor:GetFuel()) do
if fuelAmount == 0 then
uraniumDispenser:Dispense()
task.wait(1)
end
end
end
Returns a numeric value representing the current temperature of the Reactor in Fahrenheit.
Home | Globals | Additional resources | TODO
-
Part
- Part.ClassName
- Part.Position
- Part.CFrame
- Part.GUID
- Part:GetColor()
- Part:GetSize()
- Part:Trigger()
- Part:Configure()
- Part:Connect()
- Evt Triggered
- Evt Configured
- Gyro
- Keyboard
- Microphone
- LifeSensor
- Instrument
- EnergyShield
- Disk
- Bin
- Container
- Modem
- Screen
- TouchSensor
- Button
- Light
- Rail
- StarMap
- Telescope
- Speaker
- Reactor
- Microcontroller
- Dispenser
- Faucet
- Servo
- BlackBox
Additional objects used in Microcontrollers
Public code that enhances the experience of using a Microcontroller.