mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-16 18:54:13 +01:00
Un-scale HUDs for micros and macros.
* Set appearance_flags on HUD images to prevent them from being scaled up/down when the owning mob is macro/micro. * Optimized the resize() proc and made it adjust the vertical position of the unscaled hud to stay even with the top of the mob's head. * Also fix the resize proc to be consistent with update_icons(). Now micros wont be in the middle of a turf temporarily after resizing.
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
pref.weight_loss = sanitize_integer(pref.weight_loss, WEIGHT_CHANGE_MIN, WEIGHT_CHANGE_MAX, initial(pref.weight_loss))
|
||||
|
||||
/datum/category_item/player_setup_item/vore/size/copy_to_mob(var/mob/living/carbon/human/character)
|
||||
character.size_multiplier = pref.size_multiplier
|
||||
character.resize(pref.size_multiplier, FALSE)
|
||||
character.weight = pref.weight_vr
|
||||
character.weight_gain = pref.weight_gain
|
||||
character.weight_loss = pref.weight_loss
|
||||
|
||||
Reference in New Issue
Block a user