QualityCompany
QualityCompany adds many quality of life aspects into the game, such as HUD improvements, a Terminal API to make simple & complex commands (Sell scrap from terminal). Has Networking capabilities. Shows current shotgun ammo.
| Date uploaded | 2 years ago |
| Version | 1.2.0 |
| Download link | Um_no-QualityCompany-1.2.0.zip |
| Downloads | 612 |
| Dependency string | Um_no-QualityCompany-1.2.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
QualityCompany

Features
HUD improvements
Held items scrap value
The value of the held scrap is displayed above the item in the inventory. In addition a color palette on the values are used to indicate their worth more generally for quick decision making if you need to leave something behind.

Shotgun ammo counter
In addition to the scrap value of the shotgun, the inventory slot will in addition show the amount of ammo present in the shotgun.

Terminal Commands
sell
QualityCompany adds a few commands that let you sell scrap directly from your ship.
You must be landed at The Company Building to use these commands.
These can only be executed whilst landed at the Company Building.
sell allwill sell all the scrap on your shipsell quotawill attempt to sell enough scrap to perfectly match the amount needed to fulfill quotasell targetwill attempt to sell enough scrap to perfectly match the amount needed to fulfill specified targetsell <amount>, whereamountis any positive integer, will attempt to sell enough scrap to perfectly match that amountsell 500will try to sell scrap equal to 500 scrap value
sell <item_name>, whereitem_nameis any portion of an item name to match against. All matching items will be listedsell whoopwill find all Whoopie Cushions on the ship
Note: These commands use an approximation for finding a perfect match, it may not find one even if one exists (especially early game where you do not have many scrap of low value).\
target
target <amouunt>will set target that is displayed on the monitor from the terminal. This target denotes the target amount of credits you want after selling and leaving the company. Additionally a "Needed" field appears on the monitor (second from the left) which will tell you how much you need to sell in order to reach your target. This needed value takes into account approximately how much overtime you will earn and how much current credits you have, so that when you leave the company building you will have the desired amount of credits if you at least meet the "needed" amount.

