moneyl 972d601664 Add solution pouring / click-transfer (#574)
* Add click-based solution transfer

For example, clicking on a beaker with a soda can to transfer the soda to the beaker. Works on plain solution containers like beakers and also on open drink containers like soda cans as long as they have the `PourIn` and `PourOut` solution  capabilities. If no `SolutionComponent` is added to a drink entity, the `DrinkComponent` will give the entity one. This PR extends that behavior slightly by also giving these default `SolutionComponent`'s the proper capabilities for pouring in/out.

* Improve fix for poured drinks not immediately disappearing

Instead of making `DrinkComponent.Use` public this 
 splits out the code important to both users and made that function public, leaving `Use` private.

* Shorten solution transfer popup

* Make code review changes

- Move pouring code from SolutionComponent to new PourableComponent. Added PourableComponent to client ignore list and added to existing container prototypes.
- Added EmptyVolume property to shared SolutionComponent for convenience.
- Removed DrinkComponent fix from pouring AttackBy code. Instead DrinkComponent subscribes to the SolutionChanged action and updates its self when necessary.
- Fixed pouring being able to add more than a containers max volume and sometimes deleting reagents.
- Added message for when a container is full.

* More code review changes

- Remove IAttackBy ComponentReference attribute in PourableComponent
- Remove _transferAmount from shared SolutionComponent. Left over var from previous commit not being used anymore.
2020-01-29 02:07:02 +01:00
2017-10-20 13:38:48 -06:00
2020-01-26 23:53:10 +01:00
2020-01-24 20:48:24 +01:00
2019-12-16 00:46:09 +01:00
2017-08-04 14:24:01 +02:00
2017-05-30 22:50:10 -05:00
2019-03-29 22:11:40 -06:00
2019-12-16 00:46:09 +01:00
2019-10-01 17:28:57 +02:00
2019-12-16 00:46:09 +01:00
2017-08-02 12:27:55 -07:00
2019-10-02 21:47:32 +02:00
2017-08-14 15:05:39 +02:00
2019-04-15 21:34:02 -06:00
2019-04-15 21:12:00 -06:00
2017-10-22 23:57:08 +02:00

Space Station 14

Build Status

Space Station 14 is a revived attempt at an SS13 remake.

This is the primary repo for Space Station 14. To prevent people forking RobustToolbox, a "content" pack is loaded by the client and server. This content pack contains everything needed to play the game on one specific server.

If you want to host or create content for SS14, this is the repo you need. Contains both RobustToolbox and the content pack for development of new content packs.

Getting in Touch

The IRC is setup to relay back and forth to the Discord server so IRC nerds will not be left out.

Documentation

We have various documentation articles about various systems on the GitHub wikis of this repo and RobustToolbox.

Contributing

We are happy to accept contributions from anybody. Get in Discord or IRC if you want to help. We've got a list of issues that need to be done and anybody can pick them up. Don't be afraid to ask for help either!

Building

See the relevant wiki page

Description
Гаддэм..
Readme 981 MiB
Languages
C# 84.1%
Fluent 15.3%
Python 0.4%