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

bump 42

git-svn-id: http://svn.net-core.org/repos/t-engine4@5365 51575b47-30f0-44d4-a5cc-537603b46e54
parent 736441fe
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@
-- darkgod@te4.org
-- Engine Version
engine.version = {0,9,41,"te4",17}
engine.version = {0,9,42,"te4",17}
engine.require_c_core = engine.version[5]
engine.version_id = ("%s-%d_%d.%d.%d"):format(engine.version[4], engine.require_c_core, engine.version[1], engine.version[2], engine.version[3])
......
......@@ -23,7 +23,7 @@ short_name = "example"
author = { "DarkGod", "darkgod@te4.org" }
homepage = "http://te4.org/modules:example"
version = {1,0,0}
engine = {0,9,41,"te4"}
engine = {0,9,42,"te4"}
description = [[
This is *NOT* a game, just an example/template to make your own using the T-Engine4.
]]
......
......@@ -23,7 +23,7 @@ short_name = "example_realtime"
author = { "DarkGod", "darkgod@te4.org" }
homepage = "http://te4.org/modules:example"
version = {1,0,0}
engine = {0,9,41,"te4"}
engine = {0,9,42,"te4"}
description = [[
This is *NOT* a game, just an example/template to make your own using the T-Engine4.
]]
......
......@@ -356,7 +356,7 @@ function _M:activate()
game.uiset.logdisplay(...) else game.uiset.logdisplay(style, ...) end
if game.uiset.show_userchat then game.uiset.logdisplay.changed = old end
end
game.logSeen = function(e, style, ...) if e and e.x and e.y and game.level.map.seens(e.x, e.y) then game.log(style, ...) end end
game.logSeen = function(e, style, ...) if e and e.x and e.y and game.level and game.level.map.seens(e.x, e.y) then game.log(style, ...) end end
game.logPlayer = function(e, style, ...) if e == game.player or e == game.party then game.log(style, ...) end end
self:boundPlaces()
......
......@@ -82,6 +82,7 @@ defineTile('1', mod.class.Grid.new{
game.logPlayer(actor, "Something in the floor clicks ominously, and suddenly the world spins around you!")
local g = game.zone:makeEntityByName(game.level, "terrain", "FLOOR")
if not g then return end
game.zone:addEntity(game.level, g, "terrain", x, y)
end,
}
......@@ -98,6 +99,7 @@ defineTile('2', mod.class.Grid.new{
if forced then return end
local g = game.zone:makeEntityByName(game.level, "terrain", "HARDWALL")
local f = game.zone:makeEntityByName(game.level, "terrain", "FLOOR")
if not g or not f then return end
game.zone:addEntity(game.level, g, "terrain", x - 1, y)
game.nicer_tiles:updateAround(game.level, x - 1, y)
game.zone:addEntity(game.level, f, "terrain", x, y + 1)
......@@ -126,6 +128,7 @@ defineTile('3', mod.class.Grid.new{
if not actor.player then return end
if forced then return end
local g = game.zone:makeEntityByName(game.level, "terrain", "FLOOR")
if not g then return end
game.zone:addEntity(game.level, g, "terrain", x + 1, y)
game.nicer_tiles:updateAround(game.level, x + 1, y)
......@@ -145,6 +148,7 @@ defineTile('4', mod.class.Grid.new{
if forced then return end
local g = game.zone:makeEntityByName(game.level, "terrain", "HARDMOUNTAIN_WALL")
local f = game.zone:makeEntityByName(game.level, "terrain", "ROCKY_GROUND")
if not g or not f then return end
game.zone:addEntity(game.level, g, "terrain", x + 1, y)
game.nicer_tiles:updateAround(game.level, x + 1, y)
game.zone:addEntity(game.level, f, "terrain", x, y + 1)
......@@ -176,6 +180,7 @@ defineTile('5', mod.class.Grid.new{
if not actor.player then return end
if forced then return end
local g = game.zone:makeEntityByName(game.level, "terrain", "ROCKY_GROUND")
if not g then return end
game.zone:addEntity(game.level, g, "terrain", x - 1, y)
game.nicer_tiles:updateAround(game.level, x - 1, y)
game.zone:addEntity(game.level, g, "terrain", x, y)
......@@ -225,4 +230,4 @@ return {
[[#..+..U........UU....%a#.+.~=~~~~~#]],
[[###################################]],
}
\ No newline at end of file
}
......@@ -1101,7 +1101,7 @@ newEffect{
type = "mental",
subtype = { fear=true },
status = "detrimental",
parameters = {},
parameters = {damage=10},
on_gain = function(self, err) return "#F53CBE##Target# becomes haunted!", "+Haunted" end,
on_lose = function(self, err) return "#Target# is no longer haunted", "-Haunted" end,
activate = function(self, eff)
......@@ -1136,7 +1136,7 @@ newEffect{
type = "mental",
subtype = { fear=true },
status = "detrimental",
parameters = {},
parameters = {count=1, damage=10},
on_gain = function(self, err) return "#F53CBE##Target# becomes tormented!", "+Tormented" end,
on_lose = function(self, err) return "#Target# is no longer tormented", "-Tormented" end,
activate = function(self, eff)
......
......@@ -22,8 +22,8 @@ long_name = "Tales of Maj'Eyal: Age of Ascendancy"
short_name = "tome"
author = { "DarkGod", "darkgod@te4.org" }
homepage = "http://tome.te4.org/"
version = {3,9,41}
engine = {0,9,41,"te4"}
version = {3,9,42}
engine = {0,9,42,"te4"}
description = [[
Welcome to Maj'Eyal.
......
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