diff --git a/code/__HELPERS/global_lists.dm b/code/__HELPERS/global_lists.dm
index e87c6c9c..14e00a1e 100644
--- a/code/__HELPERS/global_lists.dm
+++ b/code/__HELPERS/global_lists.dm
@@ -55,7 +55,7 @@
init_sprite_accessory_subtypes(/datum/sprite_accessory/vagina, GLOB.vagina_shapes_list)
init_sprite_accessory_subtypes(/datum/sprite_accessory/breasts, GLOB.breasts_shapes_list)
GLOB.breasts_size_list = list ("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o") //We need the list to choose from initialized, but it's no longer a sprite_accessory thing.
- GLOB.genital_fluids_list = list (/datum/reagent/consumable/milk, /datum/reagent/water, /datum/reagent/consumable/semen, /datum/reagent/consumable/femcum)
+ GLOB.genital_fluids_list = list ("Milk", "Water", "Semen", "Femcum")
GLOB.gentlemans_organ_names = list("phallus", "willy", "dick", "prick", "member", "tool", "gentleman's organ", "cock", "wang", "knob", "dong", "joystick", "pecker", "johnson", "weenie", "tadger", "schlong", "thirsty ferret", "baloney pony", "schlanger")
for(var/K in GLOB.breasts_shapes_list)
var/datum/sprite_accessory/breasts/value = GLOB.breasts_shapes_list[K]
diff --git a/code/datums/traits/negative.dm b/code/datums/traits/negative.dm
index 973d68f5..23f88169 100644
--- a/code/datums/traits/negative.dm
+++ b/code/datums/traits/negative.dm
@@ -419,6 +419,14 @@
lose_text = "Your mind finally feels calm."
medical_record_text = "Patient's mind is in a vulnerable state, and cannot recover from traumatic events."
+//Port from Shadow
+/datum/quirk/donotclone
+ name = "DNC"
+ desc = "You have filed a Do Not Clone order, stating that you do not wish to be cloned. You can still be revived by other means."
+ value = -2
+ mob_trait = TRAIT_NEVER_CLONE
+ medical_record_text = "Patient has a DNC (Do not clone) order on file, and cannot be cloned as a result."
+
//Port from Citadel
/datum/quirk/blindness
name = "Blind"
diff --git a/code/datums/traits/neutral.dm b/code/datums/traits/neutral.dm
index 43fee943..29412471 100644
--- a/code/datums/traits/neutral.dm
+++ b/code/datums/traits/neutral.dm
@@ -135,11 +135,3 @@
mob_trait = TRAIT_HEADPAT_SLUT
value = 0
medical_record_text = "Patient seems overly affectionate"
-
-//Port from Shadow
-/datum/quirk/donotclone
- name = "DNC"
- desc = "You have filed a Do Not Clone order, stating that you do not wish to be cloned. You can still be revived by other means."
- value = 0
- mob_trait = TRAIT_NEVER_CLONE
- medical_record_text = "Patient has a DNC (Do not clone) order on file, and cannot be cloned as a result."
\ No newline at end of file
diff --git a/code/game/machinery/cloning.dm b/code/game/machinery/cloning.dm
index 35cfd76b..04030093 100644
--- a/code/game/machinery/cloning.dm
+++ b/code/game/machinery/cloning.dm
@@ -1,562 +1,558 @@
-//Cloning revival method.
-//The pod handles the actual cloning while the computer manages the clone profiles
-
-//Potential replacement for genetics revives or something I dunno (?)
-
-#define CLONE_INITIAL_DAMAGE 150 //Clones in clonepods start with 150 cloneloss damage and 150 brainloss damage, thats just logical
-#define MINIMUM_HEAL_LEVEL 40
-
-#define SPEAK(message) radio.talk_into(src, message, radio_channel)
-
-/obj/machinery/clonepod
- name = "cloning pod"
- desc = "An electronically-lockable pod for growing organic tissue."
- density = TRUE
- icon = 'icons/obj/machines/cloning.dmi'
- icon_state = "pod_0"
- req_access = list(ACCESS_CLONING) //FOR PREMATURE UNLOCKING.
- verb_say = "states"
- circuit = /obj/item/circuitboard/machine/clonepod
-
- var/heal_level //The clone is released once its health reaches this level.
- var/obj/machinery/computer/cloning/connected = null //So we remember the connected clone machine.
- var/mess = FALSE //Need to clean out it if it's full of exploded clone.
- var/attempting = FALSE //One clone attempt at a time thanks
- var/speed_coeff
- var/efficiency
-
- var/datum/mind/clonemind
- var/grab_ghost_when = CLONER_MATURE_CLONE
-
- var/internal_radio = TRUE
- var/obj/item/radio/radio
- var/radio_key = /obj/item/encryptionkey/headset_med
- var/radio_channel = RADIO_CHANNEL_MEDICAL
-
- var/obj/effect/countdown/clonepod/countdown
-
- var/list/unattached_flesh
- var/flesh_number = 0
-
-/obj/machinery/clonepod/Initialize()
- . = ..()
-
- countdown = new(src)
-
- if(internal_radio)
- radio = new(src)
- radio.keyslot = new radio_key
- radio.subspace_transmission = TRUE
- radio.canhear_range = 0
- radio.recalculateChannels()
-
- update_icon()
-
-/obj/machinery/clonepod/Destroy()
- go_out()
- QDEL_NULL(radio)
- QDEL_NULL(countdown)
- if(connected)
- connected.DetachCloner(src)
- QDEL_LIST(unattached_flesh)
- . = ..()
-
-/obj/machinery/clonepod/RefreshParts()
- speed_coeff = 0
- efficiency = 0
- for(var/obj/item/stock_parts/scanning_module/S in component_parts)
- efficiency += S.rating
- for(var/obj/item/stock_parts/manipulator/P in component_parts)
- speed_coeff += P.rating
- heal_level = (efficiency * 15) + 10
- if(heal_level < MINIMUM_HEAL_LEVEL)
- heal_level = MINIMUM_HEAL_LEVEL
- if(heal_level > 100)
- heal_level = 100
-
-//The return of data disks?? Just for transferring between genetics machine/cloning machine.
-//TO-DO: Make the genetics machine accept them.
-/obj/item/disk/data
- name = "cloning data disk"
- icon_state = "datadisk0" //Gosh I hope syndies don't mistake them for the nuke disk.
- var/list/fields = list()
- var/list/mutations = list()
- var/max_mutations = 6
- var/read_only = 0 //Well,it's still a floppy disk
-
-//Disk stuff.
-/obj/item/disk/data/Initialize()
- . = ..()
- icon_state = "datadisk[rand(0,6)]"
- add_overlay("datadisk_gene")
-
-/obj/item/disk/data/attack_self(mob/user)
- read_only = !read_only
- to_chat(user, "You flip the write-protect tab to [read_only ? "protected" : "unprotected"].")
-
-/obj/item/disk/data/examine(mob/user)
- . = ..()
- . += "The write-protect tab is set to [read_only ? "protected" : "unprotected"]."
-
-
-//Clonepod
-
-/obj/machinery/clonepod/examine(mob/user)
- . = ..()
- var/mob/living/mob_occupant = occupant
- if(mess)
- . += "It's filled with blood and viscera. You swear you can see it moving..."
- if(is_operational() && mob_occupant)
- if(mob_occupant.stat != DEAD)
- . += "Current clone cycle is [round(get_completion())]% complete."
-
-/obj/machinery/clonepod/return_air()
- // We want to simulate the clone not being in contact with
- // the atmosphere, so we'll put them in a constant pressure
- // nitrogen. They don't need to breathe while cloning anyway.
- var/static/datum/gas_mixture/immutable/cloner/GM //global so that there's only one instance made for all cloning pods
- if(!GM)
- GM = new
- return GM
-
-/obj/machinery/clonepod/proc/get_completion()
- . = FALSE
- var/mob/living/mob_occupant = occupant
- if(mob_occupant)
- . = (100 * ((mob_occupant.health + 100) / (heal_level + 100)))
-
-/obj/machinery/clonepod/attack_ai(mob/user)
- return examine(user)
-
-//Start growing a human clone in the pod!
-/obj/machinery/clonepod/proc/growclone(ckey, clonename, ui, mutation_index, mindref, datum/species/mrace, list/features, factions, list/quirks)
- if(panel_open)
- return FALSE
- if(mess || attempting)
- return FALSE
- clonemind = locate(mindref) in SSticker.minds
- if(!istype(clonemind)) //not a mind
- return FALSE
- if(!QDELETED(clonemind.current))
- if(clonemind.current.stat != DEAD) //mind is associated with a non-dead body
- return FALSE
- if(clonemind.current.suiciding) // Mind is associated with a body that is suiciding.
- return FALSE
- if(clonemind.active) //somebody is using that mind
- if( ckey(clonemind.key)!=ckey )
- return FALSE
- else
- // get_ghost() will fail if they're unable to reenter their body
- var/mob/dead/observer/G = clonemind.get_ghost()
- if(!G)
- return FALSE
- if(G.suiciding) // The ghost came from a body that is suiciding.
- return FALSE
- if(clonemind.damnation_type) //Can't clone the damned.
- INVOKE_ASYNC(src, .proc/horrifyingsound)
- mess = TRUE
- update_icon()
- return FALSE
-
- attempting = TRUE //One at a time!!
- countdown.start()
-
- var/mob/living/carbon/human/H = new /mob/living/carbon/human(src)
-
- H.hardset_dna(ui, mutation_index, H.real_name, null, mrace, features)
- if(prob(50 - efficiency*10)) //Chance to give a bad mutation.
- H.easy_randmut(NEGATIVE+MINOR_NEGATIVE) //100% bad mutation. Can be cured with mutadone.
-
- H.silent = 20 //Prevents an extreme edge case where clones could speak if they said something at exactly the right moment.
- occupant = H
-
- if(!clonename) //to prevent null names
- clonename = "clone ([rand(1,999)])"
- H.real_name = clonename
-
- //Get the clone body ready
- maim_clone(H)
- ADD_TRAIT(H, TRAIT_STABLEHEART, CLONING_POD_TRAIT)
- ADD_TRAIT(H, TRAIT_STABLELIVER, CLONING_POD_TRAIT)
- ADD_TRAIT(H, TRAIT_EMOTEMUTE, CLONING_POD_TRAIT)
- ADD_TRAIT(H, TRAIT_MUTE, CLONING_POD_TRAIT)
- ADD_TRAIT(H, TRAIT_NOBREATH, CLONING_POD_TRAIT)
- ADD_TRAIT(H, TRAIT_NOCRITDAMAGE, CLONING_POD_TRAIT)
- H.Unconscious(80)
-
- clonemind.transfer_to(H)
-
- if(grab_ghost_when == CLONER_FRESH_CLONE)
- H.grab_ghost()
- to_chat(H, "Consciousness slowly creeps over you as your body regenerates.
So this is what cloning feels like?")
-
- if(grab_ghost_when == CLONER_MATURE_CLONE)
- H.ghostize(TRUE) //Only does anything if they were still in their old body and not already a ghost
- to_chat(H.get_ghost(TRUE), "Your body is beginning to regenerate in a cloning pod. You will become conscious when it is complete.")
-
- if(H)
- H.faction |= factions
-
- for(var/V in quirks)
- var/datum/quirk/Q = new V(H)
- Q.on_clone(quirks[V])
-
- H.set_cloned_appearance()
- H.give_genitals(TRUE)
-
- H.suiciding = FALSE
- attempting = FALSE
-
- return TRUE
-
-//Grow clones to maturity then kick them out. FREELOADERS
-/obj/machinery/clonepod/process()
- var/mob/living/mob_occupant = occupant
-
- if(!is_operational()) //Autoeject if power is lost
- if(mob_occupant)
- go_out()
- mob_occupant.apply_vore_prefs()
- connected_message("Clone Ejected: Loss of power.")
-
- else if(mob_occupant && (mob_occupant.loc == src))
- if((mob_occupant.stat == DEAD) || (mob_occupant.suiciding) || mob_occupant.hellbound) //Autoeject corpses and suiciding dudes.
- connected_message("Clone Rejected: Deceased.")
- if(internal_radio)
- SPEAK("The cloning has been \
- aborted due to unrecoverable tissue failure.")
- go_out()
- mob_occupant.apply_vore_prefs()
-
- else if(mob_occupant.cloneloss > (100 - heal_level))
- mob_occupant.Unconscious(80)
- var/dmg_mult = CONFIG_GET(number/damage_multiplier)
- //Slowly get that clone healed and finished.
- mob_occupant.adjustCloneLoss(-((speed_coeff / 2) * dmg_mult))
- var/progress = CLONE_INITIAL_DAMAGE - mob_occupant.getCloneLoss()
- // To avoid the default cloner making incomplete clones
- progress += (100 - MINIMUM_HEAL_LEVEL)
- var/milestone = CLONE_INITIAL_DAMAGE / flesh_number
- var/installed = flesh_number - unattached_flesh.len
-
- if((progress / milestone) >= installed)
- // attach some flesh
- var/obj/item/I = pick_n_take(unattached_flesh)
- if(isorgan(I))
- var/obj/item/organ/O = I
- O.organ_flags &= ~ORGAN_FROZEN
- O.Insert(mob_occupant)
- else if(isbodypart(I))
- var/obj/item/bodypart/BP = I
- BP.attach_limb(mob_occupant)
-
- //Premature clones may have brain damage.
- mob_occupant.adjustOrganLoss(ORGAN_SLOT_BRAIN, -((speed_coeff / 2) * dmg_mult))
-
-
- use_power(7500) //This might need tweaking.
-
- else if((mob_occupant.cloneloss <= (100 - heal_level)))
- connected_message("Cloning Process Complete.")
- if(internal_radio)
- SPEAK("The cloning cycle is complete.")
-
- // If the cloner is upgraded to debugging high levels, sometimes
- // organs and limbs can be missing.
- for(var/i in unattached_flesh)
- if(isorgan(i))
- var/obj/item/organ/O = i
- O.organ_flags &= ~ORGAN_FROZEN
- O.Insert(mob_occupant)
- else if(isbodypart(i))
- var/obj/item/bodypart/BP = i
- BP.attach_limb(mob_occupant)
-
- go_out()
- mob_occupant.apply_vore_prefs()
-
- else if (!mob_occupant || mob_occupant.loc != src)
- occupant = null
- use_power(200)
-
- update_icon()
-
-//Let's unlock this early I guess. Might be too early, needs tweaking.
-/obj/machinery/clonepod/attackby(obj/item/W, mob/user, params)
- if(!(occupant || mess))
- if(default_deconstruction_screwdriver(user, "[icon_state]_maintenance", "[initial(icon_state)]",W))
- return
-
- if(default_deconstruction_crowbar(W))
- return
-
- if(istype(W, /obj/item/multitool))
- var/obj/item/multitool/P = W
-
- if(istype(P.buffer, /obj/machinery/computer/cloning))
- if(get_area(P.buffer) != get_area(src))
- to_chat(user, "-% Cannot link machines across power zones. Buffer cleared %-")
- P.buffer = null
- return
- to_chat(user, "-% Successfully linked [P.buffer] with [src] %-")
- var/obj/machinery/computer/cloning/comp = P.buffer
- if(connected)
- connected.DetachCloner(src)
- comp.AttachCloner(src)
- else
- P.buffer = src
- to_chat(user, "-% Successfully stored [REF(P.buffer)] [P.buffer.name] in buffer %-")
- return
-
- var/mob/living/mob_occupant = occupant
- if(W.GetID())
- if(!check_access(W))
- to_chat(user, "Access Denied.")
- return
- if(!(mob_occupant || mess))
- to_chat(user, "Error: Pod has no occupant.")
- return
- else
- connected_message("Emergency Ejection")
- SPEAK("An emergency ejection of the current clone has occurred. Survival not guaranteed.")
- to_chat(user, "You force an emergency ejection. ")
- go_out()
- mob_occupant.apply_vore_prefs()
- else
- return ..()
-
-/obj/machinery/clonepod/emag_act(mob/user)
- if(!occupant)
- return
- to_chat(user, "You corrupt the genetic compiler.")
- malfunction()
-
-//Put messages in the connected computer's temp var for display.
-/obj/machinery/clonepod/proc/connected_message(message)
- if ((isnull(connected)) || (!istype(connected, /obj/machinery/computer/cloning)))
- return FALSE
- if (!message)
- return FALSE
-
- connected.temp = message
- connected.updateUsrDialog()
- return TRUE
-
-/obj/machinery/clonepod/proc/go_out()
- countdown.stop()
- var/mob/living/mob_occupant = occupant
- var/turf/T = get_turf(src)
-
- if(mess) //Clean that mess and dump those gibs!
- for(var/obj/fl in unattached_flesh)
- fl.forceMove(T)
- if(istype(fl, /obj/item/organ))
- var/obj/item/organ/O = fl
- O.organ_flags &= ~ORGAN_FROZEN
- unattached_flesh.Cut()
- mess = FALSE
- if(mob_occupant)
- mob_occupant.spawn_gibs()
- audible_message("You hear a splat.")
- update_icon()
- return
-
- if(!mob_occupant)
- return
-
- REMOVE_TRAIT(mob_occupant, TRAIT_STABLEHEART, CLONING_POD_TRAIT)
- REMOVE_TRAIT(mob_occupant, TRAIT_STABLELIVER, CLONING_POD_TRAIT)
- REMOVE_TRAIT(mob_occupant, TRAIT_EMOTEMUTE, CLONING_POD_TRAIT)
- REMOVE_TRAIT(mob_occupant, TRAIT_MUTE, CLONING_POD_TRAIT)
- REMOVE_TRAIT(mob_occupant, TRAIT_NOCRITDAMAGE, CLONING_POD_TRAIT)
- REMOVE_TRAIT(mob_occupant, TRAIT_NOBREATH, CLONING_POD_TRAIT)
-
- if(grab_ghost_when == CLONER_MATURE_CLONE)
- mob_occupant.grab_ghost()
- to_chat(occupant, "There is a bright flash!
You feel like a new being.")
- mob_occupant.flash_act()
-
- occupant.forceMove(T)
- update_icon()
- mob_occupant.domutcheck(1) //Waiting until they're out before possible monkeyizing. The 1 argument forces powers to manifest.
- for(var/fl in unattached_flesh)
- qdel(fl)
- unattached_flesh.Cut()
-
- //Do the resize on ejection. The clone pod seems to do a lot of matrix transforms the way size code does, so we will handle our resize after.
- mob_occupant.previous_size = 1 //Set the previous size to default so the resize properly set health and speed.
- mob_occupant.custom_body_size = mob_occupant.client.prefs.body_size
- mob_occupant.resize(mob_occupant.custom_body_size * 0.01)
- occupant = null
-
-/obj/machinery/clonepod/proc/malfunction()
- var/mob/living/mob_occupant = occupant
- if(mob_occupant)
- connected_message("Critical Error!")
- SPEAK("Critical error! Please contact a Thinktronic Systems \
- technician, as your warranty may be affected.")
- mess = TRUE
- maim_clone(mob_occupant) //Remove every bit that's grown back so far to drop later, also destroys bits that haven't grown yet
- update_icon()
- if(mob_occupant.mind != clonemind)
- clonemind.transfer_to(mob_occupant)
- mob_occupant.grab_ghost() // We really just want to make you suffer.
- flash_color(mob_occupant, flash_color="#960000", flash_time=100)
- to_chat(mob_occupant, "Agony blazes across your consciousness as your body is torn apart.
Is this what dying is like? Yes it is.")
- playsound(src.loc, 'sound/machines/warning-buzzer.ogg', 50, 0)
- SEND_SOUND(mob_occupant, sound('sound/hallucinations/veryfar_noise.ogg',0,1,50))
- QDEL_IN(mob_occupant, 40)
-
-/obj/machinery/clonepod/relaymove(mob/user)
- container_resist(user)
-
-/obj/machinery/clonepod/container_resist(mob/living/user)
- if(user.stat == CONSCIOUS)
- go_out()
-
-/obj/machinery/clonepod/emp_act(severity)
- . = ..()
- if (!(. & EMP_PROTECT_SELF))
- var/mob/living/mob_occupant = occupant
- if(mob_occupant && prob(100/(severity*efficiency)))
- connected_message(Gibberish("EMP-caused Accidental Ejection", 0))
- SPEAK(Gibberish("Exposure to electromagnetic fields has caused the ejection of, ERROR: John Doe, prematurely." ,0))
- mob_occupant.apply_vore_prefs()
- go_out()
-
-/obj/machinery/clonepod/ex_act(severity, target)
- ..()
- if(!QDELETED(src))
- go_out()
-
-/obj/machinery/clonepod/handle_atom_del(atom/A)
- if(A == occupant)
- occupant = null
- countdown.stop()
-
-/obj/machinery/clonepod/proc/horrifyingsound()
- for(var/i in 1 to 5)
- playsound(loc,pick('sound/hallucinations/growl1.ogg','sound/hallucinations/growl2.ogg','sound/hallucinations/growl3.ogg'), 100, rand(0.95,1.05))
- sleep(1)
- sleep(10)
- playsound(loc,'sound/hallucinations/wail.ogg',100,1)
-
-/obj/machinery/clonepod/deconstruct(disassembled = TRUE)
- if(occupant)
- go_out()
- ..()
-
-/obj/machinery/clonepod/proc/maim_clone(mob/living/carbon/human/H)
- if(!unattached_flesh)
- unattached_flesh = list()
- else
- for(var/fl in unattached_flesh)
- qdel(fl)
- unattached_flesh.Cut()
-
- H.setCloneLoss(CLONE_INITIAL_DAMAGE) //Yeah, clones start with very low health, not with random, because why would they start with random health
- //H.setOrganLoss(ORGAN_SLOT_BRAIN, CLONE_INITIAL_DAMAGE)
- // In addition to being cellularly damaged and having barely any
-
- // brain function, they also have no limbs or internal organs.
-
- if(!HAS_TRAIT(H, TRAIT_NODISMEMBER))
- var/static/list/zones = list(BODY_ZONE_R_ARM, BODY_ZONE_L_ARM, BODY_ZONE_R_LEG, BODY_ZONE_L_LEG)
- for(var/zone in zones)
- var/obj/item/bodypart/BP = H.get_bodypart(zone)
- if(BP)
- BP.drop_limb()
- BP.forceMove(src)
- unattached_flesh += BP
-
- for(var/o in H.internal_organs)
- var/obj/item/organ/organ = o
- if(!istype(organ) || (organ.organ_flags & ORGAN_VITAL))
- continue
- organ.organ_flags |= ORGAN_FROZEN
- organ.Remove(H, special=TRUE)
- organ.forceMove(src)
- unattached_flesh += organ
-
- flesh_number = unattached_flesh.len
-
-#define CRYOMOBS 'icons/obj/cryo_mobs.dmi'
-
-/obj/machinery/clonepod/update_icon()
- cut_overlays()
-
- if(mess)
- icon_state = "pod_g"
- var/image/gib1 = image(CRYOMOBS, "gibup")
- var/image/gib2 = image(CRYOMOBS, "gibdown")
- gib1.pixel_y = 27 + round(sin(world.time) * 3)
- gib1.pixel_x = round(sin(world.time * 3))
- gib2.pixel_y = 27 + round(cos(world.time) * 3)
- gib2.pixel_x = round(cos(world.time * 3))
- add_overlay(gib2)
- add_overlay(gib1)
- add_overlay("cover-on")
-
- else if(occupant)
- icon_state = "pod_1"
-
- var/image/occupant_overlay
- var/completion = (flesh_number - unattached_flesh.len) / flesh_number
-
- if(unattached_flesh.len <= 0)
- occupant_overlay = image(occupant.icon, occupant.icon_state)
- occupant_overlay.copy_overlays(occupant)
- else
- occupant_overlay = image(CRYOMOBS, "clone_meat")
- var/matrix/tform = matrix()
- tform.Scale(completion)
- tform.Turn(cos(world.time * 2) * 3)
- occupant_overlay.transform = tform
- occupant_overlay.appearance_flags = 0
-
- occupant_overlay.dir = SOUTH
- occupant_overlay.pixel_y = 27 + round(sin(world.time) * 3)
- occupant_overlay.pixel_x = round(sin(world.time * 3))
-
- add_overlay(occupant_overlay)
- add_overlay("cover-on")
- else
- icon_state = "pod_0"
-
- if(panel_open)
- icon_state = "pod_0_maintenance"
-
- add_overlay("panel")
-
-/*
- * Manual -- A big ol' manual.
- */
-
-/obj/item/paper/guides/jobs/medical/cloning
- name = "paper - 'H-87 Cloning Apparatus Manual"
- info = {"
Getting Started
- Congratulations, your station has purchased the H-87 industrial cloning device!
- Using the H-87 is almost as simple as brain surgery! Simply insert the target humanoid into the scanning chamber and select the scan option to create a new profile!
- That's all there is to it!
- Notice, cloning system cannot scan inorganic life or small primates. Scan may fail if subject has suffered extreme brain damage.
- Clone profiles may be viewed through the profiles menu. Scanning implants a complementary HEALTH MONITOR IMPLANT into the subject, which may be viewed from each profile.
- Profile Deletion has been restricted to \[Station Head\] level access.
- Cloning from a profile
- Cloning is as simple as pressing the CLONE option at the bottom of the desired profile.
- Per your company's EMPLOYEE PRIVACY RIGHTS agreement, the H-87 has been blocked from cloning crewmembers while they are still alive.
-
- The provided CLONEPOD SYSTEM will produce the desired clone. Standard clone maturation times (With SPEEDCLONE technology) are roughly 90 seconds.
- The cloning pod may be unlocked early with any \[Medical Researcher\] ID after initial maturation is complete.
- Please note that resulting clones may have a small DEVELOPMENTAL DEFECT as a result of genetic drift.
- Profile Management
- The H-87 (as well as your station's standard genetics machine) can accept STANDARD DATA DISKETTES.
- These diskettes are used to transfer genetic information between machines and profiles.
- A load/save dialog will become available in each profile if a disk is inserted.
- A good diskette is a great way to counter aforementioned genetic drift!
-
- This technology produced under license from Thinktronic Systems, LTD."}
-
-#undef CLONE_INITIAL_DAMAGE
-#undef SPEAK
-#undef MINIMUM_HEAL_LEVEL
-
+//Cloning revival method.
+//The pod handles the actual cloning while the computer manages the clone profiles
+
+//Potential replacement for genetics revives or something I dunno (?)
+
+#define CLONE_INITIAL_DAMAGE 150 //Clones in clonepods start with 150 cloneloss damage and 150 brainloss damage, thats just logical
+#define MINIMUM_HEAL_LEVEL 20
+
+#define SPEAK(message) radio.talk_into(src, message, radio_channel)
+
+/obj/machinery/clonepod
+ name = "cloning pod"
+ desc = "An electronically-lockable pod for growing organic tissue."
+ density = TRUE
+ icon = 'icons/obj/machines/cloning.dmi'
+ icon_state = "pod_0"
+ req_access = list(ACCESS_CLONING) //FOR PREMATURE UNLOCKING.
+ verb_say = "states"
+ circuit = /obj/item/circuitboard/machine/clonepod
+
+ var/heal_level //The clone is released once its health reaches this level.
+ var/obj/machinery/computer/cloning/connected = null //So we remember the connected clone machine.
+ var/mess = FALSE //Need to clean out it if it's full of exploded clone.
+ var/attempting = FALSE //One clone attempt at a time thanks
+ var/speed_coeff
+ var/efficiency
+
+ var/datum/mind/clonemind
+ var/grab_ghost_when = CLONER_MATURE_CLONE
+
+ var/internal_radio = TRUE
+ var/obj/item/radio/radio
+ var/radio_key = /obj/item/encryptionkey/headset_med
+ var/radio_channel = RADIO_CHANNEL_MEDICAL
+
+ var/obj/effect/countdown/clonepod/countdown
+
+ var/list/unattached_flesh
+ var/flesh_number = 0
+
+/obj/machinery/clonepod/Initialize()
+ . = ..()
+
+ countdown = new(src)
+
+ if(internal_radio)
+ radio = new(src)
+ radio.keyslot = new radio_key
+ radio.subspace_transmission = TRUE
+ radio.canhear_range = 0
+ radio.recalculateChannels()
+
+ update_icon()
+
+/obj/machinery/clonepod/Destroy()
+ go_out()
+ QDEL_NULL(radio)
+ QDEL_NULL(countdown)
+ if(connected)
+ connected.DetachCloner(src)
+ QDEL_LIST(unattached_flesh)
+ . = ..()
+
+/obj/machinery/clonepod/RefreshParts()
+ speed_coeff = 0
+ efficiency = 0
+ for(var/obj/item/stock_parts/scanning_module/S in component_parts)
+ efficiency += S.rating
+ for(var/obj/item/stock_parts/manipulator/P in component_parts)
+ speed_coeff += (P.rating / 2)
+ speed_coeff = max(1, speed_coeff)
+ heal_level = CLAMP((efficiency * 10) + 10, MINIMUM_HEAL_LEVEL, 100)
+
+//The return of data disks?? Just for transferring between genetics machine/cloning machine.
+//TO-DO: Make the genetics machine accept them.
+/obj/item/disk/data
+ name = "cloning data disk"
+ icon_state = "datadisk0" //Gosh I hope syndies don't mistake them for the nuke disk.
+ var/list/fields = list()
+ var/list/mutations = list()
+ var/max_mutations = 6
+ var/read_only = 0 //Well,it's still a floppy disk
+
+//Disk stuff.
+/obj/item/disk/data/Initialize()
+ . = ..()
+ icon_state = "datadisk[rand(0,6)]"
+ add_overlay("datadisk_gene")
+
+/obj/item/disk/data/attack_self(mob/user)
+ read_only = !read_only
+ to_chat(user, "You flip the write-protect tab to [read_only ? "protected" : "unprotected"].")
+
+/obj/item/disk/data/examine(mob/user)
+ . = ..()
+ . += "The write-protect tab is set to [read_only ? "protected" : "unprotected"]."
+
+
+//Clonepod
+
+/obj/machinery/clonepod/examine(mob/user)
+ . = ..()
+ var/mob/living/mob_occupant = occupant
+ if(mess)
+ . += "It's filled with blood and viscera. You swear you can see it moving..."
+ if(is_operational() && mob_occupant)
+ if(mob_occupant.stat != DEAD)
+ . += "Current clone cycle is [round(get_completion())]% complete."
+
+/obj/machinery/clonepod/return_air()
+ // We want to simulate the clone not being in contact with
+ // the atmosphere, so we'll put them in a constant pressure
+ // nitrogen. They don't need to breathe while cloning anyway.
+ var/static/datum/gas_mixture/immutable/cloner/GM //global so that there's only one instance made for all cloning pods
+ if(!GM)
+ GM = new
+ return GM
+
+/obj/machinery/clonepod/proc/get_completion()
+ . = FALSE
+ var/mob/living/mob_occupant = occupant
+ if(mob_occupant)
+ . = (100 * ((mob_occupant.health + 100) / (heal_level + 100)))
+
+/obj/machinery/clonepod/attack_ai(mob/user)
+ return examine(user)
+
+//Start growing a human clone in the pod!
+/obj/machinery/clonepod/proc/growclone(ckey, clonename, ui, mutation_index, mindref, datum/species/mrace, list/features, factions, list/quirks)
+ if(panel_open)
+ return FALSE
+ if(mess || attempting)
+ return FALSE
+ clonemind = locate(mindref) in SSticker.minds
+ if(!istype(clonemind)) //not a mind
+ return FALSE
+ if(!QDELETED(clonemind.current))
+ if(clonemind.current.stat != DEAD) //mind is associated with a non-dead body
+ return FALSE
+ if(clonemind.current.suiciding) // Mind is associated with a body that is suiciding.
+ return FALSE
+ if(clonemind.active) //somebody is using that mind
+ if( ckey(clonemind.key)!=ckey )
+ return FALSE
+ else
+ // get_ghost() will fail if they're unable to reenter their body
+ var/mob/dead/observer/G = clonemind.get_ghost()
+ if(!G)
+ return FALSE
+ if(G.suiciding) // The ghost came from a body that is suiciding.
+ return FALSE
+ if(clonemind.damnation_type) //Can't clone the damned.
+ INVOKE_ASYNC(src, .proc/horrifyingsound)
+ mess = TRUE
+ update_icon()
+ return FALSE
+
+ attempting = TRUE //One at a time!!
+ countdown.start()
+
+ var/mob/living/carbon/human/H = new /mob/living/carbon/human(src)
+
+ H.hardset_dna(ui, mutation_index, H.real_name, null, mrace, features)
+ H.easy_randmut(NEGATIVE+MINOR_NEGATIVE) //100% bad mutation. Can be cured with mutadone.
+
+ H.silent = 20 //Prevents an extreme edge case where clones could speak if they said something at exactly the right moment.
+ occupant = H
+
+ if(!clonename) //to prevent null names
+ clonename = "clone ([rand(1,999)])"
+ H.real_name = clonename
+
+ //Get the clone body ready
+ maim_clone(H)
+ ADD_TRAIT(H, TRAIT_STABLEHEART, CLONING_POD_TRAIT)
+ ADD_TRAIT(H, TRAIT_STABLELIVER, CLONING_POD_TRAIT)
+ ADD_TRAIT(H, TRAIT_EMOTEMUTE, CLONING_POD_TRAIT)
+ ADD_TRAIT(H, TRAIT_MUTE, CLONING_POD_TRAIT)
+ ADD_TRAIT(H, TRAIT_NOBREATH, CLONING_POD_TRAIT)
+ ADD_TRAIT(H, TRAIT_NOCRITDAMAGE, CLONING_POD_TRAIT)
+ H.Unconscious(80)
+
+ clonemind.transfer_to(H)
+
+ if(grab_ghost_when == CLONER_FRESH_CLONE)
+ H.grab_ghost()
+ to_chat(H, "Consciousness slowly creeps over you as your body regenerates.
So this is what cloning feels like?")
+
+ if(grab_ghost_when == CLONER_MATURE_CLONE)
+ H.ghostize(TRUE) //Only does anything if they were still in their old body and not already a ghost
+ to_chat(H.get_ghost(TRUE), "Your body is beginning to regenerate in a cloning pod. You will become conscious when it is complete.")
+
+ if(H)
+ H.faction |= factions
+
+ for(var/V in quirks)
+ var/datum/quirk/Q = new V(H)
+ Q.on_clone(quirks[V])
+
+ H.set_cloned_appearance()
+ H.give_genitals(TRUE)
+
+ H.suiciding = FALSE
+ attempting = FALSE
+
+ return TRUE
+
+//Grow clones to maturity then kick them out. FREELOADERS
+/obj/machinery/clonepod/process()
+ var/mob/living/mob_occupant = occupant
+
+ if(!is_operational()) //Autoeject if power is lost
+ if(mob_occupant)
+ go_out()
+ mob_occupant.apply_vore_prefs()
+ connected_message("Clone Ejected: Loss of power.")
+
+ else if(mob_occupant && (mob_occupant.loc == src))
+ if((mob_occupant.stat == DEAD) || (mob_occupant.suiciding) || mob_occupant.hellbound) //Autoeject corpses and suiciding dudes.
+ connected_message("Clone Rejected: Deceased.")
+ if(internal_radio)
+ SPEAK("The cloning has been \
+ aborted due to unrecoverable tissue failure.")
+ go_out()
+ mob_occupant.apply_vore_prefs()
+
+ else if(mob_occupant.cloneloss > (100 - heal_level))
+ mob_occupant.Unconscious(80)
+ var/dmg_mult = CONFIG_GET(number/damage_multiplier)
+ //Slowly get that clone healed and finished.
+ mob_occupant.adjustCloneLoss(-((speed_coeff / 2) * dmg_mult))
+ var/progress = CLONE_INITIAL_DAMAGE - mob_occupant.getCloneLoss()
+ // To avoid the default cloner making incomplete clones
+ progress += (100 - MINIMUM_HEAL_LEVEL)
+ var/milestone = CLONE_INITIAL_DAMAGE / flesh_number
+ var/installed = flesh_number - unattached_flesh.len
+
+ if((progress / milestone) >= installed)
+ // attach some flesh
+ var/obj/item/I = pick_n_take(unattached_flesh)
+ if(isorgan(I))
+ var/obj/item/organ/O = I
+ O.organ_flags &= ~ORGAN_FROZEN
+ O.Insert(mob_occupant)
+ else if(isbodypart(I))
+ var/obj/item/bodypart/BP = I
+ BP.attach_limb(mob_occupant)
+
+ //Premature clones may have brain damage.
+ mob_occupant.adjustOrganLoss(ORGAN_SLOT_BRAIN, -((speed_coeff / 2) * dmg_mult))
+
+
+ use_power(7500) //This might need tweaking.
+
+ else if((mob_occupant.cloneloss <= (100 - heal_level)))
+ connected_message("Cloning Process Complete.")
+ if(internal_radio)
+ SPEAK("The cloning cycle is complete.")
+
+ // If the cloner is upgraded to debugging high levels, sometimes
+ // organs and limbs can be missing.
+ for(var/i in unattached_flesh)
+ if(isorgan(i))
+ var/obj/item/organ/O = i
+ O.organ_flags &= ~ORGAN_FROZEN
+ O.Insert(mob_occupant)
+ else if(isbodypart(i))
+ var/obj/item/bodypart/BP = i
+ BP.attach_limb(mob_occupant)
+
+ go_out()
+ mob_occupant.apply_vore_prefs()
+
+ else if (!mob_occupant || mob_occupant.loc != src)
+ occupant = null
+ use_power(200)
+
+ update_icon()
+
+//Let's unlock this early I guess. Might be too early, needs tweaking.
+/obj/machinery/clonepod/attackby(obj/item/W, mob/user, params)
+ if(!(occupant || mess))
+ if(default_deconstruction_screwdriver(user, "[icon_state]_maintenance", "[initial(icon_state)]",W))
+ return
+
+ if(default_deconstruction_crowbar(W))
+ return
+
+ if(istype(W, /obj/item/multitool))
+ var/obj/item/multitool/P = W
+
+ if(istype(P.buffer, /obj/machinery/computer/cloning))
+ if(get_area(P.buffer) != get_area(src))
+ to_chat(user, "-% Cannot link machines across power zones. Buffer cleared %-")
+ P.buffer = null
+ return
+ to_chat(user, "-% Successfully linked [P.buffer] with [src] %-")
+ var/obj/machinery/computer/cloning/comp = P.buffer
+ if(connected)
+ connected.DetachCloner(src)
+ comp.AttachCloner(src)
+ else
+ P.buffer = src
+ to_chat(user, "-% Successfully stored [REF(P.buffer)] [P.buffer.name] in buffer %-")
+ return
+
+ var/mob/living/mob_occupant = occupant
+ if(W.GetID())
+ if(!check_access(W))
+ to_chat(user, "Access Denied.")
+ return
+ if(!(mob_occupant || mess))
+ to_chat(user, "Error: Pod has no occupant.")
+ return
+ else
+ connected_message("Emergency Ejection")
+ SPEAK("An emergency ejection of the current clone has occurred. Survival not guaranteed.")
+ to_chat(user, "You force an emergency ejection. ")
+ go_out()
+ mob_occupant.apply_vore_prefs()
+ else
+ return ..()
+
+/obj/machinery/clonepod/emag_act(mob/user)
+ if(!occupant)
+ return
+ to_chat(user, "You corrupt the genetic compiler.")
+ malfunction()
+
+//Put messages in the connected computer's temp var for display.
+/obj/machinery/clonepod/proc/connected_message(message)
+ if ((isnull(connected)) || (!istype(connected, /obj/machinery/computer/cloning)))
+ return FALSE
+ if (!message)
+ return FALSE
+
+ connected.temp = message
+ connected.updateUsrDialog()
+ return TRUE
+
+/obj/machinery/clonepod/proc/go_out()
+ countdown.stop()
+ var/mob/living/mob_occupant = occupant
+ var/turf/T = get_turf(src)
+
+ if(mess) //Clean that mess and dump those gibs!
+ for(var/obj/fl in unattached_flesh)
+ fl.forceMove(T)
+ if(istype(fl, /obj/item/organ))
+ var/obj/item/organ/O = fl
+ O.organ_flags &= ~ORGAN_FROZEN
+ unattached_flesh.Cut()
+ mess = FALSE
+ if(mob_occupant)
+ mob_occupant.spawn_gibs()
+ audible_message("You hear a splat.")
+ update_icon()
+ return
+
+ if(!mob_occupant)
+ return
+
+ REMOVE_TRAIT(mob_occupant, TRAIT_STABLEHEART, CLONING_POD_TRAIT)
+ REMOVE_TRAIT(mob_occupant, TRAIT_STABLELIVER, CLONING_POD_TRAIT)
+ REMOVE_TRAIT(mob_occupant, TRAIT_EMOTEMUTE, CLONING_POD_TRAIT)
+ REMOVE_TRAIT(mob_occupant, TRAIT_MUTE, CLONING_POD_TRAIT)
+ REMOVE_TRAIT(mob_occupant, TRAIT_NOCRITDAMAGE, CLONING_POD_TRAIT)
+ REMOVE_TRAIT(mob_occupant, TRAIT_NOBREATH, CLONING_POD_TRAIT)
+
+ if(grab_ghost_when == CLONER_MATURE_CLONE)
+ mob_occupant.grab_ghost()
+ to_chat(occupant, "There is a bright flash!
You feel like a new being.")
+ mob_occupant.flash_act()
+
+ occupant.forceMove(T)
+ update_icon()
+ mob_occupant.domutcheck(1) //Waiting until they're out before possible monkeyizing. The 1 argument forces powers to manifest.
+ for(var/fl in unattached_flesh)
+ qdel(fl)
+ unattached_flesh.Cut()
+
+ //Do the resize on ejection. The clone pod seems to do a lot of matrix transforms the way size code does, so we will handle our resize after.
+ mob_occupant.previous_size = 1 //Set the previous size to default so the resize properly set health and speed.
+ mob_occupant.custom_body_size = mob_occupant.client.prefs.body_size
+ mob_occupant.resize(mob_occupant.custom_body_size * 0.01)
+ occupant = null
+
+/obj/machinery/clonepod/proc/malfunction()
+ var/mob/living/mob_occupant = occupant
+ if(mob_occupant)
+ connected_message("Critical Error!")
+ SPEAK("Critical error! Please contact a Thinktronic Systems \
+ technician, as your warranty may be affected.")
+ mess = TRUE
+ maim_clone(mob_occupant) //Remove every bit that's grown back so far to drop later, also destroys bits that haven't grown yet
+ update_icon()
+ if(mob_occupant.mind != clonemind)
+ clonemind.transfer_to(mob_occupant)
+ mob_occupant.grab_ghost() // We really just want to make you suffer.
+ flash_color(mob_occupant, flash_color="#960000", flash_time=100)
+ to_chat(mob_occupant, "Agony blazes across your consciousness as your body is torn apart.
Is this what dying is like? Yes it is.")
+ playsound(src.loc, 'sound/machines/warning-buzzer.ogg', 50, 0)
+ SEND_SOUND(mob_occupant, sound('sound/hallucinations/veryfar_noise.ogg',0,1,50))
+ QDEL_IN(mob_occupant, 40)
+
+/obj/machinery/clonepod/relaymove(mob/user)
+ container_resist(user)
+
+/obj/machinery/clonepod/container_resist(mob/living/user)
+ if(user.stat == CONSCIOUS)
+ go_out()
+
+/obj/machinery/clonepod/emp_act(severity)
+ . = ..()
+ if (!(. & EMP_PROTECT_SELF))
+ var/mob/living/mob_occupant = occupant
+ if(mob_occupant && prob(100/(severity*efficiency)))
+ connected_message(Gibberish("EMP-caused Accidental Ejection", 0))
+ SPEAK(Gibberish("Exposure to electromagnetic fields has caused the ejection of, ERROR: John Doe, prematurely." ,0))
+ mob_occupant.apply_vore_prefs()
+ go_out()
+
+/obj/machinery/clonepod/ex_act(severity, target)
+ ..()
+ if(!QDELETED(src))
+ go_out()
+
+/obj/machinery/clonepod/handle_atom_del(atom/A)
+ if(A == occupant)
+ occupant = null
+ countdown.stop()
+
+/obj/machinery/clonepod/proc/horrifyingsound()
+ for(var/i in 1 to 5)
+ playsound(loc,pick('sound/hallucinations/growl1.ogg','sound/hallucinations/growl2.ogg','sound/hallucinations/growl3.ogg'), 100, rand(0.95,1.05))
+ sleep(1)
+ sleep(10)
+ playsound(loc,'sound/hallucinations/wail.ogg',100,1)
+
+/obj/machinery/clonepod/deconstruct(disassembled = TRUE)
+ if(occupant)
+ go_out()
+ ..()
+
+/obj/machinery/clonepod/proc/maim_clone(mob/living/carbon/human/H)
+ if(!unattached_flesh)
+ unattached_flesh = list()
+ else
+ for(var/fl in unattached_flesh)
+ qdel(fl)
+ unattached_flesh.Cut()
+
+ H.setCloneLoss(CLONE_INITIAL_DAMAGE) //Yeah, clones start with very low health, not with random, because why would they start with random health
+ //H.setOrganLoss(ORGAN_SLOT_BRAIN, CLONE_INITIAL_DAMAGE)
+ // In addition to being cellularly damaged and having barely any
+
+ // brain function, they also have no limbs or internal organs.
+
+ if(!HAS_TRAIT(H, TRAIT_NODISMEMBER))
+ var/static/list/zones = list(BODY_ZONE_R_ARM, BODY_ZONE_L_ARM, BODY_ZONE_R_LEG, BODY_ZONE_L_LEG)
+ for(var/zone in zones)
+ var/obj/item/bodypart/BP = H.get_bodypart(zone)
+ if(BP)
+ BP.drop_limb()
+ BP.forceMove(src)
+ unattached_flesh += BP
+
+ for(var/o in H.internal_organs)
+ var/obj/item/organ/organ = o
+ if(!istype(organ) || (organ.organ_flags & ORGAN_VITAL))
+ continue
+ organ.organ_flags |= ORGAN_FROZEN
+ organ.Remove(H, special=TRUE)
+ organ.forceMove(src)
+ unattached_flesh += organ
+
+ flesh_number = unattached_flesh.len
+
+#define CRYOMOBS 'icons/obj/cryo_mobs.dmi'
+
+/obj/machinery/clonepod/update_icon()
+ cut_overlays()
+
+ if(mess)
+ icon_state = "pod_g"
+ var/image/gib1 = image(CRYOMOBS, "gibup")
+ var/image/gib2 = image(CRYOMOBS, "gibdown")
+ gib1.pixel_y = 27 + round(sin(world.time) * 3)
+ gib1.pixel_x = round(sin(world.time * 3))
+ gib2.pixel_y = 27 + round(cos(world.time) * 3)
+ gib2.pixel_x = round(cos(world.time * 3))
+ add_overlay(gib2)
+ add_overlay(gib1)
+ add_overlay("cover-on")
+
+ else if(occupant)
+ icon_state = "pod_1"
+
+ var/image/occupant_overlay
+ var/completion = (flesh_number - unattached_flesh.len) / flesh_number
+
+ if(unattached_flesh.len <= 0)
+ occupant_overlay = image(occupant.icon, occupant.icon_state)
+ occupant_overlay.copy_overlays(occupant)
+ else
+ occupant_overlay = image(CRYOMOBS, "clone_meat")
+ var/matrix/tform = matrix()
+ tform.Scale(completion)
+ tform.Turn(cos(world.time * 2) * 3)
+ occupant_overlay.transform = tform
+ occupant_overlay.appearance_flags = 0
+
+ occupant_overlay.dir = SOUTH
+ occupant_overlay.pixel_y = 27 + round(sin(world.time) * 3)
+ occupant_overlay.pixel_x = round(sin(world.time * 3))
+
+ add_overlay(occupant_overlay)
+ add_overlay("cover-on")
+ else
+ icon_state = "pod_0"
+
+ if(panel_open)
+ icon_state = "pod_0_maintenance"
+
+ add_overlay("panel")
+
+/*
+ * Manual -- A big ol' manual.
+ */
+
+/obj/item/paper/guides/jobs/medical/cloning
+ name = "paper - 'H-87 Cloning Apparatus Manual"
+ info = {"Getting Started
+ Congratulations, your station has purchased the H-87 industrial cloning device!
+ Using the H-87 is almost as simple as brain surgery! Simply insert the target humanoid into the scanning chamber and select the scan option to create a new profile!
+ That's all there is to it!
+ Notice, cloning system cannot scan inorganic life or small primates. Scan may fail if subject has suffered extreme brain damage.
+ Clone profiles may be viewed through the profiles menu. Scanning implants a complementary HEALTH MONITOR IMPLANT into the subject, which may be viewed from each profile.
+ Profile Deletion has been restricted to \[Station Head\] level access.
+ Cloning from a profile
+ Cloning is as simple as pressing the CLONE option at the bottom of the desired profile.
+ Per your company's EMPLOYEE PRIVACY RIGHTS agreement, the H-87 has been blocked from cloning crewmembers while they are still alive.
+
+ The provided CLONEPOD SYSTEM will produce the desired clone. Standard clone maturation times (With SPEEDCLONE technology) are roughly 90 seconds.
+ The cloning pod may be unlocked early with any \[Medical Researcher\] ID after initial maturation is complete.
+ Please note that resulting clones may have a small DEVELOPMENTAL DEFECT as a result of genetic drift.
+ Profile Management
+ The H-87 (as well as your station's standard genetics machine) can accept STANDARD DATA DISKETTES.
+ These diskettes are used to transfer genetic information between machines and profiles.
+ A load/save dialog will become available in each profile if a disk is inserted.
+ A good diskette is a great way to counter aforementioned genetic drift!
+
+ This technology produced under license from Thinktronic Systems, LTD."}
+
+#undef CLONE_INITIAL_DAMAGE
+#undef SPEAK
+#undef MINIMUM_HEAL_LEVEL
+
diff --git a/code/game/objects/items/plushes.dm b/code/game/objects/items/plushes.dm
index 1237645d..0ee00e8d 100644
--- a/code/game/objects/items/plushes.dm
+++ b/code/game/objects/items/plushes.dm
@@ -715,18 +715,6 @@
icon_state = "scrubpuppy"
item_state = "scrubpuppy"
-/obj/item/toy/plush/borgplushie/meddrake
- name = "MediDrake Plushie"
- desc = "An adorable stuffed toy of a Medidrake."
- icon_state = "meddrake"
- item_state = "meddrake"
-
-/obj/item/toy/plush/borgplushie/secdrake
- name = "SecDrake Plushie"
- desc = "An adorable stuffed toy of a Secdrake."
- icon_state = "secdrake"
- item_state = "secdrake"
-
/obj/item/toy/plush/borgplushie/seeking
icon_state = "seeking"
item_state = "seeking"
diff --git a/code/game/objects/items/stacks/sheets/sheet_types.dm b/code/game/objects/items/stacks/sheets/sheet_types.dm
index dbe94cb8..d68930d6 100644
--- a/code/game/objects/items/stacks/sheets/sheet_types.dm
+++ b/code/game/objects/items/stacks/sheets/sheet_types.dm
@@ -17,30 +17,34 @@
* Metal
*/
GLOBAL_LIST_INIT(metal_recipes, list ( \
- new/datum/stack_recipe("stool", /obj/structure/chair/stool, one_per_turf = TRUE, on_floor = TRUE), \
- new/datum/stack_recipe("bar stool", /obj/structure/chair/stool/bar, one_per_turf = TRUE, on_floor = TRUE), \
- new/datum/stack_recipe("chair", /obj/structure/chair, one_per_turf = TRUE, on_floor = TRUE), \
- new/datum/stack_recipe("bed", /obj/structure/bed, 2, one_per_turf = TRUE, on_floor = TRUE), \
- //CIT CHANGE - adds sofas to metal recipe list
- new/datum/stack_recipe_list("sofas", list( \
- new /datum/stack_recipe("sofa (middle)", /obj/structure/chair/sofa, one_per_turf = TRUE, on_floor = TRUE), \
- new /datum/stack_recipe("sofa (left)", /obj/structure/chair/sofa/left, one_per_turf = TRUE, on_floor = TRUE), \
- new /datum/stack_recipe("sofa (right)", /obj/structure/chair/sofa/right, one_per_turf = TRUE, on_floor = TRUE), \
- new /datum/stack_recipe("sofa (corner)", /obj/structure/chair/sofa/corner, one_per_turf = TRUE, on_floor = TRUE), \
- )), \
- //END OF CIT CHANGES
- null, \
- new/datum/stack_recipe_list("office chairs", list( \
+ new/datum/stack_recipe_list("seats", \
+ list( \
+ new/datum/stack_recipe("stool", /obj/structure/chair/stool, one_per_turf = TRUE, on_floor = TRUE), \
+ new/datum/stack_recipe("bar stool", /obj/structure/chair/stool/bar, one_per_turf = TRUE, on_floor = TRUE), \
+ new/datum/stack_recipe("chair", /obj/structure/chair, one_per_turf = TRUE, on_floor = TRUE), \
+ null, \
new/datum/stack_recipe("dark office chair", /obj/structure/chair/office/dark, 5, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("light office chair", /obj/structure/chair/office/light, 5, one_per_turf = TRUE, on_floor = TRUE), \
- )), \
- new/datum/stack_recipe_list("comfy chairs", list( \
+ null, \
new/datum/stack_recipe("beige comfy chair", /obj/structure/chair/comfy/beige, 2, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("black comfy chair", /obj/structure/chair/comfy/black, 2, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("brown comfy chair", /obj/structure/chair/comfy/brown, 2, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("lime comfy chair", /obj/structure/chair/comfy/lime, 2, one_per_turf = TRUE, on_floor = TRUE), \
- new/datum/stack_recipe("teal comfy chair", /obj/structure/chair/comfy/teal, 2, one_per_turf = TRUE, on_floor = TRUE), \
+ new/datum/stack_recipe("teal comfy chair", /obj/structure/chair/comfy/teal, 2, one_per_turf = TRUE, on_floor = TRUE) \
)), \
+ //CIT CHANGE - adds sofas to metal recipe list
+ new/datum/stack_recipe_list("sofas", \
+ list( \
+ new/datum/stack_recipe("sofa (middle)", /obj/structure/chair/sofa, one_per_turf = TRUE, on_floor = TRUE), \
+ new/datum/stack_recipe("sofa (left)", /obj/structure/chair/sofa/left, one_per_turf = TRUE, on_floor = TRUE), \
+ new/datum/stack_recipe("sofa (right)", /obj/structure/chair/sofa/right, one_per_turf = TRUE, on_floor = TRUE), \
+ new/datum/stack_recipe("sofa (corner)", /obj/structure/chair/sofa/corner, one_per_turf = TRUE, on_floor = TRUE) \
+ )), \
+ //END OF CIT CHANGES
+ new/datum/stack_recipe("bed", /obj/structure/bed, 2, one_per_turf = TRUE, on_floor = TRUE), \
+ null, \
+ //add this when I can find a way to make them easily constructible > new/datum/stack_recipe("sink", /obj/structure/sink, 2, one_per_turf = TRUE, on_floor = TRUE),
+ new/datum/stack_recipe("shower", /obj/machinery/shower/crafted, 2, one_per_turf = TRUE, on_floor = TRUE), \
null, \
new/datum/stack_recipe("rack parts", /obj/item/rack_parts), \
new/datum/stack_recipe("closet", /obj/structure/closet, 2, time = 15, one_per_turf = TRUE, on_floor = TRUE), \
@@ -56,7 +60,8 @@ GLOBAL_LIST_INIT(metal_recipes, list ( \
new/datum/stack_recipe("modular console", /obj/machinery/modular_computer/console/buildable/, 10, time = 25, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("machine frame", /obj/structure/frame/machine, 5, time = 25, one_per_turf = TRUE, on_floor = TRUE), \
null, \
- new /datum/stack_recipe_list("airlock assemblies", list( \
+ new /datum/stack_recipe_list("airlock assemblies", \
+ list( \
new /datum/stack_recipe("standard airlock assembly", /obj/structure/door_assembly, 4, time = 50, one_per_turf = 1, on_floor = 1), \
new /datum/stack_recipe("public airlock assembly", /obj/structure/door_assembly/door_assembly_public, 4, time = 50, one_per_turf = 1, on_floor = 1), \
new /datum/stack_recipe("command airlock assembly", /obj/structure/door_assembly/door_assembly_com, 4, time = 50, one_per_turf = 1, on_floor = 1), \
@@ -74,7 +79,7 @@ GLOBAL_LIST_INIT(metal_recipes, list ( \
new /datum/stack_recipe("external maintenance airlock assembly", /obj/structure/door_assembly/door_assembly_extmai, 4, time = 50, one_per_turf = 1, on_floor = 1), \
new /datum/stack_recipe("airtight hatch assembly", /obj/structure/door_assembly/door_assembly_hatch, 4, time = 50, one_per_turf = 1, on_floor = 1), \
new /datum/stack_recipe("maintenance hatch assembly", /obj/structure/door_assembly/door_assembly_mhatch, 4, time = 50, one_per_turf = 1, on_floor = 1), \
- )), \
+ )), \
null, \
new/datum/stack_recipe("firelock frame", /obj/structure/firelock_frame, 3, time = 50, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("turret frame", /obj/machinery/porta_turret_construct, 5, time = 25, one_per_turf = TRUE, on_floor = TRUE), \
diff --git a/code/game/objects/structures/loom.dm b/code/game/objects/structures/loom.dm
index 29826eb2..5e1cc79a 100644
--- a/code/game/objects/structures/loom.dm
+++ b/code/game/objects/structures/loom.dm
@@ -8,14 +8,48 @@
density = TRUE
anchored = TRUE
-/obj/structure/loom/attackby(obj/item/stack/sheet/W, mob/user)
- if(W.is_fabric && W.amount > 1)
- user.show_message("You start weaving the [W.name] through the loom..", 1)
- if(W.use_tool(src, user, W.pull_effort))
- new W.loom_result(drop_location())
- user.show_message("You weave the [W.name] into a workable fabric.", 1)
- W.amount = (W.amount - 2)
- if(W.amount < 1)
- qdel(W)
+/obj/structure/loom/attackby(obj/item/I, mob/user)
+ if (user.a_intent != INTENT_HELP)
+ return ..()
+ if (istype(I, /obj/item/stack/sheet))
+ if (!anchored)
+ return to_chat(user, "You have to anchor [src] first!")
+
+ var/obj/item/stack/sheet/W = I
+ if(W.is_fabric && W.amount > 1)
+ user.visible_message("",
+ "You start weaving the [W.name] through the loom.")
+
+ if(W.use_tool(src, user, W.pull_effort))
+ new W.loom_result(drop_location())
+ to_chat(user, "You weave the [W.name] into a workable fabric.")
+ W.amount = (W.amount - 2)
+ if(W.amount < 1)
+ qdel(W)
+ else
+ to_chat("You need at least 2 [W.name] to loom into fabric!")
else
- user.show_message("You need a valid fabric and at least 2 of said fabric before using this.", 1)
\ No newline at end of file
+ switch (I.tool_behaviour)
+ if (TOOL_SCREWDRIVER)
+ user.visible_message("[user] starts disassembling [src]...",
+ "You start disassembling [src]...")
+ I.play_tool_sound(src)
+ if(I.use_tool(src, user, 60))
+ playsound(src.loc, 'sound/items/deconstruct.ogg', 50, TRUE)
+ deconstruct(TRUE)
+ return
+ if (TOOL_WRENCH)
+ if (anchored)
+ to_chat(user, "You unsecure the [src].")
+ I.play_tool_sound(src)
+ anchored = FALSE
+ else
+ to_chat(user, "You secure the [src].")
+ I.play_tool_sound(src)
+ anchored = TRUE
+ return
+ return ..()
+
+/obj/structure/loom/deconstruct(disassembled = TRUE)
+ new /obj/item/stack/sheet/mineral/wood (get_turf(src), 10)
+ qdel(src)
diff --git a/code/game/objects/structures/watercloset.dm b/code/game/objects/structures/watercloset.dm
index a43c5a47..9036d8dc 100644
--- a/code/game/objects/structures/watercloset.dm
+++ b/code/game/objects/structures/watercloset.dm
@@ -219,6 +219,9 @@
var/watertemp = "normal" //freezing, normal, or boiling
var/datum/looping_sound/showering/soundloop
+/obj/machinery/shower/crafted //When created from sheets of metal
+ anchored = FALSE
+
/obj/machinery/shower/Initialize()
. = ..()
soundloop = new(list(src), FALSE)
@@ -227,6 +230,29 @@
QDEL_NULL(soundloop)
return ..()
+/obj/machinery/shower/deconstruct(disassembled = TRUE)
+ new /obj/item/stack/sheet/metal (get_turf(src), 2)
+ Destroy()
+
+//Copy from /obj/structure/chair
+/obj/machinery/shower/ComponentInitialize()
+ . = ..()
+ AddComponent(/datum/component/simple_rotation,ROTATION_ALTCLICK | ROTATION_CLOCKWISE, CALLBACK(src, .proc/can_user_rotate),CALLBACK(src, .proc/can_be_rotated),null)
+
+/obj/machinery/shower/proc/can_be_rotated(mob/user)
+ return !anchored
+
+/obj/machinery/shower/proc/can_user_rotate(mob/user)
+ if(istype(user, /mob/living))
+ if(!user.canUseTopic(src, BE_CLOSE, ismonkey(user)))
+ return FALSE
+ else
+ return TRUE
+ else if(isobserver(user) && CONFIG_GET(flag/ghost_interaction))
+ return TRUE
+ return FALSE
+////
+
/obj/effect/mist
name = "mist"
icon = 'icons/obj/watercloset.dmi'
@@ -236,6 +262,8 @@
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
/obj/machinery/shower/interact(mob/M)
+ if (!anchored)
+ return to_chat(M, "You have to connect [src] to the floor first!")
on = !on
update_icon()
add_fingerprint(M)
@@ -258,25 +286,56 @@
/obj/machinery/shower/attackby(obj/item/I, mob/user, params)
if(I.type == /obj/item/analyzer)
- to_chat(user, "The water temperature seems to be [watertemp].")
- else
+ to_chat(user, "The water temperature seems to be [watertemp].")
+ return
+
+ if (user.a_intent != INTENT_HELP)
return ..()
-/obj/machinery/shower/wrench_act(mob/living/user, obj/item/I)
- to_chat(user, "You begin to adjust the temperature valve with \the [I]...")
- if(I.use_tool(src, user, 50))
- switch(watertemp)
- if("normal")
- watertemp = "freezing"
- if("freezing")
- watertemp = "boiling"
- if("boiling")
- watertemp = "normal"
- user.visible_message("[user] adjusts the shower with \the [I].", "You adjust the shower with \the [I] to [watertemp] temperature.")
- log_game("[key_name(user)] has wrenched a shower to [watertemp] at ([x],[y],[z])")
- add_hiddenprint(user)
- return TRUE
+ switch (I.tool_behaviour)
+ if (TOOL_WRENCH)
+ if (!anchored)
+ user.visible_message("[user] starts to take apart [src]...", "You start dismantling [src]...")
+ I.play_tool_sound(src)
+ if(I.use_tool(src, user, 20))
+ deconstruct(TRUE)
+ else
+ to_chat(user, "You begin to adjust the temperature valve with \the [I]...")
+ if(I.use_tool(src, user, 50))
+ switch(watertemp)
+ if("normal")
+ watertemp = "freezing"
+ if("freezing")
+ watertemp = "boiling"
+ if("boiling")
+ watertemp = "normal"
+ user.visible_message("[user] adjusts the shower with \the [I].", "You adjust the shower with \the [I] to [watertemp] temperature.")
+ log_game("[key_name(user)] has wrenched a shower to [watertemp] at ([x],[y],[z])")
+ add_hiddenprint(user)
+ if (TOOL_SCREWDRIVER)
+ if (!anchored)
+ to_chat(user, "You begin screwing in [src] to the floor...")
+ I.play_tool_sound(src)
+ if(I.use_tool(src, user, 30))
+ user.visible_message("[user] connects [src] to the floor.", "You connect [src] to the floor.")
+ anchored = TRUE
+ else
+ to_chat(user, "You start to take out [src]'s screws...")
+ on = FALSE
+ soundloop.stop()
+ update_icon()
+ I.play_tool_sound(src)
+ if(I.use_tool(src, user, 20))
+ user.visible_message("[user] disconnects [src] from the floor.", "You disconnect [src] from the floor.")
+ anchored = FALSE
+
+/obj/machinery/shower/examine()
+ . += ..()
+ if (anchored)
+ . += "It looks like it can be taken apart with a screwdriver..."
+ else
+ . += "Its screws are out of place, allowing it to be dismantled with a wrench."
/obj/machinery/shower/update_icon() //this is terribly unreadable, but basically it makes the shower mist up
cut_overlays() //once it's been on for a while, in addition to handling the water overlay.
@@ -463,6 +522,27 @@
anchored = TRUE
var/busy = FALSE //Something's being washed at the moment
var/dispensedreagent = /datum/reagent/water // for whenever plumbing happens
+ layer = WALL_OBJ_LAYER
+
+/*/obj/structure/sink/Initialize() //This doesn't work in the slightest. It used to at some point through development, but that made it so you cant interact with the object whatsoever. I hate this.
+ . = ..()
+ switch (dir) //Thinking about moving this into its own construction sequence so it can actually work, like using a screwdriver will set its pixel offset, but I feel like that's too much
+ if (NORTH) //Or maybe putting it in lateinit... but that's sloppy and I feel like it wont work when spawning it in after the round starts
+ pixel_x = pixel_y = 0
+ layer = WALL_OBJ_LAYER
+ if (EAST)
+ pixel_x = 12
+ pixel_y = 3
+ layer = WALL_OBJ_LAYER
+ if (SOUTH)
+ pixel_y = 24
+ pixel_x = 0
+ layer = ABOVE_OBJ_LAYER
+ if (WEST)
+ pixel_x = -12
+ pixel_y = 3
+ layer = WALL_OBJ_LAYER
+*/
/obj/structure/sink/attack_hand(mob/living/user)
@@ -509,7 +589,16 @@
/obj/structure/sink/attackby(obj/item/O, mob/living/user, params)
if(busy)
- to_chat(user, "Someone's already washing here!")
+ to_chat(user, "Someone's already washing here.")
+ return
+
+ if (istype(O, /obj/item/wrench) && user.a_intent == INTENT_HELP)
+ to_chat(user, "You start deconstructing [src]...")
+ O.play_tool_sound(src)
+
+ if(O.use_tool(src, user, 20))
+ playsound(src.loc, 'sound/items/deconstruct.ogg', 50, TRUE)
+ deconstruct(TRUE)
return
if(istype(O, /obj/item/reagent_containers))
@@ -574,16 +663,13 @@
return ..()
/obj/structure/sink/deconstruct(disassembled = TRUE)
- new /obj/item/stack/sheet/metal (loc, 3)
+ new /obj/item/stack/sheet/metal (loc, 2)
qdel(src)
-
-
/obj/structure/sink/kitchen
name = "kitchen sink"
icon_state = "sink_alt"
-
/obj/structure/sink/puddle //splishy splashy ^_^
name = "puddle"
desc = "A puddle used for washing one's hands and face."
diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm
index 0e0d3e5e..83285599 100644
--- a/code/modules/client/preferences.dm
+++ b/code/modules/client/preferences.dm
@@ -825,7 +825,20 @@ GLOBAL_LIST_EMPTY(preferences_datums)
dat += " Change
"
//dat += "Ball Circumference: [features["balls_size"]] inch(es)" // The menu works but doesn't do anything yet. Need to figure it out.
dat += "Testicles showing:[features["balls_shape"]]"
- dat += "Produces:[features["balls_fluid"]]"
+ dat += "Produces:"
+ switch(features["balls_fluid"])
+ if(/datum/reagent/consumable/milk)
+ dat += "Milk"
+ if(/datum/reagent/water)
+ dat += "Water"
+ if(/datum/reagent/consumable/semen)
+ dat += "Semen"
+ if(/datum/reagent/consumable/femcum)
+ dat += "Femcum"
+ else
+ dat += "Nothing?"
+ //This else is a safeguard for errors, and if it happened, they wouldn't be able to change this pref,
+ //DO NOT REMOVE IT UNLESS YOU HAVE A GOOD IDEA
dat += APPEARANCE_CATEGORY_COLUMN
dat += "Vagina
"
dat += "[features["has_vag"] == TRUE ? "Yes" : "No"]"
@@ -2137,8 +2150,15 @@ GLOBAL_LIST_EMPTY(preferences_datums)
if("balls_fluid")
var/new_shape
new_shape = input(user, "Balls Fluid", "Character Preference") as null|anything in GLOB.genital_fluids_list
- if(new_shape)
- features["balls_fluid"] = new_shape
+ switch(new_shape)
+ if("Milk")
+ features["balls_fluid"] = /datum/reagent/consumable/milk
+ if("Water")
+ features["balls_fluid"] = /datum/reagent/water
+ if("Semen")
+ features["balls_fluid"] = /datum/reagent/consumable/semen
+ if("Femcum")
+ features["balls_fluid"] = /datum/reagent/consumable/femcum
if("egg_size")
var/new_size
@@ -2171,8 +2191,15 @@ GLOBAL_LIST_EMPTY(preferences_datums)
if("breasts_fluid")
var/new_shape
new_shape = input(user, "Breast Fluid", "Character Preference") as null|anything in GLOB.genital_fluids_list
- if(new_shape)
- features["breasts_fluid"] = new_shape
+ switch(new_shape)
+ if("Milk")
+ features["balls_fluid"] = /datum/reagent/consumable/milk
+ if("Water")
+ features["balls_fluid"] = /datum/reagent/water
+ if("Semen")
+ features["balls_fluid"] = /datum/reagent/consumable/semen
+ if("Femcum")
+ features["balls_fluid"] = /datum/reagent/consumable/femcum
if("breasts_color")
var/new_breasts_color = input(user, "Breast Color:", "Character Preference") as color|null
diff --git a/code/modules/food_and_drinks/drinks/drinks.dm b/code/modules/food_and_drinks/drinks/drinks.dm
index ad99e583..66c2c164 100644
--- a/code/modules/food_and_drinks/drinks/drinks.dm
+++ b/code/modules/food_and_drinks/drinks/drinks.dm
@@ -13,7 +13,7 @@
possible_transfer_amounts = list(5,10,15,20,25,30,50)
volume = 50
resistance_flags = NONE
- var/isGlass = TRUE //Whether the 'bottle' is made of glass or not so that milk cartons dont shatter when someone gets hit by it
+ var/isGlass = TRUE //Whether the container is made of glass or not so that milk cartons dont shatter when someone gets hit by it
splashable = TRUE
/obj/item/reagent_containers/food/drinks/on_reagent_change(changetype)
@@ -105,34 +105,45 @@
/obj/item/reagent_containers/food/drinks/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatum)
. = ..()
if(!.) //if the bottle wasn't caught
- smash(hit_atom, throwingdatum?.thrower, TRUE)
+ smash(hit_atom, throwingdatum.thrower, TRUE)
+
+/obj/item/reagent_containers/food/drinks/after_throw(datum/callback/callback)
+ . = ..()
+ if (!isGlass)
+ return
+ if (!QDELETED(src) || !QDELING(src)) //If we didn't get qdeleted by smash(), assume we got flung by a bartender
+ transform = initial(transform)
+ to_chat(viewers(8, get_turf(src)), "\The [src] lands upright without spilling a drop!")
/obj/item/reagent_containers/food/drinks/proc/smash(atom/target, mob/thrower, ranged = FALSE)
- if(!isGlass)
+ if (!isGlass)
return
- if(QDELING(src) || !target) //Invalid loc
+ if (QDELING(src) || !target) //Invalid loc
return
- if(bartender_check(target) && ranged)
+ if (bartender_check(thrower) && istype(target, /turf/open) && ranged) //Smash against windows and players, but not on floors or tables. The target is always an open turf if there is no density
return
+
SplashReagents(target)
var/obj/item/broken_bottle/B = new (loc)
B.icon_state = icon_state
- var/icon/I = new('icons/obj/drinks.dmi', src.icon_state)
+ var/icon/I = new(icon, icon_state)
I.Blend(B.broken_outline, ICON_OVERLAY, rand(5), 1)
I.SwapColor(rgb(255, 0, 220, 255), rgb(0, 0, 0, 0))
B.icon = I
B.name = "broken [name]"
- if(ranged)
+ transfer_fingerprints_to(B)
+ playsound(src, "shatter", 70, 1)
+ qdel(src)
+ if (ranged)
var/matrix/M = matrix(B.transform)
M.Turn(rand(-170, 170))
B.transform = M
B.pixel_x = rand(-12, 12)
B.pixel_y = rand(-12, 12)
- if(prob(33))
- new/obj/item/shard(drop_location())
- playsound(src, "shatter", 70, 1)
- transfer_fingerprints_to(B)
- qdel(src)
+ else
+ thrower.put_in_hands(B)
+ if (prob(33))
+ new/obj/item/shard(get_turf(target))
@@ -305,28 +316,6 @@
icon_state = "juicebox"
volume = 15 //I figure if you have to craft these it should at least be slightly better than something you can get for free from a watercooler
-/obj/item/reagent_containers/food/drinks/sillycup/smallcarton/smash(atom/target, mob/thrower, ranged = FALSE)
- if(bartender_check(target) && ranged)
- return
- var/obj/item/broken_bottle/B = new (loc)
- B.icon_state = icon_state
- var/icon/I = new('icons/obj/drinks.dmi', src.icon_state)
- I.Blend(B.broken_outline, ICON_OVERLAY, rand(5), 1)
- I.SwapColor(rgb(255, 0, 220, 255), rgb(0, 0, 0, 0))
- B.icon = I
- B.name = "broken [name]"
- B.force = 0
- B.throwforce = 0
- B.desc = "A carton with the bottom half burst open. Might give you a papercut."
- if(ranged)
- var/matrix/M = matrix(B.transform)
- M.Turn(rand(-170, 170))
- B.transform = M
- B.pixel_x = rand(-12, 12)
- B.pixel_y = rand(-12, 12)
- transfer_fingerprints_to(B)
- qdel(src)
-
/obj/item/reagent_containers/food/drinks/sillycup/smallcarton/on_reagent_change(changetype)
if (reagents.reagent_list.len)
switch(reagents.get_master_reagent_id())
diff --git a/code/modules/food_and_drinks/drinks/drinks/bottle.dm b/code/modules/food_and_drinks/drinks/drinks/bottle.dm
index e269612b..2787db0b 100644
--- a/code/modules/food_and_drinks/drinks/drinks/bottle.dm
+++ b/code/modules/food_and_drinks/drinks/drinks/bottle.dm
@@ -16,40 +16,6 @@
isGlass = TRUE
foodtype = ALCOHOL
-
-/obj/item/reagent_containers/food/drinks/bottle/smash(mob/living/target, mob/thrower, ranged = FALSE)
- //Creates a shattering noise and replaces the bottle with a broken_bottle
- if(bartender_check(target) && ranged)
- return
- var/obj/item/broken_bottle/B = new (loc)
- if(!ranged)
- thrower.put_in_hands(B)
- else
- var/matrix/M = matrix(B.transform)
- M.Turn(rand(-170, 170))
- B.transform = M
- B.pixel_x = rand(-12, 12)
- B.pixel_y = rand(-12, 12)
- B.icon_state = icon_state
-
- var/icon/I = new('icons/obj/drinks.dmi', src.icon_state)
- I.Blend(B.broken_outline, ICON_OVERLAY, rand(5), 1)
- I.SwapColor(rgb(255, 0, 220, 255), rgb(0, 0, 0, 0))
- B.icon = I
-
- if(isGlass)
- if(prob(33))
- new/obj/item/shard(drop_location())
- playsound(src, "shatter", 70, 1)
- else
- B.force = 0
- B.throwforce = 0
- B.desc = "A carton with the bottom half burst open. Might give you a papercut."
- B.name = "broken [name]"
- transfer_fingerprints_to(B)
-
- qdel(src)
-
/obj/item/reagent_containers/food/drinks/bottle/attack(mob/living/target, mob/living/user)
if(!target)
diff --git a/code/modules/hydroponics/fermenting_barrel.dm b/code/modules/hydroponics/fermenting_barrel.dm
index ab6625b4..cc1326c3 100644
--- a/code/modules/hydroponics/fermenting_barrel.dm
+++ b/code/modules/hydroponics/fermenting_barrel.dm
@@ -38,8 +38,10 @@
playsound(src, 'sound/effects/bubbles.ogg', 50, TRUE)
/obj/structure/fermenting_barrel/attackby(obj/item/I, mob/user, params)
- var/obj/item/reagent_containers/food/snacks/grown/fruit = I
- if(istype(fruit))
+ if (user.a_intent != INTENT_HELP)
+ return ..()
+ if (istype(I, /obj/item/reagent_containers/food/snacks/grown))
+ var/obj/item/reagent_containers/food/snacks/grown/fruit = I
if(!fruit.can_distill)
to_chat(user, "You can't distill this into anything...")
return TRUE
@@ -50,7 +52,32 @@
addtimer(CALLBACK(src, .proc/makeWine, fruit), rand(80, 120) * speed_multiplier)
return TRUE
else
- return ..()
+ switch (I.tool_behaviour)
+ if (TOOL_SCREWDRIVER)
+ user.visible_message("[user] starts disassembling [src]...",
+ "You start disassembling [src]...")
+ var/reagent_calculation = 1
+ if (reagents.total_volume)
+ user.visible_message("Liquid starts pouring out [src] as [user] starts disassembling it!",
+ "Liquid starts pouring out [src], maybe you should think about this...")
+ reagent_calculation += 2+round(reagents.total_volume/100)/2
+ I.play_tool_sound(src)
+ if(I.use_tool(src, user, 30*reagent_calculation))
+ playsound(src.loc, 'sound/items/deconstruct.ogg', 50, TRUE)
+ if (reagents.total_volume)
+ chem_splash(loc, round(reagent_calculation*0.75), list(reagents))
+ deconstruct(TRUE)
+ else if (reagents.total_volume)
+ visible_message("[user] stops disassembling [src].")
+ if (TOOL_WRENCH)
+ if (anchored) //Imaginary bolts on the ground, just like anything else that can get wrenched
+ to_chat(user, "You unsecure [src].")
+ I.play_tool_sound(src)
+ anchored = FALSE
+ else
+ to_chat(user, "You secure [src].")
+ I.play_tool_sound(src)
+ anchored = TRUE
/obj/structure/fermenting_barrel/attack_hand(mob/user)
open = !open
@@ -69,3 +96,7 @@
icon_state = "barrel_open"
else
icon_state = "barrel"
+
+/obj/structure/fermenting_barrel/deconstruct(disassembled = TRUE)
+ new /obj/item/stack/sheet/mineral/wood (get_turf(src), 10)
+ qdel(src)
diff --git a/code/modules/reagents/chemistry/recipes/medicine.dm b/code/modules/reagents/chemistry/recipes/medicine.dm
index 2c843ec7..2571dfaf 100644
--- a/code/modules/reagents/chemistry/recipes/medicine.dm
+++ b/code/modules/reagents/chemistry/recipes/medicine.dm
@@ -316,6 +316,6 @@
/datum/chemical_reaction/prussian_blue
name = "Prussian Blue"
- id = "prussian_blue"
- results = list("prussian_blue" = 2)
- required_reagents = list( "iron" = 1, "cyanide" = 6)
+ id = /datum/reagent/medicine/prussian_blue
+ results = list(/datum/reagent/medicine/prussian_blue = 2)
+ required_reagents = list( /datum/reagent/iron = 1, /datum/reagent/toxin/cyanide = 6)
diff --git a/code/modules/reagents/reagent_containers.dm b/code/modules/reagents/reagent_containers.dm
index 9cf908a1..31c80248 100644
--- a/code/modules/reagents/reagent_containers.dm
+++ b/code/modules/reagents/reagent_containers.dm
@@ -85,10 +85,10 @@
/obj/item/reagent_containers/proc/bartender_check(atom/target)
. = FALSE
var/turf/T = get_turf(src)
- if(!T || target.CanPass(src, T) || !thrownby || !thrownby.actions)
+ if(!T || !thrownby || !thrownby.actions)
return
- for(var/datum/action/innate/drink_fling/D in thrownby.actions)
- if(D.active)
+ for(var/datum/action/innate/D in thrownby.actions)
+ if(D.active && istype(D, /datum/action/innate/drink_fling))
return TRUE
@@ -107,17 +107,16 @@
target.visible_message("[M] has been splashed with something!", \
"[M] has been splashed with something!")
for(var/datum/reagent/A in reagents.reagent_list)
- R += A.type + " ("
- R += num2text(A.volume) + "),"
+ R += "[A.type] ([num2text(A.volume)]), "
if(thrownby)
log_combat(thrownby, M, "splashed", R)
reagents.reaction(target, TOUCH)
else if(bartender_check(target) && thrown)
- visible_message("[src] lands onto the [target.name] without spilling a single drop.")
- transform = initial(transform)
- addtimer(CALLBACK(src, .proc/ForceResetRotation), 1)
+ if(!istype(src, /obj/item/reagent_containers/food/drinks)) //drinks smash against solid objects
+ visible_message("[src] lands upright without spilling a single drop!")
+ transform = initial(transform)
return
else
diff --git a/code/modules/reagents/reagent_containers/spray.dm b/code/modules/reagents/reagent_containers/spray.dm
index 1b2e6248..a0070273 100644
--- a/code/modules/reagents/reagent_containers/spray.dm
+++ b/code/modules/reagents/reagent_containers/spray.dm
@@ -63,7 +63,6 @@
log_game("[key_name(user)] fired Space lube from \a [src] at [AREACOORD(T)].")
return
-
/obj/item/reagent_containers/spray/proc/spray(atom/A)
var/range = CLAMP(get_dist(src, A), 1, current_range)
var/obj/effect/decal/chempuff/D = new /obj/effect/decal/chempuff(get_turf(src))
diff --git a/config/whitelist.txt b/config/whitelist.txt
index 59270487..50d26306 100644
--- a/config/whitelist.txt
+++ b/config/whitelist.txt
@@ -6,4 +6,4 @@
#kevinz000
#Iamgoofball
#Rshoe95
-#That one penguin who became an admin
+#That one penguin who became an admin
\ No newline at end of file
diff --git a/icons/mob/cyborg/Drakeborg-licensing.txt b/icons/mob/cyborg/Drakeborg-licensing.txt
deleted file mode 100644
index f2d3ca92..00000000
--- a/icons/mob/cyborg/Drakeborg-licensing.txt
+++ /dev/null
@@ -1,69 +0,0 @@
-Drakeborg & drakeplushies are created by deviantart.com/mizartz
-
-https://creativecommons.org/licenses/by-nc-sa/3.0/
-Attribution-NonCommercial-ShareAlike 3.0 Unported
-
-CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
-License
-THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
-
-BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
-
-1. Definitions
-
-"Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
-"Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(g) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
-"Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
-"License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, Noncommercial, ShareAlike.
-"Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
-"Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
-"Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
-"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
-"Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
-"Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
-2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
-
-3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
-
-to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
-to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
-to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
-to Distribute and Publicly Perform Adaptations.
-The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved, including but not limited to the rights described in Section 4(e).
-
-4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
-
-You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(d), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(d), as requested.
-You may Distribute or Publicly Perform an Adaptation only under: (i) the terms of this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-NonCommercial-ShareAlike 3.0 US) ("Applicable License"). You must include a copy of, or the URI, for Applicable License with every copy of each Adaptation You Distribute or Publicly Perform. You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License. You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License.
-You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in con-nection with the exchange of copyrighted works.
-If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and, (iv) consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(d) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
-For the avoidance of doubt:
-
-Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
-Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License if Your exercise of such rights is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(c) and otherwise waives the right to collect royalties through any statutory or compulsory licensing scheme; and,
-Voluntary License Schemes. The Licensor reserves the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License that is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(c).
-Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
-5. Representations, Warranties and Disclaimer
-
-UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING AND TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO THIS EXCLUSION MAY NOT APPLY TO YOU.
-
-6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-7. Termination
-
-This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
-Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
-8. Miscellaneous
-
-Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
-Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
-If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
-No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
-This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
-The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
-Creative Commons Notice
-Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor.
-
-Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of this License.
-
-Creative Commons may be contacted at https://creativecommons.org/.
\ No newline at end of file
diff --git a/icons/mob/cyborg/drakemech.dmi b/icons/mob/cyborg/drakemech.dmi
deleted file mode 100644
index 220ab7e0..00000000
Binary files a/icons/mob/cyborg/drakemech.dmi and /dev/null differ
diff --git a/icons/obj/plushes.dmi b/icons/obj/plushes.dmi
index 56742ae3..c1d136d9 100644
Binary files a/icons/obj/plushes.dmi and b/icons/obj/plushes.dmi differ
diff --git a/modular_citadel/code/modules/client/loadout/backpack.dm b/modular_citadel/code/modules/client/loadout/backpack.dm
index 5d2798e2..98819167 100644
--- a/modular_citadel/code/modules/client/loadout/backpack.dm
+++ b/modular_citadel/code/modules/client/loadout/backpack.dm
@@ -18,16 +18,6 @@
category = SLOT_IN_BACKPACK
path = /obj/item/toy/plush/slimeplushie
-/datum/gear/toy/plush/borgplushie/secdrake
- name = "SecDrake Plushie"
- category = SLOT_IN_BACKPACK
- path = /obj/item/toy/plush/borgplushie/secdrake
-
-/datum/gear/toy/plush/borgplushie/meddrake
- name = "MediDrake Plushie"
- category = SLOT_IN_BACKPACK
- path = /obj/item/toy/plush/borgplushie/meddrake
-
/datum/gear/plushlamp
name = "Lamp plushie"
category = SLOT_IN_BACKPACK
diff --git a/modular_citadel/code/modules/mob/living/silicon/robot/robot_modules.dm b/modular_citadel/code/modules/mob/living/silicon/robot/robot_modules.dm
index cbb5996f..a466c152 100644
--- a/modular_citadel/code/modules/mob/living/silicon/robot/robot_modules.dm
+++ b/modular_citadel/code/modules/mob/living/silicon/robot/robot_modules.dm
@@ -79,8 +79,7 @@
if(!k9_models)
k9_models = list(
"k9" = image(icon = 'modular_citadel/icons/mob/widerobot.dmi', icon_state = "k9"),
- "k9V2" = image(icon = 'modular_citadel/icons/mob/widerobot.dmi', icon_state = "valesec"),
- "Drake" = image(icon = 'icons/mob/cyborg/drakemech.dmi', icon_state = "drakesecbox")
+ "k9V2" = image(icon = 'modular_citadel/icons/mob/widerobot.dmi', icon_state = "valesec")
)
if(R.client?.ckey == "nezuli")
var/image/bad_snowflake = image(icon = 'modular_citadel/icons/mob/widerobot.dmi', icon_state = "alina-sec")
@@ -98,10 +97,6 @@
cyborg_base_icon = "valesec"
sleeper_overlay = "v2secsleeper"
has_snowflake_deadsprite = TRUE
- if("Drake")
- cyborg_base_icon = "drakesec"
- cyborg_icon_override = 'icons/mob/cyborg/drakemech.dmi'
- sleeper_overlay = "drakesecsleeper"
if("Alina")
cyborg_base_icon = "alina-sec"
special_light_key = "alina"
@@ -148,8 +143,7 @@
medihound_models = list(
"medihound" = image(icon = 'modular_citadel/icons/mob/widerobot.dmi', icon_state = "medihound"),
"medihound V2" = image(icon = 'modular_citadel/icons/mob/widerobot.dmi', icon_state = "valemed"),
- "Dark" = image(icon = 'modular_citadel/icons/mob/widerobot.dmi', icon_state = "medihounddark"),
- "Drake" = image(icon = 'icons/mob/cyborg/drakemech.dmi', icon_state = "drakemedbox")
+ "Dark" = image(icon = 'modular_citadel/icons/mob/widerobot.dmi', icon_state = "medihounddark")
)
if(R.client?.ckey == "nezuli")
var/image/bad_snowflake = image(icon = 'modular_citadel/icons/mob/widerobot.dmi', icon_state = "alina-med")
@@ -169,10 +163,6 @@
cyborg_base_icon = "valemed"
sleeper_overlay = "v2medsleeper"
has_snowflake_deadsprite = TRUE
- if("Drake")
- cyborg_base_icon = "drakemed"
- cyborg_icon_override = 'icons/mob/cyborg/drakemech.dmi'
- sleeper_overlay = "drakemedsleeper"
if("Alina")
cyborg_base_icon = "alina-med"
special_light_key = "alina"
@@ -211,8 +201,7 @@
var/static/list/scrubpup_models
if(!scrubpup_models)
scrubpup_models = list(
- "scrubpup" = image(icon = 'modular_citadel/icons/mob/widerobot.dmi', icon_state = "scrubpup"),
- "Drake" = image(icon = 'icons/mob/cyborg/drakemech.dmi', icon_state = "drakejanitbox")
+ "scrubpup" = image(icon = 'modular_citadel/icons/mob/widerobot.dmi', icon_state = "scrubpup")
)
var/scrubpup_borg_icon = show_radial_menu(R, R , scrubpup_models, custom_check = CALLBACK(src, .proc/check_menu, R), radius = 42, require_near = TRUE, tooltips = TRUE)
if(!scrubpup_borg_icon)
@@ -220,10 +209,6 @@
switch(scrubpup_borg_icon)
if("scrubpup")
cyborg_base_icon = "scrubpup"
- if("Drake")
- cyborg_base_icon = "drakejanit"
- cyborg_icon_override = 'icons/mob/cyborg/drakemech.dmi'
- sleeper_overlay = "drakejanitsleeper"
return ..()
/obj/item/robot_module/scrubpup/respawn_consumable(mob/living/silicon/robot/R, coeff = 1)
@@ -413,8 +398,7 @@
"Spider" = image(icon = 'modular_citadel/icons/mob/robots.dmi', icon_state = "whitespider"),
"BootyF" = image(icon = 'modular_citadel/icons/mob/robots.dmi', icon_state = "bootypeace"),
"BootyM" = image(icon = 'modular_citadel/icons/mob/robots.dmi', icon_state = "bootypeaceM"),
- "BootyS" = image(icon = 'modular_citadel/icons/mob/robots.dmi', icon_state = "bootypeaceS"),
- "Drake" = image(icon = 'icons/mob/cyborg/drakemech.dmi', icon_state = "drakepeacebox")
+ "BootyS" = image(icon = 'modular_citadel/icons/mob/robots.dmi', icon_state = "bootypeaceS")
)
peace_models = sortList(peace_models)
var/peace_borg_icon = show_radial_menu(R, R , peace_models, custom_check = CALLBACK(src, .proc/check_menu, R), radius = 42, require_near = TRUE, tooltips = TRUE)
@@ -438,15 +422,6 @@
cyborg_base_icon = "bootypeaceS"
cyborg_icon_override = 'modular_citadel/icons/mob/robots.dmi'
hat_offset = 3
- if("Drake")
- cyborg_base_icon = "drakepeace"
- can_be_pushed = FALSE
- hat_offset = INFINITY
- cyborg_icon_override = 'icons/mob/cyborg/drakemech.dmi'
- sleeper_overlay = "drakepeacesleeper"
- has_snowflake_deadsprite = TRUE
- dogborg = TRUE
- cyborg_pixel_offset = -16
return ..()
/obj/item/robot_module/security/be_transformed_to(obj/item/robot_module/old_module)
@@ -638,15 +613,6 @@
sleeper_overlay = "valeengsleeper"
dogborg = TRUE
cyborg_pixel_offset = -16
- if("Drake")
- cyborg_base_icon = "drakeeng"
- can_be_pushed = FALSE
- hat_offset = INFINITY
- cyborg_icon_override = 'icons/mob/cyborg/drakemech.dmi'
- sleeper_overlay = "drakeengsleeper"
- has_snowflake_deadsprite = TRUE
- dogborg = TRUE
- cyborg_pixel_offset = -16
if("Alina")
cyborg_base_icon = "alina-eng"
special_light_key = "alina"
@@ -685,8 +651,7 @@
"Heavy" = image(icon = 'modular_citadel/icons/mob/robots.dmi', icon_state = "heavymin"),
"BootyF" = image(icon = 'modular_citadel/icons/mob/robots.dmi', icon_state = "bootyminer"),
"BootyM" = image(icon = 'modular_citadel/icons/mob/robots.dmi', icon_state = "bootyminerM"),
- "BootyS" = image(icon = 'modular_citadel/icons/mob/robots.dmi', icon_state = "bootyminerS"),
- "Drake" = image(icon = 'icons/mob/cyborg/drakemech.dmi', icon_state = "drakeminebox")
+ "BootyS" = image(icon = 'modular_citadel/icons/mob/robots.dmi', icon_state = "bootyminerS")
)
miner_models = sortList(miner_models)
var/miner_borg_icon = show_radial_menu(R, R , miner_models, custom_check = CALLBACK(src, .proc/check_menu, R), radius = 42, require_near = TRUE, tooltips = TRUE)
@@ -729,15 +694,6 @@
cyborg_base_icon = "bootyminerS"
cyborg_icon_override = 'modular_citadel/icons/mob/robots.dmi'
hat_offset = 3
- if("Drake")
- cyborg_base_icon = "drakemine"
- can_be_pushed = FALSE
- hat_offset = INFINITY
- cyborg_icon_override = 'icons/mob/cyborg/drakemech.dmi'
- sleeper_overlay = "drakeminesleeper"
- has_snowflake_deadsprite = TRUE
- dogborg = TRUE
- cyborg_pixel_offset = -16
return ..()
/obj/item/robot_module/standard/be_transformed_to(obj/item/robot_module/old_module)