You are viewing a potentially older version of this package. View all versions.
Reppos-GlasVitrineRegal-1.0.0 icon

GlasVitrineRegal

Replaces the empty glass display vitrines in the R.E.P.O. shop with usable shelves. Companion mod for MoreShopItems_Updated.

By Reppos
Date uploaded 2 months ago
Version 1.0.0
Download link Reppos-GlasVitrineRegal-1.0.0.zip
Downloads 19231
Dependency string Reppos-GlasVitrineRegal-1.0.0

This mod requires the following mods to function

Jettcodey-MoreShopItems_Updated-3.3.0 icon
Jettcodey-MoreShopItems_Updated

InfusedGalaxy's MoreShopItems Updated!!! The Store now carries more items on the shelves! (Updated For v0.3.0!)

Preferred version: 3.3.0
BepInEx-BepInExPack-5.4.2304 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2304

README

GlasVitrineRegal

A companion mod for MoreShopItems_Updated by Jettcodey.

Adds the empty glass display vitrines in the shop (e.g. Drink Shelves (Weird)) to the list of locations where MoreShopItems spawns its custom shelves. The original vitrine is hidden and replaced with a usable custom shelf at the same position.

How it works

Harmony-postfixes MoreShopItems.ShopManagerPatch.SpawnShelf. After the original mod's shelf-spawning is done, this mod scans for known vitrine GameObjects and replaces them with the same CustomItemShelf prefab MoreShopItems uses, spawned through ShelfSpawner.Spawn so it works correctly in multiplayer.

Configuration

Currently no in-game config. The list of target GameObjects is baked into the DLL (see Plugin.TargetNames). To add more vitrines from other shop layouts, rebuild the mod after appending names.

Currently included:

  • Drink Shelves (Weird)

Requirements

  • MoreShopItems_Updated 3.3.0 (patched build is fine; just needs the CustomItemShelf prefab and ShelfSpawner.Spawn method)
  • BepInEx 5

Installation

Drop the DLL into BepInEx/plugins/GlasVitrineRegal/ next to your existing MoreShopItems plugin folder, or import the ZIP as a local mod via the Thunderstore App.

Multiplayer

Works in multiplayer if the host has the mod. Clients without the mod will see the vitrine still standing locally (cosmetic), but the shelf the host spawns will sync correctly. For full visual parity, all players should install it.

CHANGELOG

v1.0.0

  • Initial release.
  • Replaces 'Drink Shelves (Weird)' glass vitrine with a usable custom shelf via Harmony postfix on MoreShopItems.ShopManagerPatch.SpawnShelf.