write something there
This commit is contained in:
commit
b4b6c08f4f
8546 changed files with 309825 additions and 0 deletions
19
mods/asuna/asuna_awards/awards/the_prestige.lua
Normal file
19
mods/asuna/asuna_awards/awards/the_prestige.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
return function(award)
|
||||
local ogacp = awards.clear_player
|
||||
awards.clear_player = function(name)
|
||||
local had_cosmopolitan = awards.player(name).unlocked["asuna_awards:cosmopolitan"]
|
||||
local retval = ogacp(name)
|
||||
if had_cosmopolitan then
|
||||
awards.unlock(name,award)
|
||||
end
|
||||
return retval
|
||||
end
|
||||
|
||||
return {
|
||||
title = "The Prestige",
|
||||
description = "Reset your awards after earning Cosmopolitan",
|
||||
difficulty = 1000,
|
||||
icon = "cdb_update.png",
|
||||
secret = true,
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue