CORPORATION: Rework material production limit (#2683)

This commit is contained in:
catloversg
2026-04-29 05:50:40 +07:00
committed by GitHub
parent 8ad5ec075e
commit 01c63ea0c0
8 changed files with 396 additions and 220 deletions
+13
View File
@@ -10117,6 +10117,19 @@ export interface WarehouseAPI {
* @remarks
* RAM cost: 20 GB
*
* This limit applies only to output; it does not affect input consumption.
*
* For example, in Agriculture, assume the division's raw production is 1000. You need to consume 500 Water and 200
* Chemicals to produce 1000 Plants and 1000 Food. If you set the limits for Plants and Food to 200 and 100
* respectively, you will still consume 500 Water and 200 Chemicals, but only produce 200 Plants and 100 Food.
*
* With industries that produce both materials and products, the material production limits do not affect product
* production.
*
* You can set a limit on any material, but only limits on output materials are enforced. Limits on other materials
* are stored but ignored during production calculations. For example, in Agriculture, only limits on Plants and Food
* are enforced.
*
* @param divisionName - Name of the division.
* @param city - Name of the city.
* @param materialName - Name of the material.