dalapo / FactoryTech

Factory Tech, a tech mod centered around automatic maintenance of machines
1 stars 2 forks source link

What are the stats for the improved parts? #79

Open wrincewind opened 6 years ago

wrincewind commented 6 years ago

So i've been digging about both online and within the codebase for an answer to this, as I'd like to put this info on the wiki. The FactoryTech config files define the part's Name, Minimum number of Operations (presumably until it has a chance of breaking?), Base Chance of breaking for each subsequent operation, the Increase (which i think is a multiplier to the BreakChance for each subsequent use?) and the Salvage Chance (which I presume is 0 for all the more advanced components).

Do the advanced components (e.g. invar gear, tempered saw, gold circuit board) just apply a flat multiplier to all or some of these numbers, or are they different on a per-machine basis? Are the tempered parts better than Invar, or vice versa?

I figured I'd at least ask, because otherwise I'm going to have to do a large amount of experimentation to derive these numbers.

... or is this all covered in the manual somewhere, and I'm just blind? I looked under the pages that describe the basic components but i didn't find any usage information there - what I've grabbed came straight from the configs.

wrincewind commented 6 years ago

Okay, so, a little bit of fiddling has shown that iron, invar, and tempered gears all have roughly comparable salvage rates, and i think also roughly comparable breakchances/increases. The only difference seems to be that 'min uses' goes from 7, to 10, to 12. I'll keep testing, but is this the same for all other upgrades?

dalapo commented 6 years ago

If you're willing to go into the code, the multipliers are defined in dalapo.factech.reference.PartList.java. I will definitely think about adding a page to the handbook with the numbers.

wrincewind commented 6 years ago

I've had a read through the code... gonna be honest, I'm not a javascript programmer, and i'm struggling to make heads nor tails of it. I noted that the gears and motors and a couple of other parts have two sets of numbers in brackets (e.g. new double[] {0.5, 1.0, 1.4}, new double[] {0.5, 1.0, 1.6}) but i'm not sure if that's what you're on about as it doesn't factor in the stone tools...

It's probably a lot simpler than I think and i'm just over-thinking things. I'm not a clever man sometimes :B

Having the numbers in the book (or even just in the configs as a comment) would definitely be nice. Once I get these numbers, would you mind me putting them up on the FTB Wiki? Documentation online is a bit lacking right now and i think this'd help.

It's just nice to know how much of an improvement these parts are - it helps to get a feel for the threshold at which it's definitely worth upgrading your infrastructure to use the more powerful parts, or if it's better to wait.

dalapo commented 6 years ago

The first set of brackets is the minimum lifetime multipliers, with stone tools having multipliers of 0.5. The second set is the operation speed multipliers.

wrincewind commented 6 years ago

Factory Tech components - upgrade ratios.xlsx Ah, okay. Helpful!

I'm tidying it up into a little spreadsheet, i think i'll make it nicer as I go along. I think this'll be the last question for now, but what's the true/false about? looks like it's only true for the drillbit, gears and cutting blades. Is it to say whether or not it has a stone toolpart that has limited recipe usage?

Just because I can, i've added a spreadsheet for all the parts and ratios. Certainly makes for easier reading, at least to me, but it could clearly be improved further...

dalapo commented 6 years ago

Thanks so much for doing this! The true/false indicates whether the part type has a stone variant (used for having some recipes be disabled in a machine using stone parts).

wrincewind commented 6 years ago

Thanks! I've updated the FTB Gamepedia Wiki to reflect these numbers. https://ftb.gamepedia.com/Energite_Battery, for example.

Oh, another question - I note that most of the machines take multiple parts. How do the speed multipliers interact? is it additive (e.g. a 50% boost, plus another 50% boost, means the machine runs twice as fast) or does it average them? (e.g. a 30% boost and a 10% boost gives a 20% boost)? or does it do something else?

dalapo commented 6 years ago

It works on cumulative multiplication. For example, 2 50% boosts will make the machine run at 225% speed.