We can't have 2 effects running in a single entity?

I have a modded entity that is always on fire (by design, a hot_rock). As soon as I order it to be harvested and the harvest/mine icon appears on it, the fire effect stops. As soon as I cancel it, the effect resumes.

It may also be the same problem I noticed with trees after being harvested, they don’t run their “on_destroy” effect.

2 Likes

Hi,
You can run 2 effects on a single entity manually through lua, but the “default_effect” specified in json will only run if no other effects are running. We’re aware of this issue, but have not decided on the best fix for it yet.

“It may also be the same problem I noticed with trees after being harvested, they don’t run their “on_destroy” effect.” – This is a bug with the destroy effect not hooked up for all objects. I have made a fix for it in A19.

Thanks
-Yang

5 Likes