Jump to content

statueglommer can spawn a flower without a glommer


Crestwave
  • Pending

Code from statueglommer.lua:

local gland = TheSim:FindFirstEntityWithTag("glommerflower")
if gland ~= nil then
    return
end

if not inst.islighton:value() then
    inst.islighton:set(true)
    OnLightDirty(inst)
end

local glommer = TheSim:FindFirstEntityWithTag("glommer") or SpawnGlommer(inst)

The problem is that the gland is instantly removed when glommer dies, but glommer itself still sticks around for a bit for its death animation. Thus, the statue can spawn a gland without glommer, which then prevents future glands and thus glommers from spawning. Since it is irreplaceable, it becomes impossible for glommer to spawn ever again, outside of console commands or rolling back to a save before the incident.


Steps to Reproduce

Kill Glommer right before full moon.

  • Like 1



User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...