From c09270d39afc6adb8a5488e4767f8b4b5d22f72c Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Wed, 13 Jan 2010 13:25:43 +0000 Subject: [PATCH] rodents git-svn-id: http://svn.net-core.org/repos/t-engine4@239 51575b47-30f0-44d4-a5cc-537603b46e54 --- .../modules/tome/data/general/npcs/rodent.lua | 94 +++++++++++++++++++ .../tome/data/zones/tower-amon-sul/npcs.lua | 1 + .../tome/data/zones/trollshaws/npcs.lua | 1 + 3 files changed, 96 insertions(+) create mode 100644 game/modules/tome/data/general/npcs/rodent.lua diff --git a/game/modules/tome/data/general/npcs/rodent.lua b/game/modules/tome/data/general/npcs/rodent.lua new file mode 100644 index 0000000000..e02aafa4ea --- /dev/null +++ b/game/modules/tome/data/general/npcs/rodent.lua @@ -0,0 +1,94 @@ +local Talents = require("engine.interface.ActorTalents") + +newEntity{ --rodent base + define_as = "BASE_NPC_RODENT", + type = "vermin", subtype = "rodent", + display = "r", color=colors.WHITE, + can_multiply = 2, + body = { INVEN = 10 }, + + autolevel = "warrior", + ai = "dumb_talented_simple", ai_state = { talent_in=3, }, + energy = { mod=1 }, + stats = { str=8, dex=15, mag=3, con=5 }, + combat_armor = 1, combat_def = 1, +} + +newEntity{ base = "BASE_NPC_RODENT", + name = "giant white mouse", color=colors.WHITE, + level_range = {1, 3}, exp_worth = 1, + rarity = 4, + max_life = resolvers.rngavg(5,9), + combat = { dam=5, atk=15, apr=10 }, +} + +newEntity{ base = "BASE_NPC_RODENT", + name = "giant brown mouse", color=colors.UMBER, + level_range = {1, 3}, exp_worth = 1, + rarity = 4, + max_life = resolvers.rngavg(5,9), + combat = { dam=5, atk=15, apr=10 }, +} + +newEntity{ base = "BASE_NPC_RODENT", + name = "giant white rat", color=colors.WHITE, + level_range = {1, 4}, exp_worth = 1, + rarity = 5, + max_life = resolvers.rngavg(15,20), + combat = { dam=7, atk=15, apr=10 }, +} + +newEntity{ base = "BASE_NPC_RODENT", + name = "giant brown rat", color=colors.UMBER, + level_range = {1, 4}, exp_worth = 1, + rarity = 5, + max_life = resolvers.rngavg(15,20), + combat = { dam=7, atk=15, apr=10 }, +} + +newEntity{ base = "BASE_NPC_RODENT", + name = "giant rabbit", color=colors.UMBER, + desc = [[Kill the wabbit, kill the wabbit, kill the wabbbbbiiiiiit.]], + level_range = {1, 4}, exp_worth = 1, + rarity = 6, + max_life = resolvers.rngavg(20,30), + combat = { dam=8, atk=16, apr=10 }, +} + +newEntity{ base = "BASE_NPC_RODENT", + name = "giant crystal rat", color=colors.PINK, + desc = [[Instead of fur this rat has crystals growing on its back which provide extra protection.]], + level_range = {1, 5}, exp_worth = 1, + rarity = 6, + max_life = resolvers.rngavg(35,50), + combat = { dam=7, atk=15, apr=10 }, + combat_armor = 4, combat_def = 2, +} + +newEntity{ base = "BASE_NPC_RODENT", + name = "cute little bunny", color=colors.SALMON, + desc = [[It looks at you with cute little eyes before jumping at you with razor sharp teeth.]], + level_range = {1, 15}, exp_worth = 3, + rarity = 200, + max_life = resolvers.rngavg(15,20), + combat = { dam=50, atk=15, apr=10 }, + combat_armor = 1, combat_def = 20, +} + +newEntity{ base = "BASE_NPC_RODENT", + name = "giant grey mouse", color=colors.SLATE, + level_range = {1, 3}, exp_worth = 1, + rarity = 6, + max_life = resolvers.rngavg(5,9), + combat = { dam=5, atk=15, apr=10 }, + talents = resolvers.talents{ [Talents.T_CRAWL_POISON]=1 }, +} + +newEntity{ base = "BASE_NPC_RODENT", + name = "giant grey rat", color=colors.SLATE, + level_range = {1, 4}, exp_worth = 1, + rarity = 7, + max_life = resolvers.rngavg(15,20), + combat = { dam=7, atk=15, apr=10 }, + talents = resolvers.talents{ [Talents.T_CRAWL_POISON]=1 }, +} diff --git a/game/modules/tome/data/zones/tower-amon-sul/npcs.lua b/game/modules/tome/data/zones/tower-amon-sul/npcs.lua index 46abce38bd..54e3da8472 100644 --- a/game/modules/tome/data/zones/tower-amon-sul/npcs.lua +++ b/game/modules/tome/data/zones/tower-amon-sul/npcs.lua @@ -1,3 +1,4 @@ +load("/data/general/npcs/rodent.lua") load("/data/general/npcs/vermin.lua") load("/data/general/npcs/molds.lua") load("/data/general/npcs/skeleton.lua") diff --git a/game/modules/tome/data/zones/trollshaws/npcs.lua b/game/modules/tome/data/zones/trollshaws/npcs.lua index b107ab1ce4..386498d0d4 100644 --- a/game/modules/tome/data/zones/trollshaws/npcs.lua +++ b/game/modules/tome/data/zones/trollshaws/npcs.lua @@ -1,3 +1,4 @@ +load("/data/general/npcs/rodent.lua") load("/data/general/npcs/vermin.lua") load("/data/general/npcs/wolf.lua") load("/data/general/npcs/troll.lua") -- GitLab