You are viewing a potentially older version of this package. View all versions.
GhostNarwhal-Enhanced_Prefab_Loader-4.2.0 icon

Enhanced Prefab Loader

A API to add prefabs into the game as Items, Wall Objects, Ceiling Objects, Shelves, Play Tables, Sellable Items, Deco Objects, Cards, Card Sets, and more planned for the future.

Date uploaded 8 months ago
Version 4.2.0
Download link GhostNarwhal-Enhanced_Prefab_Loader-4.2.0.zip
Downloads 1423
Dependency string GhostNarwhal-Enhanced_Prefab_Loader-4.2.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

NOTE: This is not a stand alone mod. This is a modders tool that aims to make adding new items into the game easier.

Enhanced Prefab Loader:

Join the Discord. We are a community of modders and mod users that would love to hear your ideas or assist you when things just are not working correctly.

Content:

  • Add new furniture and have it added to the in game furniture shop
  • Custom scripts to allow furniture to be placed on top of shelves, cash register, play tables, on the walls/glass, and even on the ceiling.
  • Custom Play Tables
  • Custom Shelving
  • Video Players
  • New sellable items
  • Plushies
  • Figurines
  • Comics
  • Deco Objects
  • Wall Textures
  • Floor Textures
  • Ceiling Textures
  • Cards
  • Card Sets
  • and More

Mod Authors:

Please watch the youtube videos attached to this mod. Setting up to properly use this mod can get a little technical, but after initial setup, everything is extremely easy. My tutorial videos will guide you through it all. Also please do join the Discord for any questions or feedback you may have. I'll happily assist you with any issues/questions you may have.

Mod Authors Note (THUNDERSTORE SPECIFIC):

I changed the packaging of the zip file so now it contains a "plugins" and a "patchers" folder to be more in line with how mod loaders tend to handle this stuff.... I also changed how the config files are found.

  • The patcher config files can now be anywhere in the patchers file as long as they are in a file that name ends with prefabloader
  • The plugins config files are the same. They can be anywhere in the plugins folder as long as they are in a folder whos name ends with prefabloader. So as an example mod (Preferably these should match for what the folder name is):
plugins -> Albums -> prefabloader -> something, something.json
patchers -> Albums -> prefabloader -> something.json

This should make thunderstore happy..... Signed Ghost Narwhal creator of Enhanced Prefab Loader

How to uninstall (EXTREMELY IMPORTANT!!!!!):

Remove any and all items added by prefab loader from your shop. Sell them, trash them, etc. If you remove prefab loader with anything that prefab loader adds still in your shop, it will brick your save. I am working on getting the save scrubber tooling updated, but for right now it does not work. You will need to manually remove everything.

Installation Guide:

Installing with a Mod Manager

This is the recommended way to install BepInEx to the game.

  1. Download and install Thunderstore Mod Manager or r2modman.
  2. Click the Install with Mod Manager button on the top of BepInEx's page.
  3. Run the game via the mod manager.

Installing Manually

  1. Install BepInEx or BepInEx by pressing 'Manual Download' and extract the contents into a folder. Do not extract into the game folder!
  2. Move the contents of the extracted folder into the game folder (where the game executable is).
  3. Run the game. If everything was done correctly, you will see the BepInEx console appear on your desktop. Close the game after it finishes loading.
  4. Place all Plugins into BepInEx/plugins in their own unique folder some zips contain a folder labeled Plugins at root, you need to go a folder in than put that into the plugins folder.

Mac & Linux:

  1. Follow the steps here first: Here
  2. Next do step 4 of the Manual Installation
  3. Your game should be setup for inscryption modding now

Installing on the Steam Deck (Note You may need to modify this setup if its found to be wrong, If it is, this file should be updated to cover such.)

  1. Download BepInEx
  2. Go to Installed Files click Browse to open the folder containing The Game's local files; Put the contents Of the zip in this folder.
  3. Download the mods you plan on using and their dependencies, You will need to unzip them.
  4. Make a folder for each plugin than place them in BepInEx/plugins.
  5. Enter Gaming Mode and check 'Force the use of a specific Steam Play compatibility tool' in the Properties menu under Compatibility.
  6. Go to the launch parameters and enter WINEDLLOVERRIDES=“winhttp.dll=n,b” %command%.
  7. Open the Game. If everything was done correctly, you should see a console appear on your screen.

