mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Improves mob resizing (and UpdatePaths). (#75892)
This commit is contained in:
@@ -380,16 +380,14 @@
|
||||
if(..())
|
||||
return
|
||||
ADD_TRAIT(owner, TRAIT_GIANT, GENETIC_MUTATION)
|
||||
owner.resize = 1.25
|
||||
owner.update_transform()
|
||||
owner.update_transform(1.25)
|
||||
owner.visible_message(span_danger("[owner] suddenly grows!"), span_notice("Everything around you seems to shrink.."))
|
||||
|
||||
/datum/mutation/human/gigantism/on_losing(mob/living/carbon/human/owner)
|
||||
if(..())
|
||||
return
|
||||
REMOVE_TRAIT(owner, TRAIT_GIANT, GENETIC_MUTATION)
|
||||
owner.resize = 0.8
|
||||
owner.update_transform()
|
||||
owner.update_transform(0.8)
|
||||
owner.visible_message(span_danger("[owner] suddenly shrinks!"), span_notice("Everything around you seems to grow.."))
|
||||
|
||||
/datum/mutation/human/spastic
|
||||
|
||||
Reference in New Issue
Block a user