Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fc-pregmod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
macaronideath
fc-pregmod
Commits
42434215
Commit
42434215
authored
4 years ago
by
lowercasedonkey
Browse files
Options
Downloads
Patches
Plain Diff
analyze
parent
37aa4b2b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/pregmod/analyzePregnancy.tw
+0
-2
0 additions, 2 deletions
src/pregmod/analyzePregnancy.tw
src/pregmod/incubator.tw
+5
-5
5 additions, 5 deletions
src/pregmod/incubator.tw
with
5 additions
and
7 deletions
src/pregmod/analyzePregnancy.tw
+
0
−
2
View file @
42434215
:: Analyze Pregnancy [nobr]
<<set $AS = $activeSlave.ID>>
<<if lastVisited("Incubator") === 1>>
<<set $storedLink = "Incubator">>
<<elseif lastVisited("Slave Interact") === 1>>
...
...
This diff is collapsed.
Click to expand it.
src/pregmod/incubator.tw
+
5
−
5
View file @
42434215
...
...
@@ -116,7 +116,7 @@ Reserve an eligible mother-to-be's child to be placed in a tank upon birth. Of $
<<if (_reservedIncubator + _reservedNursery < _WL) && ($reservedChildren < _freeTanks)>>
<br>
<<if $pregnancyMonitoringUpgrade == 1>>
<<print "[[Inspect pregnancy|Analyze Pregnancy][$i = " + _u + "; $
activeSlave = $slaves[$i]
]] | ">>
<<print "[[Inspect pregnancy|Analyze Pregnancy][$i = " + _u + "; $
AS = $i
]] | ">>
<</if>>
<<print "[[Keep another child|Incubator][WombAddToGenericReserve($slaves[" + _u + "], 'incubator', 1)]]">>
<<if _reservedIncubator > 0>>
...
...
@@ -131,7 +131,7 @@ Reserve an eligible mother-to-be's child to be placed in a tank upon birth. Of $
<<elseif (_reservedIncubator == _WL) || ($reservedChildren == _freeTanks) || (_reservedIncubator + _reservedNursery == _WL)>>
<br>
<<if $pregnancyMonitoringUpgrade == 1>>
<<print "[[Inspect pregnancy|Analyze Pregnancy][$i = " + _u + "; $
activeSlave = $slaves[$i]
]] | ">>
<<print "[[Inspect pregnancy|Analyze Pregnancy][$i = " + _u + "; $
AS = $i
]] | ">>
<</if>>
<<print "[[Keep one less child|Incubator][WombCleanGenericReserve($slaves[" + _u + "], 'incubator', 1)]]">>
<<if _reservedIncubator > 1>>
...
...
@@ -143,14 +143,14 @@ Reserve an eligible mother-to-be's child to be placed in a tank upon birth. Of $
//$His children are already reserved for $nurseryName//
<br>
<<if $pregnancyMonitoringUpgrade == 1>>
<<print "[[Inspect pregnancy|Analyze Pregnancy][$i = " + _u + "; $
activeSlave = $slaves[$i]
]] | ">>
<<print "[[Inspect pregnancy|Analyze Pregnancy][$i = " + _u + "; $
AS = $i
]] | ">>
<</if>>
<<print "[[Keep " + $his + " " + ((_WL > 1) ? "children" : "child") + " here instead|Incubator][WombChangeReserveType($slaves[" + _u + "], 'nursery', 'incubator')]]">>
<<else>>
You have <<if _freeTanks == 1>>an<</if>> @@.lime;available aging tank<<if _freeTanks > 1>>s<</if>>.@@
<br>
<<if $pregnancyMonitoringUpgrade == 1>>
<<print "[[Inspect pregnancy|Analyze Pregnancy][$i = " + _u + "; $
activeSlave = $slaves[$i]
]] | ">>
<<print "[[Inspect pregnancy|Analyze Pregnancy][$i = " + _u + "; $
AS = $i
]] | ">>
<</if>>
<<print "[[Keep "+ ((_WL > 1) ? "a" : "the") +" child|Incubator][WombAddToGenericReserve($slaves[" + _u + "], 'incubator', 1)]]">>
<<if (_WL > 1) && ($reservedChildren + _WL - _reservedIncubator) <= _freeTanks>>
...
...
@@ -160,7 +160,7 @@ Reserve an eligible mother-to-be's child to be placed in a tank upon birth. Of $
<<elseif $reservedChildren == _freeTanks>>
<br>
<<if $pregnancyMonitoringUpgrade == 1>>
<<print "[[Inspect pregnancy|Analyze Pregnancy][$i = " + _u + "; $
activeSlave = $slaves[$i]
]] | ">>
<<print "[[Inspect pregnancy|Analyze Pregnancy][$i = " + _u + "; $
AS = $i
]] | ">>
<</if>>
You have @@.red;no room for $his offspring.@@
<</if>>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment