You are viewing a potentially older version of this package. View all versions.
EnAyEm06-ShopPreorder-1.2.0 icon

ShopPreorder

Preorder items that aren't in the shop from an in-game catalog. Pay now (+50%), get it free next shop. Watch out for a confused shopkeeper.

Date uploaded 7 hours ago
Version 1.2.0
Download link EnAyEm06-ShopPreorder-1.2.0.zip
Downloads 68
Dependency string EnAyEm06-ShopPreorder-1.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
REPOModding-MenuLib-2.6.3 icon
REPOModding-MenuLib

A library for creating UI!

Preferred version: 2.6.3

README

ShopPreorder

Didn't see the item you wanted in the shop? Preorder it. Pay now, and it's guaranteed to be on the shelf, already paid for, in the next shop.

How to use

  1. In the shop, look at any item. A hint under its name says "Not what you wanted? Press [P] to preorder something else."
  2. Press P to open the Preorder Catalog.
  3. Use the Category arrows to browse: Upgrades, Weapons, Explosives, Health, Drones, Carts & Vehicles, Tools.
  4. Click an item and confirm with Yes. The money comes out of the team's balance straight away.
  5. In the next shop, your item is on a shelf with a green PREORDERED - PAID tag instead of a price.

Press P or Esc again to close the catalog. Items you can't afford are greyed out. If the team has already preordered something this round, the catalog shows it, with a button to cancel and get a refund.

Chat commands (still work)

Command What it does
/preorder <item> Preorder an item that isn't on the shelves, e.g. /preorder grenade
/preorder list Show every item you can preorder, with prices
/preorder status Show this round's preorder
/preorder cancel Cancel this round's preorder and get the money back

/po works as a shortcut for /preorder. Press T to open chat. Commands are never said out loud.

Host settings (chat)

Only the host can use these. They work anywhere in a game, take effect immediately, and are saved for next time.

Command What it does
/preorder settings Show all current settings
/preorder everyone on / off Let everyone preorder, or only the host
/preorder markup 50 Preorder fee on top of the shop price, in % (0–300)
/preorder discount 33 Chance of a shopkeeper discount, in % (0–100)
/preorder discount 20-50 Size of the discount: smallest to largest % off
/preorder confusion 10 Chance the shopkeeper stocks the wrong item, in % (0–100)

Rules

  • One preorder per round for the whole team, paid from the team's money.
  • Preorder fee: the shop price plus 50%.
  • Shopkeeper discount: 1 in 3 chance of 20–50% off when you preorder.
  • Confused shopkeeper: a 10% chance the shopkeeper stocks the wrong item. It's still free.
  • Secret, disabled and unfinished items can't be preordered.

Who can preorder

By default, only the host can preorder. The host can type /preorder everyone on (or turn on AllowEveryone in the settings) to let any player preorder.

  • The host must have the mod. It runs the shop, takes the money and places the item.
  • Other players need the mod (and MenuLib) only to preorder, or to see the hints and PREORDERED tag. Players without it can still play normally and buy the free item.

Settings

Change these with the host chat commands above, with REPOConfig, or in BepInEx/config/shoppreorder.repo.cfg (Thunderstore Mod Manager → Edit config). Only the host's pricing and permission settings count.

Setting Default
Permissions → AllowEveryone off
Controls → CatalogKey P
Pricing → MarkupPercent 50
Shopkeeper → DiscountChancePercent 33
Shopkeeper → DiscountMinPercent / DiscountMaxPercent 20 / 50
Shopkeeper → ConfusionChancePercent 10

Preorders are saved per save file in BepInEx/config/ShopPreorder/, so quitting and reloading keeps them.

Needs MenuLib for the catalog. Without it, everything still works through chat commands.

CHANGELOG

v1.2.0

  • Host settings from chat: /preorder settings, /preorder everyone on|off, /preorder markup 50, /preorder discount 33, /preorder discount 20-50, /preorder confusion 10.
  • Changes take effect immediately and are saved. Switching "everyone" updates other players' hints and catalog straight away.

v1.1.0

  • Preorder Catalog: press P in the shop to browse items by category, with prices. Click and confirm to preorder.
  • PREORDERED - PAID tag on the delivered item, instead of a $0 price.
  • Hover hints on shop items: "Not what you wanted? Press [P] to preorder something else."
  • Other players with the mod see the hints and tags too.
  • New setting: Controls → CatalogKey (default P).
  • Needs MenuLib for the catalog. Chat commands still work without it.

v1.0.2

  • Unfinished (work-in-progress) items can no longer be preordered.

v1.0.1

  • Multiplayer messaging now starts only after the game has set up its network, instead of while mods are loading.

v1.0.0

  • First version: /preorder chat commands, +50% preorder fee, shopkeeper discounts, the confused shopkeeper, and the host-only / everyone setting.