Skip to content

Commit

Permalink
Adds a new cyborg skin, "Rover" (#27243)
Browse files Browse the repository at this point in the history
* Rover Cyborg

Adding a new cyborg skin, 'rover'.

* No-Hat

The hat won't fit on its head without changes to how hat wearing works.

* Rename to Rover-Engi

To make way for other department module names.
  • Loading branch information
ExusA authored Nov 13, 2024
1 parent 0780f53 commit 4f2c406
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/mob/living/silicon/robot/robot_mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
/// Does the robot have a non-default sprite for an open service panel?
var/custom_panel = null
/// Robot skins with non-default sprites for an open service panel.
var/list/custom_panel_names = list("Cricket")
var/list/custom_panel_names = list("Cricket", "Rover")
/// Robot skins with multiple variants for different modules. They require special handling to make their eyes display.
var/list/custom_eye_names = list("Cricket", "Standard")
/// Has the robot been emagged?
Expand Down Expand Up @@ -418,6 +418,7 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
"Landmate" = image('icons/mob/robots.dmi', "landmate"),
"Standard" = image('icons/mob/robots.dmi', "Standard-Engi"),
"Noble-ENG" = image('icons/mob/robots.dmi', "Noble-ENG"),
"Rover" = image('icons/mob/robots.dmi', "Rover-Engi"),
"Cricket" = image('icons/mob/robots.dmi', "Cricket-ENGI")
)
if("Janitor")
Expand Down Expand Up @@ -502,7 +503,7 @@ 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", "Hydrobot")
if("Engineering", "Miner_old", "JanBot2", "Medbot", "engineerrobot", "maximillion", "secborg", "Hydrobot", "Rover-Engi")
can_be_hatted = FALSE // Their base sprite already comes with a hat
hat_offset_y = -1
if("Noble-CLN", "Noble-SRV", "Noble-DIG", "Noble-MED", "Noble-SEC", "Noble-ENG", "Noble-STD")
Expand Down
Binary file modified icons/mob/robots.dmi
Binary file not shown.

0 comments on commit 4f2c406

Please sign in to comment.