mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
Makes living/verb/resist more object oriented.
Adds a fourth mob size "MOB_SIZE_TINY" to differentiate corgi size and mouse size. (used in bear trap code) Rewrites beartrap/Crossed() to have less istype checks. Adds a flying var to simple animals (used in bear trap code) Makes pulling update in living/life.dm() to fix pulling not stopping when you're incapacitated.
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
var/mob/living/L = AM
|
||||
if(L.buckled || L.mob_size > max_mob_size) //buckled mobs and mobs too big for the container don't get inside closets.
|
||||
return 0
|
||||
if(L.mob_size > 0)
|
||||
if(L.mob_size > MOB_SIZE_TINY) //decently sized mobs take more space than objects.
|
||||
var/mobs_stored = 0
|
||||
for(var/mob/living/M in contents)
|
||||
mobs_stored++
|
||||
|
||||
Reference in New Issue
Block a user