* 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
* Station AI now rolls before standard crew
* github tests are high
---------
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
* 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
* 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>
* YAML cleanup of shotgun rounds
* Descriptions for all shotgun ammo types
* YAML cleanup of pistol rounds
* YAML cleanup of magnum rounds (and tweaks to uranium ammo descriptions)
* YAML cleanup of rifle rounds
* YAML cleanup of toy rounds
* YAML cleanup of magnum/pistol/rifle/shotgun projectiles
* YAML cleanup of magnum/pistol/toy speedloaders
* YAML cleanup of light rifle rounds
* Descriptions for anti-materiel rounds and boxes
* YAML cleanup of base_cartridge.yml
* YAML cleanup of caseless rounds (plus minor viper-mag description tweaks)
* YAML cleanup of heavy rifle rounds
* YAML cleanup of grenades and explosives
* machine pistol magazine is now Security contraband
* Practice ammunition description updates
* Missed a magnum ammo description tweak
* Whoops, misspelled the word 'description' a lot
* Practice ammunition description updates 2!
* Better name/description for joke L6 foam dart mag
* Tweak to that last commit
* Fixed practice machine pistol magazines using real bullets
* Added random gate
* minor edit
* cleaning up my shit after trying to do something faster
* new lines
* some changes
* joke
* UI
* Long Division
* Dont use ctrl + x in 3 am
* I hope these are the final touches
* One thing, I don't know why
* noname commit
* no way, 1kk of code lines edit
* sudo rm -rf ... and something there...
* update
* sometimes its sad
* Hand labeler can always remove labels
* Simplify labeling functions
* Address review comments
* Use Entity<Component> more places
* Always use default style for remove label verb
* Add RequireActivated bool
* Fix paramedic voidsuit
* Remove explicit check
This is actually unnecessarily verbose.
* Improve comment
* Update Content.Shared/Clothing/ClothingSpeedModifierSystem.cs
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Add cref linking
* Change reference from system to component
* Fix missing closing tag before anyone notices
* Add clarity about when this field is used.
* Add early return if not affected by toggling
---------
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>