Merge pull request #3940 from Verkister/buttmount

Reworks taur riding system.
This commit is contained in:
Spades
2018-09-01 17:25:23 -04:00
committed by GitHub
3 changed files with 43 additions and 14 deletions
@@ -36,6 +36,16 @@
if(shock_stage >= 10) tally -= 1.5 //this gets a +3 later, feral critters take reduced penalty
if(reagents.has_reagent("numbenzyme"))
tally += 1.5 //A tad bit of slowdown.
if(riding_datum) //Bit of slowdown for taur rides if rider is bigger or fatter than mount.
var/datum/riding/R = riding_datum
var/mob/living/L = R.ridden
for(var/mob/living/M in L.buckled_mobs)
if(ishuman(M))
var/mob/living/carbon/human/H = M
if(H.size_multiplier > L.size_multiplier)
tally += 1
if(H.weight > L.weight)
tally += 1
//VOREstation end
if(istype(buckled, /obj/structure/bed/chair/wheelchair))