You are viewing a potentially older version of this package.
View all versions.
Penumbra
Simple custom merchants, use defaults or create your own!
| Date uploaded | 2 months ago |
| Version | 1.2.8 |
| Download link | zfolmt-Penumbra-1.2.8.zip |
| Downloads | 329 |
| Dependency string | zfolmt-Penumbra-1.2.8 |
This mod requires the following mods to function
BepInEx-BepInExPack_V_Rising
BepInEx pack for V Rising. Preconfigured and includes Unity Base DLLs.
Preferred version: 1.733.2deca-VampireCommandFramework
Command framework for developers to easily create universal commands for their plugins.
Preferred version: 0.10.4README
Table of Contents
Sponsor this project
Sponsors
Jairon O.; Odjit; Jera; Kokuren TCG and Gaming Shop; Rexxn; Eduardo G.; DirtyMike; Imperivm Draconis; Geoffrey D.; SirSaia; Robin C.; Colin F.; Jade K.; Jorge L.; Adrian L.;
Features
- Configurable Merchants: Comes with several default sets of wares that can be modified, replaced or added to (follow the example template shown in the configuration section below and increment merchant number for additional sets of wares).
- Tokens & Login Rewards: Earn tokens for time spent online and redeem them for trader currency! Optional daily login bonus.
Configuration
Merchant(#)
- Name: (string, default: "Merchant#") Name/identifier for the merchant, used for easy referencing and verifying existence when autospawning merchants.
- Output Items: (string, default: "-1370210913,1915695899,862477668,429052660,28358550") Item prefabGUIDs for outputs.
- Output Amounts: (string, default: "1,1,1500,15,250") Item output amounts.
- Input Items: (string, default: "-257494203,-257494203,-257494203,-257494203,-257494203") Item prefabGUIDs for inputs.
- Input Amounts: (string, default: "250,250,250,250,250") Item input amounts.
- Stock Amounts: (string, default: "99,99,99,99,99") Stock amounts for outputs.
- Restock Time: (int, default: 60) Time between restocks in minutes (1min minimum, no option to not restock atm since I completely forgot about that >_>).
- Trader Prefab: (int, default: 0) Trader prefab ID; leave this blank, will be saved out by the mod after spawning a merchant.
- Position: (string, default: "") Position of merchant spawn in world; leave this blank, will be saved out by the mod after spawning a merchant.
- Roam: (bool, default: false) Pace around or stay put.
Commands
.penumbra spawnmerchant [#]🔒- Spawns merchant as configured at mouse; defaults to major noctem trader (can set per merchant in config).
- Shortcut: .pen sm [#]
.penumbra removemerchant🔒- Removes hovered merchant.
- Shortcut: .pen rm
.penumbra redeemtokens- Redeems tokens for configured item.
- Shortcut: .pen rt
.penumbra gettokens- Shows and updates tokens.
- Shortcut: .pen gt
.penumbra getdaily- Check time remaining or receive daily login reward if eligible.
- Shortcut: .pen gd
Development
- Run
./dev_init.shfrom the repository root to provision the .NET SDK (via the local.dotnetfolder when necessary), restore NuGet packages, and produce a Release build.- Set
BEPINEX_PLUGIN_DIRto copy the compiled plugin to a different BepInEx directory (defaults to/workspace/plugins). - Use
DOTNET_CHANNELto pin a specific .NET release channel if you need something other than the default 8.0 LTS toolset (required for the repository's C# 12 syntax).
- Set
- When invoking builds manually, prefer
dotnet build Penumbra.csproj -c Release -p:RunGenerateREADME=falseso that the README generation target is skipped during routine development builds.
Credits
- BloodyMerchant by @Trodi was invaluable in putting this together, many thanks to him and other listed contributors!
CHANGELOG
1.2.8
- Added config option (
Token Economy; can be used without theToken System) to remove coin recipes when enabled; recipes are added back on world load when disabled where applicable. - Spawn command no longer takes trader prefabs directly (e.g.,
.pen sm 1), defaulting to major noctem trader; other traders may still be used via config. - Merchant positions now cleared in config when removed; apologies for the oversight, this should prevent unwanted autospawns.
- 25 max stock entries per merchant; extras are trimmed (more than 25 results in merchant interface issues, per user reports).
1.1.7
- fixed json deserialization for tokens/login data
1.1.6
- merchants with restock intervals of 0 will not refill their wares as was originally intended
- fixed daily login timestamp
1.1.5
- integrated token system
- added name, trader prefab and position entries to config; name for easier keeping track of which wares are which and is also used to verify existence in world, trader prefab and position for saving existing merchant details to then be able to be used on another server (if these have valid values and no existing merchants detected with same name mod will spawn them in at that location with the prefab)
- changed faction for merchants to prevent being targeted for combat
1.0.4
- minor change after hotfix
1.0.3
- Back to VRising.Unhollowed.Client nuget for github workflow, versioning for Thunderstore
1.0.2
- Updated for VRising 1.1 compatibility
1.0.1
- added missing VCF dependency to thunderstore.toml
1.0.0
- initial Thunderstore release