Contact Information:

Videos:

  • Setup; Part 1

    Prefab Loader Setup Part 1

  • Setup; Part 2

    Prefab Loader Setup Part 2

  • Setup; Custom Shelves

    Prefab Loader Setup Custom Shelves

  • Setup; Custom Tables

    Prefab Loader Setup Custom Tables

  • Setup; Adding New Sellables

    Prefab Loader Setup Adding New Sellables

  • Setup; Brand New Cards

    Prefab Loader Setup Brand New Cards

CHANGELOG

Changelog:

Initial Release - 1.0.0

  • Released the Mod to Nexus Mods

Safeguard Update - 1.0.1

  • Added safeguards so mods will not break if dev adds new furniture items.

File Fix - 1.0.2

  • Fixed incorrect upload files.

Thunderstore Release Attempt - 1.0.3

  • Released the mod to Thunderstore.

Video Player - 1.1.0

  • Added support for video players
  • Various bug fixes and code cleanup

New Sellable Items - 2.0.0

  • Support for adding new sellables has been added
  • How the prefab loader finds config files has been changed for the purposes of supporting more mod loaders. Config files can be anywhere in the plugins folder as long as they are inside a folder with name ending in "prefabloader".
  • Changes made to the optional Asset Bundle file to also create the nessisary json when the items are being bundled.
  • FIXED a bug where the object type was not being set correctly in the newest base game update which causes icons to not display correctly.

Deco Support - 3.0.0

  • ADDED: Deco statue support
  • ADDED: Deco wall, floor, and ceiling texture support
  • BREAKING CHANGE: Sprites/Assemblies in assetbundle config json are now expect to just be simple list of names instead of list of objects contains a name field.
  • BREAKING CHANGE: Removed CustomWallHangingInteractableObject script from the provided precompiled scripts (Use the new CustomInteractableDeco script with IsDecorationVertical true for same effect)
  • CHANGED: The way saves function. All saves are now "instanced" to the the mod that is providing the asset bundle. So saves will not overlap other mods.

Card Support - 4.0.0

  • Added: New Card Support
  • Added: New Card Set Support
  • Promise you the API when it releases will do it better /j - Creator

Bug Fixes - 4.0.1

  • FIXED: Issue where card boxes with a supplied mesh would not open
  • FIXED: Issue where individual card prices were being calculated extremely high
  • FIXED: Issue causing 1 card out of each set to not be able to be graded
  • FIXED: Compatibility issues with Texture Replacer.

Card Updates and Bug Fixes - 4.1.0

  • NEW: Cards can be declared as "Always Foil" in ths json. Each card has a isFoil tag. (only if set does not have random foils)
  • NEW: Each card can have its own foil mask. (sets foil mask is fallback if the card does not declare a foil mask)
  • NEW: Full Art cards now use the same foil mask as non-fullart cards (or their own declared foil mask)
  • FIXED: Lighting issue with textures
  • FIXED: Price graph chart when setting prices via the price tag now work
  • FIXED: Phone UI for custom expansions now works
  • CHANGED: Exporter script no longer requires specific folder layouts.
  • FIXED: Exporter script will accuratly read in from previous exports now.
  • CHANGED: Sprite Names, Texture Names, Rarities are now "unique to bundle" and no longer need to be "unique to world". Item Type, Object Type, Deco Type, Pack Type, and Expansion Type still need to be "unique to world.
  • FIXED: Epansion name correctly shows in binder now with appropriate spaces.

0.63 Update - 4.1.1

  • Updated to be compatible with newest game version (0.63.1+)

Compat, and Bug Fixes - 4.1.2

  • Added: Compatibility patch for TextureReplacer. (They will play nice together now)
  • Fixed: Graded Card Expansion naming not being properly spaced
  • Fixed: Bug that would sometimes wipe out custom card save data

Graded Cards Fixes and Trading - 4.2.0

  • FIXED: Issue where graded cards would either disappear or not hold the set price on card displays (or both).
  • ADDED: Custom Card expansion trading with customers is now functional
  • Small Rewrite: Custom cards was slieghtly rewrote from the base game. Can see cross expansion trade requests, and should no longer see issues where the customer wants the same card he is trying to trade.

Bug Fix Update, and Multi-Texture support - 4.2.1

  • FIXED: Bug that was causing random cards to disappear from cardshelves, card displays, holographic wall displays, etc
  • ADD: Multi texture pack support. For packs, just add materials to the material list and packs will now spawn with a random material from the list

