Code center > Bug reports

Can't stop slime cost!

<< < (2/3) > >>

Botsareus:
Actually, your 'big slimer' code was pritty good.
I just moded your chloroplast gene:


--- Code: ---cond
*.chlr *.light <
start
160 .mkchlr store
stop

--- End code ---

Make sure slime cost is zero though.

Testlund:
I see what you mean.  :) A lot of chloroplasts are needed for constant slime production to work.

What about purely for defence then?

This works against -1 shots:


--- Code: ---cond
*.shflav -1 =
start
2000 .mkslime store
stop
--- End code ---

But what sysvar do I use to tell a bot when it has been hit by a tie?

Botsareus:
Good question.
My guess will be read tielen1 trough tielen4 or tieang1 trough 4 and make sure they are zero.
Wait a minute, that will not work well because these values happen only after a tie is formed.

Ok, my best guess. Make sure the robot close to you is friendly. If it is not, there is a good chance it will try to tie to you for harm.


I created this list of relationships a long time ago. My hope is that you may find them useful:


--- Quote ---shell is effective vs -6 and venum
slime is effective vs virus and ties
poison is effective agenst -1

--- End quote ---

Testlund:
I tried this but it doesn't work:


--- Code: ---cond
*.refxpos 0 > and
*.reftie 0 >
start
2000 .mkslime store
stop
--- End code ---

Botsareus:
hmm... reftie does not seem to work right. I will have to debug further, but not today. We have a natural holiday tomorrow, best time should be Friday.

Good find.  :P

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version