diff options
Diffstat (limited to 'src/script/api/script_industrytype.hpp')
-rw-r--r-- | src/script/api/script_industrytype.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/script/api/script_industrytype.hpp b/src/script/api/script_industrytype.hpp index bbc6bcc64..9e205df96 100644 --- a/src/script/api/script_industrytype.hpp +++ b/src/script/api/script_industrytype.hpp @@ -16,7 +16,7 @@ /** * Class that handles all industry-type related functions. - * @api ai + * @api ai game */ class ScriptIndustryType : public ScriptObject { public: @@ -112,6 +112,7 @@ public: * @param tile The tile to build the industry on. * @pre CanBuildIndustry(industry_type). * @return True if the industry was successfully build. + * @api -game */ static bool BuildIndustry(IndustryType industry_type, TileIndex tile); @@ -123,6 +124,7 @@ public: * @return True if no error occurred while trying to prospect. * @note Even if true is returned there is no guarantee a new industry is build. * @note If true is returned the money is paid, whether a new industry was build or not. + * @api -game */ static bool ProspectIndustry(IndustryType industry_type); |