07-11-2019, 01:10 AM
Hi all,
I was looking to make some minor edits to my version of <abbr title="Colonial Charter">CC</abbr>. What I wanted to do was to change the quantity produced or required for manufactured goods.
For example, the relevant part of the .rsc file for the Bedding Maker:
<div class="ipsSpoiler_header">
Spoiler
Code:
[ConsumeProduce] => Array
(
[products] => Array
(
[0] => Array
(
[0] => ConsumeRawMaterial _consumeMaterials
[
{
ComponentDescription _material = "Template/RawMaterialFeather.rsc"
[1] => int _count = 25
)
[1] => Array
(
[0] => ComponentDescription _material = "Template/RawMaterialCloth.rsc"
[1] => int _count = 5
[2] => }
]
ComponentDescription _produceMaterial = "Template/RawMaterialBedding.rsc"
[3] => ResourceLimit _resourceLimit = Custom2
[4] => String _requirements = "BeddingFeatherRequire"
)
// ...
// ...
// ...
[stringTable] => UI/ColonialStringTable.rsc
[workRequired] => 10
[toolType] => Hoe
[workTime] => 8
)
</div>
So I see here lines which specify that 25 feathers and 5 cloth are consumed. I also see that 10 "work" is required and 8 "time" is required. I cannot however see the amount of bedding produced (which I believe is 1 [see here]) anywhere in the file. My guess is that 1. the output quantity is somehow calculated from resource weight, the [workRequired] and [workTime] properties OR 2. it is specified elsewhere.
If case 1.
- I can edit these three quantities, say make bedding require 1 cloth and 4 feathers. The cost of cloth is 8 and feathers are 1, so this would result in a trade surplus per time of 0.15.
- How is this actually calculated? I can't seem to tell from looking at other buildings. I would prefer to tinker with the balance by changing the output qty directly.
Where is it specified?
General:
What does [workRequired] and [workTime] actually relate to? Does [workTime] convert to seconds? Something?
Thanks for you time, and sorry if this in the wrong section.