summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2021-01-10 18:52:59 +0100
committerfrosch <github@elsenhans.name>2021-01-10 21:24:38 +0100
commitf6abc81cf17aa03f1718f523ce049e0e41e70303 (patch)
treed14dd80ea6639d8ff664b346b2f8134c18e471a0
parentf1bc4d8407613795c1b0c1fbe3b1adf39479913d (diff)
downloadopenttd-f6abc81cf17aa03f1718f523ce049e0e41e70303.tar.xz
Fix: add missing variables to NewGRF inspect window.
-rw-r--r--.github/PULL_REQUEST_TEMPLATE.md1
-rw-r--r--src/table/newgrf_debug_data.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 1949f6f1f..b0151ed52 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -44,4 +44,5 @@ Some things are not automated, and forgotten often. This list is a reminder for
* ai_changelog.hpp, gs_changelog.hpp need updating.
* The compatibility wrappers (compat_*.nut) need updating.
* This PR affects the NewGRF API? (label 'needs review: NewGRF')
+ * newgrf_debug_data.h may need updating.
* [PR must be added to API tracker](https://wiki.openttd.org/en/Development/NewGRF/Specification%20Status)
diff --git a/src/table/newgrf_debug_data.h b/src/table/newgrf_debug_data.h
index d69c2d5cc..e31d09338 100644
--- a/src/table/newgrf_debug_data.h
+++ b/src/table/newgrf_debug_data.h
@@ -343,6 +343,15 @@ static const NIVariable _niv_industries[] = {
NIV(0x66, "get square of Euclidean distance of closes town"),
NIV(0x67, "count of industry and distance of closest instance"),
NIV(0x68, "count of industry and distance of closest instance with layout filter"),
+ NIV(0x69, "produced cargo waiting"),
+ NIV(0x6A, "cargo produced this month"),
+ NIV(0x6B, "cargo transported this month"),
+ NIV(0x6C, "cargo produced last month"),
+ NIV(0x6D, "cargo transported last month"),
+ NIV(0x6E, "date since cargo was delivered"),
+ NIV(0x6F, "waiting input cargo"),
+ NIV(0x70, "production rate"),
+ NIV(0x71, "percentage of cargo transported last month"),
NIV_END()
};