Skip to content
Snippets Groups Projects
Commit 79121027 authored by Pregmodder's avatar Pregmodder
Browse files

Fixed seBurst

parent a135658a
No related branches found
No related tags found
No related merge requests found
...@@ -154,10 +154,14 @@ ...@@ -154,10 +154,14 @@
taken to $incubatorName. taken to $incubatorName.
<<elseif _cToIncub < _curBabies && _cToIncub > 0>> <<elseif _cToIncub < _curBabies && _cToIncub > 0>>
split between $incubatorName and split between $incubatorName and
<<if _cToNursery == _curBabies-_cToIncub && _incubated > 0>> <<if _cToNursery > 0>>
$nurseryName. <<if _cToNursery == _curBabies-_cToIncub && _incubated > 0>>
<<elseif _cToNursery < _curBabies-_cToIncub && _cToNursery > 0>> $nurseryName.
$nurseryName, and the medical suite. <<elseif _cToNursery < _curBabies-_cToIncub && _cToNursery > 0>>
$nurseryName, and the medical suite.
<</if>>
<<else>>
the medical suite.
<</if>> <</if>>
<<elseif _cToNursery == _curBabies>> <<elseif _cToNursery == _curBabies>>
taken to $nurseryName. taken to $nurseryName.
...@@ -170,12 +174,12 @@ ...@@ -170,12 +174,12 @@
<<if _cToIncub > 0 || _cToNursery > 0>> <<if _cToIncub > 0 || _cToNursery > 0>>
<<for _cb = 0; _cb < _curBabies; _cb++>> /* if there is no reserved children, code in loop will not trigger */ <<for _cb = 0; _cb < _curBabies; _cb++>> /* if there is no reserved children, code in loop will not trigger */
<<if $slaves[_b].curBabies[_cb].reserve == "incubator">> <<if $slaves[_b].curBabies[_cb].reserve == "incubator">>
<<set $slaves[_b] = generateChild($slaves[_b], $slaves[_b].curBabies[_cb], 1)>> <<set $activeSlave = generateChild($slaves[_b], $slaves[_b].curBabies[_cb], 1)>>
<<include "Incubator Workaround">> <<include "Incubator Workaround">>
<<run $slaves[_b].curBabies.splice($slaves[_b].curBabies[_cb], 1)>> <<run $slaves[_b].curBabies.splice($slaves[_b].curBabies[_cb], 1)>>
<<set _cb--, _curBabies-->> <<set _cb--, _curBabies-->>
<<elseif $slaves[_b].curBabies[_cb].reserve == "nursery">> <<elseif $slaves[_b].curBabies[_cb].reserve == "nursery">>
<<set $slaves[_b] = generateChild($slaves[_b], $slaves[_b].curBabies[_cb])>> <<set $activeSlave = generateChild($slaves[_b], $slaves[_b].curBabies[_cb])>>
<<include "Nursery Workaround">> <<include "Nursery Workaround">>
<<run $slaves[_b].curBabies.splice($slaves[_b].curBabies[_cb], 1)>> <<run $slaves[_b].curBabies.splice($slaves[_b].curBabies[_cb], 1)>>
<<set _cb--, _curBabies-->> <<set _cb--, _curBabies-->>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment