Fixes old Humanoid cyborg sprites, to actually be able to wear hats. Now that they don't already have some. (#27875)

* Hopefully nothing goes wrong.

Changes one false to a TRUE, in robot_mob.dm

* Stay in your lane, rovers.

Hopefully also lines up hats correctly.

* Update code/modules/mob/living/silicon/robot/robot_mob.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: ATP-Engineer <120416457+ATP-Engineer@users.noreply.github.com>

---------

Signed-off-by: ATP-Engineer <120416457+ATP-Engineer@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
ATP-Engineer
2025-01-07 20:46:29 -05:00
committed by GitHub
parent c9d2ab2568
commit c35174c997
@@ -537,8 +537,11 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
*/
/mob/living/silicon/robot/proc/robot_module_hat_offset(module)
switch(module)
if("Engineering", "Miner_old", "JanBot2", "Medbot", "engineerrobot", "maximillion", "secborg", "Rover-Medi", "Rover-Jani", "Rover-Engi", "Rover-Serv", "Hydrobot")
can_be_hatted = FALSE // Their base sprite already comes with a hat
if("Engineering", "Miner_old", "JanBot2", "Medbot", "engineerrobot", "maximillion", "secborg", "Hydrobot")
can_be_hatted = TRUE // Their base sprite USED to already come with a hat
can_wear_restricted_hats = TRUE
if("Rover-Medi", "Rover-Jani", "Rover-Engi", "Rover-Serv")
can_be_hatted = FALSE
hat_offset_y = -1
if("Noble-CLN", "Noble-SRV", "Noble-DIG", "Noble-MED", "Noble-SEC", "Noble-ENG", "Noble-STD")
can_be_hatted = TRUE