Coder Social home page Coder Social logo

madbuffoon / weightbase Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 5.34 MB

Removes stack size and allows you to change the Weight. Also addes weight limts to your ships and change the inventory size of the ships.

License: MIT License

C# 99.04% PowerShell 0.96%

weightbase's Introduction

Summary

Removes stack size and allows you to change the Weight.
Also lets you change the inventory size of the ships.
Also Change how you see large stack size and weight numbers to a smiple look like 1.0k applies to all Inventories

To get updated changes you need to log out and back in.


The base code came from SaneInventory.
I did reach out the mod owner and he gave me the okay to use the code.
https://valheim.thunderstore.io/package/remmiz/SaneInventory/
https://github.com/remmizekim/ValheimMods/


Compatible Mods
InCompatible Mods
  • Other Stack Mods

Ship Weight Penalties
  • What is the penalties?
    If the ship's total weight goes over 100% the ship will slow down.
    At 150% the ship will just stop.
  • What Weight counts?
    Looks at the weight in the ship's cargo and all the players on the ship.
  • Weight Limit?
    Weight limit is base on the mass of the ship.
    You can see a % in the cargo inventory for the % of weight to Max Weight
  • Config Options?
    You have access to a scale witch scales the mass of the ship up to increase the weight you can have on the ship.
    You can turn on "Got Weight?" to see when the ship is over weight.
    You can turn on "Sinking" to have the ship sink if over weight at 150%
    Also yes you can turn off the weight penalties.
Config

ConfigSettings


Issues/Questions/Bugs

DISCORD: #1

STEAM: https://steamcommunity.com/id/MadBuffoon/

For Questions or Comments, find me in the Odin Plus Team Discord or in mine:

https://i.imgur.com/XXP6HCU.png

weightbase's People

Contributors

madbuffoon avatar azumattdev avatar

Watchers

 avatar

Forkers

azumattdev

weightbase's Issues

Opening chests floods console with errors

LogOutput.log

[Error : Unity Log] IndexOutOfRangeException: Index was outside the bounds of the array.
Stack trace:
WeightBase.Tools.Helper.CalculateShortNumberAndSuffix (System.Single number, System.Double& shortNumber, System.String& suffix) (at :0)
WeightBase.Tools.Helper.FormatNumberSimple (System.Single number) (at :0)
WeightBase.Patches.UI+DisplayContainerMaxWeight.Postfix (InventoryGui __instance, Container ___m_currentContainer) (at :0)
(wrapper dynamic-method) InventoryGui.DMDInventoryGui::UpdateContainerWeight(InventoryGui)
InventoryGui.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

Max Stack Size displays in new update

Since the recent update, Max Stack Size is showing up again. Previously, there was no display for max stack size, it would instead only display the current stack.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.