Skip to content

Commit

Permalink
Thgvr said he wants growth serum capped at 25% for scaling reasons. (#…
Browse files Browse the repository at this point in the history
…3814)

## About The Pull Request

thgvr request

## Changelog

:cl:
fix: growth serum capped at 25 instead of 30% for sprite scaling
reasons.
/:cl:
  • Loading branch information
Anticept authored Nov 20, 2024
1 parent a18ed3c commit 50dc465
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/modules/reagents/chemistry/reagents/other_reagents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1950,8 +1950,7 @@

/datum/reagent/growthserum/on_mob_life(mob/living/carbon/H)
var/newsize = current_size
newsize = (1 + (clamp(volume, 0, 30) / 100)) * RESIZE_DEFAULT_SIZE

newsize = (1 + (clamp(volume, 0, 25) / 100)) * RESIZE_DEFAULT_SIZE
H.resize = newsize/current_size
current_size = newsize
H.update_transform()
Expand Down

0 comments on commit 50dc465

Please sign in to comment.