add: Added cybernetic organs to RnD, they can be used to replace organic organs. Remember to administer corazone during implantation though!
add: Added the upgraded cybernetic liver. It is exceptionally robust against toxins and alcohol poisoning.
"Xhuis," spoke MSO, "the servers are crashing!"
"Xhuis," spoke oranges, "people can reconnect infinitely!"
"Xhuis," spoke the maintainers, "we need you to code something!"
So I coded this.
A list of changes, in no particular order:
Pizza boxes no longer use icon states to determine stacks. Instead, it uses overlays depending on the stack size.
By using the system I introduced with greyscaling screwdrivers, pizza box inhands now stack more pizza boxes dynamically depending on how many you're carrying.
Pizza boxes can now stack, functionally, up to 9. Any boxes past 5 will have an increasingly high chance to topple the stack, and at 10 they will completely collapse regardless.
Attacking others with a stack or throwing a stack now has a chance to topple the stack.
Toppling the stack has been added, and will cause every pizza box in the stack to fall in a random direction. Each box has a 50% chance of spilling its pizza, which will also move in a random direction.
Scale()s the icon when range is below 16, if it's above 16, scales the icon to 16 and transforms the rest of the way.
This replaces the other method of creating one click catcher image per tile in the range of the users view, which was pretty memory hungry and inefficient. A single icon operation while the view range changes should still be pretty performant and require less memory bookkeeping.l
This ensures it works when the users view range changes, but does not result in a loss of precision for view ranges up to 16 when moving the mouse (it triggers per pixel which simply get larger when transformed)
fixes#29342