mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-11-18 17:17:31 +00:00
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:
parent
52e23df1ee
commit
6703074900
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user