|
|
|
@@ -22,7 +22,7 @@
|
|
|
|
|
|
|
|
|
|
var/moduleselect_icon = "nomod"
|
|
|
|
|
|
|
|
|
|
var/can_be_pushed = TRUE
|
|
|
|
|
var/can_be_pushed = FALSE
|
|
|
|
|
var/magpulsing = FALSE
|
|
|
|
|
var/clean_on_move = FALSE
|
|
|
|
|
|
|
|
|
@@ -139,7 +139,7 @@
|
|
|
|
|
|
|
|
|
|
//Adds flavoursome dogborg items to dogborg variants without mechanical benefits
|
|
|
|
|
/obj/item/robot_module/proc/dogborg_equip()
|
|
|
|
|
if(istype(src, /obj/item/robot_module/k9) || istype(src, /obj/item/robot_module/medihound))
|
|
|
|
|
if(istype(src, /obj/item/robot_module/k9))
|
|
|
|
|
return //Bandaid fix to prevent stacking until I merge these two modules into their base types
|
|
|
|
|
var/obj/item/I = new /obj/item/analyzer/nose/flavour(src)
|
|
|
|
|
basic_modules += I
|
|
|
|
@@ -322,19 +322,21 @@
|
|
|
|
|
/obj/item/stack/medical/gauze/cyborg,
|
|
|
|
|
/obj/item/organ_storage,
|
|
|
|
|
/obj/item/borg/lollipop,
|
|
|
|
|
/obj/item/sensor_device)
|
|
|
|
|
/obj/item/sensor_device,
|
|
|
|
|
/obj/item/twohanded/shockpaddles/cyborg)
|
|
|
|
|
emag_modules = list(/obj/item/reagent_containers/borghypo/hacked)
|
|
|
|
|
ratvar_modules = list(
|
|
|
|
|
/obj/item/clockwork/slab/cyborg/medical,
|
|
|
|
|
/obj/item/clockwork/weapon/ratvarian_spear)
|
|
|
|
|
cyborg_base_icon = "medical"
|
|
|
|
|
moduleselect_icon = "medical"
|
|
|
|
|
can_be_pushed = FALSE
|
|
|
|
|
hat_offset = 3
|
|
|
|
|
|
|
|
|
|
/obj/item/robot_module/medical/be_transformed_to(obj/item/robot_module/old_module)
|
|
|
|
|
var/mob/living/silicon/robot/R = loc
|
|
|
|
|
var/borg_icon = input(R, "Select an icon!", "Robot Icon", null) as null|anything in list("Default", "Heavy", "Sleek", "Marina", "Droid", "Eyebot")
|
|
|
|
|
var/borg_icon = input(R, "Select an icon!", "Robot Icon", null) as null|anything in list("Default", "Heavy", "Sleek", "Marina", "Droid", "Eyebot", "Medihound", "Medihound Dark", "Vale")
|
|
|
|
|
if(R.client && R.client.ckey in list("nezuli"))
|
|
|
|
|
borg_icon += "Alina"
|
|
|
|
|
if(!borg_icon)
|
|
|
|
|
return FALSE
|
|
|
|
|
switch(borg_icon)
|
|
|
|
@@ -356,59 +358,46 @@
|
|
|
|
|
if("Heavy")
|
|
|
|
|
cyborg_base_icon = "heavymed"
|
|
|
|
|
cyborg_icon_override = 'modular_citadel/icons/mob/robots.dmi'
|
|
|
|
|
return ..()
|
|
|
|
|
|
|
|
|
|
/obj/item/robot_module/medihound
|
|
|
|
|
name = "MediHound"
|
|
|
|
|
basic_modules = list(
|
|
|
|
|
/obj/item/dogborg/jaws/small,
|
|
|
|
|
/obj/item/storage/bag/borgdelivery,
|
|
|
|
|
/obj/item/analyzer/nose,
|
|
|
|
|
/obj/item/soap/tongue,
|
|
|
|
|
/obj/item/extinguisher/mini,
|
|
|
|
|
/obj/item/healthanalyzer,
|
|
|
|
|
/obj/item/dogborg/sleeper/medihound,
|
|
|
|
|
/obj/item/roller/robo,
|
|
|
|
|
/obj/item/reagent_containers/borghypo,
|
|
|
|
|
/obj/item/twohanded/shockpaddles/cyborg/hound,
|
|
|
|
|
/obj/item/stack/medical/gauze/cyborg,
|
|
|
|
|
/obj/item/pinpointer/crew,
|
|
|
|
|
/obj/item/sensor_device)
|
|
|
|
|
emag_modules = list(/obj/item/dogborg/pounce)
|
|
|
|
|
ratvar_modules = list(/obj/item/clockwork/slab/cyborg/medical,
|
|
|
|
|
/obj/item/clockwork/weapon/ratvarian_spear)
|
|
|
|
|
cyborg_base_icon = "medihound"
|
|
|
|
|
moduleselect_icon = "medihound"
|
|
|
|
|
moduleselect_alternate_icon = 'modular_citadel/icons/ui/screen_cyborg.dmi'
|
|
|
|
|
can_be_pushed = FALSE
|
|
|
|
|
hat_offset = INFINITY
|
|
|
|
|
sleeper_overlay = "msleeper"
|
|
|
|
|
cyborg_icon_override = 'modular_citadel/icons/mob/widerobot.dmi'
|
|
|
|
|
has_snowflake_deadsprite = TRUE
|
|
|
|
|
dogborg = TRUE
|
|
|
|
|
cyborg_pixel_offset = -16
|
|
|
|
|
|
|
|
|
|
/obj/item/robot_module/medihound/be_transformed_to(obj/item/robot_module/old_module)
|
|
|
|
|
var/mob/living/silicon/robot/R = loc
|
|
|
|
|
var/list/medhoundmodels = list("Default", "Dark", "Vale")
|
|
|
|
|
if(R.client && R.client.ckey in list("nezuli"))
|
|
|
|
|
medhoundmodels += "Alina"
|
|
|
|
|
var/borg_icon = input(R, "Select an icon!", "Robot Icon", null) as null|anything in medhoundmodels
|
|
|
|
|
if(!borg_icon)
|
|
|
|
|
return FALSE
|
|
|
|
|
switch(borg_icon)
|
|
|
|
|
if("Default")
|
|
|
|
|
if("Medihound")
|
|
|
|
|
cyborg_base_icon = "medihound"
|
|
|
|
|
if("Dark")
|
|
|
|
|
cyborg_icon_override = 'modular_citadel/icons/mob/widerobot.dmi'
|
|
|
|
|
moduleselect_icon = "medihound"
|
|
|
|
|
moduleselect_alternate_icon = 'modular_citadel/icons/ui/screen_cyborg.dmi'
|
|
|
|
|
has_snowflake_deadsprite = TRUE
|
|
|
|
|
dogborg = TRUE
|
|
|
|
|
cyborg_pixel_offset = -16
|
|
|
|
|
hat_offset = INFINITY
|
|
|
|
|
if("Medihound Dark")
|
|
|
|
|
cyborg_base_icon = "medihounddark"
|
|
|
|
|
cyborg_icon_override = 'modular_citadel/icons/mob/widerobot.dmi'
|
|
|
|
|
sleeper_overlay = "mdsleeper"
|
|
|
|
|
moduleselect_icon = "medihound"
|
|
|
|
|
moduleselect_alternate_icon = 'modular_citadel/icons/ui/screen_cyborg.dmi'
|
|
|
|
|
has_snowflake_deadsprite = TRUE
|
|
|
|
|
dogborg = TRUE
|
|
|
|
|
cyborg_pixel_offset = -16
|
|
|
|
|
hat_offset = INFINITY
|
|
|
|
|
if("Vale")
|
|
|
|
|
cyborg_base_icon = "valemed"
|
|
|
|
|
cyborg_icon_override = 'modular_citadel/icons/mob/widerobot.dmi'
|
|
|
|
|
sleeper_overlay = "valemedsleeper"
|
|
|
|
|
moduleselect_icon = "medihound"
|
|
|
|
|
moduleselect_alternate_icon = 'modular_citadel/icons/ui/screen_cyborg.dmi'
|
|
|
|
|
has_snowflake_deadsprite = TRUE
|
|
|
|
|
dogborg = TRUE
|
|
|
|
|
cyborg_pixel_offset = -16
|
|
|
|
|
hat_offset = INFINITY
|
|
|
|
|
if("Alina")
|
|
|
|
|
cyborg_base_icon = "alina-med"
|
|
|
|
|
cyborg_icon_override = 'modular_citadel/icons/mob/widerobot.dmi'
|
|
|
|
|
special_light_key = "alina"
|
|
|
|
|
sleeper_overlay = "alinasleeper"
|
|
|
|
|
moduleselect_icon = "medihound"
|
|
|
|
|
moduleselect_alternate_icon = 'modular_citadel/icons/ui/screen_cyborg.dmi'
|
|
|
|
|
has_snowflake_deadsprite = TRUE
|
|
|
|
|
dogborg = TRUE
|
|
|
|
|
cyborg_pixel_offset = -16
|
|
|
|
|
hat_offset = INFINITY
|
|
|
|
|
return ..()
|
|
|
|
|
|
|
|
|
|
/obj/item/robot_module/engineering
|
|
|
|
@@ -489,7 +478,6 @@
|
|
|
|
|
cyborg_icon_override = 'modular_citadel/icons/mob/robots.dmi'
|
|
|
|
|
if("Pup Dozer")
|
|
|
|
|
cyborg_base_icon = "pupdozer"
|
|
|
|
|
can_be_pushed = FALSE
|
|
|
|
|
hat_offset = INFINITY
|
|
|
|
|
cyborg_icon_override = 'modular_citadel/icons/mob/widerobot.dmi'
|
|
|
|
|
has_snowflake_deadsprite = TRUE
|
|
|
|
@@ -498,7 +486,6 @@
|
|
|
|
|
sleeper_overlay = "dozersleeper"
|
|
|
|
|
if("Vale")
|
|
|
|
|
cyborg_base_icon = "valeeng"
|
|
|
|
|
can_be_pushed = FALSE
|
|
|
|
|
hat_offset = INFINITY
|
|
|
|
|
cyborg_icon_override = 'modular_citadel/icons/mob/widerobot.dmi'
|
|
|
|
|
has_snowflake_deadsprite = TRUE
|
|
|
|
@@ -508,7 +495,6 @@
|
|
|
|
|
if("Alina")
|
|
|
|
|
cyborg_base_icon = "alina-eng"
|
|
|
|
|
special_light_key = "alina"
|
|
|
|
|
can_be_pushed = FALSE
|
|
|
|
|
hat_offset = INFINITY
|
|
|
|
|
cyborg_icon_override = 'modular_citadel/icons/mob/widerobot.dmi'
|
|
|
|
|
has_snowflake_deadsprite = TRUE
|
|
|
|
@@ -533,7 +519,6 @@
|
|
|
|
|
/obj/item/clockwork/weapon/ratvarian_spear)
|
|
|
|
|
cyborg_base_icon = "sec"
|
|
|
|
|
moduleselect_icon = "security"
|
|
|
|
|
can_be_pushed = FALSE
|
|
|
|
|
hat_offset = 3
|
|
|
|
|
|
|
|
|
|
/obj/item/robot_module/security/do_transform_animation()
|
|
|
|
@@ -589,7 +574,6 @@
|
|
|
|
|
cyborg_base_icon = "k9"
|
|
|
|
|
moduleselect_icon = "k9"
|
|
|
|
|
moduleselect_alternate_icon = 'modular_citadel/icons/ui/screen_cyborg.dmi'
|
|
|
|
|
can_be_pushed = FALSE
|
|
|
|
|
hat_offset = INFINITY
|
|
|
|
|
sleeper_overlay = "ksleeper"
|
|
|
|
|
cyborg_icon_override = 'modular_citadel/icons/mob/widerobot.dmi'
|
|
|
|
@@ -652,7 +636,6 @@
|
|
|
|
|
/obj/item/clockwork/weapon/ratvarian_spear)
|
|
|
|
|
cyborg_base_icon = "peace"
|
|
|
|
|
moduleselect_icon = "standard"
|
|
|
|
|
can_be_pushed = FALSE
|
|
|
|
|
hat_offset = -2
|
|
|
|
|
|
|
|
|
|
/obj/item/robot_module/peacekeeper/do_transform_animation()
|
|
|
|
@@ -947,7 +930,6 @@
|
|
|
|
|
/obj/item/clockwork/weapon/ratvarian_spear)
|
|
|
|
|
cyborg_base_icon = "synd_sec"
|
|
|
|
|
moduleselect_icon = "malf"
|
|
|
|
|
can_be_pushed = FALSE
|
|
|
|
|
hat_offset = 3
|
|
|
|
|
|
|
|
|
|
/obj/item/robot_module/syndicate/rebuild_modules()
|
|
|
|
@@ -987,7 +969,6 @@
|
|
|
|
|
/obj/item/clockwork/weapon/ratvarian_spear)
|
|
|
|
|
cyborg_base_icon = "synd_medical"
|
|
|
|
|
moduleselect_icon = "malf"
|
|
|
|
|
can_be_pushed = FALSE
|
|
|
|
|
hat_offset = 3
|
|
|
|
|
|
|
|
|
|
/obj/item/robot_module/saboteur
|
|
|
|
@@ -1026,7 +1007,6 @@
|
|
|
|
|
|
|
|
|
|
cyborg_base_icon = "synd_engi"
|
|
|
|
|
moduleselect_icon = "malf"
|
|
|
|
|
can_be_pushed = FALSE
|
|
|
|
|
magpulsing = TRUE
|
|
|
|
|
hat_offset = -4
|
|
|
|
|
canDispose = TRUE
|
|
|
|
|