Class Lemon
Parent: Powerup
Lemons are the most powerful powerups in the game. Alex gains the ability to jump higher, gets resistant against all kinds of enemies, etc. Lemons wildly jump around and are hard to catch. Even if catched, its effect only lasts a fixed period of time (which is hardcoded into TSC, thus not configurable via the scripting API).
Class Methods
new
new() → a_lemon
Creates a new lemon powerup with the default values.
Instance Methods
activate!
activate!()
Apply the item to Alex. Doing so will destroy the lemon. If Alex already has lemon effect, the lemon effect time is reset to 0.
glimming=
glimming=( bool ) → bool
TODO: Docs.
glimming?
glimming?() → true or false
TODO: Docs.