Merge branch 'master' into dogborg-end

This commit is contained in:
Heroman3003
2023-08-07 20:05:05 +10:00
committed by GitHub
121 changed files with 67810 additions and 10116 deletions
+2 -2
View File
@@ -171,7 +171,7 @@
* Attempt to scoop up this mob up into H's hands, if the size difference is large enough.
* @return false if normal code should continue, 1 to prevent normal code.
*/
/mob/living/proc/attempt_to_scoop(mob/living/M, mob/living/G) //second one is for the Grabber, only exists for animals to self-grab
/mob/living/proc/attempt_to_scoop(mob/living/M, mob/living/G, ignore_size = FALSE) //second one is for the Grabber, only exists for animals to self-grab
if(!(pickup_pref && M.pickup_pref && M.pickup_active))
return 0
if(!(M.a_intent == I_HELP))
@@ -185,7 +185,7 @@
var/mob/living/simple_mob/SA = M
if(!SA.has_hands)
return 0
if(size_diff >= 0.50 || mob_size < MOB_SMALL || size_diff >= get_effective_size())
if(size_diff >= 0.50 || mob_size < MOB_SMALL || size_diff >= get_effective_size() || ignore_size)
if(buckled)
to_chat(usr,"<span class='notice'>You have to unbuckle \the [src] before you pick them up.</span>")
return 0