Билд проекта Fish Station (Рыбья Станция) в игре Space Station 14.
Find a file
Leon Friedrich dbc90f202a
Bug fixes for metabolisable reagents (#4385)
* HealthChangeMetabolism now scales with ticktime and metabolism rate

Both Food and Drink metabolisms scale with ticktime, Now HealthChangeMetabolism also does so.

Additionally, 'healthChange' now correctly scales with the metabolism rate, so it's description is now correct.

* LiverBehaviour now uses correct frameTime

Previously, the liver only metabolised reagants once every second, but incorrectly passes the current frameTime to the metabilism function, not 1 second.

* Stomach now only transfers non-empty solutions.

Makes debugging bloodstream bugs easier if the stomach is not constantly adding empty solution to it.

* Fixed StomachBehaviour using wrong SolutionContainerComponent

Stomach was using the first SolutionContainerComponent in the owner of the body, instead of the container in the owner of the mechanism (stomach). As a result, it used to use the BloodStreamComponent.Solution as a "Stomach".

* Update StomachBehavior.cs

Somach now checks if it still contains a reagant, before transferring it.

* Added argument to IMetabolizable.Metabolize()

Added availableReagent argument to IMetabolizable.Metabolize(), This ensures that this function does not over-metabolize a reagant, which can happen if tickTime*metabolismRate is larger than the available reagant

* Revert "Stomach now only transfers non-empty solutions."

This reverts commit 2a51e2d87e6e17ab76b48e5316ce501ec05ac061.

* Renamed _updateInterval to _updateIntervalSeconds

Also modified doc comment specifying units

* Fix spelling of healthChangeAmount

Changed from healthChangeAmmount to healthChangeAmount

* Fixed comment

comment used to mention _updateInterval, which has been renamed  _updateIntervalSeconds

* Fixed typo in comment

* fixed typos: reagant -> reagent

Most typos were just in comments.

* Make metabolizable classes inherit from DefaultMetabolizable

Also involved changing around IMetabolizable

* Renamed variables

metabolismAmount -> amountMetabolized

* Updated Comments in DefaultMetabolizable

Makes it clearer why DefaultMetabolizable works as it does, and that other classes depend on it.
2021-07-30 21:11:02 -07:00
.github Oops that broke integration tests on Windows. 2021-06-21 02:29:54 +02:00
.vscode Fix C# VSCode extension recommendation. 2020-05-01 20:03:42 +02:00
BuildChecker Add error for git not found in git_helper (#4011) 2021-05-16 22:27:30 +02:00
BuildFiles/Mac/Space Station 14.app/Contents Updated Mac Icon (#1058) 2020-06-02 13:29:33 +02:00
Content.Benchmarks Remove Static Component NetIds (#4247) 2021-07-12 10:32:10 +02:00
Content.Client Improve hands & pulling (#4389) 2021-07-31 03:14:00 +02:00
Content.IntegrationTests adds a integrationtest that tries out all reactions (#4374) 2021-07-27 22:54:26 +10:00
Content.Server Bug fixes for metabolisable reagents (#4385) 2021-07-30 21:11:02 -07:00
Content.Server.Database Use HWIDs for bans. 2021-03-22 01:32:09 +01:00
Content.Shared Bug fixes for metabolisable reagents (#4385) 2021-07-30 21:11:02 -07:00
Content.Tests Atmos pipe rework (#3833) 2021-06-19 13:25:05 +02:00
Content.Tools Remove PhysShapeGrid (#4264) 2021-07-14 18:48:07 +10:00
Content.YAMLLinter Turns GameTicker into an EntitySystem. (#4197) 2021-06-20 10:09:24 +02:00
Pow3r Pow3r goes brrr with generational IDs. 2021-07-31 02:50:23 +02:00
Resources Automatic changelog update 2021-07-30 21:15:03 -04:00
RobustToolbox@8fea42ff9a Update submodule. 2021-07-30 16:19:24 -07:00
Tools Makes the singularity engine actually work stably. (#4068) 2021-05-28 11:44:13 +02:00
.appveyor.yml Let's pray it all works 2019-12-16 00:46:09 +01:00
.editorconfig Update submodule, NuGet natives 2020-12-13 01:14:29 +01:00
.gitattributes Mapping merge driver: continued (#2803) 2021-02-06 23:56:40 +01:00
.gitignore Adds desktop.ini to .gitignore 2021-05-10 00:07:45 -07:00
.gitmodules Update gitmodules 2019-03-29 22:11:40 -06:00
auth.ps1 Define CVars in a central location. 2020-09-25 21:39:33 +02:00
LICENSE.TXT Create LICENSE.TXT 2017-08-02 12:27:55 -07:00
nuget.config Probably fix build forgetting that nuget exists. 2020-12-21 12:15:29 +01:00
README.md Revert "Deprecates RUN_THIS.py in favor of manually doin' it (#3930)" (#3933) 2021-05-05 14:30:46 +02:00
RUN_THIS.py Revert "Deprecates RUN_THIS.py in favor of manually doin' it (#3930)" (#3933) 2021-05-05 14:30:46 +02:00
runclient.bat run client/server point to Content instead of Robust 2021-05-03 20:23:05 -07:00
runserver.bat run client/server point to Content instead of Robust 2021-05-03 20:23:05 -07:00
SpaceStation14.sln Pow3r: stage 1 (#4208) 2021-07-04 18:11:52 +02:00
SpaceStation14.sln.DotSettings SubFloorHide requires entities to be anchored by default. 2021-07-30 12:26:18 +02:00

Space Station 14

Space Station 14 is a remake of SS13 that runs on Robust Toolbox, our homegrown engine written in C#.

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. It contains both RobustToolbox and the content pack for development of new content packs.

Website | Discord | Forum | Steam | Standalone Download

Documentation/Wiki

The HackMD Wiki has documentation on SS14s content, engine, game design and more. We also have lots of resources for new contributors to the project.

Contributing

We are happy to accept contributions from anybody. Get in Discord 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

  1. Clone this repo.
  2. Run RUN_THIS.py to init submodules and download the engine.
  3. Compile the solution.

More detailed instructions on building the project.

License

All code for the content repository is licensed under MIT.

Most assets are licensed under CC BY-SA 3.0 unless stated otherwise. Assets have their license and the copyright in the metadata file. Example.