banner
Rating
Voted0

Statistical core

0
Mod version:1
Game version:1.0.1
The mod has been successfully tested for the absence of viruses
926.94K2.13K

Report mod

  • image
modalImage

About This Mod

API Subnatica for easy change of player status and item


What is Stats Core?

Stats Core is an API that makes it easy to change player stats and items. Stats Core is designed to ensure stability, ease of use and compatibility with mods, so using Stats Core means your mods will have well tested, modal-friendly and error-free code.



Benefits of using Stats Core

Some mods, such as Max Hunger mods, are very complex because they are hard-coded and distributed over seven different methods - without Stats Core you would have spent hours or days figuring it out, creating all the patches, and checking the code for errors. With Stats Core you only need one line of code:


Player.main.AddMaxFood(amount);


Stats Core does the rest with just one line of code. Using Stats Core, you can focus on the main thing: the development of mods. You no longer need to spend hours tuning everything to start developing features for your fashion.



What can Stats Core do now?

Stats Core allows you to change most of the player's statistics. For example, maximum strength, maximum amount of food, maximum amount of water, and maximum lung volume. It also adds custom stats such as health regeneration, thirst damage (currently separate from damage from hunger), and damage resistance. There are also more custom methods, such as IsSwimmingOnWaterSurface(), that can provide more accurate modes. In addition, some stats that usually affect the graphical interface, such as health, water, and food, have been fixed. So, if you change your maximum health, the health bar will change to reflect the new maximum health.


In addition, many status-related features, which are usually private, have become publicly available. This is useful because it allows you to create status mods that do not require the use of reflections or public mounts.


Statistics Core can also be used to change the status of equipment. Now added support for knives, heat knives, flashlights, laser cutters, flares and fire extinguishers.



Plans for the future.

Many other features will be added to Stat Core. Eventually, it will include modifiers for all gear, vehicles, creatures and important items. I'm trying to design it so that in the future all modders want to use it instead of manually, so expect a lot of support and new features in the future.

Similar Mods/Addons

Select