* Pass user to effects to properly fix double muzzle flash.
* Use gun when user is null.
* Update MuzzleFlashEvent.cs
* Update MuzzleFlashEvent.cs
* Update GunSystem.cs
* Update SharedGunSystem.cs
* Update MuzzleFlashEvent.cs
* Update SharedGunSystem.cs
* Update SharedGunSystem.cs
* Update Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
---------
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
* ranged ai targets crawling people properly
(cherry picked from commit 8f64627c9e35b3c873a7825f25b52319ff8c8e25)
* ranged ai targets crawling people properly
(cherry picked from commit 8f64627c9e35b3c873a7825f25b52319ff8c8e25)
* projectile grenades hit crawling/downed people
(cherry picked from commit 24c3737ae83ab399add28162a65d528d44f73ea9)
* change
* impstation to imp
* remove extra method ops
---------
Co-authored-by: Darkmajia <darkwindleaf@hotmail.co.uk>
* Add ability for GunComponent to track their holders
* Add new component to allow Players to modify gun attributes
* Allow users of melee weapons to also modify their weapons damage
* Allow user stamina damage modifiers
* Allow users of tools to also modify tool attributes
* Delete old Oni component and systems
* Replace oni components
* Set default max spread angle to 180 degrees
* Change modifier to multiplier to better reflect the math
* Add documentation.
* Add NetworkedComponent to new components
* Remove discard functionality from the ChemMaster
This duplicates other methods of discarding chemicals, including
the drain conventionally given to chemistry labs.
Any problems it solves are miniscule compared to the severe UI error
that is having a destructive action without confirmation attached
to a mode, the most common source of user error.
* Improve animal cube interactions (#31668)
* Working on dehydrate recipes to renew animal cubes
* Added remaining cube dehydration recipes
* Add OnExamine to RehydratableSystem.cs, need to add functionality to check total volume vs current volume to determine if 'soaked' text needs to be displayed
* Added logic to append text to the description when the wrong reagent has been added to a compressed animal cube
* Re-adding deleted summary
* Update default SolutionName to be correct
* Remove cube recipes to prevent infinite nutrient generation
* Add OnMicrowaved event to RehydratableSystem.cs in order to clear solution of cube when microwaved. CURRENT ERROR REQUIRES REFACTOR OF MICROWAVECOMPONENT
* Subscribe to microwave event
* Refactor of MicrowaveComponent.cs to be in shared folder, accessible to RehydratableSystem.cs. Updated imports
* Modify cube to only dehydrate in microwave when cooked for at least 5 seconds
* now using event to check access to fingerprint
* Tweak - Reflective vest and Energy Katana should reflect only in correct slots (#31902)
* ReflectComponentLogicFix
Added bool InRightPlace and updated relevant system
* Using SlotFlags
* prevent friendly fire for dragon/carp (#32231)
* add NoFriendlyFire
* make zombies use NoFriendlyFire
* no friendly fire for dragon
* let dragon kill naughty fish and validhunting syndies
* add button to print logprobe logs (#32255)
* add EntityName at the bottom of LogProbe
* add button to print logprobe logs
* Add camera mod to diagnostic hud (#32254)
* ai-glass
* weh to protect against bad grammar
* transmutation into diagnostic hud
* Apply forensics when loading with an ammo box
* inaprovaline metabolizes slower
* :trollface:
---------
Co-authored-by: Janet Blackquill <uhhadd@gmail.com>
Co-authored-by: Preston Smith <Blackfoot03@outlook.com>
Co-authored-by: YourUsername <you@example.com>
Co-authored-by: BIGZi0348 <svalker0348@gmail.com>
Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: ArZarLordOfMango <arzarchannel@gmail.com>
Co-authored-by: themias <themias5@gmail.com>
Co-authored-by: Alzore <blackern5000@gmail.com>
* Rebalance HoS's Energy Shotgun
* SLIGHTLY Up the max charge so the gun properly recharges all of its charges, which matters a lot more with the self charge cooldown system.
* Prevent recharge cooldown if 0 power is used.
* Makes the clientside HUD actually update to reflect the changes in firecost and thus max/current charges.
* Properly fix that recharging to just under full issue instead of applying a budget fix to only the eshotgun.
* Clean up the client ammo UI fix.
* Update the self recharger component to comply with maintainer request.
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Remove code that was made redundant by a hotfix from another PR.
* Make the recharge pause on EMP, document things where needed, clean up code as per maintainer request, add a note to make the code better when power is moved to shared.
* Fix another internal issue
* Code cleanup + fix the rapid recharge verb to remove pause.
* cleanup
---------
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
* Update hitscan.yml
* All the things
* Fixing the cold
* Fixed sprite and some formatting
* im dumb
* Revert "Fixed sprite and some formatting"
This reverts commit 2550f41240.
* Reapply "Fixed sprite and some formatting"
This reverts commit 3f4d5eaade.
* Revert "im dumb"
This reverts commit 9056ca3507.
* names
* Reviewed Changes
* Reviewed Changes
* Fixed for Milon
* delta changes
---------
Signed-off-by: Stop-Signs <stopsign221@gmail.com>
* Rework flaregun and add security shell gun
* Make flare gun twice as likely to appear in emergency lockers
* Security shell gun can now fire lethal shells like the flare gun used to be able to.
* Rebalance the sec shell gun material cost to primarily be steel instead of plastic
* Define the ShellShotgunLight tag in tags.yml
* Leave the no lethal shells for normal flareguns to a different PR.
* Move a comment to re-run checks.
* Bye bye lethal shells from plastic guns.
* Fix weird whitespace issue.
* Make the sec shell gun inherit the normal flare gun.
* Remove the rack verb and update the sec shell gun description
* Remove the ability to fire lethals from flare guns, pending blowing up the gun
---------
Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
* Add access to gun components
Found from an rmc14 PR.
* Admin verbs proving why access needs to exist
* Someone is probably going to post this pr to le reddit and complain about self-merges.
* Add BreakOnDropItem, update do afters, remove unnecessary declarations
* bola
* Changed my mind about the nuke
* gennies too
* Make the comments more clear.
* Sorry for the trailing commas
* Revert "Sorry for the trailing commas"
This reverts commit e60fd9a30977393df3344948e6d5c0ce035723cd.
---------
Co-authored-by: plykiya <plykiya@protonmail.com>
* Moves spread data to new component
* Refactors shotgun spread code
* Makes shotgun cartridges and projectiles use new component
* Attempts to fix nullable build error
* Fixes hitscan weapons that I broke :(
* Saviour commit?
---------
Co-authored-by: EmoGarbage404 <retron404@gmail.com>
* Grappling gun ReelRate can be changed
Moves ReelRate constant from SharedGrapplingGunSystem to GrapplingGunComponent, so it's Reel speed can be changed.
* Add coment + remove redudant
* Replace obsolete whitelist is valid with whitelist system
* Consistency
* Fix logic
* Bork
* I figured out how to get whitelists on the client lol
* test fail
* woops
* HELP ME FUNCTIONS
* Fix errors
* simplify
---------
Co-authored-by: plykiya <plykiya@protonmail.com>
* Adds wielding assets
* Modifies meta.json files and adds artist credit
* Adds wieldable component to a bunch of weapons
* Moves shotgun inhands and wield inhands to their own folders (because its the only way the sprites would work)
* Removes the wieldable component from some guns
* Adds wielding sprites for wieldable guns that didnt have them
* Adds gun wielding bonuses and base innaccuracy to wieldable guns.
* Corrects wielded accuracy to be default accuracy instead of perfect
* Makes the drozd smg and bulldog shotgun wieldable
* Makes nukie c20r wieldable and adds sprites
* Adds BaseGunWieldable
* Makes all the newly wieldable gun use the base inheritable
* Adds accuracy to smgs to resolve inheritance conflict
* Makes all wieldable shotguns require wielding to fire because of a bug involving spread innacuracy
* Adds wield bonus message on examine
* remove deprecated entity coordinate extension functions. Reduces warning count by approximately 50
* final toCoords Removed
* Remove all unused variables and dead code paths
* remove always true variable, should be a cvar or something instead
* remove superfluous variables from tests
(cherry picked from commit 59e46aab93ca38f8d57fcad4e3a2c893737d9ad4)
* Replaced uses of Dirty(Component) with Dirty(Uid, Component)
Modified some systems (notably pulling-related) to use uids.
* Missed a few
* Revert changes to pulling
* No
(cherry picked from commit 4a83c365858830e3b2ff2b94fff501256422c20e)
* Merge BreakOnWeightlessMove and BreakOnMove. Provide different theshold for weightless movement.
* Adjust WeightlessMovementThresholds. Put a thing I forgot to put in the doafterargs.
* Make DoAfterArgs only use OnMove to determine whether to check for
movement and MoveThreshold to determine the threshold regardless of
weightlessness. Gave DistanceThreshold a default value which will always
be checked now.
* Fix issue introduced by merge.
* Use interaction system for determining whether a distance is within range
* Fix incorrect doafter args introduced by previous merge.
Forgor to commit these.
* Exorcise ghost.
The execution system should have been deleted when I merged previously.
For a reason I cannot comprehend it came back, but only the execution
system.
* Exorcise ghost Pt. 2
* Allow for movement check to be overriden in zero g and adjust doafter args where needed.
You can now override checking for movement in zero g with the BreakOnWeightlessMove bool. By default it will check.
The following doafters were made to ignore the movement check in zero g:
- Healing yourself with healing items,
- Removing embedded projectiles,
- Using tools like welders and crowbars
* Adjust distance for cuffing/uncuffing to work. Make injections not break on weightless movement.
* Fix evil incorrect and uneeded comments
(cherry picked from commit 362d56981fd7654f6ebec36f16cc8fabdd04b6a7)