LCGoldScrapMod
Add 30 rare gold versions of scrap that come with a great risk and even greater reward!
By SimonTendo
CHANGELOG
v0.9.0
- Test Release
Release
v1.0.0
- Full Release
- Changes and Fixes:
- Added first version of GoldStore to terminal
- Massive balance overhaul to spawn rate of gold scrap
- Should be more common on later moons, less on earlier moons
- Fixed lighting bug that made gold scrap appear pitch-black
- Prevented bug that terminal would not scan for scrap
- Apparently already an issue in the vanilla game? Works more reliably now
- Implemented UnityNetcodePatcher to use on Netcoded GameObjects
- Made various minor adjustments to fix bugs and improve performance
v1.0.1
- Made changes to Gold Nugget:
- Lightning can now strike newly bought Gold Nuggets
- Fixed bug that Gold Nugget would not be in terminal when entering lobby for second time
- Gold Nuggets no longer count towards collected scrap and employee rank
- Educated our Gold Nugget appraisers so they work slightly faster
- Added answer to terminal's LCGoldScrapMod Help Page explaining compatibility with beta releases
v1.1.0
- Added Bronze Suit and Silver Suit to the GoldStore
- Gold Nugget value has been rebalanced
- Made small changes in preparation for big optimization update in v1.3.0
v1.2.0
- Added option to Config file: Custom Terminal Scan
- Lets you choose between this mod's custom terminal scan (which works decently), or the vanilla LC scan (which might sometimes break)
- Fixed various minor bugs
v1.3.0
- Updated mod to changes made in v50
- Slightly increased spawn rate of gold scrap
- Massive overhaul to code:
- Removed dependency on custom LCGoldScrapMod SaveData
- Figured out how to look for the models upon joining the lobby, meaning it will always load the assets straight from the vanilla game
- Note: The Config option [Load and Save] is therefore also deprecated. If you go to Thunderstore's Edit Config > LCGoldScrapMod.cfg and still see [Load and Save] without any description, I suggest deleting LCGoldScrapMod.cfg, that will fix it
- Might also save performance, as it does not need to reserve extra memory for this data
- Updated terminal's LCGoldScrapMod Help Page to reflect this
- Made references to terminal's data more flexible
- Should hopefully make it more future-proof and prevent bugs, should things change in the original terminal
- Removed dependency on custom LCGoldScrapMod SaveData
v1.4.0
- Gold scrap can now appear on all moons
- Including new content added in v50
- And the spawn rate of gold scrap on Offense and March is finally fixed. It appears LethalLib didn't register half the items on half the moons, meaning some items weren't in the list of scrap at all
- Removed dependency on LethalLib and HookGenPatcher as it caused the above issue, mod works fully independently now
- Fixed various minor bugs
v1.4.1
- Following its inspiration, I had a bit too much fun messing around with the bell...
- But it is now actually a useful tool for communication!
- However, because I now count it as a tool, rather than 'normal' scrap, I have lowered its spawn rate on free moons
v1.4.2
- Patch aimed at balancing and bugfixing where possible
- Tweaked spawn chance of gold scrap:
- Spawn chance on Experimentation has been brought down
- Spawn chance on mid- to late-game moons is more evenly spread
- Tweaked weight of some gold scrap:
- Gold scrap that originated from scrap without any weight or very little weight is now about 10 lb heavier, to offer more challenge for the reward they give
- The weight of some two-handed gold scrap has also been brought up, unless it was already significantly heavy
- Tweaked GoldStore unlockables:
- Fixed placement interactible of Golden Throne
- Added silly version of Gold Nugget
- Tweaked spawn chance of gold scrap:
v1.4.3
- Tweaked Jacob's Ladder
- It should now finally display correctly, regardless of who is holding it or if it is pocketed
- Bulb now turns light and dark depending on its power
- Slightly decreased weight and increased range
- Tweaked Config option [Replace Sound Effects]
- Added sounds for Gold Sign
- Added jump audio to Bronze Suit, Silver Suit, and Gold Suit
v1.4.4
- Moved some code so gold scrap syncing happens on all players, not just the lobby host
v1.4.5
- Tweaked Jacob's Ladder
- Battery life has been increased by 20 seconds
- Mimimum value has been slightly increased
- It can now cast shadows, and thus should no longer shine through walls
- Unless you really push up against a wall, but since this is also an issue with flashlights in the vanilla game, I am choosing to let this slide
- Tweaked Bronze Suit, Silver Suit, and Gold Suit so they are extra visible to the person wearing them
- Made final minuscule tweaks to spawn chance of gold scrap
v1.5.0
- Further decreased spawn chance of gold scrap on earlier moons, and further increased spawn chance on later moons
- Fixed compatibility issues that would occur in combination with specific BepInEx configurations
- One of the BepInEx options, if left on its default value, would clash with a method I was using to make certain actions happen on a delay.
To circumvent the issue, I no longer use that method, but just change the moment my own actions are called. - Sorry for this problem, I was completely unaware that this was even happening behind the scenes. Since I have reorganized the order of code that caused the problem, it might mean you could see very small discrepancies with v1.4.5, but everything else should function the same after going to any level for the first time.
- And I am counting this as a minor update, rather than a patch, as this should hopefully resolve problems large amounts of people might have been facing, given that BepInEx is a dependency for this mod. Again, my apologies.
- One of the BepInEx options, if left on its default value, would clash with a method I was using to make certain actions happen on a delay.
v1.6.0
- Implemented adjustable settings and compatibility with custom moons
- Added 8 Config options across 2 categories
- All the options listed below use the lobby host's selected values
- Adjustments:
- [Selected Moons]
- Will determine which vanilla Lethal Company moons gold scrap can spawn on, simply by typing their names, All, or None.
- By default set to All
- [Minimum Value Multiplier]
- Will determine the lowest random value of gold scrap, by multiplying the original item's minimum value by this amount.
- By default set to 2.5
- [Maximum Value Multiplier]
- Will determine the highest random value of gold scrap, by multiplying the original item's maximum value by this amount.
- By default set to 2
- [Rarity Multiplier]
- Will determine the spawn chance of gold scrap on vanilla Lethal Company moons.
- By default set to 3
- [Weight Multiplier]
- Will determine how heavy gold scrap is by multiplying the original item's weight, or custom-made weights, by this amount.
- By default set to 1.5
- [Selected Moons]
- Modded Moons:
- [Modded Spawn Enabled]
- If true, gold scrap can spawn on moons added through mods.
- By default set to true
- [Modded Spawn Rarity]
- Will determine the spawn chance of all gold scrap on modded moons.
- By default set to 1
- [Modded Minimum Cost]
- Will determine the minimum value that a modded moon needs to cost to travel to for gold scrap to be able to spawn there.
- For example, setting this to 500 will spawn gold scrap on modded moons that cost 500, 700, 1000 etcetera, but not on moons that cost 499, 250, 100, or are free.
- By default set to 0
- Will determine the minimum value that a modded moon needs to cost to travel to for gold scrap to be able to spawn there.
- [Modded Spawn Enabled]
- Added 8 Config options across 2 categories
- Completely reworked layout of Edit config's LCGoldScrapMod.cfg
- This will undoubtedly look weird in the mod manager, so I recommend deleting LCGoldScrapMod.cfg under Edit config and opening the game again with the mod active. This will fix it and use all the new Config options.
- Other bugfixes and changes:
- Added backwards compatability with pre-v50 versions of Lethal Company
- Slightly tweaked the default values of gold scrap now that they can be changed through the config options above
- Gold scrap can no longer be grabbed before the game has started, as the weight-syncing would otherwise introduce bugs
- Updated the terminal's LCGoldScrapMod Help Page with this update's new information
- The terminal won't scan for gold scrap if the current moon cannot spawn gold scrap, based on the config options above
- Added Customization paragraph to readme, introducing config options listed above
- Fixed tiny discrepancy with GoldStore suits that could happen at the very start of the game, introduced by the previous update
- Gold scrap gets registered slightly earlier, to hopefully fix a bug of them not being found, without breaking existing references
- Got rid of some redundant code and cleaned up loose ends to prepare for compatibility with future mods of mine
v1.6.1
- Fixed bug of that Gold Nugget did not have corresponding sales value, which would halt gameplay if the game tried to put it on sale
v1.6.2
- Fixed bugs that would pop up in larger modpacks:
- Checks for item assets are now more flexible, so gold scrap should more consistently use the original item's models
- Fixed Gold Nugget item sales values conflicting with other mod's item sales values, by moving the moment they're registered into the store
- Set default value of config [Other Scan Command] to false
- Again, I recommend deleting this file if it looks weird, so it will fix itself the next time you play
v1.6.3
- Fixed bug of GoldStore unlockables not being loaded upon joining the lobby
v1.7.0
- Added Config option [Other Tools Balance] to Other category
- By default set to false
- Turning this option to true will make 10 gold scrap with special uses for gameplay or sound not get struck by lightning anymore, but each item will get an item-specific penalty
- Golden Airhorn: can't be spammed anymore
- Gold Register: can't be ka-ching'd anymore
- Golden Horn: can't be heard from far away anymore
- Purified Mask: can't be put on anymore
- Golden Bell: the range enemies can hear this item from is doubled
- Golden Glass: can't be looked through anymore
- Gold Sign: the item's weight doesn't follow the Stop Sign's weight anymore, but the Yield Sign's
- Comedy Gold: everyone's favorite sound effect has been taken out of rotation
- Jacob's Ladder: battery life has been reduced by 25%
- G.O.L.D.: is now significantly louder
- Conductivity appears to depend on the host's settings, but the penalties listed above are client-side
- To be clear, my recommendation is to NOT change this option away from false. The option is there to fit modpacks where tools do not attract lightning, but I think it undermines the challenge that gold scrap was made for, which is why I introduced penalties as alternative "challenges"
- Fixed bug that Golden Airhorn and Golden Horn could be heard from anywhere in the world
- Increased default battery life of Jacob's Ladder by 10 seconds
v1.7.1
- Minor tweaks:
- Spawn chance of gold scrap on Adamance is higher, given the planet's difficulty for retrieving heavy items
- Gold scrap can again be picked up immediately when loading into a lobby, unless its base-game counterpart can't either
- The Golden Bell's vanilla drop sound now simulates the Brass Bell's randomized pitch
- Increased the range of the Jacob's Ladder light, and reduced its brightness
- Very slightly decreased average value of Gold Nuggets
- Fixed bug that Gold Nuggets would drastically increase your weight upon being dropped
- Updated assembly reference to v56
v1.7.2
- Updated mod to work with v61
- This should fix some game-breaking bugs preventing people from loading into a lobby
- On top of that, there is still backwards compatibility to play with pre-v60 versions of the game
- Made minor tweak to Jacob's Ladder data's name that appeared to cause issues in conjunction with another mod
v1.7.3
- Implemented more checks to hopefully prevent errors if specific data can't be found