Skip to content
Snippets Groups Projects
Commit f4a53016 authored by dg's avatar dg
Browse files

more worms

git-svn-id: http://svn.net-core.org/repos/t-engine4@318 51575b47-30f0-44d4-a5cc-537603b46e54
parent 3acb88df
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,8 @@ newEntity{ define_as = "SANDWORM_TUNNELER",
max_life = 500,
energy = {mod=0.5},
move_body = 1,
autolevel = "warrior",
ai = "sandworm_tunneler", ai_state = {},
}
......@@ -33,8 +35,9 @@ newEntity{ define_as = "SANDWORM_QUEEN",
resists = { [DamageType.FIRE] = -50 },
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
equipment = resolvers.equip{ {type="armor", subtype="shield", defined="OLD_MAN_WILLOW_SHIELD"}, },
drops = resolvers.drops{chance=100, nb=5, {ego_chance=100} },
resolvers.drops{chance=100, nb=1, {defined="TOME_OF_IMPROVEMENT"}, },
resolvers.drops{chance=100, nb=5, {ego_chance=100} },
talents = resolvers.talents{
[Talents.T_STAMINA_POOL]=1, [Talents.T_STUN]=2,
......
load("/data/general/objects/objects.lua")
-- Artifact, droped (and used!) by Bill the Stone Troll
-- Artifact, droped by the sandworm queen
newEntity{
define_as = "TOME_OF_IMPROVEMENT",
type = "scroll", subtype = "tome",
name = "Tome of Improvemend", unique=true,
display = "?", color=colors.VIOLET,
desc = [[This very rare tome of power contains magic words that can make the user stronger, wiser, more able, ...]],
cost = 4000,
newEntity{ base = "BASE_SHIELD",
define_as = "OLD_MAN_WILLOW_SHIELD",
name = "Old Man's Willow Barkwood", unique=true,
desc = [[The barkwood of the Old Man's Willow, made into roughtly the shape of a shield.]],
require = { stat = { str=25 }, },
cost = 20,
special_combat = {
dam = resolvers.rngavg(20,30),
physcrit = 2,
dammod = {str=1.5},
},
wielder = {
combat_armor = 5,
combat_def = 9,
fatigue = 14,
resists = {
[DamageType.FIRE] = -20,
[DamageType.COLD] = 20,
[DamageType.NATURE] = 20,
},
},
use_simple = { name="increase talent and stat points", use = function(self, who)
game.logPlayer(who, "#00FFFF#You read the tome alound and feel its magic change you!")
who.unused_stats = who.unused_stats + 3
who.unused_talents = who.unused_talents + 2
game.logPlayer(who, "You have %d stat point(s) to spend. Press G to use them.", who.unused_stats)
game.logPlayer(who, "You have %d talent point(s) to spend. Press G to use them.", who.unused_talents)
return "destroy", true
end}
}
......@@ -4,14 +4,15 @@ return {
level_scheme = "player",
max_level = 7,
width = 50, height = 50,
all_remembered = true,
all_lited = true,
-- all_remembered = true,
-- all_lited = true,
-- persistant = true,
generator = {
map = {
class = "engine.generator.map.Roomer",
no_tunnels = true,
nb_rooms = 10,
lite_room_chance = 0,
rooms = {"forest_clearing"},
['.'] = "SAND",
['#'] = "SANDWALL",
......@@ -25,7 +26,7 @@ return {
adjust_level = {-1, 2},
guardian = "SANDWORM_QUEEN",
-- Number of tunnelers + 2 (one per stair)
nb_tunnelers = 2,
nb_tunnelers = 3,
},
object = {
class = "engine.generator.object.Random",
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment