From 89ca01ff9bd2d6aec5c78484d14d886065610198 Mon Sep 17 00:00:00 2001 From: Peter van der Meer Date: Sun, 22 Dec 2024 21:54:28 +0100 Subject: [PATCH 1/2] Document to spawn for fleets and hazards --- wiki/MapData.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/wiki/MapData.md b/wiki/MapData.md index b18791b..390f3d6 100644 --- a/wiki/MapData.md +++ b/wiki/MapData.md @@ -51,8 +51,20 @@ system minables trade fleet + to spawn + + (has | not) + never + (and | or) + ... raid [ []] hazard + to spawn + + (has | not) + never + (and | or) + ... "starfield density" object [] sprite @@ -155,8 +167,20 @@ system minables trade fleet + to spawn + + (has | not) + never + (and | or) + ... raid [ []] hazard + to spawn + + (has | not) + never + (and | or) + ... "starfield density" object [] sprite @@ -297,10 +321,18 @@ A type of commodity sold at the planets in this system and its cost. ```html fleet + to spawn + + (has | not) + never + (and | or) + ... ``` The name of a [fleet](CreatingFleets) that is spawned in this system with a certain period. The period of a fleet is the average number of frames between each spawning of this specific fleet, with there being 60 frames in a second. A random number from 0 to `period - 1` is rolled each frame, and if the result lands on 0 then a fleet is spawned. +Beginning in v. 0.10.11, fleets can be given to spawn conditions. A fleet will only appear if the to spawn condition is fulfilled. + ```html raid [ []] ``` @@ -315,9 +347,18 @@ If present, no raid fleets will ever spawn in this system, whether they be from ```html hazard + to spawn + + (has | not) + never + (and | or) + ... ``` The name of a [hazard](CreatingHazards) that is created in this system within a certain period. The period of a hazard follows the same behavior as the period of a fleet. Once a hazard is created, the behavior of the hazard is dictated by the hazard itself. The origin of any hazards defined here is the system center. **(v. 0.9.13)** +Beginning in v. 0.10.11, hazards can be given to spawn conditions. An hazard will only appear if the to spawn condition is fulfilled. + + ```html "starfield density" ``` From b62044f2b494e2f98da27977552d244dae137944 Mon Sep 17 00:00:00 2001 From: Peter van der Meer Date: Mon, 23 Dec 2024 23:06:33 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Loymdayddaud <145969603+TheGiraffe3@users.noreply.github.com> --- wiki/MapData.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wiki/MapData.md b/wiki/MapData.md index 390f3d6..e8445cc 100644 --- a/wiki/MapData.md +++ b/wiki/MapData.md @@ -331,7 +331,7 @@ fleet The name of a [fleet](CreatingFleets) that is spawned in this system with a certain period. The period of a fleet is the average number of frames between each spawning of this specific fleet, with there being 60 frames in a second. A random number from 0 to `period - 1` is rolled each frame, and if the result lands on 0 then a fleet is spawned. -Beginning in v. 0.10.11, fleets can be given to spawn conditions. A fleet will only appear if the to spawn condition is fulfilled. +Beginning in **v. 0.10.11**, fleets can be given `to spawn` conditions. A fleet will only appear if the `to spawn` condition is fulfilled. ```html raid [ []] @@ -356,7 +356,7 @@ hazard ``` The name of a [hazard](CreatingHazards) that is created in this system within a certain period. The period of a hazard follows the same behavior as the period of a fleet. Once a hazard is created, the behavior of the hazard is dictated by the hazard itself. The origin of any hazards defined here is the system center. **(v. 0.9.13)** -Beginning in v. 0.10.11, hazards can be given to spawn conditions. An hazard will only appear if the to spawn condition is fulfilled. +Beginning in **v. 0.10.11**, hazards can be given `to spawn` conditions. An hazard will only appear if the `to spawn` condition is fulfilled. ```html