GreenHell Modding
GreenHell Modding
Welcome to the GreenHell Modding docs!
TUTORIALS
How to install GreenHellModLoader
How to install a mod
Mods in multiplayer
MODDING TUTORIALS
How to create a mod project
How to create an AssetBundle
CLIENT - CODE EXAMPLES
Reading private variables
Modifying private variables
Accessing the player instance
Giving items to a player
Modifying the inventory max weight
Unlocking everything in the Notepad
Disabling player movement
Toggling the mouse/cursor
Printing to the console
WEBSITE
Slugs
Powered by GitBook

Modifying the inventory max weight

In order to modify the inventory max weight we can simply change a single value in the InventoryBackpack class as shown below.

InventoryBackpack.Get().m_MaxWeight = 999;
CLIENT - CODE EXAMPLES - Previous
Giving items to a player
Next - CLIENT - CODE EXAMPLES
Unlocking everything in the Notepad
Last updated 12 months ago