okay so i was doing some more debugging to see why it isn't working.

If i make _global.food not changing, _global.wood still goes crazy and increases way too much. dont know how much this will help, but i hope it will.