Adds a toggle pass table proc

Can be given to any mob via VV. Teshari get the proc.
This commit is contained in:
killer653
2017-12-23 14:23:52 -05:00
parent b5d4bebc31
commit b04d52cc9f
2 changed files with 9 additions and 1 deletions

View File

@@ -841,3 +841,10 @@
C.anchored = 0 C.anchored = 0
else else
return return
/mob/living/proc/toggle_pass_table()
set name = "Toggle Agility" //Dunno a better name for this. You have to be pretty agile to hop over stuff!!!
set desc = "Allows you to start/stop hopping over things such as hydroponics trays, tables, and railings."
set category = "Abilities"
pass_flags ^= PASSTABLE //I dunno what this fancy ^= is but Aronai gave it to me.
to_chat(src, "You [pass_flags&PASSTABLE ? "will now" : "will not"] move over tables/railings/trays!")

View File

@@ -341,7 +341,8 @@
inherent_verbs = list( inherent_verbs = list(
/mob/living/carbon/human/proc/sonar_ping, /mob/living/carbon/human/proc/sonar_ping,
/mob/living/proc/hide, /mob/living/proc/hide,
/mob/living/carbon/human/proc/shred_limb /mob/living/carbon/human/proc/shred_limb,
/mob/living/proc/toggle_pass_table
) )
/datum/species/shapeshifter/promethean /datum/species/shapeshifter/promethean