mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
revive on ending/ng+
This commit is contained in:
parent
9e06b6d72f
commit
5220185c3e
1 changed files with 5 additions and 1 deletions
|
@ -13,7 +13,11 @@ rpc.opts_reliable()
|
|||
rpc.opts_everywhere()
|
||||
function rpc.gather_and_do_ending(x, y, sx, sy)
|
||||
net.proxy_send("reset_world", "")
|
||||
|
||||
|
||||
if EntityHasTag(ctx.my_player.entity, "ew_notplayer") then
|
||||
EntityInflictDamage(ctx.my_player.entity, 1000000, "DAMAGE_CURSE", "revive", "NONE", 0, 0, GameGetWorldStateEntity())
|
||||
end
|
||||
|
||||
EntitySetTransform(ctx.my_player.entity, x, y)
|
||||
|
||||
local entity = EntityCreateNew("totally_sampo")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue