Effects

From Esolang
Jump to navigation Jump to search

This esolang made by User:A() is based on video game effects.

Commands

Commands
Commands Disc
[Name][+_hp][+_h] Name effect, inc heath by _, inc hunger by _
[Alter_ if _] Do _ while hp or h is not 0
[HAX _] User input for hp or h
[Deactivate _] Deactivate effect
[Respawn] Respawn if hp is 0 and reset hp and h to 1
[Activate _] Activate effect
[Chat _] print _

Every tick the effects inc or dec the hp and h. If more than ten effects are active the console will print this message:

Player was overloaded with effects.

Programs

Truth-machine

[Respawn]
[Milk][+0 hp][+1 H]
[Activate Milk]
[HAX hp]
[Alter [Chat hp] if hp]

A+B

[Respawn]
[Convert][+1 hp][+-1 H]
[HAX hp]
[HAX h]
[Alter [Activate Convert] if hp]
[Deactivate Convert]
[Chat hp]

A-B

[Respawn]
[Convert][+-1 hp][+-1 H]
[HAX hp]
[HAX h]
[Alter [Activate Convert] if hp]
[Deactivate Convert]
[Chat hp]