]> git.smokeofanarchy.ru Git - space-station-14.git/commit
[Antag] add space ninja as midround antag (#14069)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Mon, 17 Apr 2023 07:33:27 +0000 (07:33 +0000)
committerGitHub <noreply@github.com>
Mon, 17 Apr 2023 07:33:27 +0000 (01:33 -0600)
commitc1cda0dbf8b0f1e4bb69cd8cf54ef19a19f979bf
tree411167d26972a498528cfd903dd3a81c7f4d0194
parent0e6b273f1f913b8540e0e4d2ae6efc87f946aec2
[Antag] add space ninja as midround antag (#14069)

* start of space ninja midround antag

* suit has powercell, can be upgraded only (not replaced with equal or worse battery)

* add doorjacking to ninja gloves, power cell, doorjack objective (broken), tweaks

* :skull:

* add basic suit power display that uses stamina rsi

* add draining apc/sub/smes - no wires yet

* add research downloading

* ninja starts implanted, move some stuff to yaml

* add Automated field to OnUseTimerTrigger

* implement spider charge and objective

* fix client crash when taking suit off, some refactor

* add survive condition and tweak locale

* add comms console icon for objective

* add calling in a threat - currently revenant and dragon

* combine all glove abilities

* locale

* spark sounds when draining, refactoring

* toggle is actually toggle now

* prevent crash if disabling stealth with outline

* add antag ctrl for ninja, hopefully show greentext

* fix greentext and some other things

* disabling gloves if taken off or suit taken off

* basic energy katana, change ninja loadout

* recallable katana, refactoring

* start of dash - not done yet

* katana dashing ability

* merge upstream + compiling, make AutomatedTimer its own component

* docs and stuff

* partial refactor of glove abilities, still need to move handling

* make dooremaggedevent by ref

* move bunch of stuff to shared - broken

* clean ninja antag verb

* doc

* mark rule config fields as required

* fix client crash

* wip systems refactor

* big refactor of systems

* fuck

* make TryDoElectrocution callable from shared

* finish refactoring?

* no guns

* start with internals on

* clean up glove abilities, add range check

* create soap, in place of ninja throwing stars

* add emp suit ability

* able to eat chefs stolen food in space

* stuff, tell client when un/cloaked but there is bug with gloves

* fix prediction breaking gloves on client

* ninja soap despawns after a minute

* ninja spawns outside the station now, with gps + station coords to navigate

* add cooldown to stun ability

* cant use glove abilities in combat mode

* require empty hand to use glove abilities

* use ghost role spawner

* Update Content.Server/Ninja/Systems/NinjaSuitSystem.cs

Co-authored-by: keronshb <54602815+keronshb@users.noreply.github.com>
* some review changes

* show powercell charge on examine

* new is needed

* address some reviews

* ninja starts with jetpack, i hope

* partial feedback

* uhh

* pro

* remove pirate from threats list

* use doafter refactor

* pro i gave skeleton jetpack

* some stuff

* use auto gen state

* mr handy

* use EntityQueryEnumerator

* cleanup

* spider charge target anti-troll

* mmmmmm

---------

Co-authored-by: deltanedas <deltanedas@laptop>
Co-authored-by: deltanedas <user@zenith>
Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: keronshb <54602815+keronshb@users.noreply.github.com>
78 files changed:
Content.Client/Ninja/Systems/NinjaGlovesSystem.cs [new file with mode: 0644]
Content.Client/Ninja/Systems/NinjaSuitSystem.cs [new file with mode: 0644]
Content.Client/Ninja/Systems/NinjaSystem.cs [new file with mode: 0644]
Content.Client/Stealth/StealthSystem.cs
Content.Server/Administration/Systems/AdminVerbSystem.Antags.cs
Content.Server/Doors/Systems/DoorSystem.cs
Content.Server/Electrocution/ElectrocutionSystem.cs
Content.Server/Explosion/Components/AutomatedTimerComponent.cs [new file with mode: 0644]
Content.Server/Explosion/EntitySystems/TriggerSystem.OnUse.cs
Content.Server/GameTicking/Rules/Configurations/NinjaRuleConfiguration.cs [new file with mode: 0644]
Content.Server/Ninja/Components/NinjaStationGridComponent.cs [new file with mode: 0644]
Content.Server/Ninja/Systems/NinjaGlovesSystem.cs [new file with mode: 0644]
Content.Server/Ninja/Systems/NinjaSuitSystem.cs [new file with mode: 0644]
Content.Server/Ninja/Systems/NinjaSystem.cs [new file with mode: 0644]
Content.Server/Ninja/Systems/SpiderChargeSystem.cs [new file with mode: 0644]
Content.Server/Objectives/Conditions/DoorjackCondition.cs [new file with mode: 0644]
Content.Server/Objectives/Conditions/DownloadCondition.cs [new file with mode: 0644]
Content.Server/Objectives/Conditions/SpiderChargeCondition.cs [new file with mode: 0644]
Content.Server/Objectives/Conditions/SurviveCondition.cs [new file with mode: 0644]
Content.Server/Objectives/Conditions/TerrorCondition.cs [new file with mode: 0644]
Content.Server/StationEvents/Events/SpaceNinjaSpawn.cs [new file with mode: 0644]
Content.Shared/Alert/AlertType.cs
Content.Shared/Electrocution/SharedElectrocutionSystem.cs
Content.Shared/Interaction/SharedInteractionSystem.cs
Content.Shared/Ninja/Components/EnergyKatanaComponent.cs [new file with mode: 0644]
Content.Shared/Ninja/Components/NinjaComponent.cs [new file with mode: 0644]
Content.Shared/Ninja/Components/NinjaGlovesComponent.cs [new file with mode: 0644]
Content.Shared/Ninja/Components/NinjaSuitComponent.cs [new file with mode: 0644]
Content.Shared/Ninja/Components/SpiderChargeComponent.cs [new file with mode: 0644]
Content.Shared/Ninja/Systems/EnergyKatanaSystem.cs [new file with mode: 0644]
Content.Shared/Ninja/Systems/NinjaGlovesSystem.cs [new file with mode: 0644]
Content.Shared/Ninja/Systems/NinjaSuitSystem.cs [new file with mode: 0644]
Content.Shared/Ninja/Systems/NinjaSystem.cs [new file with mode: 0644]
Resources/Audio/Misc/attributions.yml
Resources/Audio/Misc/ninja_greeting.ogg [new file with mode: 0644]
Resources/Locale/en-US/administration/antag.ftl
Resources/Locale/en-US/alerts/alerts.ftl
Resources/Locale/en-US/game-ticking/game-presets/preset-traitor.ftl
Resources/Locale/en-US/ninja/gloves.ftl [new file with mode: 0644]
Resources/Locale/en-US/ninja/katana.ftl [new file with mode: 0644]
Resources/Locale/en-US/ninja/ninja-actions.ftl [new file with mode: 0644]
Resources/Locale/en-US/ninja/role.ftl [new file with mode: 0644]
Resources/Locale/en-US/ninja/spider-charge.ftl [new file with mode: 0644]
Resources/Locale/en-US/ninja/terror.ftl [new file with mode: 0644]
Resources/Locale/en-US/objectives/conditions/doorjack-condition.ftl [new file with mode: 0644]
Resources/Locale/en-US/objectives/conditions/download-condition.ftl [new file with mode: 0644]
Resources/Locale/en-US/objectives/conditions/spider-charge-condition.ftl [new file with mode: 0644]
Resources/Locale/en-US/objectives/conditions/survive-condition.ftl [new file with mode: 0644]
Resources/Locale/en-US/objectives/conditions/terror-condition.ftl [new file with mode: 0644]
Resources/Locale/en-US/prototypes/roles/antags.ftl
Resources/Prototypes/Alerts/alerts.yml
Resources/Prototypes/Alerts/ninja.yml [new file with mode: 0644]
Resources/Prototypes/Catalog/Fills/Backpacks/StarterGear/satchel.yml
Resources/Prototypes/Entities/Clothing/Hands/gloves.yml
Resources/Prototypes/Entities/Clothing/Head/helmets.yml
Resources/Prototypes/Entities/Clothing/OuterClothing/suits.yml
Resources/Prototypes/Entities/Clothing/Shoes/specific.yml
Resources/Prototypes/Entities/Markers/Spawners/ghost_roles.yml
Resources/Prototypes/Entities/Mobs/Player/human.yml
Resources/Prototypes/Entities/Objects/Specific/Janitorial/soap.yml
Resources/Prototypes/Entities/Objects/Weapons/Bombs/spider.yml [new file with mode: 0644]
Resources/Prototypes/Entities/Objects/Weapons/Melee/sword.yml
Resources/Prototypes/GameRules/events.yml
Resources/Prototypes/Objectives/ninjaObjectives.yml [new file with mode: 0644]
Resources/Prototypes/Roles/Antags/ninja.yml [new file with mode: 0644]
Resources/Prototypes/Roles/Jobs/Fun/misc_startinggear.yml
Resources/Textures/Objects/Weapons/Bombs/spidercharge.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Bombs/spidercharge.rsi/inhand-left.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Bombs/spidercharge.rsi/inhand-right.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Bombs/spidercharge.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Bombs/spidercharge.rsi/primed.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/energykatana.rsi/equipped-BELT.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/energykatana.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/energykatana.rsi/inhand-left.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/energykatana.rsi/inhand-right.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/energykatana.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Structures/Machines/computers.rsi/comm_icon.png [new file with mode: 0644]
Resources/Textures/Structures/Machines/computers.rsi/meta.json