0 of 0

File information

Last updated

Original upload

Created by

adammw

Uploaded by

adammw

Virus scan

Safe to use

Tags for this mod

About this mod

Use this mod to add additional products to the base game. No additional products are included with this mod out-of-the-box, you must install them separately after installing this mod.

Requirements
Permissions and credits
Changelogs
Use this mod to add additional products to the base game.
No additional products are included with this mod out-of-the-box, you must install them separately after installing this mod.

Tested compatible with Supermarket Simulator v0.2.1 (2024-08-20) Update.

Known issues with v0.3.0 (Scanner) Update. Fixes coming soon.

Installation

  • Back up your save files, they are located in %localappdata%Low\Nokta Games\Supermarket Simulator. There is no guarantee this mod continues to work and may break your save file, so make sure to copy the files to a separate directory. (You may need to disable Steam Cloud Saving to restore your backup files)
  • Install Tobey's BepInEx x MelonLoader Pack for Supermarket Simulator or the base BepInEx mod loader
  • Extract the files to the BepInEx/plugins/MoreProducts/ folder
  • Extract a compatible product pack to the BepInEx/plugins/MoreProducts folder or create your own (see below)

Creating Custom Products

The plugin scans BepInEx/plugins/MoreProducts/ folder for any "product.json" files, I recommend having each individual "pack" in a separate folder for easier management.

Start off with the following sample file, modifying the $schema value to point to the supplied schema files to enable easier editing in VS Code:

{
  "$schema": "../schemas/product_config.json",
  "ProductLicenses": [
    {
      "ID": 1001,
      "RequiredPlayerLevel": 1,
      "PurchasingCost": 200,
      "LicenseName": "UK Products",
      "Products": [
        {
          "ID": 1000,
          "ProductName": "Tomato Ketchup",
          "ProductBrand": "Heinz",
          "ProductIcon": "products_icons/111_icon.png",
          "BoxIcon": "products_icons/111_icon.png",
          "ProductPrefab": {
            "objPath": "objects_meshes/Sauce_cfrew8.obj",
            "mtlPath": "objects_meshes/Sauce_cfrew8.mtl",
            "localScale": [1.2, 1.2, 1.2]
          },
          "ProductDisplayType": "SHELF",
          "Category": "EDIBLE",
          "ProductAmountOnPurchase": 12,
          "BasePrice": 1.99,
          "MinDynamicPrice": 1.1,
          "MaxDynamicPrice": 2.5,
          "OptimumProfitRate": 55.0,
          "MaxProfitRate": 250.0,
          "GridLayoutInBox": {
            "boxSize": "_20x20x10",
            "productCount": 12,
            "firstObjectPosition": [-0.13, 0.01, 0.22],
            "productAngles": [0.0, 180.0, 0.0],
            "spacing": [-0.25, 0.0, -0.09],
            "productPlacement": [2, 6],
            "scaleMultiplier": 1.1
          },
          "GridLayoutInStorage": {
            "boxSize": "_8x8x8",
            "productCount": 12,
            "firstObjectPosition": [0.305, 0.0, -0.1],
            "productAngles": [0.0, 0.0, 0.0],
            "spacing": [0.2, 0.0, 0.13],
            "productPlacement": [4, 3],
            "scaleMultiplier": 1.0
          },
          "ItemGridSize": [2, 1]
        }
      ]
    }
  ]
}

The product prefab property specifies which file to use for the 3D model, I recommend using Blender to export to OBJ (Wavefront) file with Materials (MTL), then specifying the path to each file. For best portability, modify any textures used in the MTL file to use relative paths.

To find the right values to use for the other fields, the built-in game products are exported to builtin_products.json file.

Troubleshooting

  • There may be incompatibilities if you have multiple mods installed, before reporting any issues try on a clean install of Supermarket Simulator with only this mod installed. 
  • Check the log output for BepInEx/LogOutput.log for any warnings / errors from the plugin or game, attach this file to any bug reports. 
  • Submit bug reports either through NexusMods or the Modded Supermarket Simulator Discord (invite link)