0.1.2 • Published 9 years ago

hackscript v0.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
9 years ago

#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>

  2. Assignment

    <property | property chain>: <property>

##Examples

if enemy.distance < 2: player.activateShield

every 2000: player.heal

player.tunic.color: blue

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago