mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
remove debug gameprint
This commit is contained in:
parent
aa7fb65164
commit
7192e89fd5
2 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,6 @@ function inventory_helper.serialize_single_item(item)
|
||||||
sprite = ComponentGetValue2(sprite, "image_file")
|
sprite = ComponentGetValue2(sprite, "image_file")
|
||||||
end
|
end
|
||||||
local varp = EntityGetFilename(item) == "data/entities/items/wand_varpuluuta.xml"
|
local varp = EntityGetFilename(item) == "data/entities/items/wand_varpuluuta.xml"
|
||||||
GamePrint(tostring(image_inv))
|
|
||||||
item_data = {true, wand:Serialize(true, true), x, y, extra, is_new, {vx, vy}, sprite, image_inv, varp}
|
item_data = {true, wand:Serialize(true, true), x, y, extra, is_new, {vx, vy}, sprite, image_inv, varp}
|
||||||
else
|
else
|
||||||
item_data = {false, util.serialize_entity(item), x, y}
|
item_data = {false, util.serialize_entity(item), x, y}
|
||||||
|
|
|
@ -65,7 +65,8 @@ local function end_poly_effect(ent)
|
||||||
local game_effect_comp = EntityGetFirstComponentIncludingDisabled(child, "GameEffectComponent")
|
local game_effect_comp = EntityGetFirstComponentIncludingDisabled(child, "GameEffectComponent")
|
||||||
if game_effect_comp then
|
if game_effect_comp then
|
||||||
local effect = ComponentGetValue2(game_effect_comp, "effect")
|
local effect = ComponentGetValue2(game_effect_comp, "effect")
|
||||||
if effect == "POLYMORPH" or effect == "POLYMORPH_RANDOM" or effect == "POLYMORPH_UNSTABLE" then
|
if effect == "POLYMORPH" or effect == "POLYMORPH_RANDOM"
|
||||||
|
or effect == "POLYMORPH_UNSTABLE" or effect == "POLYMORPH_CESSATION" then
|
||||||
serialized = ComponentGetValue2(game_effect_comp, "mSerializedData")
|
serialized = ComponentGetValue2(game_effect_comp, "mSerializedData")
|
||||||
if serialized ~= nil then
|
if serialized ~= nil then
|
||||||
break
|
break
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue