Resize proc polish and fixing

This commit is contained in:
Nyks
2021-04-07 02:01:33 +03:00
parent ea2a523ba8
commit 5b3a00a2dc
10 changed files with 34 additions and 29 deletions
@@ -1,5 +1,14 @@
//TFF 28/8/19 - cleanup of areas placement - removes all but rogueminer_vr stuff.
/area
var/limit_mob_size = TRUE //If mob size is limited in the area.
/area/Entered(mob/living/H, oldLoc)
//Clamps mob size when entering a new area that has size limit.
//Mobs with size_uncapped set to TRUE or 1 will be ignored.
. = ..()
if (src.limit_mob_size && !H.size_uncapped)
H.resize(H.size_multiplier)
/area/shuttle/belter
name = "Belter Shuttle"
icon_state = "shuttle2"