RimWorld

RimWorld

110 arvostelua
Randomised Stone Refinery V2
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Mod, 1.4, 1.5, 1.6
Tiedostokoko
Julkaistu
Päivitetty
458.000 KB
27.5.2023 klo 7.40
6.7. klo 9.56
8 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Randomised Stone Refinery V2

Kuvaus
A sequel of some sort to what is yet another mod that lets you refine resources from stones

The only real difference between this mod and others like it is that this one’s recipe has a recipe with a randomized outcome, you might get a decent amount of gold, plasteel and jade... or a sad, single piece of steel.

I like the idea of being able to get some useful resources out of stone, but with “static” outcomes it felt (to me at least) a bit weird that each and every piece of stone on the planet contains steel, gold, silver, uranium, jade and plasteel and yet being able to extract only one of them.

Balance

Currently the balance might be a bit “eh”, I’m open to suggestions.

I’m not going to get into the details here [I’ll have the exact drop rates readable somewhere else]
[Update: drop rates are for 1.4 only. Currently the rarity of drops is affected by the "deep drill commonality" stat, while the amount you get is affected by market value]

-The recipe requires as much work as cutting stone blocks

-The recipe on average should yield the same amount of market value as cutting stone blocks [~20] on average.

-The resources obtained are chosen randomly based on weights, meaning that an item with a weight of 100 is x5 more likely to drop than one with a weight of 20
-The drop rates and amounts are based on the resource’s market value, this might not be the perfect way of doing this, especially for modded resources, so I am open to suggestions.


C# Code stuff

This mod has been [re]made in order to test out a simple comp made for a different mod project. Because it is impossible [mostly just very difficult] to have a recipe result in a completely random output, this instead produces a “dummy” item whose entire purpose is to spawn a bunch of random items from a list and then disappear the moment it gets placed on the ground.

Compatability

  • The recipe should accept any modded stone chunk (unless for some reason they are given different categories, in which case it won’t)
  • Vanilla Factions Expanded - Mechanoids - The steel extractor, along with its normal recipes, can perform this recipe.
  • [1.4 only, future versions don't need to be patched manually] I’ll be patching in resources from other mods when requested. I’ve made sure the process is simple and easy, so it shouldn’t take much time or effort to do.

76 kommenttia
RojoMuerte 6.7. klo 14.32 
Excellent, thank you! Missed this in 1.6.
MrKociak  [tekijä] 6.7. klo 9.58 
Updated the mod to 1.6
Also added a "compatability mode" setting. All it really does is bring back how the mod worked back in the 1.4 version when enabled, cuz some people would experience issues in the 1.5 version, but not the 1.4, but to this day I still couldn't figure out the cause so I thought that this would be the best option for now.
WMF 24.6. klo 11.10 
Alrighty, gl with tha semester!
MrKociak  [tekijä] 24.6. klo 10.21 
@WMF Oh yeah I'll get around to updating my mods to 1.6 soon-ish, I'll just need like a week more to get done with my current semester first :p
WMF 23.6. klo 10.28 
Any chance for this mod to support v1.6? :3
kongkim 25.7.2024 klo 12.50 
@MrKociak Yah i understand that. I try it out at see how it go :) thx
MrKociak  [tekijä] 25.7.2024 klo 12.20 
I tried doing a quick fix, but it's still kinda difficult cuz I seriously cannot recreate the issue. I sadly no not have the time to test all the few hundred mods that people with these issues are using to find the incompatability :Y
kongkim 25.7.2024 klo 11.35 
Yah it say "Tried to place thing Steel87126 in a null map. "
I postet the full log below :)
MrKociak  [tekijä] 25.7.2024 klo 11.13 
@kongkim it's supposed to spawn random items that are set as obtainable via deep mining, so weird items spawning would be caused by an item being set up like that.

As for the error, to be more precise, does it say something along the lines of "Tried to place thing Steel87129 in a null map."? The "null map" part would be especially important. Not exactly sure how I'd go about to fixing that yet if that's the case, cuz the spawned item's pawn is set to be copied from the map of the dummy item, but maybe it would help me recreate the issue on my end