Skip to content
Snippets Groups Projects
Commit 210867c9 authored by Otowa Kotori's avatar Otowa Kotori
Browse files

No more negative fortress energy

parent bb138345
No related branches found
No related tags found
1 merge request!630otowakotori 1.7 misc fixes
......@@ -211,7 +211,7 @@ newChat{ id="permanent-cloak",
However, I suggest you still carry it with you in case something manages to remove it from you.]],
answers = {
{_t"Not now."},
{_t"That could be quite useful. Yes, please do it.", action=function(npc, player)
{_t"That could be quite useful. Yes, please do it.", cond=function() return q.shertul_energy >= 10 end,action=function(npc, player)
local cloak = player:findInAllInventoriesBy("define_as", "CLOAK_DECEPTION")
cloak.upgraded_cloak = true
player.permanent_undead_cloak = true -- Prevents the effect being removed from moving the flags
......
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