Skip to main content
Topic: Original Field Property Format (Read 1493 times) previous topic - next topic

Original Field Property Format

Hi Prissi,

When I wrote the multiple fields patch, I did not add support for existing factory field property format (i.e. "fields", "has_snow", "production_per_field", etc. without subscripts like [ 0 ]) because that would be more consistent with "OutputGood[0]" etc. which also requires subscript [ 0 ] even if there is only one set of data.

Yesterday, James asked me for ****istance with regards to fields and the problem was that existing dat files do not have subcripts for the relevant factory field properties. So, I think, maybe it is desirable to support old format too, so as not to require exisiting dat files to be changed (adding those [ 0 ] subscripts).

Attached is a patch for this purpose. I will leave it to you to decide whether to incorporate it or not.

Knightly

 

Re: Original Field Property Format

Reply #1
I included this now. Thank you!
Parsley, sage, rosemary, and maggikraut.