* Engine namespace changes.
* Automated remove redundant using statements.
* Simplified Graphics namespace.
* Apparently the container system stores full type names in the map file.😞 This updates those names.
* API Changes to LocalizationManager.LoadCulture.
* Update submodule to v0.3.2
* Added empty light
* Can build light fixture
* Can construct and deconstruct small light
* You can build bulbs only on walls
* Playing with placement conditions
* Refactored code a bit
* Added check for north direction and snapping
* Fixed all small light sprites (wrong directions order)
* Fixed weird problem with bulb lights
* Fixed rotation on all stations
* Fixed map again
* Much better placement mode
* Deleted shared wall component and moved all logic to raycasts
* Missing bracket
* Better texture
* Moved wallmount condition to tags
* Removed station station
* Added suffix and fixed on map init bug
* A big hecking chemistry-related refactor.
Changed SolutionContainerCaps. It now describes "stock" behavior for interacting with solutions that is pre-implemented by SolutionContainerComponent. As such things like syringes do not check it anymore (on themselves) to see "can we remove reagent from ourselves". That's assumed by it... being a syringe.
SolutionContainerCaps now has different flags more accurately describing possible reagent interaction behaviors.
ISolutionInteractionsComponent is the interface that describes the common behaviors like "what happens when injected with a syringe". This is implemented by SolutionContainerComponent but could be implemented by other classes. One notable example that drove me to making this interface was the /vg/station circuit imprinter which splits reagent poured in into its two reservoir beakers. Having this interface allows us to do this "proxying" behavior hack-free. (the hacks in /vg/ code were somewhat dirty...).
PourableComponent has been replaced SolutionTransferComponent. It now describes both give-and-take behavior for the common reagent containers. This is in line with /vg/'s /obj/item/weapon/reagent_containers architecture. "Taking" in this context is ONLY from reagent tanks like fuel tanks.
Oh, should I mention that fuel tanks and such have a proper component now? They do.
Because of this behavioral change, reagent tanks DO NOT have Pourable anymore. Removing from reagent tanks is now in the hands of the item used on them. Welders and fire extinguishers now have code for removing from them. This sounds bad at first but remember that all have quite unique behavior related to this: Welders cause explosions if lit and can ONLY be fueled at fuel tanks. Extinguishers can be filled at any tank, etc... The code for this is also simpler due to ISolutionInteractionsComponent now so...
IAfterInteract now works like IInteractUsing with the Priority levels and "return true to block further handlers" behavior. This was necessary to make extinguishers prioritize taking from tanks over spraying.
Explicitly coded interactions like welders refueling also means they refuse instantly to full now, which they didn't before. And it plays the sound. Etc...
Probably more stuff I'm forgetting.
* Review improvements.
* Renames WindowBreak soundCollection to GlassBreak
* Implements destructible lightbulbs
moved the parent to the top as well
* Fixes the old `glassbreak` soundCollection, renames it
* Deletes the windows.yml version of glassbreak
* Fixes the sound for bulbs being thrown
* Removes name from abstract lightbulb
* Implements IDestroyAct for lightbulbs
* Implements onBreak for lightbulbs
* Lights get damaged by getting hit and throwing
* Lights now have an intermediate 'broken' state before destruction
* Async Interface
* Update Content.Server/GameObjects/Components/Fluids/MopComponent.cs
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
* Changed the glassbeaker
* Update Content.Shared/Interfaces/GameObjects/Components/Interaction/IAfterInteract.cs
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
* Update Content.Shared/Interfaces/GameObjects/Components/Interaction/IAfterInteract.cs
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
* Interaction system fix
* Removed I from the interface
* Changed all implementations of the interface I could find
* all public void implementation fixed
* All built, no errors should remain
* Update Resources/Prototypes/Entities/Objects/Specific/chemistry.yml
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
* Update Content.Server/GameObjects/Components/Portal/TeleporterComponent.cs
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
* Update Content.Server/GameObjects/Components/ActionBlocking/HandcuffComponent.cs
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
* Commit based off Sloth's commentary
* Removed the Rag file from the PR
* Reverted sloth's commentary changes on the publcity of the function
* Injector component properly implemented interface
* Update Content.Server/GameObjects/Components/Fluids/MopComponent.cs
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
* Update Content.Server/GameObjects/Components/Fluids/SprayComponent.cs
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: BlueberryShortcake <rubetskoy234@mail.ru>
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
* Remove the unused light bulb crate that explicitly says it needs to be removed
* Crates/Cargo: Add antimatter reactor crates
* Fix AME crate issues
* Descriptions and prices for AME crates.
Flashlights were calling dirty EVERY TICK so this just means they only call it when absoluetely necessary which saves a lot.
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
* Refactor battery/powercell assets and add new ones.
* committing before I fuck things up
* slot component doned I think
* dictionary update
* Fixes
* Moving flashlight to powerslotcomponent
* har har i am using the message tubes
* Better documentation comment
* Reverting this overengineered garbage.
* Off with ye I said
* Examine texts.
* Some minor fixes to IDE complaints
* slot size from yaml
* Ignored component + removing a useless typo entry
* Making stunbatons use this
* Handle the message and remove some unnecessary dirtiness
* actionblocker checks
* remove unused file
* remove updatevisual
* make these nullable
* make these nullable too
* Unrename sprite folder
* check itemcomponent on insertion
* Use SendMessage over Owner.SendMessage
* Add support for auto-recharging batteries, an auto-recharging cell, and make flashlight status update correctly if one is inserted in it.
* get rid of public fields which are Bad
* add a description for the stun baton while i'm in here
* one more public field
* Add the blinky animation to the atomic cell
* Fix the charge indicator being STUPID
* better comments
* this is a better function
* add pause for flashlight, remove unnecessary imports from battery
* potato battery copyright link
* WHO DID THAT
* mr clean has come
* Random pitch
* pausing
* round to nearest levels
* basic radiation generator
* might need this
* thonk
* big thonk
* oop
* e
* werks
* sprite
* oopsy woopsy
* radiation
* clean up file
* makes it work, probably
* minor fixes
* resources
* progress on component
* this will no longer be necessary
* radiation go brrrr
* finally fix container issues
* out var
Co-authored-by: Remie Richards <remierichards@gmail.com>
* second out fix
* another out fix
Co-authored-by: Remie Richards <remierichards@gmail.com>
* switch case
* fix switch
* sound and improvements
* nullable
* basic containment field system
* ensure alignment
* fix beam placement logic
* field generation fully working
* fix potential crash
* working containment functionality
* extremely basic emitter functionality
* fix radiation panel naming
* emitter stuff
* oopsies
* fixes
* some fixes
* cleanup
* small fix and move emitter file
* add sprite resources for PA
* slight rework of the singulo
adds rads
* pushing for smugleaf :)
* added radiationpanels
* some fixes for the singulo
* containmentfield
* pa wip
* progress
* pa working
* emitter fix
* works :)
* ui works
* some work on ui & pa
* progress
* ui work & misc fixes
* GREYSCALE
* pa ui polish
containmentfieldgen rework
* singulo rework
added snapgrid
* getcomponent get out
* singulo rework
added collisiongroups underplating & passable
* yaml work:
- collision boxes
- singulo now unshaded
* no unlit
* misc changes
* pa wires
* add usability check
* nullable enable
* minor fix
* power need added
* reenables containment field energy drain
menu close button
singularity collider fix
* sprite replacement
* finished singulo pulling
* pjb fixes
* fixing sprites & minor adjustments
* decrease containmentfield power
* some yml adjustments
* unlit layers
singulogenerator
* singulogen
* everything works just not the powergetting on the pa
i wanna die
* Adds PA construction graphs, PA construction works
* Snap to grid parts when completing construction
* updated to newest master
* inb4 i work on power
* fixes upstream merge
adds power need to particleaccelerator
* properly implements power & apc power
* Emitters are now fancy.
* I have actually no idea how this happened.
* Give PA a wiring LayoutId
* PA is an acronym
* indicators
fixes hacking
* Singulo is a word you blasphemous IDE.
* Rewrite the PA.
* Fancy names for PA parts.
* Wiring fixes, strength wire cutting.
* fixes projectile & ignores components
* nullability errors
* fixes integration tests
Co-authored-by: unusualcrow <unusualcrow@protonmail.com>
Co-authored-by: L.E.D <10257081+unusualcrow@users.noreply.github.com>
Co-authored-by: Remie Richards <remierichards@gmail.com>
Co-authored-by: Víctor Aguilera Puerto <zddm@outlook.es>
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
* Default grids go poof
* Address review
* Update submodule
* Fix DoAfterSystem for entities without grid.
* Fix SubFloorHideSystem for entities without grid.
* Fix ExplosionHelper for coordinates that aren't in a grid
* Fix TurfHelpers' GetWorldTileBox crash in the case of invalid grid
* Fix tile prying component crash when trying to pry space.
* Spill fixes when passing coordinates without grids.
* Are you static'in, son?
* Change SaveLoadSaveTest grid Id hardcoded value
It's still hardcoded, but at least now it's correct!
* Only send debug AI thing if grid is not invalid
* Update submodule.
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
* Rename usages of collidable to physics
* high tier PANIQUE
* aaaaaaaaAAAAAa
* cursed commit dont research
* Fix urist and items being anchored
* Fix the rest
- Powerful
- Data-oriented
- Approved by PJB
- Powered by node graphs and AI pathfinding
- Coded by the same nerd who brought you atmos
Co-authored-by: Exp <theexp111@gmail.com>
* Fixed an issue with the welder messages, not done yet
* Fixes issue #1833
The welder item no longer plays do_after when it cannot be used
* Revert "Add do_after to TryInsert (#1938)"
This reverts commit c09c9176ef.
* Revert "Revert "Add do_after to TryInsert (#1938)""
This reverts commit 078323bc2e10109b63c438f38a7b56103d163994.
* Revert "Fixes issue #1833"
This reverts commit 921712810fce73611e186fe07d7620b8cc309fdb.
* Revert "Fixed an issue with the welder messages, not done yet"
This reverts commit 5e946014451c6f5855cbe4fa553a04c55b907793.
* Added a start to a damage sound system
* Fixes issue #2056 by removing some misplaced code
* Undo changes that carried over through not using git properly
* Forgot to save my file before committing...