on_pre_ghost_upgraded event
Posted: Thu Jul 14, 2022 4:02 am
One thing I came across while bug fixing one of my mods was the on_pre_ghost_deconstructed event, since ghosts can't be marked for deconstruction. This event saved my butt, and it was perfect for what I needed. However, ghosts can also be marked for upgrade, yet there is no on_pre_ghost_upgraded event.
I can't seem to find any other reasonable way to read the upgraded ghost and it's target entity/direction. This event would be another lifesaver, otherwise I need to resort to extreme levels of janky hacks to accomplish what I want to do.
I can't seem to find any other reasonable way to read the upgraded ghost and it's target entity/direction. This event would be another lifesaver, otherwise I need to resort to extreme levels of janky hacks to accomplish what I want to do.