summaryrefslogtreecommitdiff
path: root/data/enemyData.lua
diff options
context:
space:
mode:
Diffstat (limited to 'data/enemyData.lua')
-rw-r--r--data/enemyData.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/data/enemyData.lua b/data/enemyData.lua
index 3d9be6f..3d6ad7a 100644
--- a/data/enemyData.lua
+++ b/data/enemyData.lua
@@ -42,6 +42,28 @@ enemyData = {
{ type = "bigheart", amount = 1, chances = 1 }
},
},
+ librarian = {
+ size = 30,
+ zoom = 1/16,
+ speed = 40,
+ health = 100,
+ sprite = {
+ type = "spritesheet",
+ name = "librarian",
+ sheet = { row = 1, col = 6 },
+ totalFrames = 3,
+ frames = {
+ [Direction.LEFT] = { 4, 5, 6 },
+ [Direction.RIGHT] = { 1, 2, 3 },
+ [Direction.DOWN] = { 1, 2, 3 },
+ [Direction.UP] = { 4, 5, 6 }
+ },
+ },
+ drops = {
+ { type = "greenheart", amount = 1, chances = 1 },
+ { type = "greenheart", amount = 1, chances = 0.25 }
+ },
+ },
fairy = {
size = 8,
speed = 60,