Bulk Box Support, Rarity Selection Auto-Updates, Price Limitation Removal, Better Exporter - 4.3.0

  • ADDED: Bulk box support for new card expansions
  • ADDED: Rarity select now auto updates based on the selected expansion (workbench select screens).
  • ADDED: Removed the price limit (now 99,999) for min/max price sliders. (New bulk boxes can be set to be any price amounts).
  • UPDATED: Exporter tool now handles hiding unessisary fields a lot better (still more work to be done on this).

Bug Fix Update - 4.3.1

  • FIXED: Bug with bulk boxes not having correct mesh offset settings
  • FIXED: Bug where you could not hand place a custom bulk box back on the workbench
  • ADDED: More compatibility fixes for Texture Replacer

Cleanup Update, and Hovers - 4.3.2

  • Added: Ability to specify you want to use a base game mesh for your items. (Still new item but will add the new item with your texture on base game mesh).
  • Cleaned Up: Cleaned up ALOT of the exporter script.
  • Added: New hover over tooltips are present on multiple fields in the exporter window that may not be obvious as to what the field is for.
  • A decent amount of code cleanup so making QOL changes later will be easier.

Trade Fix, Prefab Name field, and some Image Handling - 4.3.3

  • FIXED: Issue when requested trade was a graded card, it would show you did not have that card in binder.
  • CHANGED: Added new "Prefab Name" field to prefabs in the exporter script. This new field is the prefab name and the Name field is now only used for in game display purposes.
  • ADJUSTED: Slightly adjusted the way the images are stretched on the card. Should make edges and corners a bit more crisp

Bug Fixes, and Tweaks - 4.3.4

  • Changed: Follow item price now sets the base cost and min/max market price % to be equal to the item selected (so now setting follow item price to base pack, your items price will be close to the price of a base pack)
  • Changed: Added ability to set card boxes price equal to automatically set 8 * the pack they produce. (How the base game treats card boxes)
  • Changed: God pack chance is now modifiable per cardset. Defaults to 1 in 5000.
  • Changed: More fine tuning on how cards are drawn.
  • Fixed: Issue with name not appearing on tetramon after a prefab loader pack has been opened.
  • Fixed: All bundles in the same folder should now appropriatly have their card expansion buttons grouped in the expansion select screen (alphabetical by bundle name)
  • Removed: Enable button options for Catjob, FantasyRPG, and MegaBot being More Card Expansions has been abandoned

Bug Fix Update - 4.3.5

  • Fixed: Issue causing packs colliders to not be set correctly

Bug Fixes, Nested Expansion Selections, and Expansion Card Banks 4.3.6

  • FIXED: Changes to pack opening EXP generation to be more in line with base game EXP levels.
  • ADDED: Nested Expansion Select options. (Using the provided bundle exporter script will make it self explanitory)
  • ADDED: Ability for cards to have their own card backs. If they do not have one specified, it will fall back to the expansion card back.

Bug Fix Update - 4.3.7

  • FIXED: Added back the accidently deleted "Graded Cards" button

Bug Fix Update - 4.3.8

  • FIXED: Issue that was causing bulk boxes to render in with no material
  • FIXED: Issue causing items that used their own custom mesh to load in invisible
  • FIXED: Issue where errors would leak. This was causing issues where if one bundle failed, it would cause multiple bundles to fail.

Bug Fixes, Custom Furniture Deco Bonus Toggle, Better Saves, Ability to make Custom Apps - 4.4.0

  • FIXED: Controller compatibility issues for the expansion and rarity select screens.
  • FIXED: Rarity selection for card storage shelf and donation boxes quick fill now populate based on expansion selected.
  • FIXED: Quick add for card storage and donation boxes for custom expansions.
  • FIXED: Rarity selection will reset to "Any Rarity" after picking a different expansion, so rarities that do not exist on that expansion are not used.
  • FIXED: Custom furniture will no longer prevent the game from loading.
  • FIXED: The same loading screen message will no longer appear multiple times.
  • ADDED: Updated custom furniture so the updated furniture deco bonus can be applied.
  • ADDED: Orphaned save data from mods being moved will now find the mod it belongs to and migrate (means you authors can freely change directory structure now).
  • ADDED: Ability to create custom shops (phone apps) to add your items to. (Youtube video tutorial coming tomorrow)

