Difference between revisions of ".sun"

From WikiManual
Jump to: navigation, search
 
m (found .sun in Floating Veggie)
Line 1: Line 1:
 
.sun ----- Sun eh? That sounds pretty cool. What do you mean? it only returns a 1 if I am facing upwards? What is the point of that?
 
.sun ----- Sun eh? That sounds pretty cool. What do you mean? it only returns a 1 if I am facing upwards? What is the point of that?
 +
 +
 +
----
 +
found it in a Floating Veggie, perhaps Endy made it?<br>
 +
.sun is in gene 3.<br>
 +
Don't 'fix' these veggies and they tend to migrate<br>
 +
to the upper left corner of the field.<br>
 +
 +
 +
<pre>
 +
' Floating Veggies
 +
 +
cond
 +
*.robage 0 =
 +
start
 +
960 1 rnd mult 1 rnd mult inc
 +
stop
 +
 +
cond
 +
*960 0 =
 +
*.nrg 5000 >
 +
start
 +
15 rnd .aimdx store
 +
50 .repro store
 +
stop
 +
 +
cond
 +
*960 1 =
 +
start
 +
15 rnd .aimdx *.sun 1 sub -1 mult mult store
 +
*.maxvel *.vel sub .up *.sun mult *.edge sub store
 +
.repro inc
 +
stop
 +
end
 +
</pre>

Revision as of 12:58, 1 February 2006

.sun ----- Sun eh? That sounds pretty cool. What do you mean? it only returns a 1 if I am facing upwards? What is the point of that?



found it in a Floating Veggie, perhaps Endy made it?
.sun is in gene 3.
Don't 'fix' these veggies and they tend to migrate
to the upper left corner of the field.


 
' Floating Veggies

cond
*.robage 0 =
start
960 1 rnd mult 1 rnd mult inc
stop

cond
*960 0 =
*.nrg 5000 >
start
15 rnd .aimdx store
50 .repro store
stop

cond
*960 1 =
start
15 rnd .aimdx *.sun 1 sub -1 mult mult store
*.maxvel *.vel sub .up *.sun mult *.edge sub store
.repro inc
stop
end