mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Character Height Slider + Character Height Changes (#6320)
* Do the thing for everyone. Height is now +/- 20% for everyone. * Make the height slider show height. Solve for special cases. Solve world hunger. * Fixed some minor things. * Adjust some densities * Smaller character balance * Comment * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Oops, that was from a failed thing. * Size calc correction * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * people are tall in the future * I need to refactor a bit still. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Refactor into a system * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * smol * Fixed remaining scale visual components and species * Remove MockScale. Just add scale visuals for Allalulo to compensate. * PR feedback * Slight refactor. Moved profile/species scale out of the scale system and put it into the HumanoidProfileSystem. Removed some CD logic that is no longer needed. * how'd this get in there * Move the other motorkind.yml to AprilFools dir * NO NO_PENTALTY lol * Other PR stuff * Other PR stuff * Add a dirty * Add some networking to the comp * Add small character to cloning * One more fixX --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
pre-commit-ci[bot]
parent
877267cd31
commit
f44178bec3
@@ -41,13 +41,8 @@ public abstract class SharedScaleVisualsSystem : EntitySystem
|
||||
comp.Scale = scale;
|
||||
Dirty(uid, comp);
|
||||
|
||||
// Delta V - Begin Species Scaling
|
||||
// 120% species scale => add 0.2 to scale
|
||||
var newScale = scale + comp.SpeciesScale - Vector2.One;
|
||||
// Delta V - End Species Scaling
|
||||
|
||||
var appearanceComponent = EnsureComp<AppearanceComponent>(uid);
|
||||
_appearance.SetData(uid, ScaleVisuals.Scale, newScale /* Delta V - Custom Species Scale */, appearanceComponent);
|
||||
_appearance.SetData(uid, ScaleVisuals.Scale, scale, appearanceComponent);
|
||||
|
||||
// Raise an event for content use.
|
||||
var ev = new ScaleEntityEvent(uid, scale);
|
||||
|
||||
Reference in New Issue
Block a user