GithubHelp home page GithubHelp logo

randomthings's Introduction

RandomThings

Features

  • An option to add sort buttons in inventories.
  • An option to add a more or less pretty and functional Player Map Marker.
  • An option to automatically sort containers when the game loads.
  • An option to automatically sort containers when they are opened.
  • Choose between 4 possible sort methods (By Name or By Total Resource Count; Ascending or Descending)
  • A Slider to multiply dropped loot (this can be specified for every drop or only for certain items).
  • Sliders to change the maximum Stack Size for Crates and Chests. Change the size using the slider and then press the apply button to apply the changes. Uninstalling the mod causes the stack size to return to normal.
  • An option to make everything free.
  • An option to activate invulnerability (In-Game Cheat).
  • The ability to view opened inventories in the mod menu and edit the content.
  • The ability to view the Game Stats (save specific and system wide).
  • A multiplier for game time (not game speed)
  • Change the amount of backup saves the game keeps (default 10, maximum 50)

Installation

  • Get the latest version of Unity Mod Manager (at least 0.25.5c)
  • Install the Manager for the game.
    • See "How to Install" on the above linked page.
  • Download the latest release zip and install it with one of the following methods:
    • (Prefered) Start UnityModManager.exe again. Make sure you still have the game selected. Switch to the Mods tab and drag the zip into the "Drop zip files here" field.
    • Open the game folder. Enter the mods directory and unzip the mods archive there.

Building

  • Clone the repository.
  • Open the solution with Visual Studio.
  • Make sure the Nuggets are installed as expected. This should automatically happen.
  • To ensure portability I use a system variable $(MagicalMixturePath) for references and the build script. If you want to build the project yourself you either:
    • Add the variable yourself.

      • Go to Properties > Environment Variables (or just search for variables and pick the option that appears)
      • Under User Variables click new, with the variable name being MagicalMixturePath and the value being your path to the game directory e.g. D:\Games\Steam\steamapps\common\The Magical Mixture Mill.
      • Here is an example on how the entry should look like. Do remember to modify the path to the game directory depending on where it is located on your system.

      grafik

    • Or replace every reference to the variable in the .csproj file with the path. I don't really recommend doing that.

  • Now you should be able to build the project without problems. If you still encounter trouble please contact me on Discord or create a GitHub issue.

v0.3.0

  • Updated for Game Update 2.
  • Removed import multiply because said update reworked import system.

v0.2.2

  • Added Sliders to multiply import capacity for specific item types or in general.

v0.2.1

  • Added Sliders to multiply loot for specific item types.
  • The max stack size of the new Crates will now also be modified.

v0.2.0

  • Added Slider to multiply loot.

v0.1.7

  • Added Sliders to change the maximum Stack Size for Crates and Chests. Change the size using the slider and then press the apply button to apply the changes. Uninstalling the mod causes the stack size to return to normal.

v0.1.6

  • Added an option to add a more or less pretty and functional Player Map Marker.
  • Known issue: Button Highlighting on Hover not working

v0.1.5

  • Added invulnerability (In-Game Cheat).
  • Added toggle to make everything free.

v0.1.4

  • Fixed a bug where sort on opening Container would affect more than just inventory and chests.

v0.1.3

  • Added different ways of sorting. The active one is chosen in the Mod Menu.
  • Added Toggles to turn on/off.
    • Custom Sort Buttons in inventories.
    • Auto sort on game load.
    • Auto sort on opeining a container. grafik grafik

v0.1.2

  • Added sorting as custom buttons into Game interface.
  • Revamped code.
  • Game now sorts (chest and inventory) container on load.

v0.1.1

  • Added Interface listing all Inventory Items and adding a sort button in the Mod Menu.

v0.1.0

  • Changed GUI (now uses ModKit since it looks better and is more useful).
  • Time Multiplier now No Longer conflicts with fast forwards (Those endless nights...)
  • Time Multiplier can be set to any value between 0.00001f and 10. Additionally there's now a reset button to set it back to 1
  • Fixed per save settings not working
  • (New Feature) it is now possible to change the amounts of saves that the game makes before starting to delete old ones.
    • This is by default 10 saves. I think this is per slot; but I'm unsure. They are deleted when a save game is actually loaded.
    • Since it seems like the game validates every save each time the game loads I limited the amount of saves you can keep (50 for now).
  • (New Feature) I added a save button. This saves both global game stats and creates a new local save.
    • It seems to save stats and inventory at least. You do respawn at the beginning of the day near your bed though
    • Beware while I didn't encounter problems, the game is in Early Access and certainly doesn't expect Mods. Make sure to bear the risks in mind.
  • (New Feature) Added a toggle to show the game file stats and the global stats. grafik

v0.0.1

  • This is a supposed to be a Proof of Concept.
  • The idea was to use UMM to create a simple Mod.
  • The mod in question basically adds a slider to make the game time pass more slowly (or faster if that's your heart desire).

List of somewhat interesting classes to look at when decompiling:

  • QuestTracker - seems to be the Quest Log
  • Avatar - Player Character (and stats like movespeed gold etc.)
  • ObiCharacter - Player Movement stuffs?
  • MasterTimer - Game Time related stuff
  • GameStatsManager - Tracks save and system wide stats; responsible for saving and loading system wide stats.
  • SaveGame - Lower Level save class; takes care of I/O operations and seems to have OnSaved and OnLoaded Events
  • SaveLoadManager - The interesting stuff, responsible for saving and loading every bit of save specific data. Might even include display of saves?

randomthings's People

Contributors

xaddbx avatar

Watchers

 avatar

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.