aboutsummaryrefslogtreecommitdiff
path: root/src/char_theif.moon
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_theif.moon')
-rw-r--r--src/char_theif.moon25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/char_theif.moon b/src/char_theif.moon
new file mode 100644
index 0000000..6a074ac
--- /dev/null
+++ b/src/char_theif.moon
@@ -0,0 +1,25 @@
+char = require "char"
+reg = require "ability_reg"
+require "a_knifeslip"
+require "a_hackysacks"
+
+mod = ...
+
+mod.char = {
+ name: "Juggler",
+ default_position: 2,
+ default_abilities: {reg.KnifeSlip, reg.Juggle},
+ default_maxhp: 3,
+ default_hp: 3,
+ default_maxstamina: 5
+ default_stamina: 5
+ default_maxmana: 1
+ default_mana: 1
+ sprite:"data/character_2.png"
+}
+for k,v in pairs(mod.char)
+ mod[k] = v
+
+char.classes[mod.char.name] = mod.char
+
+mod