Posted May 24, 2021
Been a bit busy the last week or two. At the top of the craftingitems.lua file there's a big 'this is from a spreadsheet' warning. Taking that to heart i've made some tools using AWK to convert the data to csv files, for recipes and craftingitems.
Finally got it where there's no errors coming up (from not finding int, or something expected or just crashing outright).
What advantage does this give? Well other than items are 1 perline, so you can edit everything a bit easier, duplicate and then modify, but it also uses formulas, which give boosts to quality/Mastercraft items. I was always uncertain prices of some things, now they are more or less correct (items under say 2000 may be a few off but it's close). Better yet, one such modification is we can change the value of the upmarking, the quality/mastercraft improvements, how much the items sell at.
So let's get into some numbers i've noted.
upmarking: 60% (of all ingredients)
sell: 25%
Quality improvements: 15%
Mastercraft: 30%
Recipe calculation: 3.2x the base item
Curiously Quality/Mastercraft only really affects a handful of fields. Namely damage and armor. Using formulas and fieldnames i can specify all the field that should get improvements. Maybe you throw more throwing knives, more shots from a shotgun, character attributes improve better (leather pilot the 7 wisdom becomes 8 or 9), etc.
I'm thinking the next tool i might make is an item generator, where it can make not only items, but per metal type. Making what may be a tedious task would be more automated. A lot of the texts have a fairly standard layout, thus making say a Vulcan Steel Grinder (not present in the game) would be generated having the description, ID, and values updated at the base appropriate (though base values still need somewhere to start with).
Well the hardest part does seem to be done. I'm testing a handful of experimental items combined with different upmark/sell values and more improvement fields to see how it feels and get a break.
--
As a note, glanced at the conversations/quests, looks a bit annoying to manage 3-4 files to do anything. If i come up with a way to handle it from a single place i'll work on that later. For now, to the skies.
Finally got it where there's no errors coming up (from not finding int, or something expected or just crashing outright).
What advantage does this give? Well other than items are 1 perline, so you can edit everything a bit easier, duplicate and then modify, but it also uses formulas, which give boosts to quality/Mastercraft items. I was always uncertain prices of some things, now they are more or less correct (items under say 2000 may be a few off but it's close). Better yet, one such modification is we can change the value of the upmarking, the quality/mastercraft improvements, how much the items sell at.
So let's get into some numbers i've noted.
upmarking: 60% (of all ingredients)
sell: 25%
Quality improvements: 15%
Mastercraft: 30%
Recipe calculation: 3.2x the base item
Curiously Quality/Mastercraft only really affects a handful of fields. Namely damage and armor. Using formulas and fieldnames i can specify all the field that should get improvements. Maybe you throw more throwing knives, more shots from a shotgun, character attributes improve better (leather pilot the 7 wisdom becomes 8 or 9), etc.
I'm thinking the next tool i might make is an item generator, where it can make not only items, but per metal type. Making what may be a tedious task would be more automated. A lot of the texts have a fairly standard layout, thus making say a Vulcan Steel Grinder (not present in the game) would be generated having the description, ID, and values updated at the base appropriate (though base values still need somewhere to start with).
Well the hardest part does seem to be done. I'm testing a handful of experimental items combined with different upmark/sell values and more improvement fields to see how it feels and get a break.
--
As a note, glanced at the conversations/quests, looks a bit annoying to manage 3-4 files to do anything. If i come up with a way to handle it from a single place i'll work on that later. For now, to the skies.