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

Overseer of Nations correctly increases infravision and heigthened senses

git-svn-id: http://svn.net-core.org/repos/t-engine4@5809 51575b47-30f0-44d4-a5cc-537603b46e54
parent 55f07251
No related branches found
No related tags found
No related merge requests found
......@@ -398,7 +398,7 @@ function _M:loadScreen(mod)
local has_max = mod.loading_wait_ticks
if has_max then core.wait.addMaxTicks(has_max) end
local i, max, dir = has_max or 20, has_max or 20, -1
local backname = util.getval(mod.background_name)
local backname = util.getval(mod.background_name) or "tome"
local bkgs = core.display.loadImage("/data/gfx/background/"..backname..".png") or core.display.loadImage("/data/gfx/background/tome.png")
local sw, sh = core.display.size()
......
......@@ -64,9 +64,13 @@ newTalent{
mode = "passive",
on_learn = function(self, t)
self.sight = self.sight + 1
self.heightened_senses = (self.heightened_senses or 0) + 1
self.infravision = (self.infravision or 0) + 1
end,
on_unlearn = function(self, t)
self.sight = self.sight - 1
self.heightened_senses = (self.heightened_senses or 0) - 1
self.infravision = (self.infravision or 0) - 1
end,
info = function(self, t)
return ([[While Highers are not meant to rule other humans - and show no particular will to do so - they are frequently called to higher duties.
......
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