mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Adds a toggle pass table proc
Can be given to any mob via VV. Teshari get the proc.
This commit is contained in:
@@ -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!")
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user