paracosm 0.9.1075 → 0.9.1077
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/dashboard/dist/assets/index-BRfdCYkY.js +195 -0
- package/dist/dashboard/dist/index.html +1 -1
- package/dist/engine/compiler/cache.d.ts +6 -1
- package/dist/engine/compiler/cache.d.ts.map +1 -1
- package/dist/engine/compiler/cache.js +6 -1
- package/dist/engine/compiler/cache.js.map +1 -1
- package/dist/engine/compiler/generate-progression.js +2 -2
- package/dist/engine/core/progression.d.ts +34 -0
- package/dist/engine/core/progression.d.ts.map +1 -1
- package/dist/engine/core/progression.js +159 -69
- package/dist/engine/core/progression.js.map +1 -1
- package/dist/engine/types.d.ts +4 -2
- package/dist/engine/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/dashboard/dist/assets/index-BciJqtyE.js +0 -195
package/README.md
CHANGED
|
@@ -231,7 +231,7 @@ Every scenario declares its own vocabulary via `labels.populationNoun` (plural),
|
|
|
231
231
|
|
|
232
232
|
Time is unit-agnostic. `setup.defaultTimePerTurn` and `setup.defaultStartTime` are plain numbers; whether they represent years, quarters, hours, or ticks is decided by `timeUnitNoun`. The dashboard turn header reads `Quarter 5`, `Day 22`, or `Year 2043` straight from the label.
|
|
233
233
|
|
|
234
|
-
Ages, experience and the kernel's yearly rates (births, deaths, partnerships, recovery, promotions) are in years. Between turns the kernel converts the elapsed units to years with `setup.yearsPerTimeUnit`, or, when the scenario declares none, with the length of the unit `timeUnitNoun` names: year 1, quarter 1/4, month 1/12, week 1/52, day 1/365, hour 1/8760, and 1 for any other word (`tick`, `turn`). A month of Atlas Lab ages its people a twelfth of a year and rolls a twelfth of a year's births and deaths; an eight-year Mars turn ages its colonists eight years. Progression hooks get the step as `timeDelta` (the scenario's unit) and as `yearsDelta`, with `yearsSinceStart` and `yearsPerUnit` beside them.
|
|
234
|
+
Ages, experience and the kernel's yearly rates (births, deaths, partnerships, recovery, promotions) are in years. Between turns the kernel converts the elapsed units to years with `setup.yearsPerTimeUnit`, or, when the scenario declares none, with the length of the unit `timeUnitNoun` names: year 1, quarter 1/4, month 1/12, week 1/52, day 1/365, hour 1/8760, and 1 for any other word (`tick`, `turn`). A month of Atlas Lab ages its people a twelfth of a year and rolls a twelfth of a year's births and deaths; an eight-year Mars turn runs as eight one-year steps, so it ages its colonists eight years and gives the chances eight one-year turns give. Progression hooks get the step as `timeDelta` (the scenario's unit) and as `yearsDelta`, with `yearsSinceStart` and `yearsPerUnit` beside them.
|
|
235
235
|
|
|
236
236
|
---
|
|
237
237
|
|