mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-19 21:28:37 +01:00
4879a52633
* upports server maint subsystem * fix runtime in admin z narrate * . * sorts them verbs * . * . * Update code/controllers/subsystems/statpanel.dm Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> * Update code/controllers/subsystems/server_maint.dm Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> --------- Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
17 lines
516 B
Plaintext
17 lines
516 B
Plaintext
/mob/living/proc/toggle_rider_reins()
|
|
set name = "Give Reins"
|
|
set category = "Abilities.General"
|
|
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_filter_notice("Rider control enabled."))
|
|
return
|
|
else
|
|
riding_datum.keytype = /obj/item/material/twohanded/riding_crop
|
|
to_chat(src, span_filter_notice("Rider control restricted."))
|
|
return
|
|
return
|