Commit Graph

2109 Commits

Author SHA1 Message Date
DrSmugleaf
716bee0746 Remove IClientSingularityInstance, move visual effects to SingularityDistortionComponent (#4194)
* Remove IClientSingularityInstance

* In and out 5 minute refactor

* Component states for singularity distortion

* Fix distortion states

* Address reviews
2021-06-24 12:48:11 +10:00
Vera Aguilera Puerto
34e457b854 Gas Tanks no longer use NodeContainer, Gas Canisters no longer use passive gates. 2021-06-23 12:02:28 +02:00
SweptWasTaken
e16c23a747 AME jars and parts now have inhand sprites 2021-06-23 00:39:35 -07:00
collinlunn
f2816e8081 Moves Hands to shared, some prediction (#3829)
* HandsGuiState

* Gui state setting methods

* code cleanup

* Removes TryGetHands

* ClientHand

* Gui Hands

* Refactor WIP 1

* Hand index

* refactors 2

* wip 3

* wip 4

* wiip 4

* wip 5

* wip 6

* wip 7

* wip 8

* wip 9

* wip 11

* Hand ui mostly looks fine

* hands gui cleanup 1

* cleanup 2

* wip 13

* hand enabled

* stuff

* Hands gui gap fix

* onpressed test

* hand gui buttons events work

* bag activation works

* fix item use

* todo comment

* hands activate fix

* Moves Client Hands back to using strings to identify active hand

* fixes action hand highlighting

* diff fix

* serverhand

* SharedHand

* SharedHand, IReadOnlyHand

* Client Hands only stores SharedHand

* cleanup server hands

* server hand container shutdown

* misc renames, refactors of serverhand

* stuff 1

* stuff 3

* server hand refactor 1

* Undo API changes to remove massive diff

* More API name fixes

* server hands cleanup 2

* cleanup 3

* dropping cleanup

* Cleanup 4

* MoveItemFromHand

* Stuff

* region sorting

* Hand Putter methods cleanup

* stuff 2

* Merges all of serverhand and clienthand into sharedhand

* Other hands systems, hack to make inhands update (gui state set every frame, visualzier updated every frame)

* GetFinalDropCoordinates cleanup

* SwapHands cleanup

* Moves server hands code to shared hands

* Fixed hand selected and deselected

* Naming fixes

* Server hands system cleanup

* Hands privacy fixes

* Client hand updates when containers are modified

* HeldItemVisualizer

* Fixes hand gui item status panel

* method name fix

* Swap hands prediction

* Dropping prediction

* Fixes pickup entity animation

* Fixes HeldItemsVisualizer

* moves item pickup to shared

* PR cleanup

* fixes hand enabling/disabling

* build fix

* Conflict fixes

* Fixes pickup animation

* Uses component directed message subscriptions

* event unsubscriptions in hand system

* unsubscribe fix

* CanInsertEntityIntoHand checks if hand is enabled

* Moving items from one hand to another checks if the hands can pick up and drop

* Fixes stop pulling not re-enabling hand

* Fixes pickup animation for entities containers on the floor

* Fixes using held items

* Fixes multiple hands guis appearing

* test fix

* removes obsolete system sunsubscribes

* Checks IsFirstTimePredicted before playing drop animation

* fixes hand item deleted crash

* Uses Get to get other system

* Replaces AppearanceComponent with SharedAppearanceComponent

* Replaces EnsureComponent with TryGetComponent

* Improves event class names

* Moves property up to top of class

* Moves code for determining the hand visualizer rsi state into the visualizer instead of being determined on hand component

* Eventbus todo comment

* Yaml fix for changed visualizer name

* Makes HandsVisuals a byte

* Removes state from HandsVisualizer

* Fixes hand using interaction method name

* Namespace changes fixes

* Fix for changed hand interaction method

* missing }

* conflict build fix

* Moves cleint HandsSystem to correct folder

* Moved namespace fix for interaction test

* Moves Handsvisualizer ot correct folder

* Moves SharedHandsSystem to correct folder

* Fixes errors from moving namespace of hand systems

* Fixes PDA component changes

* Fixes ActionsComponent diff

* Fixes inventory component diff

* fixes null ref

* Replaces obsolete Loc.GetString usage with fluent translations

* Fluent for hands disarming

* SwapHands and Drop user input specify to the server which hand

* Pickup animation WorldPosiiton todo

* Cleans up hands gui subscription handling

* Fixes change in ActionBlockerSystem access

* Namespace references fixes

* HandsComponent PlayerAttached/Detached messages are handled through eventbus

* Fixes GasCanisterSystem drop method usage

* Fix gameticker equipping method at new location

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-06-21 19:21:20 +10:00
Galactic Chimp
392b820796 Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2021-06-21 02:13:54 +02:00
Vera Aguilera Puerto
efad7b8dbb Fix BaseConstructible and BaseConstructibleDynamic to use the new entity anchoring 2021-06-20 18:20:46 +02:00
PJBot
e9a4c52c0f Automatic changelog update 2021-06-19 15:35:04 -04:00
Swept
a51305466e Makes more stuff destructible/breakable (#4081) 2021-06-19 19:34:01 +00:00
PJBot
6a646d25ca Automatic changelog update 2021-06-19 14:13:57 -04:00
T-Stalker
a1cc4350ca Vox plushie (#4146)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2021-06-19 18:12:55 +00:00
SweptWasTaken
e4c8b3105d Updates hate-speech server rule 2021-06-19 10:33:41 -07:00
PJBot
a4a32d7d3c Automatic changelog update 2021-06-19 07:26:08 -04:00
Vera Aguilera Puerto
a2b737d945 Atmos pipe rework (#3833)
* Initial

* Cleanup a bunch of things

* some changes dunno

* RequireAnchored

* a

* stuff

* more work

* Lots of progress

* delete pipe visualizer

* a

* b

* pipenet and pipenode cleanup

* Fixes

* Adds GasValve

* Adds GasMiner

* Fix stuff, maybe?

* More fixes

* Ignored components on the client

* Adds thermomachine behavior, change a bunch of stuff

* Remove Anchored

* some work, but it's shitcode

* significantly more ECS

* ECS AtmosDevices

* Cleanup

* fix appearance

* when the pipe direction is sus

* Gas tanks and canisters

* pipe anchoring and stuff

* coding is my passion

* Unsafe pipes take longer to unanchor

* turns out we're no longer using eris canisters

* Gas canister inserted tank appearance, improvements

* Work on a bunch of appearances

* Scrubber appearance

* Reorganize AtmosphereSystem.Piping into a bunch of different systems

* Appearance for vent/scrubber/pump turns off when leaving atmosphere

* ThermoMachine appearance

* Cleanup gas tanks

* Remove passive gate unused imports

* remove old canister UI functionality

* PipeNode environment air, make everything use AssumeAir instead of merging manually

* a

* Reorganize atmos to follow new structure

* ?????

* Canister UI, restructure client

* Restructure shared

* Fix build tho

* listen, at least the canister UI works entirely...

* fix build : )

* Atmos device prototypes have names and descriptions

* gas canister ui slider doesn't jitter

* trinary prototypes

* sprite for miners

* ignore components

* fix YAML

* Fix port system doing useless thing

* Fix build

* fix thinking moment

* fix build again because

* canister direction

* pipenode is a word

* GasTank Air will throw on invalid states

* fix build....

* Unhardcode volume pump thresholds

* Volume pump and filter take time into account

* Rename Join/Leave atmosphere events to AtmosDeviceEnabled/Disabled Event

* Gas tank node volume is set by initial mixtuer

* I love node container
2021-06-19 13:25:05 +02:00
Galactic Chimp
cfc3f2e7fc #3814 - dropping an item, which adds an action to the actions bar, wi… (#4123)
* #3814 - dropping an item, which adds an action to the actions bar, will no longer leave weird ui glitch in actions bar

* #3814 - small reformat + minor style tweaks

* #3814 - bit better working ActionMenu locking + added missing toolips for ActionMenu lock and OpenAbilities button

* #3814 - tooltip text typo fix

* #3814 - incorporated suggestions

* #3814 localization tweaks
2021-06-19 03:41:43 -07:00
Galactic Chimp
53671aeee7 #3935 - Refactored ToysComponent functionality into ECS (#4127)
* #3935 - toys properly play sounds when: Activated, Landed (after throwing) and Used in hand

* #3935 - extracted BaseEmitSoundComponent

* #3935 - refactored EmitSound components to use ECS

* #3935 - added new components to client ignored components

* #3935 - added suggested stuff for EmitSoundSystem et al.

* #3935 added suggestions from PR

* #3935 implemented suggestions from PR

* #3935 updated namespace
2021-06-19 02:35:56 -07:00
PJBot
81d822d46a Automatic changelog update 2021-06-18 03:57:25 -04:00
DrSmugleaf
4f4d203d2e Make ghost component ECS (#4159)
* Make ghost component ECS

* Remove players and locations properties from ghost component

* Address reviews

* One more doc

* Fix client ghost component state method error
2021-06-18 09:56:23 +02:00
SweptWasTaken
86ff812428 Fixes test 2021-06-17 16:15:35 -07:00
PJBot
af035847c4 Automatic changelog update 2021-06-17 18:35:37 -04:00
SweptWasTaken
e85a42ea29 Removes Warden from role-list 2021-06-17 14:54:06 -07:00
SweptWasTaken
d4abcc9671 PDA light is much weaker now compared to flashlight 2021-06-17 00:29:32 -07:00
mirrorcult
2333950bdc Lighting tweaks (#4171)
* lightning

* softness

* a little less orange
2021-06-16 15:55:55 -07:00
20kdc
a2f5c953dc Refactoring of solar control console (#4072)
* Refactor/fix client-side of solar control computer (introduce ComputerBoundUserInterface & fix bugs)

* Refactor server side of solar control computer (introduce BaseComputerUserInterfaceComponent)

* If you can't interact, then messages to computers are blocked.

* Add 'not powered' messages, migrate activation logic partially to an EntitySystem

* Move solar control console to a XAML UI

* Remove useless comment on UserInterfaceKey

* BaseComputerUserInterfaceComponent: Remove EnsureComponent<PowerReceiver>, it's not necessary

* Fix solar panel occlusion check direction

* Solar Control Console refactors/etc. : Handle namespace renames
2021-06-17 00:49:02 +10:00
DrSmugleaf
e9d8c56ad1 Fix license and copyright being swapped in firstaidkits.rsi (#4191) 2021-06-16 15:52:48 +02:00
SethLafuente
288ebffe17 Made reinforced walls and airlocks unabled to eb destroyed by the RCD (#4185)
Co-authored-by: SETh lafuente <cetaciocascarudo@gmail.com>
2021-06-16 13:36:13 +10:00
SethLafuente
1b429cd8b6 Made walls and windows stronger (#4175)
* Made plasma grindable

* Removed grindable paper :(

* Fixed tag being on the wrong item

* Made reinforced and plasma windows stronger and made walls and windows inmmune to punch damage

* Removed accidental plasma grindability 

sorry

* Fixed walls being immune to all blunt damage

* fixed windows being immune to piercing and slash damage

* changed plasma window resistance

Co-authored-by: Seth Lafuente <cetaciocascarudo@gmail.com>
2021-06-11 16:53:51 -07:00
SweptWasTaken
ede8df6007 Cargo IDs are ACTUALLY PascalCase 2021-06-11 16:53:03 -07:00
SweptWasTaken
fa808cb220 Converts all cargo IDs to camelCase and deletes unused/outdated cargo Dataset. 2021-06-11 16:38:02 -07:00
SweptWasTaken
a9121b1d6d Updates all cargo IDs to code quality guidelines 2021-06-11 16:19:14 -07:00
PJBot
9f50e4061b Automatic changelog update 2021-06-09 04:40:33 -04:00
T-Stalker
1c582ac2ec Adds hands examine text (#4160)
* Adds hands examine text.

* Cleans the code

* Fixes?

* Update Resources/Locale/en-US/components/hands-component.ftl

Thankies ❤

Co-authored-by: mirrorcult <notzombiedude@gmail.com>

* Put it under handcontainer and shutdown

Co-authored-by: mirrorcult <notzombiedude@gmail.com>
2021-06-09 01:39:31 -07:00
PJBot
3b3a11a905 Automatic changelog update 2021-06-09 01:22:11 -04:00
TaralGit
1188d3bafb Added claymore as a weapon (#4124)
Co-authored-by: and_a <and_a@DESKTOP-RJENGIR>
2021-06-09 05:21:08 +00:00
PJBot
422c593698 Automatic changelog update 2021-06-08 22:11:31 -04:00
mirrorcult
1c7285825c Refactor ExtinguisherCabinet->ItemCabinet and actually maps them in, adds EntityWhitelist (#4154)
* i probably shouldnt have done this in one commit

* map nonsense

* fix example code

* unnecessary

* test

* reviews

* little fix for open datafield

* add soul
2021-06-09 12:10:29 +10:00
PJBot
7d77fdac7b Automatic changelog update 2021-06-08 17:00:34 -04:00
mirrorcult
22e5ad89a5 MindComponent loc, kitchenspike loc fixes, climbable loc fixes (#4071)
* mindcomp loc, kitchenspike loc fixes, climbable loc fixes

* add fluent functions for words that change on pronoun, add grammarcomponent to humans

* fix the()

* cleanup

* cleanup

* reviews

* holla holla get dolla
2021-06-08 13:59:32 -07:00
Sir Sikes
9d7094fbd7 Updated name formatting. (#4148)
Co-authored-by: Sebastian Sikes <sebastian.sikes@nsmg.com>
2021-06-07 01:36:39 +00:00
PJBot
fa48c39769 Automatic changelog update 2021-06-06 21:36:26 -04:00
TimrodDX
74765700b8 Chemistry Mapping Revamp (#4149) 2021-06-07 01:35:24 +00:00
Swept
2319ad5c44 Updates Synaptizine healthChange from 0.70 to 0.67 2021-06-06 18:33:02 +00:00
PJBot
d5ac65a272 Automatic changelog update 2021-06-06 14:15:48 -04:00
SethLafuente
5f5af2aa6f Nerfs Synaptizine to 6 damage per 1u instead of 15 per 1u (#4145)
Co-authored-by: SETh lafuente <cetaciocascarudo@gmail.com>
2021-06-06 18:14:46 +00:00
PJBot
8abecfe2e2 Automatic changelog update 2021-06-05 14:20:08 -04:00
mirrorcult
8af3318c83 Remove InteractionOutline from full-tile entities (#4135) 2021-06-05 18:19:06 +00:00
PJBot
8338f12c2b Automatic changelog update 2021-06-05 13:54:20 -04:00
SethLafuente
b76998b735 Added oil with functionality (#4120)
* Changed the submodule Issues

* Added oil with functionality

* submodule

* submodule 2

Co-authored-by: SETh lafuente <cetaciocascarudo@gmail.com>
2021-06-06 03:53:17 +10:00
PJBot
a4ed9375cf Automatic changelog update 2021-06-05 13:34:01 -04:00
20kdc
561a5bc0f2 Cloning error messages and prediction based timing (#4013)
* Cloning error messages and prediction based timing

* Cloning error messages & prediction based timing: Fix problems mentioned in reviews
2021-06-06 03:32:59 +10:00
PJBot
f31f82a4fc Automatic changelog update 2021-06-05 03:24:26 -04:00