summaryrefslogtreecommitdiff
path: root/src/command_type.h
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2020-01-04 17:31:52 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2020-01-04 19:07:13 +0100
commitf40162214909116507811be4a1f5af9ec9d3ef97 (patch)
tree7e06ca0ceda70bda1c9c3cd2ee091e879e0fdb1d /src/command_type.h
parentb524f1ae21487caf8ed460d8e20a51c3dd7e11a6 (diff)
downloadopenttd-f40162214909116507811be4a1f5af9ec9d3ef97.tar.xz
Feature: Script API to change town rating of companies
Diffstat (limited to 'src/command_type.h')
-rw-r--r--src/command_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command_type.h b/src/command_type.h
index 41f2360d8..d03639367 100644
--- a/src/command_type.h
+++ b/src/command_type.h
@@ -262,6 +262,7 @@ enum Commands {
CMD_DO_TOWN_ACTION, ///< do a action from the town detail window (like advertises or bribe)
CMD_TOWN_CARGO_GOAL, ///< set the goal of a cargo for a town
CMD_TOWN_GROWTH_RATE, ///< set the town growth rate
+ CMD_TOWN_RATING, ///< set rating of a company in a town
CMD_TOWN_SET_TEXT, ///< set the custom text of a town
CMD_EXPAND_TOWN, ///< expand a town
CMD_DELETE_TOWN, ///< delete a town