]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Immovable Rod visual variations (#25932)
authorSlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Sun, 24 Mar 2024 22:45:52 +0000 (23:45 +0100)
committerGitHub <noreply@github.com>
Sun, 24 Mar 2024 22:45:52 +0000 (23:45 +0100)
commit8f652eaa7560a47a750173d716426dcd1ad7c01b
treef5550c980bcf1a813a56efbc7ae09250e110db76
parenta8b714af3fa28d418a647ce297faa38fd85e00e3
Immovable Rod visual variations (#25932)

* Adds variations to immovable rod

* slash oopsie

* Changed prototypes from being hardcoded to being defined in the rules component

* Changed from 10% chance to 5%

* Changes based on feedback

* Fix nullable error

* Moved randomized logic to .yaml. Probabilities of alternate rods add up to 5%.
Content.Server/StationEvents/Components/ImmovableRodRuleComponent.cs
Content.Server/StationEvents/Events/ImmovableRodRule.cs
Resources/Prototypes/Entities/Objects/Fun/immovable_rod.yml
Resources/Prototypes/GameRules/events.yml