[A13] Fixing component shortage

Started by Shurp, April 09, 2016, 09:48:23 PM

Previous topic - Next topic

Shurp

I got annoyed with the scarcity of components, and with the difficulty of building a facility to manufacture more components.  So I made the following replacement in Mods\(yourmods)\Defs\ThingDefs_Buildings\Buildings_Misc.xml under <defName>MultiAnalyzer</defName> :

<costList>
<!-- old costs <Steel>100</Steel> <Plasteel>50</Plasteel> <Gold>20</Gold> -->
<Steel>1000</Steel>
<Components>20</Components>
</costList>

And now a Multi-Analyzer doesn't require sitting around for all eternity waiting for gold and plasteel to show up.  Yay!

If you give an annoying colonist a parka before banishing him to the ice sheet you'll only get a -3 penalty instead of -5.

And don't forget that the pirates chasing a refugee are often better recruits than the refugee is.

Lady Wolf


Shurp

Of course, after doing all that, a month later two scythers show up providing me with the 50 plasteel I needed.  grumble grumble :)
If you give an annoying colonist a parka before banishing him to the ice sheet you'll only get a -3 penalty instead of -5.

And don't forget that the pirates chasing a refugee are often better recruits than the refugee is.

Arigas

I bought plasteel from the traders for it, then as I was expanding my barracks ran in to a vein. It was maybe 4 cells from my living area. Don't you hate when that happens :P

Mathenaut

Plasteel was always a bit finnicky for me. Depending on my run, I either had to ration it or I had tons of it.
Rarely ever a case where I had absolutely none of it (like gold).

Innocent-Bystander

What the bloody hell is someone who's not a mod developer supposed to do with this?

1000101

Quote from: Innocent-BystanderWhat the bloody hell is someone who's not a mod developer supposed to do with this?

If you can figure out how to open your browser, get on a forum, then complain about how a "mod isn't a mod," you can open your text editor, open the xml file (which is plain human-readable text, btw) and change a couple lines.

I can see that was your first post on the forums, way to make an impression and welcome to the forums.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

nachtfalter

Well, that doesn't really fix the problem with component scarcity :/
Do you perhaps know the code location for the "Broken Shippart" drop rates?
And for the"_____ has broken down and needs repair" event triggering rate?

Being able to tweak those a bit would help a lot.
Thanks in ahead.

RemingtonRyder

I looked at tweaking the relevant code to increase ship chunk drop rate but was unable to get it to work. I think that it might be possible to detour the machine breakdown code using CCL but I don't know how to do that.

Chibiabos

I'd really love it if a modder could make a mod (or has one already?) that'll let you tear down / scrap things that require Components to build, such as weapons.  It'd be a great use I think for low-quality or crappy-range guns you get from raiders since they're scarcely even worth selling, they're worth so little.
Proud supporter of Rimworld since α7 (October 2014)!

nachtfalter

Quote from: Chibiabos on May 15, 2016, 12:51:15 AM
I'd really love it if a modder could make a mod (or has one already?) that'll let you tear down / scrap things that require Components to build, such as weapons.  It'd be a great use I think for low-quality or crappy-range guns you get from raiders since they're scarcely even worth selling, they're worth so little.
Good idea, that sounds like a interesting compromise.

RemingtonRyder

I think you can already throw those in the electric smelter, if I'm not mistaken, which I may be. I dunno what amount of components you would get back though, maybe none.

nachtfalter

Quote from: MarvinKosh on May 15, 2016, 09:24:00 PM
I think you can already throw those in the electric smelter, if I'm not mistaken, which I may be. I dunno what amount of components you would get back though, maybe none.
Yes you can, but afik none of the weapons get you components back as is currently.

RemingtonRyder

Yeah. I was pretty much just smelting some poor to awful plasteel melee weapons that I looted. It's easier than going mining for plasteel!