Skip to content

Commit

Permalink
Fixes a small gigantism/dwarfism issue (Skyrat-SS13#22376)
Browse files Browse the repository at this point in the history
* Fixes gigantism/dwarfism issue

* put that back
  • Loading branch information
vinylspiders authored Jul 11, 2023
1 parent f0ec623 commit 7f6b894
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/datums/mutations/body.dm
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@
return
// SKYRAT EDIT BEGIN
if(owner.dna.features["body_size"] < 1)
to_chat(owner, "You feel relief as the pressure building inside you subsides.")
to_chat(owner, "You feel relief as your organs cease to strain against your insides.")
REMOVE_TRAIT(owner, TRAIT_DWARF, GENETIC_MUTATION)
return
// SKYRAT EDIT END

REMOVE_TRAIT(owner, TRAIT_DWARF, GENETIC_MUTATION)
owner.visible_message(span_danger("[owner] suddenly grows!"), span_notice("Everything around you seems to shrink.."))

Expand Down Expand Up @@ -407,9 +407,9 @@
// SKYRAT EDIT BEGIN
if(owner.dna.features["body_size"] > 1)
to_chat(owner, "You feel relief as your bones cease their growth spurt.")
REMOVE_TRAIT(owner, TRAIT_GIANT, GENETIC_MUTATION)
return
// SKYRAT EDIT END

REMOVE_TRAIT(owner, TRAIT_GIANT, GENETIC_MUTATION)
owner.update_transform(0.8)
owner.visible_message(span_danger("[owner] suddenly shrinks!"), span_notice("Everything around you seems to grow.."))
Expand Down

0 comments on commit 7f6b894

Please sign in to comment.