summaryrefslogtreecommitdiff
path: root/src/script/api/script_airport.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_airport.hpp')
-rw-r--r--src/script/api/script_airport.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/script/api/script_airport.hpp b/src/script/api/script_airport.hpp
index e4c0a217d..6073a2bdd 100644
--- a/src/script/api/script_airport.hpp
+++ b/src/script/api/script_airport.hpp
@@ -201,6 +201,14 @@ public:
* @return Maintenance cost factor of the airport type.
*/
static uint16 GetMaintenanceCostFactor(AirportType type);
+
+ /**
+ * Get the monthly maintenance cost of an airport type.
+ * @param type The airport type to get the monthly maintenance cost of.
+ * @pre IsAirportInformationAvailable(type)
+ * @return Monthly maintenance cost of the airport type.
+ */
+ static Money GetMonthlyMaintenanceCost(AirportType type);
};
#endif /* SCRIPT_AIRPORT_HPP */