mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
Resize proc polish and fixing
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user