launch
launchoptional additional way of landing or launching the ship from the terminal.
door
dooropen or closes the door from the terminal.
lights
lightsswitch the lights on/off from the terminal.
tp
tpTeleports the currently viewed player, only works if you have a teleporter.
time
Tells the time without having to look at the monitor or go outside.
hack
Host only command, that spawns scrap with random values. Meant as a tool for testing (scales from current moon?).
hack <amount>Spawns specified amount of random scrap at your feet.
Config
SellIgnoreList
[HOST] Syncs to clients
DEFAULT: "shotgun,gunammo,airhorn,gift"
An ignore list for items to ignore, syncs from host to clients.
ShowDebugLogs
[CLIENT] Syncs to clients
DEFAULT: false
Whether to show or hide debug logs.
Development
You will need:
- Local development setup for UnityNetcodePatcher by EvaisaDev
- An IDE, Visual Studio / Rider / Visual Studio Code
- Create a copy of
src/CommonBuildProperties.example.projinsrc/- remove
.example - update placeholder paths & copy commands for your setup
- remove
AdvancedTerminal API
Other mods may use this to easily add custom simple and complex commands to the terminal.
An example plugin will be made for reference use. For now, you can look at SellCommands to see how the sell commands get setup.
TODO
- Scrap selling animation
- scan <item> in ship
- character health hud display
CHANGELOG
v1.5.0
- Some MORE fixes to the Terminal Commands & Patching
- Improved scan command to show items list, configurable (default: disabled)
- Implemented force refresh of scrap ui every second, configurable (default: disabled)
v1.4.0
- Some minor fixes to the Terminal Commands & Patching
- Better Game Events logic & less debug logs
- Fixed the LootMonitor from going out of sync (mod compatibility)
- Fixed some issues with terminal command values & help descriptions
v1.3.6: Sell commands
- Fixed a bug where 'sell' commands wouldn't total scrap values correctly when selling mid-way through the quota
- Fixed a bug with 'sell <item><condition>' command did not take into account company buying rate & equals condition
- Added visibility on actual scrap value when selling mid-way through the quota
- Halved the scrap value of items spawned by the 'hack' command
- Cleaned up ScrapUtils
v1.3.5: Broken commands ;-(
- Fixed a bug where commands were being added but not actually being run
v1.3.4: AdvancedTerminal API
- Fixed a bug where the Terminal API was doubling up on commands & help texts
v1.3.3: Misc
AdvancedTerminal API
- Added ability to create a terminal for your mod using the name as an abbreviation (e.g.
QualityCompanyturns intoqc), this can be customized within theRegistercall - Added ability to include your mod's terminal commands within the 'Help' command, can be disabled
- Added more description options for sub commands to show when typing in the primary command
Debug commands
- Fixed
hackcommand to spawn items correctly and sync with clients
v1.3.2: Total Scrap UI Config
- Introduced config item to disable Total Scrap UI separate from item scrap UI
v1.3.1: Additional Networking fixes + InfoMonitor fix
- Detached Save File from NetworkBehaviour instance entirely
- This and the changes in 1.3.0 should be more solid now
- Hosts with networking disabled will still save the same, making use of the games'
save number - Clients with networking disabled will have their own
localclient save, which is not tied to asave number - That said, this probably still needs more testing
- Fixed a bug with
InfoMonitorcalculating "NEEDED" amount incorrectly in a certain case - thanks @throwitaway99 (#4) - Some class and file rename and reworks
v1.3.0: Networking
- Add a ping hud display (networking only), configurable
- This is untested with 3 or more people, please log an issue if anything is crazy
- (worst case) Disable the feature in the config if it causes issues!
- [UNTESTED] (hopefully) fully implemented ability to disable Networking operations in config
- This will cause everything to be done CLIENT-SIDE ONLY
- This WILL cause desync issues with
sell&targetcommands, but should recover on action of deposit desk eating the items - Let us know if anything breaks from this please :)
v1.2.3: Mod Compatibility & Experimental fixes
- Fixed an issue where Scrap UI will have a null reference if the HUD
iconFrameschanges in size after initializing - Fixed an issue with
viewexperimental command overridingview monitorcommand
v1.2.2: Dev & mod quality of life, scrap total, experimental features
- Improved dev & mod api quality of life
- Terminal commands can be setup via a
[TerminalCommand]attribute - Modules can be easily added in a static or instance manner via the
[Module]attribute - see the example plugins under
samples/
- Terminal commands can be setup via a
- Scrap UI: Add total scrap tally to first item slot
- Added 2 experimental commands: vs, view. This is disabled by default.
v1.2.1: Improved Mod Compatibility, force inventory UI refresh
- Improved inventory mod compatibility ui updates
- Introduced new config for force updating all inventory ui values (disabled by default)
- Introduced new config inventory startup delay (default: 4.5 seconds)
v1.2.0: Feature Configurations, Inventory UI, README image links
- Fixed README image links to work for Thunderstore page
- Combined Loot & Credit monitors into 1
- Updated ScrapValue Inventory UI to a TextMeshProUGUI with base game font
- Added config options for various different features
- (Hopefully) fixed Host vs Client mod config syncing
- Moved 'hack' terminal command to its' own 'debug' category
v1.1.0: Some fixes, terminal commands updates + efficiency
- Update README
- Update ScrapValueUI - Position is calculated dynamically taking into account rotation on z-axis.
- Update Release build script
- GameEvents: to include more player actions: DropAllHeldItems, DiscardHeldItem, Death
- AdvancedTerminal: update command & sub command text processing to be more efficient
- new
sell targetcommand to just sell amount needed as pertargetcalculation - Config: Add "ShowDebugLogs" config option (should hopefully be client side)
- OvertimeMonitor:
- Update for a case where
groupCredits > set targetwhich would just show0needed (but need to sell actual quota still...) - Added saving of target set (host)
- Update for a case where
v1.0.1: Remove some message logging
- Removed some unnecessary message logging
v1.0.0: Initial release
- Woow