
JustEnoughDrugs
Enhances the drugs tab in Schedule I with a powerful search bar, advanced filtering (Name, Ingredients, Effects), sorting options (Newest, Addictiveness, Cost, Price, Profit), full recipe display, production cost estimation.Details
JustEnoughDrugs
A MelonLoader mod for Schedule I that enhances the drugs tab with powerful search, sorting, and detailed recipe features.
Preview
Features
- Search Bar: Quickly filter drugs by typing a keyword.
- Dropdown Filter: Select whether to filter by Name, Ingredients, Effects, or search Any field.
- Sorting Options: Sort drugs by Newest, Addictiveness, Cost, Price, or Profit.
- Real-Time Filtering and Sorting: Updates instantly as you type or change filters.
- Full Recipe Display: See the complete chain of ingredients used to craft a product, visually.
- Drug Cost Display: View the estimated production cost of each drug.
- Configurable Settings: Easily enable or disable features through MelonPreferences.
- Shortcuts Disabled: While typing, game shortcuts are temporarily disabled (except Tab, Escape, and Right Click).
- Zero Configuration: Works instantly — just drop the file into the mod folder.
Quick Start Guide
- Install the mod by following the instructions below.
- Launch Schedule I and open the drugs tab.
- Use the search bar and dropdown to quickly find and sort products.
- Click a drug to view its full ingredient recipe and estimated production cost.
Everything updates live as you type or interact with the interface.
Why You Need This
Tired of scrolling through endless substances?
JustEnoughDrugs saves you time and boosts your experience by:
- Letting you search drugs by name, ingredients, or effects.
- Instantly sorting drugs by cost, profit, addictiveness, and more.
- Showing detailed recipes and production costs at a glance.
- Creating a smoother, faster, and more informative way to manage drugs.
If you have suggestions for new features or improvements, feel free to open an issue!
Installation
- Install MelonLoader for Schedule I if you haven't already.
- Download the latest version of JustEnoughDrugs.
- Place
JustEnoughDrugs.dll
into your Schedule I/Mods folder. - Launch the game — the mod will be automatically loaded and ready to use.
Configuration
JustEnoughDrugs automatically creates a configuration section in your Schedule I/UserData/MelonPreferences.cfg
file.
You can customize the mod behavior without needing to modify the code.
The config section looks like this:
[JustEnoughDrugs]
# Enables the sorting functionality for drugs in the product manager.
EnableDrugSorting = true
# Displays the full recursive recipe for products when selected.
ShowFullRecipe = true
How It Works
When you open the drugs tab:
- A search bar and dropdown filter are added to the UI.
- Typing into the search bar filters the drug list in real-time.
- The dropdown menu lets you pick whether to filter by Name, Ingredients, Effects, or Any.
- Clicking on a drug reveals its full ingredient recipe and cost.
- Hovering over ingredients or results displays tooltips with detailed information.
- Preferences like sorting and cost display are managed via MelonPreferences for easy customization.
Advanced Search Syntax
You can use special characters to refine your search:
Syntax | Behavior | Example |
---|---|---|
, (comma) |
AND search: results must match all terms | Refreshing,Sedating → finds drugs matching both "Refreshing" and "Sedating" |
| (pipe) |
OR search: results can match any term | Refreshing|OG → finds drugs matching either "Refreshing" or "OG" |
Known Issues
-
Advanced "Any" Filter:
When using both the "Any" filter and the,
(AND) separator, the search might incorrectly return "None" even if matching entries exist.
This will be addressed in a future update. -
Full Recipe Icon Size:
The size of ingredient and result icons in the full recipe view can sometimes appear too large or too small depending on the layout.
A dynamic scaling system is planned for future versions.
Future Updates & Ideas
-
UI Readability Improvements:
Plans to further enhance the UI layout for better clarity and accessibility, especially when displaying large or complex recipes. -
Dynamic Recipe Scaling:
Adjust the size of ingredient and result icons dynamically based on the number of elements, improving visual balance. -
Weighted "Any" Filter:
Improve the "Any" filter by prioritizing fields (e.g., Name over Ingredients or Effects) to return more accurate search results. -
IL2CPP Compatibility:
Work in progress to support Schedule I's IL2CPP builds, ensuring compatibility with future game versions and broader mod support. -
Performance Optimization:
Optimize UI generation for extremely large drug lists to maintain real-time responsiveness even with heavy mods or custom content.
These features are planned for future versions and may evolve based on player feedback and Schedule I updates.