Re:Anyone who looks at this code instantly becomes insane
by realSlavojTrump on Thursday August 01, 2019 @07:02PM
(#20589175)
https://github.com/polytomous/TerrariaClone/issues/6 gives an example of how i work thru this sort of question, but its also spoiler laden so view at your own risk.
Iirc that particular bit of code is the power logic. You can file an issue on my fork if ys like me to write more on this when im not on a broken phone.