Files
CHOMPStation2/code/modules
Ccomp5950 7ce4073135 Code effeciency project: Ore processing.
Before:  The stacker and processor used del(item) to get rid of the items causing /obj/movable/del() to spike up and cause fun amounts of lag.  Also we have seperate variables for if a certain ore type is selected in the processing machine and the cooking portion of process() uses a huge string of if()'s which check 8 or so variables and is terrible and probably a pain in the ass should someone decide to later add ore types and recipes.

After:  We just set item.loc = null when it goes in the stacker of processor and garbage collection takes care of it within a tick.  Those different variables for ore selection are now just one variable which is a bitfield, much easier to read, much easier to expand upon.
2014-03-15 04:05:56 -05:00
..
2014-03-06 09:36:58 +00:00
2014-02-22 06:54:11 +03:00
2014-01-12 20:07:48 +00:00
2014-01-10 17:09:01 -05:00
2014-03-03 02:26:04 -05:00