mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-20 07:02:30 +00:00
* Begins the Project * Move things to where they belong, if viable. * Merge and move those files. * Finish filenames, fix Taj ears. * Tweak to Ater's Requests * The Great Mergening with 03_body. * Per Requests * Continue per request. Plot nefarious plans to make Saviks usable as battlemounts. * Smarter Proc Use * Tweaken
17 lines
475 B
Plaintext
17 lines
475 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, "Rider control enabled.")
|
|
return
|
|
else
|
|
riding_datum.keytype = /obj/item/weapon/material/twohanded/riding_crop
|
|
to_chat(src, "Rider control restricted.")
|
|
return
|
|
return
|