Skip to content

Commit

Permalink
mammals + birds
Browse files Browse the repository at this point in the history
  • Loading branch information
vllworldbuilding committed Nov 18, 2024
1 parent 8dec4cb commit 4b0f0ad
Show file tree
Hide file tree
Showing 96 changed files with 10,476 additions and 22 deletions.
96 changes: 96 additions & 0 deletions data-canary/monster/birds/agressive_chicken.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
local mType = Game.createMonsterType("Agressive Chicken")
local monster = {}

monster.description = "a agressive chicken"
monster.experience = 0
monster.outfit = {
lookType = 111,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0,
}

monster.health = 15000
monster.maxHealth = 15000
monster.race = "blood"
monster.corpse = 6042
monster.speed = 64
monster.manaCost = 220

monster.changeTarget = {
interval = 4000,
chance = 0,
}

monster.strategiesTarget = {
nearest = 100,
}

monster.flags = {
summonable = false,
attackable = true,
hostile = false,
convinceable = false,
pushable = true,
rewardBoss = false,
illusionable = true,
canPushItems = false,
canPushCreatures = false,
staticAttackChance = 90,
targetDistance = 1,
runHealth = 15,
healthHidden = false,
isBlockable = false,
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
}

monster.light = {
level = 0,
color = 0,
}

monster.voices = {
interval = 5000,
chance = 10,
{ text = "Gokgoooook", yell = false },
{ text = "Cluck Cluck", yell = false },
}

monster.loot = {
{ name = "meat", chance = 2120, maxCount = 2 },
{ id = 3606, chance = 950 }, -- egg
{ name = "worm", chance = 10000, maxCount = 3 },
{ name = "chicken feather", chance = 20000 },
}

monster.defenses = {
defense = 5,
armor = 1,
}

monster.elements = {
{ type = COMBAT_PHYSICALDAMAGE, percent = 0 },
{ type = COMBAT_ENERGYDAMAGE, percent = 0 },
{ type = COMBAT_EARTHDAMAGE, percent = 0 },
{ type = COMBAT_FIREDAMAGE, percent = 0 },
{ type = COMBAT_LIFEDRAIN, percent = 0 },
{ type = COMBAT_MANADRAIN, percent = 0 },
{ type = COMBAT_DROWNDAMAGE, percent = 0 },
{ type = COMBAT_ICEDAMAGE, percent = 0 },
{ type = COMBAT_HOLYDAMAGE, percent = 0 },
{ type = COMBAT_DEATHDAMAGE, percent = 0 },
}

monster.immunities = {
{ type = "paralyze", condition = false },
{ type = "outfit", condition = false },
{ type = "invisible", condition = false },
{ type = "bleed", condition = false },
}

mType:register(monster)
108 changes: 108 additions & 0 deletions data-canary/monster/birds/agrestic_chicken.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
local mType = Game.createMonsterType("Agrestic Chicken")
local monster = {}

monster.description = "an agrestic chicken"
monster.experience = 0
monster.outfit = {
lookType = 111,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0,
}

monster.raceId = 1979
monster.Bestiary = {
class = "Bird",

toKill = 250,
FirstUnlock = 10,
SecondUnlock = 100,
CharmsPoints = 5,
Stars = 1,
Occurrence = 0,
Locations = "Bounac, the Order of the Lion settlement.",
}

monster.health = 15
monster.maxHealth = 15
monster.race = "blood"
monster.corpse = 6042
monster.speed = 64
monster.manaCost = 0

monster.changeTarget = {
interval = 4000,
chance = 0,
}

monster.strategiesTarget = {
nearest = 100,
}

monster.flags = {
summonable = false,
attackable = true,
hostile = false,
convinceable = false,
pushable = false,
rewardBoss = false,
illusionable = true,
canPushItems = true,
canPushCreatures = false,
staticAttackChance = 90,
targetDistance = 1,
runHealth = 15,
healthHidden = false,
isBlockable = false,
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
}

monster.light = {
level = 0,
color = 0,
}

monster.voices = {
interval = 5000,
chance = 10,
}

monster.loot = {
{ name = "meat", chance = 2120, maxCount = 2 },
{ id = 3606, chance = 980, maxCount = 2 }, -- egg
{ name = "worm", chance = 11000, maxCount = 3 },
{ name = "chicken feather", chance = 19000, maxCount = 2 },
}

monster.defenses = {
defense = 5,
armor = 1,
mitigation = 0.05,
}

