Files
Polaris/code/modules/mob/living/riding.dm
Seris02 75577bd3ca cleans up so many to_chats so they use vchat filters, unsorted chat filter for everything else (#9006)
* better filters for vchat, unsorted chat filter

* adds closing tags, fixes an error I somehow missed
2023-03-08 18:57:55 -08:00

17 lines
538 B
Plaintext

/mob/living/proc/toggle_rider_reins()
set name = "Give Reins"
set category = "Abilities"
set desc = "Let people riding on you control your movement."
if(riding_datum)
if(istype(riding_datum,/datum/riding))
if(riding_datum.keytype)
riding_datum.keytype = null
to_chat(src, "<span class='filter_notice'>Rider control enabled.</span>")
return
else
riding_datum.keytype = /obj/item/material/twohanded/riding_crop
to_chat(src, "<span class='filter_notice'>Rider control restricted.</span>")
return
return