]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Repairing borgs now takes multiple doafters (#41638)
authorSamuka <47865393+Samuka-C@users.noreply.github.com>
Mon, 15 Dec 2025 12:15:22 +0000 (09:15 -0300)
committerGitHub <noreply@github.com>
Mon, 15 Dec 2025 12:15:22 +0000 (12:15 +0000)
commitd53fe69b863a33b7146d6ec22154e8d1f9910649
tree33af62018beb37d866545ed6ddb61a9d95f07621
parent83e1a6a8eb4b992f2ed71eb83f814786f7d9deaa
Repairing borgs now takes multiple doafters (#41638)

* borg repair is now multiple doafters

* is a float now

* use else

* remove random new line i added for some reason

* add new line at the end of the file

* add documentation

* made repair system super robust

* borg heal faster from crit

* forgot to make it a datafield

* less overpower

* cant repair futher than the threshold for alive if not alive or dead

* fix math

* more math

* fixes

* some comentary

* more accurate

* simple solution

* new solution

* better numbers

* more accurate

* use helper function

* fine tunning the number

* better way to restart the doafter

* update AutoDoAfter

* not used

* more clear

* remove inline if

* improve helper methods

* updare pop up message

* another unused

* nuke consecutive repair bonus

* increase the repair (so it doesn't take ages to fix a borg)

* back to 10 per repair

* heal evenly

* fix for edge case

* fix

* fix

* it works now

* add / fix comments

* small clean up

* make easier to understand

* use FixedPoint2.Zero

* make it smaller

* add support for group even heal

* ops

* easier to read

* typo

* make the HealEvenly better

* rename to GetDamage

* negative value

* Update Content.Shared/Repairable/RepairableSystem.cs

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Content.Shared/Repairable/RepairableComponent.cs
Content.Shared/Repairable/RepairableSystem.cs
Resources/Locale/en-US/repairable/repairable-component.ftl
Resources/Prototypes/Entities/Mobs/Cyborgs/base_borg_chassis.yml
Resources/Prototypes/Entities/Mobs/Cyborgs/xenoborgs.yml