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

moar vaults

Dialogs titels are in bold


git-svn-id: http://svn.net-core.org/repos/t-engine4@1242 51575b47-30f0-44d4-a5cc-537603b46e54
parent 549c965e
No related branches found
No related tags found
No related merge requests found
......@@ -196,8 +196,10 @@ function _M:display()
s:merge(tiles:get(nil, 0,0,0, 0,0,0, "border_4.png"), self.w - 3, i)
end
self.font:setStyle("bold")
local tw, th = self.font:size(self.title)
s:drawColorStringBlended(self.font, self.title, (self.w - tw) / 2, 4, 255,255,255)
self.font:setStyle("normal")
self.internal_surface:erase()
self:drawDialog(self.internal_surface)
......
-- ToME - Tales of Middle-Earth
-- 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('#', "WALL")
defineTile('X', "TREE_DARK1")
defineTile('+', "DOOR")
defineTile('s', "GRASS_DARK1", nil, {random_filter={name="skeleton mage", add_levels=6}})
defineTile('$', "FLOOR", {random_filter={type="scroll"}}, nil)
startx = 1
starty = 7
return {
[[XXXXXXXXXXX]],
[[X,,X,,,X,X,]],
[[X,X,,,,,,XX]],
[[X,X,,s####X]],
[[X,X,,,#$$#X]],
[[X,XX,,+$$#X]],
[[X,,XX,####X]],
[[X,,,XXXXXXX]],
}
-- ToME - Tales of Middle-Earth
-- 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")
defineTile('#', "WALL")
defineTile('X', "TREE")
defineTile('+', "DOOR")
defineTile('s', "GRASS", nil, {random_filter={name="skeleton mage", add_levels=6}})
defineTile('$', "FLOOR", {random_filter={type="scroll"}}, nil)
startx = 1
starty = 7
return {
[[XXXXXXXXXXX]],
[[X,,X,,,X,X,]],
[[X,X,,,,,,XX]],
[[X,X,,s####X]],
[[X,X,,,#$$#X]],
[[X,XX,,+$$#X]],
[[X,,XX,####X]],
[[X,,,XXXXXXX]],
}
-- ToME - Tales of Middle-Earth
-- 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('.', "FLOOR")
defineTile(',', "GRASS_DARK1")
defineTile('~', "SHALLOW_WATER")
defineTile('#', "HARDWALL")
defineTile('X', "TREE_DARK1")
defineTile('+', "DOOR")
defineTile('T', "FLOOR", {random_filter={type="potion"}}, {random_filter={name="forest troll",add_levels=10}})
defineTile('t', "FLOOR", nil, {random_filter={name="forest troll"}})
defineTile('$', "FLOOR", {random_filter={type="potion"}}, nil)
return {
[[,,,,,,,,,,,,,,,,,,,,,,]],
[[,,,XX,,X,,,,,,,,,,X,,,]],
[[,,X~~~~~~~,,~~~~~XXX,,]],
[[,XX~#####~,,~#####~,,,]],
[[,XX~#...#~~~~#...#~,X,]],
[[,XX~#.t.######.t.#~,,,]],
[[,,X~#...#.t..#...#~,X,]],
[[,XX~####+..t.+####~,,,]],
[[,XX~~~#....#####~~~,,,]],
[[,,,..t+....#$$$#~,,,X,]],
[[,,,..t+....+$$T#~,,,x,]],
[[,XX~~~#....#####~~~,X,]],
[[,,X~####+....+####~,X,]],
[[,,X~#...#....#...#~,X,]],
[[,,X~#.t.######.t.#~,,,]],
[[,XX~#...#~~~~#...#~,,,]],
[[,,X~#####~,,~#####~,,,]],
[[,,X~~~~~~~,,~~~~~~~,,,]],
[[,,XXX,X,,XXX,X,,XXX,,,]],
[[,,,,,,,,,,,,,,,,,,,,,,]],
}
-- ToME - Tales of Middle-Earth
-- 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('.', "FLOOR")
defineTile(',', "GRASS")
defineTile('~', "SHALLOW_WATER")
defineTile('#', "HARDWALL")
defineTile('X', "TREE")
defineTile('+', "DOOR")
defineTile('T', "FLOOR", {random_filter={type="potion"}}, {random_filter={name="forest troll"}})
defineTile('t', "FLOOR", nil, {random_filter={name="forest troll"}})
defineTile('$', "FLOOR", {random_filter={type="potion"}}, nil)
return {
[[,,,,,,,,,,,,,,,,,,,,,,]],
[[,,,XX,,X,,,,,,,,,,X,,,]],
[[,,X~~~~~~~,,~~~~~XXX,,]],
[[,XX~#####~,,~#####~,,,]],
[[,XX~#...#~~~~#...#~,X,]],
[[,XX~#.t.######.t.#~,,,]],
[[,,X~#...#.t..#...#~,X,]],
[[,XX~####+..t.+####~,,,]],
[[,XX~~~#....#####~~~,,,]],
[[,,,..t+....#$$$#~,,,X,]],
[[,,,..t+....+$$T#~,,,x,]],
[[,XX~~~#....#####~~~,X,]],
[[,,X~####+....+####~,X,]],
[[,,X~#...#....#...#~,X,]],
[[,,X~#.t.######.t.#~,,,]],
[[,XX~#...#~~~~#...#~,,,]],
[[,,X~#####~,,~#####~,,,]],
[[,,X~~~~~~~,,~~~~~~~,,,]],
[[,,XXX,X,,XXX,X,,XXX,,,]],
[[,,,,,,,,,,,,,,,,,,,,,,]],
}
......@@ -19,3 +19,4 @@
load("/data/general/grids/basic.lua")
load("/data/general/grids/forest.lua")
load("/data/general/grids/water.lua")
......@@ -36,7 +36,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"},
lesser_vaults_list = {"honey_glade_dark", "troll-hideout-dark", "mage-hideout-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",
......
......@@ -48,7 +48,7 @@ return {
nb_rooms = {0,0,0,1},
rooms = {"lesser_vault"},
lesser_vaults_list = {"honey_glade", "forest-ruined-building1", "forest-ruined-building2", "forest-ruined-building3", "forest-snake-pit"},
lesser_vaults_list = {"honey_glade", "forest-ruined-building1", "forest-ruined-building2", "forest-ruined-building3", "forest-snake-pit", "mage-hideout-dark"},
lite_room_chance = 100,
},
actor = {
......
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