Borg Icon Optimization and Weapon Modulation (#16705)

* Streamlines borg icon generation

Cross-port of https://github.com/TS-Rogue-Star/Rogue-Star/pull/708
Makes borgs not super super wonky with icon generation
https://i.imgur.com/qp8K2tD.gif

* Virgo Specific

* Makes borgs use flags

Instead of the copy-paste gore that was EVERYWHERE

* Makes it a list. ADDS WARNINGS.

* I don't know hexi!!!

* Sit!

* Changes them to the new paths

* Makes cyborg guns modular

* whoops i forgot a word

* Makes dogborg melee modularized

Makes it so you can have a generic 'melee' sprite and a 'dagger' sprite.

* blade

Downstream compat

* Moves it to a nicer check loop
This commit is contained in:
Cameron Lennox
2024-12-18 20:25:59 +10:00
committed by GitHub
parent bc06935aa0
commit f82d1dcffa
19 changed files with 458 additions and 288 deletions
@@ -361,7 +361,7 @@
generic_error(R, type)
return 0
var/obj/T = R.has_upgrade_module(/obj/item/gun/energy/taser/mounted/cyborg)
var/obj/T = R.has_upgrade_module(/obj/item/gun/energy/robotic/taser)
if(!T)
to_chat(usr, span_warning("This robot has had its taser removed!"))
return 0
@@ -371,7 +371,7 @@
to_chat(usr, "There's no room for another cooling unit!")
return 0
var/obj/item/gun/energy/taser/mounted/cyborg/B = T
var/obj/item/gun/energy/robotic/taser/B = T
B.recharge_time = max(2 , B.recharge_time - 4)
return 1