Generator with Power Cell

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

  1. WHEN [interacted] DO [it][pick up][me]
  2. 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

  1. WHEN [interacted]
  2. …WHEN [it][inventory][contains][iwp:power cell] DO [power on]
  3. …/…WHEN DO [pick up][iwp:Power cell]
  4. WHEN [has power] DO [move][with flying][object down][at speed][0.18]
  5. …WHEN [started to] DO [play sound][Power cell insert]
  6. …WHEN [countdown timer][0.45] DO [iwp:Power generator][power on]
  7. …WHEN DO [switch page][page: @Interacted – Power off]
  8. …WHEN [else] DO [hologram][black]

page 2 @Interacted – Power off

  1. WHEN [after][interacted] DO [move][with flying][object up][at speed][0.18]
  2. …WHEN [started to] DO [play sound][Power cell remove]
  3. …WHEN [started to] DO [it][pick up][iwp:Power cell]
  4. …WHEN DO [hologram][black]
  5. ….WHEN DO [iwp:power generator][power off]
  6. …WHEN [countdown timer][0.45]
  7. …/…WHEN DO [power off]
  8. …/…WHEN DO [switch page][@Interact – Power on]

Alterations

Project Spark Alphabet

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: