* removed DropHandsItemEvent from standing state system, added DropHandsItemEvent calls in slippery system and shared stun system
* added DropHandItemsEvent calls in mobstate system subscribers
* Added DropHandItemsEvent call in SharedBodySystem.Parts
* Add a standingState check in RemoveLeg so removing the legs of a downed person won't cause them to drop items
* new method for downing + dropping held items in mobstatesystem
* mild cleanup
* Bugfix
* update BuckleTest to reflect new item dropping behavior when removing legs
* light cleanup
---------
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
* Add foolbox to clown lockers
* this is beter
* updated table w/ new items
* more clown like
* Tweaks
* thank you iaada
* cleanup
* review
* fun!
* fixes and microbalance
* clowns start with it inhand now
* add door control module
* some commentary
* can't eject stuff anymore
* make xenoborg door remote eletrify doors
* clean yml
* anchors and aliases
* not show stuff about id in xenoborg access config
* engi xenoborg can see eletrified doors
* Cryo chems
* Actually cryo eats a lot of this stuff, should probably buff the amount you get...
* minor necrosol buff
* fuck it old recipe
* Fucked up my math, half is closer to 6 here.
* cryox
---------
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
* Ignite atmosphere on explosions
* Fixed to add a temperature property
* Code review corrections
* Removed unused usings
* Correction to use TryComp instead of EntityManager to make it prettier
* Code review corrections
* Code review corrections
* Corrections
* misc fixes
---------
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
* borg repair is now multiple doafters
* is a float now
* use else
* remove random new line i added for some reason
* add new line at the end of the file
* add documentation
* made repair system super robust
* borg heal faster from crit
* forgot to make it a datafield
* less overpower
* cant repair futher than the threshold for alive if not alive or dead
* fix math
* more math
* fixes
* some comentary
* more accurate
* simple solution
* new solution
* better numbers
* more accurate
* use helper function
* fine tunning the number
* better way to restart the doafter
* update AutoDoAfter
* not used
* more clear
* remove inline if
* improve helper methods
* updare pop up message
* another unused
* nuke consecutive repair bonus
* increase the repair (so it doesn't take ages to fix a borg)
* back to 10 per repair
* heal evenly
* fix for edge case
* fix
* fix
* it works now
* add / fix comments
* small clean up
* make easier to understand
* use FixedPoint2.Zero
* make it smaller
* add support for group even heal
* ops
* easier to read
* typo
* make the HealEvenly better
* rename to GetDamage
* negative value
* Update Content.Shared/Repairable/RepairableSystem.cs
---------
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
All of this was doing sRGB -> OkLAB conversions without linearizing the sRGB first, so it was broken. I could have sworn I pointed this out in review but I guess that got lost.
Also, add a gamut clipping step since we have out-of-gamut colors and I don't want random negative values causing weird nightmare bugs somewhere. Shouldn't change anything in regular rendering.
* add two methods
* move stuff to damage system api
* use TryIndex
* simplify
* minor fix
* add helper functions
* fix
* remove random new line
* simplify
* remove unnecessary lines
* rename to GetDamage
* Got it working
* make more clear
* why backwards
* value should be the amount to heal
* fix
* fix all dumb fixedpoint2 edge cases I hope
* One more thing
* fix
* make it more simple
* ops it was backwards
* valueHeal can't be more than remaining
* add all keys beforehand and no need to check and add them inside the loop
* break for loop in case remaining is zero
* comment was wrong
* optimized, works
* remove random spaces
---------
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>