* Hopefully make singularity shader warping resolution-invariant
This may or may not fix intensity issues
* Fix singularity 'zero velocity' check
It got stuck in a corner. Twice. I really thought I'd fixed that.
* Make it easier to move around various power stuff by shrinking their AABBs a little and making singulo generator a circle
* Changes to some machine prototypes to reduce duplication of collision changes (#1)
* Changes to some machine prototypes to reduce duplication of collision changes
* BaseMachine.BaseMachineUnpowered -> BaseMachine.BaseMachinePowered
* Fix merge conflicts with #4078
Check if the requested cargo order amount exceeds the maximum capacity
Check if the maximum order capacity would be exceeded given current capcity and order amount when approved
Cap maximum cargo request amount on client-side
Play an error sound if a cargo order could not be added or approved
* Add back error sound
* Cargo orders over the maximum amount do not close the order UI
Handled in an ECS way by PreventCollideEvent.
The disposals one doesn't work anyway and would've required a larger refactor of disposals to fix so out of scope.
* Add GNU Octave script for tuning singularity engine. startsingularityengine is now properly tuned & sets up radiation collectors. FTLize RadiationCollectorComponent.
* Fix bugs with radiation collectors producing infinite power.
* Ensure singularities don't instantly annihilate other singularities (causing new singularities to instantly dissolve)
Technically found by a "bug" where a singularity generator would make multiple singularities, but this renders that bug harmless.
* Tune singularity shield emitters to hopefully randomly fail less, and add an Octave script for looking into that
* Fix singularity shader
* Map in an unfinished PA into Saltern
* Correct PA particles being counted twice by singularity calculations, add singulo food component
* Hopefully stop "level 1 singulo stuck in a corner" issues by freezing it when it goes to level 1 from any other level
* Apply suggestions on 'jazz' PR
* Make barstools, PA components, and radiation collectors rotatable.
Making barstools rotatable is so that people can spin on the barstool. (RP moment.)
The other two are more "functional" changes for assembling a PA.
* Allow rotating a rotate-while-anchored object if you're buckled to it.
Barstool spinny
* Fix bug with rotation of an object that someone is buckled to
* BuckleSystem: Efficiency improvements with directed events
* Don't need to unsubscribe anymore from events, so in BuckleSystem, just don't
This (hopefully) fixes power stuff disappearing by making IconSmoothComponent more failure-tolerant of grids not being available.
It might still leave issues in, though.
* IC is default when joining;
switch to IC channel if IC channel becomes unavailable before trying OOC
* Allow channel cycling while the textbox is focused
* Fix focus channel keybinds not actually focusing
* Whitespess
* Fix duplicate radio
* Smol CycleChatChannel cleanup
* Revert style change
* Removed SnapGridOffset, there is only center now.
* SnapGridComponent methods are now static.
* Removed SnapGridComponent.OnPositionChanged.
* Refactored static functions off SnapGridComponent to MapGrid.
Refactored away usages of SnapGridComponent.Position.
* Added Transform.Anchored for checking if an entity is a tile entity.
More refactoring for static MapGrid functions.
* Static snapgrid methods on MapGrid are no longer static.
* Add setter to ITransformComponent.Anchored.
Removed direct references to SnapGridComponent from content.
* Grid functions now deal with EntityUids instead of SnapGridComponents.
Began renaming public API functions from SnapGrid to Anchor.
* Remove the SnapGridComponent 'Offset' field from all yaml files. This was removed in code previously, so the yaml linter was upset.
* Update engine submodule to v0.4.46.
* Refactor body component to use slots instead of an army of dictionaries
* Update vox
* Replace static method call with extension
* Add setpart method, replace dispose with shutdown
* Fix tests, fix not listening to slot events when setting a part
* Add back pull moving
* Make pull moving event-based, use map coordinates, slow down moving when getting closer and stop moving when very close, add max range and add compensation for overshooting
* Remove compensation
* Prevent pull move from pulling you
* acruid did this
* Add unsubscriptions to shutdown
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>