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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4210 51575b47-30f0-44d4-a5cc-537603b46e54
parent e3b249be
No related branches found
No related tags found
No related merge requests found
......@@ -53,8 +53,8 @@ function _M:gainAchievement(id, src, ...)
-- Do not unlock things in easy mode
if not a then return end
if game.difficulty == game.DIFFICULTY_EASY and not a.tutorial then return end
if game.permadeath == game.PERMADEATH_INFINITE and not a.tutorial then return end
if game.permadeath == game.PERMADEATH_INFINITE then id = "EXPLORATION_"..id end
if game.difficulty == game.DIFFICULTY_INSANE and game.permadeath == game.PERMADEATH_ONE then id = "INSANE_"..id end
mod.class.interface.WorldAchievements.gainAchievement(self, id, src, ...)
......
......@@ -31,10 +31,10 @@ function _M:newAchievement(t)
WA.newAchievement(self, t)
if not t.no_difficulty_duplicate then
-- local t2 = table.clone(t)
-- t2.id = "EXPLORATION_"..t2.id
-- t2.name = t2.name.." (Exploration difficulty)"
-- WA.newAchievement(self, t2)
local t2 = table.clone(t)
t2.id = "EXPLORATION_"..t2.id
t2.name = t2.name.." (Exploration mode)"
WA.newAchievement(self, t2)
local t2 = table.clone(t)
t2.id = "INSANE_"..t2.id
......
......@@ -202,7 +202,7 @@ newBirthDescriptor{
"Provides you with infinite lives.#{normal}#",
"This is not the way the game is meant to be played, but it allows you to have a more forgiving experience.",
"Remember though that dying is an integral part of the game and helps you become a better player.",
"No achievements will be granted in this mode.",
"Exploration version of achievements will be granted in this mode.",
},
copy = {
infinite_lifes = 1,
......
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