Code center > Suggestions

Chloroplast converting waste to body

(1/3) > >>

Testlund:
How about letting chloroplast convert waste to body instead? That would simulate the fact that plant life need more than just sunlight to grow, like minerals and such. When body reaches 32000 they can't convert any more waste and it will start to build up instead, which would simulate over-fertilizing like some plants are sensitive too, and just assume it's like this for algae too. You get an algae bloom with lot of waste in the water, but there is a limit how much they can use of it.

..and a .fdwaste sysvar to convert waste directly to energy like some primitive bacteria.

..and change the "Don't decay nrg shots" feature to "Keep nrg & waste shots" or something like that.

Panda:

--- Quote ---How about letting chloroplast convert waste to body instead?
--- End quote ---

The system currently is tied to the veggie energy-body slider, I think. I am also skeptical that the system would not prevent the problem that we have.

I can think of two solutions:

* converting some to permanent waste preventing the bot from getting rid of all of it's waste
* making the rate at which it can convert waste to energy much slower.

--- Quote ---and a .fdwaste sysvar to convert waste directly to energy like some primitive bacteria.
--- End quote ---

To your second point, waste was first created to make sure robots reproduce more often. It would have to do something like convert half of it to permanent waste or something, if we were going to do that.


--- Quote ---..and change the "Don't decay nrg shots" feature to "Keep nrg & waste shots" or something like that.
--- End quote ---

Why do you want this feature?

Testlund:

--- Quote from: Panda on September 09, 2013, 09:03:37 AM --- Why do you want this feature?
--- End quote ---

So bots can harvest waste shots from decaying corpses, or the waste that other bots get rid of.

Panda:
Okay, I'll see what botsareus thinks about it, first.

Botsareus:
Point 1.)

feedvegs2 is NOT tied to the  energy-body slider, look into this Panda.

Point 2.)


--- Quote ---making the rate at which it can convert waste to energy much slower.
--- End quote ---

I really like this idea, we will need to change 32000 to something like 320000 , that's dividing by 10, I'll leave the exact value up to you Panda.

--- Code: ---
Public Sub feedveg2(t As Integer)  With rob(t)
  If .nrg + (.Waste / 2) * (.chloroplasts / 320000) < 32000 Then
    .nrg = .nrg + (.Waste / 2) * (.chloroplasts / 320000)
    .Waste = .Waste - .Waste * (.chloroplasts / 320000)
  End If
  End With
End Sub 


--- End code ---


That "Don't decay nrg shots" feature, I do not have DB in front of me right now; What is this all about? I'll take a look on Sat.

Navigation

[0] Message Index

[#] Next page

Go to full version