Skip to content

Instantly share code, notes, and snippets.

@andythenorth
Created December 31, 2020 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andythenorth/4bf1f713006699398582563ce7572a9f to your computer and use it in GitHub Desktop.
Save andythenorth/4bf1f713006699398582563ce7572a9f to your computer and use it in GitHub Desktop.
diff --git a/src/templates/industry_secondary.pynml b/src/templates/industry_secondary.pynml
index 9ca867e3..3bada22e 100644
--- a/src/templates/industry_secondary.pynml
+++ b/src/templates/industry_secondary.pynml
@@ -43,6 +43,7 @@
item(FEAT_INDUSTRIES, ${industry.id}, ${industry.numeric_id}) {
graphics {
construction_probability: ${industry.id}_check_availability;
+ produce_256_ticks: ${industry.id}_produce_cargo_arrival;
produce_cargo_arrival: ${industry.id}_produce_cargo_arrival;
monthly_prod_change: CB_RESULT_IND_PROD_NO_CHANGE;
random_prod_change: CB_RESULT_IND_PROD_NO_CHANGE;
diff --git a/src/templates/produce_secondary.pynml b/src/templates/produce_secondary.pynml
index 1b16c2d5..24fd0738 100644
--- a/src/templates/produce_secondary.pynml
+++ b/src/templates/produce_secondary.pynml
@@ -8,7 +8,7 @@
],
[
<tal:produce repeat="cargo industry.get_property('prod_cargo_types_with_output_ratios', economy)">
- ${cargo[0]}: (LOAD_PERM(${industry.perm_storage.total_cargo_to_distribute_this_cycle}) * ${cargo[1]}) / 8;
+ ${cargo[0]}: 200;
</tal:produce>
],
0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment