Darwinbots Forum

Code center => Suggestions => Topic started by: deoxymoron on April 27, 2010, 01:00:38 AM

Title: veg energy extraction
Post by: deoxymoron on April 27, 2010, 01:00:38 AM
new suggestion.

make an option so it is harder to extract energy from a veg as its energy lowers.




Title: veg energy extraction
Post by: bacillus on April 27, 2010, 01:27:21 AM
Okay, so what do you do when a plant has an extremely low reproduction threshold?
In some way, the plant shrinking does make it harder to hit. The important thing is to check whether your ideas make sense in real biology as well-smaller species are usually easier to eat, and the only way you wouldn't eat them is if it's not worth the effort.
Title: veg energy extraction
Post by: ashton15 on April 27, 2010, 04:45:05 AM
Quote from: deoxymoron
new suggestion.

make an option so it is harder to extract energy from a veg as its energy lowers.

There you go, quick little thing I made with simulated adrenline which goes up when in pain and down when not in pain, at first it shrinks, then polifirates madly and finally begins to attack the agressor whilst running away... I haven't tested it yet though so there's a possibility it won't work


start

.dn inc

*.pain 50 >
100 * 46 <= and
100 * 4 add 100 store
*.pain 1 floor <
100 * 1 >= and
100 dec

100 * 1 <=
*.nrg 500 > and
2 .aimdx store
*.eye5 0 = and
50 .repro store

100 * 10 >
*.body 100 * > and
100 * .fdbody store
100 * 25 >
*.nrg 100 * > and
50 .repro store
314 rnd .aimdx store

100 * 40 >
*.shang .setaim store
-1 .shoot store
8 .shootval store
20 .dn store

stop
Title: veg energy extraction
Post by: deoxymoron on April 27, 2010, 10:44:48 PM
hm true, point taken... im trying to find the balance still. + i think body/nrg ratio is works effectively as the same thing.
Title: veg energy extraction
Post by: bacillus on April 28, 2010, 12:57:44 AM
Remember-there's no such thing as a free lunch.