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

Adventure mode only gets 7 lifes instead of 11

git-svn-id: http://svn.net-core.org/repos/t-engine4@2412 51575b47-30f0-44d4-a5cc-537603b46e54
parent a9df29a8
No related branches found
No related tags found
No related merge requests found
......@@ -1239,7 +1239,7 @@ function _M:levelup()
if self.level == 40 then world:gainAchievement("LEVEL_40", self) end
if self.level == 50 then world:gainAchievement("LEVEL_50", self) end
if (game.difficulty == game.DIFFICULTY_EASY or game.difficulty == game.DIFFICULTY_NORMAL) and (
if game.difficulty == game.DIFFICULTY_EASY and (
self.level == 2 or
self.level == 3 or
self.level == 5 or
......@@ -1252,6 +1252,17 @@ function _M:levelup()
self.level == 40
) then
self.easy_mode_lifes = (self.easy_mode_lifes or 0) + 1
game.logPlayer(self, "#AQUAMARINE#You have gained one more life (%d remaining).", self.easy_mode_lifes)
elseif game.difficulty == game.DIFFICULTY_NORMAL and (
self.level == 2 or
self.level == 5 or
self.level == 7 or
self.level == 14 or
self.level == 24 or
self.level == 35
) then
self.easy_mode_lifes = (self.easy_mode_lifes or 0) + 1
game.logPlayer(self, "#AQUAMARINE#You have gained one more life (%d remaining).", self.easy_mode_lifes)
end
end
end
......
......@@ -28,8 +28,8 @@ newBirthDescriptor{
subclass =
{
__ALL__ = "disallow",
["Paradox Mage"] = "allow",
["Temporal Warden"] = "allow",
["Paradox Mage"] = function() return profile.mod.allow_build.chronomancer_paradox_mage and "allow" or "disallow" end,
["Temporal Warden"] = function() return profile.mod.allow_build.chronomancer_temporal_warden and "allow" or "disallow" end,
},
},
copy = {
......
......@@ -145,7 +145,7 @@ newBirthDescriptor{
"#GOLD##{bold}#Adventure mode#WHITE#",
"Provides the normal game experience but with limited extra lifes.",
"Use it if you want a normal playing conditions but do not feel ready for just one life.#{normal}#",
"At level 1,2,3,5,7,10,14,18,24,30,40 get one more 'life' that allows to resurrect at the start of the level.",
"At level 1,2,5,7,14,24,35 get one more 'life' that allows to resurrect at the start of the level.",
},
descriptor_choices =
{
......
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