diff --git a/code/game/jobs/job/science.dm b/code/game/jobs/job/science.dm index eaa1c4b7936..1f69a5ee14d 100644 --- a/code/game/jobs/job/science.dm +++ b/code/game/jobs/job/science.dm @@ -133,33 +133,3 @@ H.equip_to_slot_or_del(new /obj/item/weapon/storage/belt/utility/full(H), slot_belt) H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat(H), slot_wear_suit) return TRUE - -/datum/job/geneticist - title = "Geneticist" - flag = GENETICIST - department = "Science" - department_flag = MEDSCI - faction = "Station" - total_positions = 0 - spawn_positions = 0 - supervisors = "the research director" - selection_color = "#ffeeff" - economic_modifier = 7 - access = list(access_genetics, access_tox, access_tox_storage, access_morgue, access_research) - minimal_access = list(access_morgue, access_genetics, access_research) - - bag_type = /obj/item/weapon/storage/backpack/genetics - satchel_type = /obj/item/weapon/storage/backpack/satchel_gen - duffel_type = /obj/item/weapon/storage/backpack/duffel/gen - messenger_bag_type = /obj/item/weapon/storage/backpack/messenger/gen - - equip(var/mob/living/carbon/human/H) - if(!H) - return FALSE - H.equip_to_slot_or_del(new /obj/item/device/radio/headset/headset_sci(H), slot_l_ear) - H.equip_to_slot_or_del(new /obj/item/clothing/under/rank/geneticist(H), slot_w_uniform) - H.equip_to_slot_or_del(new /obj/item/clothing/shoes/white(H), slot_shoes) - H.equip_to_slot_or_del(new /obj/item/device/pda/geneticist(H), slot_belt) - H.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/toggle/labcoat/genetics(H), slot_wear_suit) - H.equip_to_slot_or_del(new /obj/item/device/flashlight/pen(H), slot_s_store) - return TRUE diff --git a/code/game/jobs/jobs.dm b/code/game/jobs/jobs.dm index 8736fa16874..c7c84264c75 100644 --- a/code/game/jobs/jobs.dm +++ b/code/game/jobs/jobs.dm @@ -23,14 +23,13 @@ var/const/SCIENTIST =(1<<1) var/const/CHEMIST =(1<<2) var/const/CMO =(1<<3) var/const/DOCTOR =(1<<4) -var/const/GENETICIST =(1<<5) -var/const/VIROLOGIST =(1<<6) -var/const/PSYCHIATRIST =(1<<7) -var/const/ROBOTICIST =(1<<8) -var/const/XENOBIOLOGIST =(1<<9) -var/const/PARAMEDIC =(1<<10) -var/const/INTERN_MED =(1<<11) -var/const/INTERN_SCI =(1<<12) +var/const/VIROLOGIST =(1<<5) +var/const/PSYCHIATRIST =(1<<6) +var/const/ROBOTICIST =(1<<7) +var/const/XENOBIOLOGIST =(1<<8) +var/const/PARAMEDIC =(1<<9) +var/const/INTERN_MED =(1<<10) +var/const/INTERN_SCI =(1<<11) var/const/CIVILIAN =(1<<2) @@ -85,7 +84,6 @@ var/list/medical_positions = list( var/list/science_positions = list( "Research Director", "Scientist", - "Geneticist", //Part of both medical and science "Roboticist", "Xenobiologist", "Lab Assistant" diff --git a/code/modules/mob/living/simple_animal/hostile/hostile.dm b/code/modules/mob/living/simple_animal/hostile/hostile.dm index 21bce1f0d1b..bc75fdc929b 100644 --- a/code/modules/mob/living/simple_animal/hostile/hostile.dm +++ b/code/modules/mob/living/simple_animal/hostile/hostile.dm @@ -33,7 +33,7 @@ return null var/atom/T = null - var/lowest_health = 100 + var/lowest_health = INFINITY // Max you can get stop_automated_movement = 0 for(var/atom/A in targets) @@ -192,6 +192,8 @@ mob/living/simple_animal/hostile/hitby(atom/movable/AM as mob|obj,var/speed = TH if(HOSTILE_STANCE_IDLE) targets = ListTargets(10) target_mob = FindTarget() + if(destroy_surroundings && isnull(target_mob)) + DestroySurroundings() if(HOSTILE_STANCE_ATTACK) if(destroy_surroundings) diff --git a/code/modules/power/smes.dm b/code/modules/power/smes.dm index f1d3fd386b2..d565ec72e94 100644 --- a/code/modules/power/smes.dm +++ b/code/modules/power/smes.dm @@ -333,7 +333,10 @@ // this is the data which will be sent to the ui var/data[0] data["nameTag"] = name_tag - data["storedCapacity"] = round(100.0*charge/capacity, 0.1) + if(capacity) + data["storedCapacity"] = round(100.0*charge/capacity, 0.1) + else + data["storedCapacity"] = 0 data["charging"] = inputting data["chargeMode"] = input_attempt data["chargeLevel"] = input_level diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index 13a42ccca75..e7d1b095e57 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -1412,9 +1412,13 @@ var/turf/target // this will be where the output objects are 'thrown' to. var/mode = 0 + var/spread = 0 + var/spread_point = 10 + + /obj/structure/disposaloutlet/Initialize() . = ..() - target = get_ranged_target_turf(src, dir, 10) + target = get_ranged_target_turf(src, dir, spread_point) var/obj/structure/disposalpipe/trunk/trunk = locate() in src.loc if(trunk) @@ -1437,7 +1441,12 @@ AM.pipe_eject(dir) if(!istype(AM,/mob/living/silicon/robot/drone)) //Drones keep smashing windows from being fired out of chutes. Bad for the station. ~Z spawn(5) - AM.throw_at(target, 3, 1) + if(spread) + var/turf/new_turf_target = get_step(target,turn(src.dir, rand(-spread,spread))) + AM.throw_at(new_turf_target, 3, 1) + else + AM.throw_at(target, 3, 1) + H.vent_gas(src.loc) qdel(H) diff --git a/code/modules/research/designs/circuit_designs.dm b/code/modules/research/designs/circuit_designs.dm index 0a76c264fe4..b898445ba99 100644 --- a/code/modules/research/designs/circuit_designs.dm +++ b/code/modules/research/designs/circuit_designs.dm @@ -79,12 +79,6 @@ build_path = /obj/item/weapon/circuitboard/pandemic sort_string = "FAEAA" -/datum/design/circuit/scan_console - name = "DNA machine" - id = "scan_console" - build_path = /obj/item/weapon/circuitboard/scan_consolenew - sort_string = "FAGAA" - /datum/design/circuit/clonecontrol name = "cloning control console" id = "clonecontrol" diff --git a/html/changelog.html b/html/changelog.html index 8c4868a4f59..fe3aabae566 100644 --- a/html/changelog.html +++ b/html/changelog.html @@ -56,6 +56,13 @@ -->
+

03 June 2018

+

BurgerBB updated:

+ +

29 May 2018

Kaedwuff updated: