Type: Assembly Brain
Level: not in gallery
Pages: 2
Description: As found in the Generator with Power Cell assembly. This brain allows you to make a power cell into a type of key to activate the generator. The power cell slides into the machine and out as you interact with it.
Kode
Loose Power Cell
- WHEN [interacted] DO [it][pick up][me]
- WHEN [player][contains][owner] DO [display][me][screen top right][HUD justify right][small HUD]
Power cell attached to generator
page 1 @Interacted – Power On
- WHEN [interacted]
- …WHEN [it][inventory][contains][iwp:power cell] DO [power on]
- …/…WHEN DO [pick up][iwp:Power cell]
- WHEN [has power] DO [move][with flying][object down][at speed][0.18]
- …WHEN [started to] DO [play sound][Power cell insert]
- …WHEN [countdown timer][0.45] DO [iwp:Power generator][power on]
- …WHEN DO [switch page][page: @Interacted – Power off]
- …WHEN [else] DO [hologram][black]
page 2 @Interacted – Power off
- WHEN [after][interacted] DO [move][with flying][object up][at speed][0.18]
- …WHEN [started to] DO [play sound][Power cell remove]
- …WHEN [started to] DO [it][pick up][iwp:Power cell]
- …WHEN DO [hologram][black]
- ….WHEN DO [iwp:power generator][power off]
- …WHEN [countdown timer][0.45]
- …/…WHEN DO [power off]
- …/…WHEN DO [switch page][@Interact – Power on]
Alterations
Project Spark Alphabet