diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm index 5e168bf36d..0e2f273e76 100644 --- a/code/modules/mob/living/carbon/human/human_defense.dm +++ b/code/modules/mob/living/carbon/human/human_defense.dm @@ -423,13 +423,13 @@ emp_act if(istype(AM,/obj/)) var/obj/O = AM - if(stat != DEAD && istype(O,/obj/item) && trash_catching && vore_selected) //CHOMPADD Start + if(stat != DEAD && istype(O,/obj/item) && trash_catching && vore_selected) //Ported from chompstation var/obj/item/I = O if(adminbus_trash || is_type_in_list(I,edible_trash) && I.trash_eatable && !is_type_in_list(I,item_vore_blacklist)) - visible_message("[I] is thrown directly into [src]'s [lowertext(vore_selected.name)]!") + visible_message("[I] is thrown directly into [src]'s [lowertext(vore_selected.name)]!") //CHOMPEdit I.throwing = 0 I.forceMove(vore_selected) - return //CHOMPADD End + return if(in_throw_mode && speed <= THROWFORCE_SPEED_DIVISOR) //empty active hand and we're in throw mode if(canmove && !restrained() && !src.is_incorporeal()) // CHOMPADD - No hands for the phased ones. if(isturf(O.loc)) diff --git a/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm b/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm index 64a578f7f4..da257ce145 100644 --- a/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm +++ b/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm @@ -206,7 +206,7 @@ /datum/trait/neutral/trashcan/apply(var/datum/species/S,var/mob/living/carbon/human/H) ..() add_verb(H,/mob/living/proc/eat_trash) //CHOMPEdit TGPanel - add_verb(H,/mob/living/proc/toggle_trash_catching) //CHOMPEdit TGPanel //CHOMPEdit + add_verb(H,/mob/living/proc/toggle_trash_catching) //Ported from chompstation //CHOMPEdit TGPanel /datum/trait/neutral/gem_eater name = "Expensive Taste" diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm index f3c0195750..6fa94eb1b3 100644 --- a/code/modules/mob/living/living_defense.dm +++ b/code/modules/mob/living/living_defense.dm @@ -257,13 +257,13 @@ /mob/living/hitby(atom/movable/AM as mob|obj,var/speed = THROWFORCE_SPEED_DIVISOR)//Standardization and logging -Sieve if(istype(AM,/obj/)) var/obj/O = AM - if(stat != DEAD && istype(O,/obj/item) && trash_catching && vore_selected) //CHOMPADD Start + if(stat != DEAD && istype(O,/obj/item) && trash_catching && vore_selected) //ported from chompstation var/obj/item/I = O if(adminbus_trash || is_type_in_list(I,edible_trash) && I.trash_eatable && !is_type_in_list(I,item_vore_blacklist)) - visible_message("[I] is thrown directly into [src]'s [lowertext(vore_selected.name)]!") + visible_message("[I] is thrown directly into [src]'s [lowertext(vore_selected.name)]!") //CHOMPEdit I.throwing = 0 I.forceMove(vore_selected) - return //CHOMPADD End + return var/dtype = O.damtype var/throw_damage = O.throwforce*(speed/THROWFORCE_SPEED_DIVISOR) diff --git a/code/modules/planet/virgo3c_vr.dm b/code/modules/planet/virgo3c_vr.dm index db007c3d27..8d43f1b9d1 100644 --- a/code/modules/planet/virgo3c_vr.dm +++ b/code/modules/planet/virgo3c_vr.dm @@ -661,8 +661,6 @@ VIRGO3C_TURF_CREATE(/turf/simulated/floor/tiled/asteroid_steel/outdoors) -<<<<<<< HEAD -======= /turf/simulated/open/virgo3c VIRGO3C_SET_ATMOS @@ -685,7 +683,6 @@ VIRGO3C_TURF_CREATE(/turf/simulated/floor/tiled/asteroid_steel/outdoors) VIRGO3C_SET_ATMOS outdoors = 0 ->>>>>>> 723789a563... Small fix for planetary lighting (#15783) /turf/simulated/floor/outdoors/grass/virgo3c VIRGO3C_SET_ATMOS diff --git a/code/modules/vore/eating/living_ch.dm b/code/modules/vore/eating/living_ch.dm index 50f4747d85..37c652ca82 100644 --- a/code/modules/vore/eating/living_ch.dm +++ b/code/modules/vore/eating/living_ch.dm @@ -6,7 +6,6 @@ var/vore_footstep_volume_cooldown = 0 //goes up each time a step isnt heard, and will proc update of list of viable bellies to determine the most filled and loudest one to base audio on. var/mute_entry = FALSE //Toggleable vorgan entry logs. var/parasitic = FALSE //Digestion immunity and nutrition leeching variable - var/trash_catching = FALSE //Toggle for trash throw vore. var/liquidbelly_visuals = TRUE //Toggle for liquidbelly level visuals. var/passtable_reset // For crawling @@ -313,13 +312,6 @@ mute_entry = !mute_entry to_chat(src, "Entrance logs [mute_entry ? "disabled" : "enabled"].") -/mob/living/proc/toggle_trash_catching() - set name = "Toggle Trash Catching" - set category = "Abilities" - set desc = "Toggle Trash Eater throw vore abilities." - trash_catching = !trash_catching - to_chat(src, "Trash catching [trash_catching ? "enabled" : "disabled"].") - /mob/living/proc/restrict_trasheater() set name = "Restrict Trash Eater" set category = "Abilities" diff --git a/code/modules/vore/eating/living_vr.dm b/code/modules/vore/eating/living_vr.dm index ef9b121c2f..7c2974dd74 100644 --- a/code/modules/vore/eating/living_vr.dm +++ b/code/modules/vore/eating/living_vr.dm @@ -34,6 +34,7 @@ 'sound/effects/mob_effects/xenochimera/regen_3.ogg', 'sound/effects/mob_effects/xenochimera/regen_5.ogg' ) + var/trash_catching = FALSE //Toggle for trash throw vore from chompstation // // Hook for generic creation of stuff on new creatures @@ -973,6 +974,13 @@ to_chat(src, "This snack is too powerful to go down that easily.") //CHOMPEdit return +/mob/living/proc/toggle_trash_catching() //Ported from chompstation + set name = "Toggle Trash Catching" + set category = "Abilities" + set desc = "Toggle Trash Eater throw vore abilities." + trash_catching = !trash_catching + to_chat(src, "Trash catching [trash_catching ? "enabled" : "disabled"].") //CHOMPEdit + /mob/living/proc/eat_minerals() //Actual eating abstracted so the user isn't given a prompt due to an argument in this verb. set name = "Eat Minerals" set category = "Abilities"