Zum Inhalt
HALOWERK

Gamingwerk

economy sink sim

Iterates a deterministic daily stock-flow model with a fixed source, fixed sinks, and percentage-of-current-supply sinks. It clamps supply at zero and reports each day; it does not model player adaptation, market prices, distribution, or causal behavior.

POST https://gaming.halowerk.com/v1/economy-sink-sim

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
starting_supplynumberJa
daysintegerJa
daily_sourcenumberJa
source_daily_growth_percentnumberNein
sinksarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "starting_supply",
    "days",
    "daily_source",
    "sinks"
  ],
  "additionalProperties": false,
  "properties": {
    "starting_supply": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000000000000
    },
    "days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 365
    },
    "daily_source": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000000000
    },
    "source_daily_growth_percent": {
      "type": "number",
      "minimum": -100,
      "maximum": 1000
    },
    "sinks": {
      "type": "array",
      "minItems": 1,
      "maxItems": 100,
      "items": {
        "type": "object",
        "required": [
          "sink_id",
          "fixed_daily_amount",
          "daily_supply_percent"
        ],
        "additionalProperties": false,
        "properties": {
          "sink_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "fixed_daily_amount": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000000
          },
          "daily_supply_percent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          }
        }
      }
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "starting_supply": 1000000,
  "days": 14,
  "daily_source": 30000,
  "source_daily_growth_percent": 0,
  "sinks": [
    {
      "sink_id": "crafting",
      "fixed_daily_amount": 12000,
      "daily_supply_percent": 0.2
    },
    {
      "sink_id": "repairs",
      "fixed_daily_amount": 5000,
      "daily_supply_percent": 0.1
    }
  ]
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://gaming.halowerk.com/v1/economy-sink-sim/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →