dont sync temple lantern, incrase potion mimic to 20s

This commit is contained in:
bgkillas 2024-11-16 21:30:16 -05:00
parent 8ada6ab75d
commit 9e249cdff1
3 changed files with 4 additions and 4 deletions

View file

@ -94,7 +94,7 @@ module.phys_sync_allowed = {
["data/entities/props/temple_statue_01.xml"] = true, ["data/entities/props/temple_statue_01.xml"] = true,
["data/entities/props/temple_statue_01_green.xml"] = true, ["data/entities/props/temple_statue_01_green.xml"] = true,
["data/entities/props/temple_statue_02.xml"] = true, ["data/entities/props/temple_statue_02.xml"] = true,
["data/entities/props/physics/temple_lantern.xml"] = true, --["data/entities/props/physics/temple_lantern.xml"] = true,
["data/entities/buildings/physics_worm_deflector_base.xml"] = true, ["data/entities/buildings/physics_worm_deflector_base.xml"] = true,
--["data/entities/buildings/physics_worm_deflector_crystal.xml"] = true, --["data/entities/buildings/physics_worm_deflector_crystal.xml"] = true,
--["data/entities/misc/greed_curse/greed_crystal.xml"] = true, --["data/entities/misc/greed_curse/greed_crystal.xml"] = true,

View file

@ -103,8 +103,8 @@ function module.on_world_update_post()
end end
if effect ~= nil then if effect ~= nil then
local frames = ComponentGetValue2(effect, "frames") local frames = ComponentGetValue2(effect, "frames")
if frames < 1000 and frames > 0 then if frames < 1200 and frames > 0 then
ComponentSetValue2(effect, "frames", 1000) ComponentSetValue2(effect, "frames", 1200)
end end
end end

View file

@ -4,7 +4,7 @@
<GameEffectComponent <GameEffectComponent
effect="POLYMORPH" effect="POLYMORPH"
frames="1000" frames="1200"
disable_movement="0" disable_movement="0"
polymorph_target="data/entities/animals/mimic_potion.xml" polymorph_target="data/entities/animals/mimic_potion.xml"
> >