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

Archers/Slingers can not start with ego ammo, to prevent problems

git-svn-id: http://svn.net-core.org/repos/t-engine4@1827 51575b47-30f0-44d4-a5cc-537603b46e54
parent 457a6fad
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ newBirthDescriptor{
copy = {
equipment = resolvers.equip{ id=true,
{type="weapon", subtype="longbow", name="elm longbow", autoreq=true},
{type="ammo", subtype="arrow", name="elm arrow", autoreq=true},
{type="ammo", subtype="arrow", name="elm arrow", ego_chance=-1000, autoreq=true},
},
},
}
......@@ -112,7 +112,7 @@ newBirthDescriptor{
copy = {
equipment = resolvers.equip{ id=true,
{type="weapon", subtype="sling", name="rough leather sling", autoreq=true},
{type="ammo", subtype="shot", name="iron shot", autoreq=true},
{type="ammo", subtype="shot", name="iron shot", ego_chance=-1000, autoreq=true},
},
},
}
......@@ -17,10 +17,6 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
--------------------------------------------------------------------------
-- The Old Forest
--------------------------------------------------------------------------
newLore{
id = "troll-poem-1",
category = "misc",
......
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
setStatusAll{no_teleport=true}
rotates = {"default", "90", "180", "270", "flipx", "flipy"}
defineTile('.', "GRASS_DARK1")
defineTile('#', "TREE_DARK")
defineTile('X', "HARDTREE_DARK")
defineTile('~', "POISON_SHALLOW_WATER")
defineTile('!', "ROCK_VAULT")
defineTile('m', nil, {random_filter={subtype="molds", add_levels=2}})
defineTile('j', nil, {random_filter={subtype="oozes", add_levels=2}})
defineTile('$', {random_filter={add_levels=5, ego_chance=25}})
startx = 19
starty = 7
return {
[[#XXXXXXXXX#####XXXX#]],
[[XXm~..~.~XXXX#XX$$XX]],
[[X~~...j..~~jXXXmmmmX]],
[[X~...mXX.j...j..jjXX]],
[[Xm..~XXXXX~~.~.jXXX#]],
[[XX.mmXXXXXXXXXXXX###]],
[[XmmmXXXXXXXXXXXXXXXX]],
[[X~..mXXXX~.mmXXm...!]],
[[XXm...m.........~mXX]],
[[#XXXX~~.mXXXm~m~XXX#]],
[[####XXXXXX#XXXXXX###]],
}
......@@ -38,7 +38,7 @@ return {
edge_entrances = {6,4},
rooms = {"forest_clearing", {"lesser_vault",8}},
rooms_config = {forest_clearing={pit_chance=5, filters={{type="insect", subtype="ant"}, {type="insect"}, {type="animal", subtype="snake"}, {type="animal", subtype="canine"}}}},
lesser_vaults_list = {"honey_glade_dark", "troll-hideout-dark", "mage-hideout-dark", "thief-hideout-dark", "plantlife-dark"},
lesser_vaults_list = {"honey_glade_dark", "troll-hideout-dark", "mage-hideout-dark", "thief-hideout-dark", "plantlife-dark", "mold-path-dark"},
['.'] = "GRASS_DARK1",
['#'] = {"TREE_DARK1","TREE_DARK2","TREE_DARK3","TREE_DARK4","TREE_DARK5","TREE_DARK6","TREE_DARK7","TREE_DARK8","TREE_DARK9","TREE_DARK10","TREE_DARK11","TREE_DARK12","TREE_DARK13","TREE_DARK14","TREE_DARK15","TREE_DARK16","TREE_DARK17","TREE_DARK18","TREE_DARK19","TREE_DARK20",},
up = "UP",
......
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