moneyl 3ab8036363 De-hardcode chemical metabolism of StomachComponent (#437)
* Move chemical reaction effects into Chemistry/ReactionEffects/ subfolder

* Replace hardcoded StomachComponent metabolism with IMetabolizable

The benefits of this approach are that reagent metabolism effects are not hardcoded into StomachComponent, and metabolism effects can be more easily chained together in yaml prototypes, and reagents can have different metabolism rates. One problem with this approach is that getting metabolism rates slower than 1u / second is impossible. Implementing #377 should resolve that problem.

* Fix DefaultFood and DefaultDrink so they remove reagent regardless of Hunger/ThirstComponent presence

Previously if neither of those were present the reagents wouldn't be removed from the stomach. This fixes that.

* Additional comment on function

* Make metabolizer interface implementations explicit

Also removed some unused using statements

* Make StomachComponent._reagentDeltas readonly

* Fix misleading variable names and docs for metabolizables

Changes one of the arguments for `IMetabolizable.Metabolize()` to be called `tickTime` instead of `frameTime` to more accurately reflect it's purpose. It's not really the frametime, but the time since the last metabolism tick. Also updated and expanded the docs to reflect this and to be more clear.
2019-11-21 23:24:19 +01:00
2017-10-20 13:38:48 -06:00
2019-07-30 12:57:08 +02:00
2019-11-12 19:37:15 +01:00
2019-06-29 03:02:42 +02:00
2017-08-04 14:24:01 +02:00
2017-05-30 22:50:10 -05:00
2019-01-23 15:29:39 +01:00
2019-03-29 22:11:40 -06:00
2019-06-02 20:44:51 +02:00
2019-10-01 17:28:57 +02: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
2019-08-02 22:45:41 +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%