Bots and Simulations > DNA - General
Poison Question
Peksa:
--- Quote from: googlyeyesultra ---Poison is absorbed by conspecs (I knew it didn't affect them, but I didn't know they got the poison, too).
--- End quote ---
How are conspecs determined in the code? I can't atm look myself..
EricL:
--- Quote from: Peksa ---How are conspecs determined in the code? I can't atm look myself..
--- End quote ---
A bot's name determines it species at present. One day I will move this to use GUIDs but for now, two bots with the same name are the same species as far as the code is conerned. The shot structure maintains which specific bot and which specific species shot it, which is how the code knows not to let bots to shoot themselves for example and allow conspecs to absorb poison shots rather than be posioned.
bacillus:
Does poison have an upkeep cost while it's being stored?
EricL:
Nope. It takes nrg to make and unmake. An andditional nrg charge proportional to the amount made or unmade is charged if specified. Waste is produced as a side effect of making or unmaking (if a cost is specified - probably a bug). But there is no ongoing carrying cost I can find.
bacillus:
I suppose a waste cost does make more sense than nrg ... after all, something's got to make it.
Navigation
[0] Message Index
[*] Previous page
Go to full version