mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-24 13:37:16 +01:00
resize limits and designer / dna update (#16807)
* resize limits and designer / dna update * . * genes to mobs * . * Update designer.dm * Update designer.dm * species cleanup
This commit is contained in:
@@ -139,9 +139,9 @@ GLOBAL_LIST_INIT(digest_modes, list())
|
||||
id = DM_SIZE_STEAL
|
||||
|
||||
/datum/digest_mode/drain/sizesteal/process_mob(obj/belly/B, mob/living/L)
|
||||
if(L.size_multiplier > B.shrink_grow_size && B.owner.size_multiplier < 2) //Grow until either pred is large or prey is small.
|
||||
if(L.size_multiplier > B.shrink_grow_size && B.owner.size_multiplier < RESIZE_MAXIMUM) //Grow until either pred is large or prey is small.
|
||||
B.owner.resize(B.owner.size_multiplier + 0.01) //Grow by 1% per tick.
|
||||
if(B.owner.size_multiplier >= 2) // Adds some feedback so the pred knows they can't grow anymore.
|
||||
if(B.owner.size_multiplier >= RESIZE_MAXIMUM) // Adds some feedback so the pred knows they can't grow anymore.
|
||||
to_chat(B.owner, span_vnotice("You feel you have grown as much as you can."))
|
||||
L.resize(L.size_multiplier - 0.01) //Shrink by 1% per tick
|
||||
if(L.size_multiplier <= B.shrink_grow_size) // Adds some feedback so the pred knows their prey has stopped shrinking.
|
||||
|
||||
Reference in New Issue
Block a user