premium banner
Allows you to cancel a machine's production and retrieve the item you put inside. (By right clicking, or breaking the machine)

Description

If you like the mod and want to help me, you can do so on my Ko-Fi.

Overview

Machine Input Return is a Stardew Valley mod that allows you to retrieve ingredients from processing machines before they finish. Have you ever put something valuable in a machine and immediately regretted it? Now you can get those items back! Simply right-click or break a processing machine to cancel the operation and retrieve your input materials.

Features

  • Retrieve Machine Inputs: Right-click or break any processing machine (furnace, keg, preserves jar, etc.) to cancel the process and get your items back.
  • Time Restrictions: Configure when inputs can be retrieved based on processing completion percentage.
  • Quality Preservation: All retrieved items maintain their original quality level.
  • Input Recovery on Breakage: If a machine is broken while processing, your input items will automatically drop to the ground.

How to Use

  1. Install SMAPI: Ensure you have the latest version of SMAPI installed.
  2. Install Generic Mod Config Menu (Recommended): For easy in-game configuration.
  3. Download Machine Input Return: Get the latest version from the Files tab.
  4. Install Machine Input Return: Unzip the download and place the MachineInputReturn folder into your Stardew Valley/Mods directory.
  5. Launch the Game: Run Stardew Valley via SMAPI.
  • Using the Mod:
    • Simply right-click on any processing machine (or break it) while it's working to cancel the process and retrieve your input items.
    • The items will be added directly to your inventory, or dropped on the ground if your inventory is full.
  • Accessing Configuration:
    • With GMCM: Click the gear icon on the title screen or find the settings button in the in-game options menu. Look for "Machine Input Return".
    • Without GMCM: Edit the config.json file located in Stardew Valley/Mods/MachineInputReturn after running the game once with the mod.
  • Configuration Options:
    • Enabled: Toggle the mod on/off.
    • Retrieval Time: Choose when items can be retrieved:
      • Anytime: Retrieve items at any point during processing.
      • Below 50% Remaining: Only retrieve items if less than 50% of processing time remains.
      • Below 30% Remaining: Only retrieve items if less than 30% of processing time remains.

Mod Compatibility

  • Generic Mod Config Menu (GMCM): Fully supported for easy in-game configuration.
  • Works with vanilla machines and their processing rules.
  • Compatible with any mods that add new machines as long as they use the standard Stardew Valley machine system.

Support

When reporting bugs, please include:

  1. A clear description of the problem.
  2. Steps to reproduce the issue.
  3. Your SMAPI log (How to find your SMAPI log).

Source Code