Delta-v/Content.Shared/Utility
Peter Wedder fca556a1c1
Adds sized (S, M, L) power cells and a generic component for battery powered items (#2352)
* 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
2020-10-29 19:17:03 +01:00
..
ContentHelpers.cs Adds sized (S, M, L) power cells and a generic component for battery powered items (#2352) 2020-10-29 19:17:03 +01:00
EntityCoordinatesExtensions.cs Typo, redundant string interpolation, namespaces and imports cleanup (#2068) 2020-09-13 14:23:52 +02:00
EntityPrototypeHelpers.cs Add extensions to EntityPrototype 2020-10-28 13:50:28 +01:00
SharedDirectionExtensions.cs Replace every usage of GridCoordinates with EntityCoordinates (#2021) 2020-09-06 16:11:53 +02:00
SharedEntityExtensions.cs Add extension method to shuffle an entity by a random value 2020-09-01 22:04:55 +02:00
SharedUnobstructedExtensions.cs Replace direct IoC.Resolve calls in Unobstructed and Unoccluded extensions (#2225) 2020-10-11 13:32:42 +02:00
SharedUnoccludedExtensions.cs Make InRangeUnoccluded methods consistent (#2420) 2020-10-29 19:55:27 +11:00
TemperatureHelpers.cs Add helpers for converting to and from Fahrenheit 2020-09-01 23:33:42 +02:00
TransformExtensions.cs Change all of body system to use entities and components (#2074) 2020-10-10 15:25:13 +02:00