Parameters: Energy and vegetables
How much energy enters the world from the sun, how many vegetables there are and how they are replenished, how what gets eaten is shared out, mutations and tides.
This group regulates the world's economy: how much food comes in and how it passes from hand to hand. Energy only enters from two places, the sun and the seeding of new vegetables (see where the energy comes from), and almost everything here touches one of the two. The other parameters decide how much a shot that steals energy yields, how what a chloroplast produces is split between energy and body, whether children mutate, and whether there are tides.
If you want a richer or a poorer world, start with Solar share per cycle and with the ones that decide how many vegetables there are and how they are replenished. In Experiment's basic mode they appear as Solar energy, Vegetable cap, Vegetable repopulation and Mutations. The complete mechanics of the sun and the vegetables are in Chloroplasts and vegetables.
Solar share per cycle
Photosynthesis base: every bot with chloroplasts produces from this value.
- Default
- 10
- Usual range
- 0 to 100000
- Variable
MaxEnergy- Key
base:maxEnergy- Live
- can be changed while the simulation runs
- Mode
- basic and advanced
The basis of photosynthesis: every bot with chloroplasts gains, in each sunlit cycle, an amount proportional to this value (the formula is in photosynthesis). The app starts at 10 and the F1 league base uses 40.
With 10, a vegetable with 16000 chloroplasts, alone in a 32000 × 32000 field, gains about 3.4 energy and 1 body per cycle. With 20 it gains double; with 0 the sun feeds nobody, and the only food that comes in is from repopulation. In pond mode (Pond mode (light by depth)) this value isn't used: Light intensity rules there.
Repopulate below (chloroplasts)
If vegetables drop below this, more are seeded.
- Default
- 15
- Usual range
- 0 to 100000
- Variable
MinVegs- Key
base:minVegs- Live
- can be changed while the simulation runs
- Mode
- basic and advanced
The repopulation threshold. If the chloroplasts of the whole field, counted in units of 16000, fall below this number, the simulation starts seeding new vegetables. The app starts at 15; the F1 league uses 10. With 0 it never repopulates: if the vegetables go extinct, they don't come back.
It counts chloroplasts, not bots: twenty vegetables of 4000 chloroplasts add up to 5 units, and animals that bought chloroplasts count too. See repopulation.
Vegetable cap
Vegetable cap (in units of 16000 chloroplasts).
- Default
- 100
- Usual range
- 0 to 32000
- Variable
MaxPopulation- Key
base:maxPopulation- Live
- can be changed while the simulation runs
- Mode
- basic and advanced
The vegetable cap, also in units of 16000 chloroplasts. When the field's total goes over it, vegetables can't reproduce or buy chloroplasts; above 90% of the cap, only one in eleven reproduction attempts goes ahead. It doesn't stop animals. The app starts at 100; the F1 league uses 25.
Set it above Repopulate below (chloroplasts): if it ends up below, the vegetables stop reproducing before repopulation stops, and the population is held up by seeding alone. See the vegetable cap.
Vegetables per repopulation
How many are seeded per repopulation.
- Default
- 10
- Usual range
- 0 to 1000
- Variable
RepopAmount- Key
base:repopAmount- Live
- can be changed while the simulation runs
- Mode
- advanced only
How many vegetables are born in each repopulation batch. Each one appears at a random place within its species' zone, with 1000 body, the species' initial energy and Starting chloroplasts chloroplasts. The app starts at 10, like the F1 league; with 0 repopulation seeds nothing.
Cycles between repopulations
Minimum wait between two repopulations.
- Default
- 10
- Usual range
- 0 to 32000
- Variable
RepopCooldown- Key
base:repopCooldown- Live
- can be changed while the simulation runs
- Mode
- advanced only
How many cycles below the threshold are needed for each batch. The wait only advances in the cycles when the chloroplasts are below Repopulate below (chloroplasts), and what has accumulated isn't lost when the population recovers: it keeps counting the next time it drops. The app starts at 10; the F1 league uses
- With 0 or 1 it seeds a batch every cycle while vegetables are missing,
which can fill the field very quickly.
Starting chloroplasts
Chloroplasts of each seeded vegetable.
- Default
- 16000
- Usual range
- 0 to 32000
- Variable
StartChlr- Key
base:startChlr- Live
- can be changed while the simulation runs
- Mode
- advanced only
The chloroplasts each seeded vegetable is born with, both the simulation's founders and those from repopulation. Children don't: they take their share of the parent's (how things are split at birth). The app starts at 16000.
More chloroplasts isn't always better: with a lot, the vegetable weighs more, blocks more light, and in a full field may yield less (the table is in how much a vegetable yields). With 0 the vegetables are born without chloroplasts and don't eat until their DNA buys them with .mkchlr. Changing it live only affects those seeded afterwards.
Mutations
When off, offspring are exact copies.
- Default
- yes
- Usual range
- yes / no
- Variable
DisableMutations- Key
base:mutations- Live
- can be changed while the simulation runs
- Mode
- basic and advanced
- Note
- It is the negation of DisableMutations.
The master switch for mutations. On (as the app starts), each bot mutates according to its own table of rates, during life and at birth; off, nobody mutates and children are exact copies of the parent (or the exact mix of the two, in sexual reproduction). The F1 league turns it off, so that species compete exactly as they were written. Which kinds of mutation exist and how the rates are read is in Mutations.
Energy exchange
How a shot’s energy take is computed.
- Default
- 1
- Values
- 1 = proportional · 0 = fixed
- Variable
EnergyExType- Key
opt:60- Live
- can be changed while the simulation runs
- Mode
- advanced only
How the strength of the shots that steal is calculated: the energy shot (−1) and the body shot (−6). With proportional, the value in the app and in the F1 league, the strength depends on the shooter's body, on its .shootval and on how far the shot traveled, multiplied by Proportion. With fixed, each hit lands with Fixed amount, regardless of any of that.
In a test with a shooter of 1000 body and a stationary target, each −1 took 198 energy from the target with the proportional exchange and 180 with the fixed one of 200. The details of each shot type are in what each shot does.
Fixed amount
Energy per shot with fixed exchange.
- Default
- 200
- Usual range
- 0 to 32000
- Variable
EnergyFix- Key
opt:61- Live
- can be changed while the simulation runs
- Mode
- advanced only
The strength of each −1 or −6 shot when the exchange (Energy exchange) is fixed; with the proportional one it isn't used. The app starts at 200. A −1 takes 90% of this value from the victim in energy and 1% in body, and gives the shooter back a gift of the full value: with 500, the victim loses 450 energy and 5 body per hit.
Since it doesn't depend on the shooter's body, the fixed exchange puts small bots and large ones on equal terms.
Proportion
Factor of the proportional exchange.
- Default
- 1
- Usual range
- 0 to 100
- Variable
EnergyProp- Key
opt:62- Live
- can be changed while the simulation runs
- Mode
- advanced only
A multiplier on the strength of −1 and −6 shots when the exchange (Energy exchange) is proportional. With 1, the value in the app and in the F1 league, shots hit as described in what each shot does; with 2, double (in the test above, 396 energy per hit instead of 198); with 0, the shots that steal take nothing. It raises or lowers, all at once, the advantage of hunting over that of photosynthesizing.
Photosynthesis: fraction to body
Share of what chloroplasts produce (and of digested waste) that goes to body; the rest goes to energy.
- Default
- 0.75
- Usual range
- 0 to 1
- Variable
VegFeedingToBody- Key
opt:63- Live
- can be changed while the simulation runs
- Mode
- advanced only
What part of what the chloroplasts produce goes to the body; the rest goes to energy. With 0.75, the app's value, a quarter of the gain goes into .nrg and three quarters into .body, at a rate of 10 energy per 1 body. The F1 league uses 0.5.
In the lone-vegetable test, with 0 it gained 13.6 energy per cycle and no body; with 1, no energy and 1.36 body. A vegetable that only fattens up can't pay for its actions or reproduce, and one that doesn't fatten up doesn't grow either. It applies equally to the waste that the chloroplasts digest (see waste).
Tides (cycles; 0 = off)
Tide period: while active, tides override gravity and Brownian motion.
- Default
- 0
- Usual range
- 0 to 32000
- Variable
Tides- Key
opt:64- Live
- can be changed while the simulation runs
- Mode
- advanced only
The period of the tides, in cycles; with 0 (the app's value) there are no tides. With a positive value, the world oscillates with that period: in one part the downward gravity rises to 4 and the sun feeds at full strength; in the other, gravity drops to almost nothing, the water churns with Brownian motion and the vegetables barely eat.
While there are tides, the engine rewrites Y gravity (downwards) and Brownian motion every cycle, so what you put in them isn't used; and if you turn the tides off, they keep the last value the tide gave them. See gravity, ponds and tides.