]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Traitor activation fix for missing PDA (#30359)
authorErrant <35878406+Errant-4@users.noreply.github.com>
Fri, 18 Oct 2024 12:55:43 +0000 (14:55 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Oct 2024 12:55:43 +0000 (14:55 +0200)
commit23e4f81b30cec1a0917b340d6bd47bd89a184733
tree20154d9bc3bd4d0e7bddaae5862c6e5165ffb82e
parent338781c2434cf8cb63c57dd54dfa1f2b0e6bec2f
Traitor activation fix for missing PDA (#30359)

* Implant the uplink if no PDA is found

* comments

* tidy up loose ends

* Whoops usually I start with the namespace, how did I forget it, shame shame

* Consistent data type for starting TC balance, misc changes

* Implant briefing, guidebook

* Update AutoTraitor, add uplink, codeword and briefing parameters to TraitorRuleComponent,  no pda for reinforcements

* engine 5c0ce43

* pass pda to AddUplink

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* nicer string handling

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* case typo 1

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* case typo 2

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* case typo 3

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* minor layout changes

* removed redundant implant check

* minor cleanup

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Content.Server/GameTicking/Rules/Components/TraitorRuleComponent.cs
Content.Server/GameTicking/Rules/TraitorRuleSystem.cs
Content.Server/Traitor/Components/AutoTraitorComponent.cs
Content.Server/Traitor/Systems/AutoTraitorSystem.cs
Content.Server/Traitor/Uplink/UplinkSystem.cs
Content.Shared/Implants/SharedSubdermalImplantSystem.cs
Resources/Locale/en-US/game-ticking/game-presets/preset-traitor.ftl
Resources/Prototypes/Entities/Mobs/NPCs/animals.yml
Resources/Prototypes/Entities/Mobs/Player/human.yml
Resources/Prototypes/GameRules/roundstart.yml
Resources/ServerInfo/Guidebook/Antagonist/Traitors.xml