mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
display poly death messages better
This commit is contained in:
parent
fc9ba4ee06
commit
164721f6da
1 changed files with 5 additions and 0 deletions
|
@ -89,6 +89,11 @@ function module.on_world_update_post()
|
|||
local ent = np.GetPlayerEntity()
|
||||
if ent ~= nil and ent ~= ctx.my_player.entity then
|
||||
module.switch_entity(ent)
|
||||
if ctx.proxy_opt.game_mode == "local_health" then
|
||||
util.ensure_component_present(ent, "LuaComponent", "ew_player_damage", {
|
||||
script_damage_received = "mods/quant.ew/files/system/local_health/grab_damage_message.lua"
|
||||
})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue