Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 506 Bytes

File metadata and controls

24 lines (13 loc) · 506 Bytes

#HackScript

HackScript is the custom scripting language to accompany L.A.M.D.A. Quest. It is compiled to JavaScript and attached to game entities.

##Supported Syntax

  1. Conditionals

if <expression>: <propertychain | function call | expression | assignment>

  1. Timeouts

every <time in milliseconds>: <function name>

  1. Assignment

<property | property chain>: <property>

##Examples

if enemy.distance < 2: player.activateShield

every 2000: player.heal

player.tunic.color: blue