Bug Fix, Random Materials per Box, Item Fallback, Assets are Lazy, Objects.json is no longer required - 5.0.0

  • FIXED: Packs produced from cardboxes will no longer be missing their textures
  • ADDED: Random Material Per Card Box (Same way as with card packs. Just add the materials to the material list)
  • ADDED: Items will now fallback to being added to the base shop if any errors occur while making custom shops.
  • ADDED: StreamingAssets. Assets are now lazy loaded and unloaded based on usage (this means faster load times and ALOT LESS RAM load for you)
  • ADDED: Removed? Objects json is no longer required for bundles (this is the one that is placed in the patchers folder of your bundles). The bundle script has been updated to not create it
  • With the streaming assets, the bundle script has been updated to not have CRUNCH as a compress format. CRUNCH does not play well with On Demand access. Your bundles will likely grow a bit in size... but performance will be a lot better.

Bug Fix Update - 5.0.1

  • Fixed a bug that was causing loading to fail

Bug Fix Update - 5.0.2

  • FIXED: An issue that was causing card sprite flicker when placing card or taking a card to hand (slower PCs may still see this, but should be better).
  • FIXED: Issue causing cards with no specified foil mask to not correctly fall back to the card expansions foil mask

Bug Fix Update - 5.0.3

  • FIXED: White cards that never regain their sprites until a app restart restart (hopefully)
  • FIXED: Bug that would cause cards to regenerate their base price on every app restart
  • FIXED: Compatibility issue with Fast Pack Opening causing booster boxes to produce pink (textureless) packs
  • CHANGED: Items are now added to the custom shops ordered by level required to buy the license

Bug Fix Update - 5.0.4

  • FIXED: Missing Sprite Issues....

Bug Fix Update - 5.0.5

  • Very Minor Bugs found in Rewriting

Bug Fixs, and Fore Reset Generated Prices - 5.0.6

  • FIXED: Texture replacer compatibility issue causeing custom cards to always show as Full Art when viewed in binder.
  • ADDED: FORCE RESET GENERATED PRICES. Hotkeyed to F11 for now. Will FORCE ALL custom data generated prices to reset. Meant for if your mod author makes balance changes.

Bug Fix Update - 5.0.7

  • Very Minor Bugs found in Rewriting

Bug Fix Update - 5.0.8

  • Very Minor Bugs found in Rewriting

Tournament Stuff - 5.0.9

  • UPDATED: Tournament stuff should now correctly utilize sprites/textures loaded in from EPL

Bug Fix Update - 5.0.10

  • FIXED: Issued where graded EPL cards could not be used as tournament prizes

DLL Swap Fix - 5.0.11

  • Just fixed the packaging to include the correct .dlls.

Bug Fix Update - 5.0.12

  • FIXED: Issue with sprites not being found

Enhanced Prefab Loader API - 6.0.0

  • MASSIVE REWRITE
  • ADDED: NEW DEVELOPER FACING API - Link to docs can be found in the description.
  • ADDED: You can now tell workers to fill pack opener machines with EPL added cards.
  • ADDED: A ton more control over pricing has been added in the bundle verification window.
  • ADDED: Generation Weights as a per rarity, per slot. Instead of 1 weight per rarity for all slots.
  • ADDED: A new provided price generation algorythm that will allow cards to be priced over the 10k(ish) max of the older algorythm
  • ADDED: Ability to have any added EPL item to have random material (from the materialList like the card packs)
  • ADDED: Ability to provide materials for the cards on the playtables. It will keep both players to the same expansion if an expansion is chosen.
  • IMPROVEMENT: Changes to how custom shops are created. This plays heavily into the stuttering that is present between load screen and game starting.
  • IMPROVEMENT: Changes to loading pipeline. Should see dramatically faster loading times (even with a ton of bundles).
  • ON THE ROADMAP - Screen to force price generation reset for specific bundles.
  • ON THE ROADMAP - Screen that will allow a "Ready Uninstall" that will make the bundle 100% completely safe to remove.

Bug Fux and Tweaks Update - 6.0.1

  • FIXED: An issue where play table materials would choose seperate bundle materials for both players
  • UPDATED: Made a few changes that make it harder for players to accidently brick their save files (moved mandatory files out of the plugins folder)
  • UPDATED: Added a few API surfaces