From 296370141992fa3e8914f6464864c03761224cde Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Fri, 22 Feb 2019 19:10:59 +0100 Subject: [PATCH 1/2] Update rig_unify_ch.dm --- code/modules/clothing/spacesuits/rig/rig_unify_ch.dm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/code/modules/clothing/spacesuits/rig/rig_unify_ch.dm b/code/modules/clothing/spacesuits/rig/rig_unify_ch.dm index 433625e693..57e190a9a2 100644 --- a/code/modules/clothing/spacesuits/rig/rig_unify_ch.dm +++ b/code/modules/clothing/spacesuits/rig/rig_unify_ch.dm @@ -34,9 +34,12 @@ /obj/item/weapon/rig/override/New() ..() - verbs += /obj/item/weapon/rig/override/proc/makething() - verbs += /obj/item/clothing/suit/space/rig/override/proc/rename() - verbs += /obj/item/clothing/suit/space/rig/override/proc/rename2() + verbs |= /obj/item/weapon/rig/override/proc/makething() + +/obj/item/clothing/suit/space/rig/override/New() + ..() + verbs |= /obj/item/clothing/suit/space/rig/override/proc/rename() + verbs |= /obj/item/clothing/suit/space/rig/override/proc/rename2() /obj/item/clothing/suit/space/rig/override/proc/rename() //Possible making Override suit into a protofursuit that can turn into any set name = "Change icon" From ad23c41f130c59bd707135661485a47e49a44cbe Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Fri, 22 Feb 2019 19:47:50 +0100 Subject: [PATCH 2/2] Update rig_unify_ch.dm --- .../clothing/spacesuits/rig/rig_unify_ch.dm | 42 ------------------- 1 file changed, 42 deletions(-) diff --git a/code/modules/clothing/spacesuits/rig/rig_unify_ch.dm b/code/modules/clothing/spacesuits/rig/rig_unify_ch.dm index 57e190a9a2..61a961d897 100644 --- a/code/modules/clothing/spacesuits/rig/rig_unify_ch.dm +++ b/code/modules/clothing/spacesuits/rig/rig_unify_ch.dm @@ -29,48 +29,6 @@ initial_modules = list() var/thingamount = 1 - //Gonna turn these procs into a list to pic from instead later since letting people choose this much is silly - //Possible making Override suit into a protofursuit that can turn into any - -/obj/item/weapon/rig/override/New() - ..() - verbs |= /obj/item/weapon/rig/override/proc/makething() - -/obj/item/clothing/suit/space/rig/override/New() - ..() - verbs |= /obj/item/clothing/suit/space/rig/override/proc/rename() - verbs |= /obj/item/clothing/suit/space/rig/override/proc/rename2() - -/obj/item/clothing/suit/space/rig/override/proc/rename() //Possible making Override suit into a protofursuit that can turn into any - set name = "Change icon" - set category = "Abilities" - set src in usr - var/n_name = sanitizeSafe(input(usr, "What state would you like to swap to?", "Icon hotswap", null) as text, MAX_NAME_LEN) - item_state = n_name - update_icon() - return - -/obj/item/clothing/suit/space/rig/override/proc/rename2() - set name = "Change icon" - set category = "Abilities" - set src in usr - var/n_name = sanitizeSafe(input(usr, "What dmi would you like to swap to?", "Icon hotswap", null) as text, MAX_NAME_LEN) - icon_override = n_name - update_icon() - return - -/obj/item/weapon/rig/override/proc/makething() - set name = "Dispense Cooling unit" - set desc = "Yeah so like this makes a cooling unit" - set category = "Hardsuit" - var/location = get_turf(src) - if(thingamount) - new /obj/item/device/suit_cooling_unit(location) - thingamount=!thingamount - else - src << "There are no units left in this dispenser." - - /obj/item/clothing/suit/space/rig/override species_restricted = list(SPECIES_UNATHI) //to be refined~ icon_override = 'icons/obj/rig_override_modules.dmi'