Instead of each mutation being a flag that gets checked at some unique point in BotanySystem somewhere, they're now EntityEffects that get applied when the mutation occurs and when produce is harvested. One new list was added to SeedData so that multiple other fields could be removed. All the non-stat-change mutations that have been rolled are added to the Mutations list, and get applied to the plant when the mutation occurs or when a seed with the mutation is planted. Produce get mutations applied at harvest if they apply to the produce, and carry all of the plant's mutations over as a seed. This gets rid of the one-off checks for things like Slippery, Bioluminescent, Sentient, etc. The base odds of a mutation applying should be equal to the odds of the original mutation check. It pretended to have 1 bit flip (on averge) per mutation power, and odds of each mutation was the odds of one of its bit being flipped (1 /275 * bits). The 'thermometer code' applied for numbers will be replaced with simple random rolls, as both average out to the middle value. The new checks are much easier to understand and don't obfuscate the actual changes of something happening behind 3 layers of math. The biggest player-facing change is that Potency will be able to get over 65 significantly more often than it did in the previous system, but it will be just as common to get low values as high ones. Mutation definitions have been moved to a .yml file. These include the odds per tick per mutagen strength of that mutation applying that tick, the effect applied, if it applies to the plant and/or its produce. This makes mutations simpler to add and edit. This PR is limited specifically to the mutation logic. Improving other aspects of the system will be done in other PRs per the design document. Mutations was chosen first because its got the largest amount of one-off checks scattered all over that could be consolidated. Once this is merged, mutations could be contributed to the codebase with minimal extra work for later botany refactor PRs. (cherry picked from commit 1dec19cc052dd22c73cc25dc92b3d0a918ef13fd)
WWDP - форк Einstein Engines, представляющего из себя хард-форк Space Station 14, построенный на идеалах и дизайнерском вдохновении семейства серверов BayStation 12 от Space Station 13 с упором на модульный код, который каждый может использовать для создания RP-сервера своей мечты.
WWDP - один из основных серверов русского коммьюнити, который выступает за идеалы свободы отыгрыша, свободы слова и настоящей классической атмосферы Space Station 13 - хаос, веселье, возможности.
Space Station 14 - это ремейк SS13, который работает на собственном движке Robust Toolbox, собственном игровом движке, написанном на C#.
Поскольку это хард-форк, любой код, взятый из другого апстрима, не может быть напрямую замержен сюда, а должен быть перенесен. Весь код, представленный в этом репозитории, может быть изменен по желанию кодербаса Белой Мечты.
Ссылки
Steam | Клиент без Steam | Основной репозиторий
Контрибуция
В процессе разработки, ожидайте новостей!
Сборка
Следуйте гайду от Space Wizards по настройке рабочей среды, но учитывайте, что наши репозитории отличаются и некоторые вещи могут отличаться. Мы предлагаем несколько скриптов, показанных ниже, чтобы облегчить работу.
Необходимые зависимости
- Git
- .NET SDK 9.0.101
Windows
- Склонируйте данный репозиторий
- Запустите
git submodule update --init --recursiveв командной строке, чтобы скачать движок игры- Запускайте
Scripts/bat/buildAllDebug.batпосле любых изменений в коде проекта- Запустите
Scripts/bat/runQuickAll.bat, чтобы запустить клиент и сервер- Подключитесь к локальному серверу и играйте
Linux
- Склонируйте данный репозиторий.
- Запустите
git submodule update --init --recursiveв командной строке, чтобы скачать движок игры- Запускайте
Scripts/sh/buildAllDebug.shпосле любых изменений в коде проекта- Запустите
Scripts/sh/runQuickAll.sh, чтобы запустить клиент и сервер- Подключитесь к локальному серверу и играйте
MacOS
Предположительно, также, как и на Линуксе.
Лицензия
Содержимое, добавленное в этот репозиторий после коммита 87c70a89a6 (17 February 2024 23:00:00 UTC), распространяется по лицензии GNU Affero General Public License версии 3.0, если не указано иное.
См. LICENSE-AGPLv3.
Содержимое, добавленное в этот репозиторий до коммита 87c70a89a6 (17 February 2024 23:00:00 UTC) распространяется по лицензии MIT, если не указано иное.
См. LICENSE-MIT.
Большинство ресурсов лицензировано под CC-BY-SA 3.0, если не указано иное. Лицензия и авторские права на ресурсах указаны в файле метаданных. Example.
Обратите внимание, что некоторые активы лицензированы под некоммерческой CC-BY-NC-SA 3.0 или аналогичной некоммерческой лицензией и должны быть удалены, если вы хотите использовать этот проект в коммерческих целях.