mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 12:02:31 +01:00
Improves Vaurca Magboot Augment (#19137)
The Vaurca integrated mag-claw augment now mimics magboot functionality (not slipping, etc) rather than deploying an entire pair of magboots onto the user. Code shamelessly copied from #18875
This commit is contained in:
@@ -78,6 +78,9 @@
|
||||
if(species.can_breathe_water())
|
||||
tally -= T.movement_cost
|
||||
|
||||
if(HAS_TRAIT(src, TRAIT_SHOE_GRIP))
|
||||
tally += 1
|
||||
|
||||
tally += GLOB.config.human_delay
|
||||
|
||||
if(!isnull(facing_dir) && facing_dir != dir)
|
||||
@@ -119,6 +122,8 @@
|
||||
/mob/living/carbon/human/Check_Shoegrip(checkSpecies = TRUE)
|
||||
if(shoes && (shoes.item_flags & ITEM_FLAG_NO_SLIP) && istype(shoes, /obj/item/clothing/shoes/magboots) && !lying && !buckled_to && !length(grabbed_by)) //magboots + dense_object = no floating. Doesn't work if lying. Grabbedby and buckled_to are for mob carrying, wheelchairs, roller beds, etc.
|
||||
return TRUE
|
||||
if(HAS_TRAIT(src, TRAIT_SHOE_GRIP))
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
/mob/living/carbon/human/set_dir(var/new_dir, ignore_facing_dir = FALSE)
|
||||
|
||||
Reference in New Issue
Block a user