mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -121,6 +121,7 @@ var/global/list/tf_vore_egg_types = list(
|
||||
"Xenomorph" = /obj/structure/closet/secure_closet/egg/xenomorph)
|
||||
|
||||
var/global/list/edible_trash = list(/obj/item/broken_device,
|
||||
/obj/item/clothing/accessory/collar, //TFF 10/7/19 - add option to nom collars,
|
||||
/obj/item/clothing/mask,
|
||||
/obj/item/clothing/glasses,
|
||||
/obj/item/clothing/gloves,
|
||||
|
||||
@@ -235,6 +235,12 @@ Proc for attack log creation, because really why not
|
||||
|
||||
var/atom/original_loc = user.loc
|
||||
|
||||
var/obj/mecha/M = null
|
||||
|
||||
if(istype(user.loc, /obj/mecha))
|
||||
original_loc = get_turf(original_loc)
|
||||
M = user.loc
|
||||
|
||||
var/holding = user.get_active_hand()
|
||||
|
||||
var/datum/progressbar/progbar
|
||||
@@ -253,7 +259,12 @@ Proc for attack log creation, because really why not
|
||||
. = FALSE
|
||||
break
|
||||
|
||||
if(user.loc != original_loc && !ignore_movement)
|
||||
if(M)
|
||||
if(user.loc != M || (M.loc != original_loc && !ignore_movement)) // Mech coooooode.
|
||||
. = FALSE
|
||||
break
|
||||
|
||||
else if(user.loc != original_loc && !ignore_movement)
|
||||
. = FALSE
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user