timesynk/test/code/all.vmc

28 lines
426 B
Plaintext

{
Int T_PLAYER = 0;
Int T_NPC = 1;
Int addInts(Int first, Int second) {
lol /= 2;
return(first + second);
}
}
0 {
Int onSpawn() {
$self.type *= T_PLAYER; // addTablePair(Tile.data, "type", getVar("T_PLAYER"))
}
Int onTick(Int delta) {
not_test += 2;
}
Int onDeath() {
$game.broadcastMessage($self.name+" has died!");
}
}
0:0 {
Int onSpawn() {
$self.hp -= 2;
lol =+++;
}
}