Jump to content

Snow chester without blue gems?


Recommended Posts

So during a full moon in summer, my chester spontaneously transformed into snow chester for no apparent reason.  It was full of stuff, including food, which was preserved after the transformation.  There were no empty slots after the transformation, so I'm sure I didn't have even a single blue gem in there.

 

The only thing I can think of is that he was next to a cold thermal stone -- was this intended?

It's believed to be a bug

 

Yeah, definitely a bug, I looked in the chester.lua file, here's the offending code:

 

        if item.prefab ~= "nightmarefuel" then

            canShadow = false

        elseif item.prefab ~= "bluegem" then

            canSnow = false

        end

 

it should be:

 

        if item.prefab ~= "nightmarefuel" then

            canShadow = false

        end

        if item.prefab ~= "bluegem" then

            canSnow = false

        end

Yeah, definitely a bug, I looked in the chester.lua file, here's the offending code:

if item.prefab ~= "nightmarefuel" then

canShadow = false

elseif item.prefab ~= "bluegem" then

canSnow = false

end

it should be:

if item.prefab ~= "nightmarefuel" then

canShadow = false

end

if item.prefab ~= "bluegem" then

canSnow = false

end

Ye, change else if into if. U'r cool man

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...