Make compatible with nightmare mode

- Remove perks as they are not needed, and not all are available in nightmare mode
This commit is contained in:
David Vogel 2019-11-28 21:05:50 +01:00
parent 52e23df1ee
commit 6703074900

View File

@ -18,16 +18,11 @@ local function preparePlayer()
local playerEntity = getPlayer() local playerEntity = getPlayer()
addEffectToEntity(playerEntity, "PROTECTION_ALL") addEffectToEntity(playerEntity, "PROTECTION_ALL")
addPerkToPlayer("BREATH_UNDERWATER") --addPerkToPlayer("BREATH_UNDERWATER")
addPerkToPlayer("INVISIBILITY") --addPerkToPlayer("INVISIBILITY")
addPerkToPlayer("REMOVE_FOG_OF_WAR") --addPerkToPlayer("REMOVE_FOG_OF_WAR")
addPerkToPlayer("REPELLING_CAPE") --addPerkToPlayer("REPELLING_CAPE")
addPerkToPlayer("WORM_DETRACTOR") --addPerkToPlayer("WORM_DETRACTOR")
setPlayerHP(CAPTURE_FORCE_HP)
end
local function resetPlayer()
setPlayerHP(CAPTURE_FORCE_HP) setPlayerHP(CAPTURE_FORCE_HP)
end end