* contraband system rework to allow restriction by job, not just department
* Fixing detective trenchcoat inheritance
* removing unnecessary using declarations
* trying to fix testing error by re-adding diagnostics using declaration
* removing unecessary dependency, making allowedJobs nullable
* Adding all of slarti's requested changes except for the hacky job icon method fix
* removing accidental whitespace
* choosing to use the non-localized version because we're comparing the string against the AllowedJobs field, and the contraband classes that fill that field are written in english
* removing unneeded using dec, fixing nesting logic problem
* didn't remove the old nesting, doing that now
* using localized job title and localizing the allowed jobs string, removing usages of JobTitle field. Also networked the _jobTitle field instead.
* rewrite some stuff
* fixes
* fix energy pen
---------
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
I noticed that enumerating gases is frequently done in an annoying way with Enum.GetValues. So I made it better. Now GasMixture is IEnumerable<(Gas gas, float moles)> and it just works.
* Initial commit
* Finalizing main changes
* Addressed reviews
* Fixed a few issues
* Switched to using global overrides
* Removed unnecessary references
* Add option to disable bwoink sound.
* Now it's working only with active admin status.
* No bwoink, only "notification sound"
* Moar changes
* Another one
* Fix borg light being stuck on if no cell is inserted
* Fix HandheldLightComponent.Activted becoming out of sync with SharedPointLightComponent.Enabled
* Fix for entities which don't have a handheld light component
* make insert and eject datafields in ItemSlotsComponent.cs nullable, make mime PDA silent
* make it so that you can't fit wirecutters into the slots, among other various things
* Fixed nonsense RegEx
"-" character is a range, caused an error.
No need for "," to repeat so much, it's not a separator.
"\\" - just why?
* Further optimized RegEx structure
Added:
"@" delimiter for consistency
"/" to escape "-" for good and to avoid further problems
* Changed SharedDoorSystem.GetColliding() to allow non-LowImpassible mask entities to stay in the door while it closes
* Update Content.Shared/Doors/Systems/SharedDoorSystem.cs
Clarifies comment of how the mask is used
Co-authored-by: Centronias <charlie.t.santos@gmail.com>
---------
Co-authored-by: Centronias <charlie.t.santos@gmail.com>
* V1 commit
* Remove PDA name and unnecessary pda state
* Adds PDA to Chameleon backpack & thief toolbox
* Change to use AppearanceDataInit
* Add basic PDA state to ensure there's always a sprite before AppearanceData can be applied
* Revert PDA name (this will be changed to another way later)
* Update PDA name updating to new system
* Fix yaml, and fix Agent ID chameleon
* Updated based on review
Mainly useful for medicalborg so you can get a looping sound and not footsteps playing over and over.
Didn't actually update medborg because footsteps need updating.
Not needed for AI.
* Initial commit
* AIs get a warning when trying to answer long distance calls
* Better handling of ending telephone calls
* Fixed issue with duplicated holopad window when an AI answers a summons
* Changed how ranges are handled, added the bluespace holopad
* Bug fixes
* More bug fixes
* More bug fixes
* Update Resources/Prototypes/Entities/Structures/Machines/holopad.yml
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Update Resources/Prototypes/Entities/Structures/Machines/holopad.yml
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
---------
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Use class instead of out variables
* Show battery level in power monitoring console
* Better color contrast for battery level + localized string
* Add visualization to battery percentage
* Reverts random ChatSystem.cs whitespace change
* Address review
* Show BatteryLevel stats in child view when selecting devices
---------
Co-authored-by: Crotalus <crotalus@users.noreply.github.com>
* Check buckle.BuckledTo value before hugging interaction
* Make InteractHandEvent to be used by BuckleSystem before InteractionPopupSystem instead of after
* reduce network burden of the hunger system
* explicit start + last updated
* remove auto reformat changes to otherwise untouched code
add clamp helper
* imagine making breaking changes, documenting them, and then not thinking to check the yaml
* comments
* Remove unused net manager in hunger system
Remove lastAuthoritativeHungerValue from prototypes