Revert "adds a new janiborg sprite! (#63619)" (#63621)

This reverts commit c6d5a35199.
This commit is contained in:
Iamgoofball
2021-12-28 20:18:25 +13:00
committed by GitHub
parent a191434402
commit a3146afaa0
4 changed files with 1 additions and 21 deletions
@@ -323,7 +323,6 @@
cut_overlays()
SSvis_overlays.remove_vis_overlay(src, managed_vis_overlays)
icon_state = model.cyborg_base_icon
icon = model.cyborg_icon_file
if(stat != DEAD && !(HAS_TRAIT(src, TRAIT_KNOCKEDOUT) || IsStun() || IsParalyzed() || low_power_mode)) //Not dead, not stunned.
if(!eye_lights)
eye_lights = new()
@@ -338,12 +337,6 @@
eye_lights.icon = icon
add_overlay(eye_lights)
else if(model.cyborg_stat_icons)
if(stat == DEAD)
icon_state = "[model.cyborg_base_icon]-dead"
else
icon_state = "[model.cyborg_base_icon]-unconscious"
if(opened)
if(wiresexposed)
add_overlay("ov-opencover +w")
@@ -21,12 +21,8 @@
var/model_select_icon = "nomod"
///Produces the icon for the borg and, if no special_light_key is set, the lights
var/cyborg_base_icon = "robot"
///The icon file for our borg icon
var/cyborg_icon_file = 'icons/mob/robots.dmi'
///If we want specific lights, use this instead of copying lights in the dmi
var/special_light_key
///If we want specific sprites for being stunned/dead
var/cyborg_stat_icons = FALSE
///Holds all the usable modules (tools)
var/list/modules = list()
///Paths of modules to be created when the model is created
@@ -182,8 +178,6 @@
var/mob/living/silicon/robot/cyborg = loc
var/obj/item/robot_model/new_model = new new_config_type(cyborg)
new_model.robot = cyborg
cyborg.base_pixel_x = 0
cyborg.base_pixel_y = 0
if(!new_model.be_transformed_to(src, forced))
qdel(new_model)
return
@@ -216,7 +210,7 @@
if(!isnull(details[SKIN_ICON_STATE]))
cyborg_base_icon = details[SKIN_ICON_STATE]
if(!isnull(details[SKIN_ICON]))
cyborg_icon_file = details[SKIN_ICON]
cyborg.icon = details[SKIN_ICON]
if(!isnull(details[SKIN_PIXEL_X]))
cyborg.base_pixel_x = details[SKIN_PIXEL_X]
if(!isnull(details[SKIN_PIXEL_Y]))
@@ -227,8 +221,6 @@
hat_offset = details[SKIN_HAT_OFFSET]
if(!isnull(details[SKIN_TRAITS]))
model_traits += details[SKIN_TRAITS]
if(!isnull(details[SKIN_STAT_ICONS]))
cyborg_stat_icons = details[SKIN_STAT_ICONS]
for(var/i in old_model.added_modules)
added_modules += i
old_model.added_modules -= i
@@ -366,10 +358,6 @@
model_select_icon = "janitor"
hat_offset = -5
clean_on_move = TRUE
borg_skins = list(
"Cart Janitor" = list(SKIN_ICON_STATE = "janitor"),
"Maid Janitor" = list(SKIN_ICON_STATE = "mekajani", SKIN_ICON = 'icons/mob/robots_tall.dmi', SKIN_HAT_OFFSET = 15, SKIN_STAT_ICONS = TRUE),
)
/obj/item/reagent_containers/spray/cyborg_drying
name = "drying agent spray"