monster.elements = {
{ type = COMBAT_PHYSICALDAMAGE, percent = 0 },
{ type = COMBAT_ENERGYDAMAGE, percent = 0 },
{ type = COMBAT_EARTHDAMAGE, percent = 0 },
{ type = COMBAT_FIREDAMAGE, percent = 0 },
{ type = COMBAT_LIFEDRAIN, percent = 0 },
{ type = COMBAT_MANADRAIN, percent = 0 },
{ type = COMBAT_DROWNDAMAGE, percent = 0 },
{ type = COMBAT_ICEDAMAGE, percent = 0 },
{ type = COMBAT_HOLYDAMAGE, percent = 0 },
{ type = COMBAT_DEATHDAMAGE, percent = 0 },
}

monster.immunities = {
{ type = "paralyze", condition = true },
{ type = "outfit", condition = false },
{ type = "invisible", condition = true },
{ type = "bleed", condition = false },
}

mType:register(monster)
116 changes: 116 additions & 0 deletions data-canary/monster/birds/berserker_chicken.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
local mType = Game.createMonsterType("Berserker Chicken")
local monster = {}

monster.description = "a berserker chicken"
monster.experience = 220
monster.outfit = {
lookType = 111,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0,
}

monster.raceId = 561
monster.Bestiary = {
class = "Bird",
race = BESTY_RACE_BIRD,
toKill = 1000,
FirstUnlock = 50,
SecondUnlock = 500,
CharmsPoints = 25,
Stars = 3,
Occurrence = 1,
Locations = "Isle of Evil.",
}

monster.health = 465
monster.maxHealth = 465
monster.race = "blood"
monster.corpse = 6042
monster.speed = 83
monster.manaCost = 0

monster.changeTarget = {
interval = 5000,
chance = 8,
}

monster.strategiesTarget = {
nearest = 100,
}

monster.flags = {
summonable = false,
attackable = true,
hostile = true,
convinceable = false,
pushable = true,
rewardBoss = false,
illusionable = false,
canPushItems = false,
canPushCreatures = true,
staticAttackChance = 90,
targetDistance = 1,
runHealth = 0,
healthHidden = false,
isBlockable = false,
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
isPreyExclusive = true,
}

monster.light = {
level = 0,
color = 0,
}

monster.voices = {
interval = 5000,
chance = 10,
{ text = "Gokgoooook", yell = false },
{ text = "Cluck Cluck", yell = false },
{ text = "I will fill MY cushion with YOUR hair! CLUCK!", yell = false },
}

monster.loot = {
{ name = "gold coin", chance = 50000, maxCount = 100 },
}

monster.attacks = {
{ name = "melee", interval = 1200, chance = 100, minDamage = 0, maxDamage = -200 },
{ name = "combat", interval = 2000, chance = 30, type = COMBAT_PHYSICALDAMAGE, minDamage = 0, maxDamage = -100, range = 1, target = false },
{ name = "combat", interval = 2000, chance = 15, type = COMBAT_DROWNDAMAGE, minDamage = -41, maxDamage = -70, effect = CONST_ME_EXPLOSIONAREA, target = false },
}

monster.defenses = {
defense = 12,
armor = 12,
mitigation = 0.28,
{ name = "speed", interval = 1000, chance = 40, speedChange = 400, effect = CONST_ME_MAGIC_RED, target = false, duration = 8000 },
}

monster.elements = {
{ type = COMBAT_PHYSICALDAMAGE, percent = -10 },
{ type = COMBAT_ENERGYDAMAGE, percent = 10 },
{ type = COMBAT_EARTHDAMAGE, percent = 10 },
{ type = COMBAT_FIREDAMAGE, percent = 10 },
{ type = COMBAT_LIFEDRAIN, percent = 100 },
{ type = COMBAT_MANADRAIN, percent = 0 },
{ type = COMBAT_DROWNDAMAGE, percent = 100 },
{ type = COMBAT_ICEDAMAGE, percent = 10 },
{ type = COMBAT_HOLYDAMAGE, percent = 10 },
{ type = COMBAT_DEATHDAMAGE, percent = 10 },
}

monster.immunities = {
{ type = "paralyze", condition = true },
{ type = "outfit", condition = false },
{ type = "invisible", condition = true },
{ type = "bleed", condition = false },
}

mType:register(monster)
Loading

0 comments on commit 4b0f0ad

Please sign in to comment.