Author Topic: Chloroplast converting waste to body  (Read 5629 times)

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Chloroplast converting waste to body
« on: September 09, 2013, 07:04:22 AM »
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.
The internet is corrupt and controlled by criminally minded people.

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Chloroplast converting waste to body
« Reply #1 on: September 09, 2013, 09:03:37 AM »
Quote
How about letting chloroplast convert waste to body instead?

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.

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.

Why do you want this feature?

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Re: Chloroplast converting waste to body
« Reply #2 on: September 09, 2013, 10:59:01 AM »
Why do you want this feature?

So bots can harvest waste shots from decaying corpses, or the waste that other bots get rid of.
The internet is corrupt and controlled by criminally minded people.

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Chloroplast converting waste to body
« Reply #3 on: September 09, 2013, 11:54:47 AM »
Okay, I'll see what botsareus thinks about it, first.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast converting waste to body
« Reply #4 on: September 09, 2013, 12:03:54 PM »
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.

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: [Select]

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 



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.

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Re: Chloroplast converting waste to body
« Reply #5 on: September 09, 2013, 12:21:15 PM »
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.

It's "Objects -> Shots -> Don't decay energy shots" in the menu.
The internet is corrupt and controlled by criminally minded people.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast converting waste to body
« Reply #6 on: September 09, 2013, 12:58:53 PM »
Yea, we can stick another option in there called "Don't decay waste shots"

Panda, make sure both options save as part of settings file.
"Don't decay energy shots" should save as part of simulation file, just add "Don't decay waste shots"

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Chloroplast converting waste to body
« Reply #7 on: September 09, 2013, 01:12:49 PM »
Okay! :D Make sure all your changers are put into the trunk and I'll spend this evening doing this.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast converting waste to body
« Reply #8 on: September 09, 2013, 01:24:26 PM »
Well, I can not really make sure, I am at work :P
Go ahead and implement Panda.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast converting waste to body
« Reply #9 on: September 15, 2013, 12:35:47 PM »
[Bump]


enabled some low level checks in an attempt to stabolize the program and awoid or atleast track run-time errors better (It was surprizing how little they impacted performance)

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast converting waste to body
« Reply #10 on: September 21, 2013, 01:58:39 PM »
I reprogrammed feedvegs2 to be liner. The main reason being, it took about the same time to turn waste to energy if the robot had 1000 or 10000 waste.

Now at 32K chloroplasts it takes about 100 cycles to dump 1000 units of waste.


edit: I am adjusting further...
« Last Edit: September 21, 2013, 02:01:28 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast converting waste to body
« Reply #11 on: September 21, 2013, 02:35:20 PM »
[Bump]

feedveg2 mod for body vs energy feed implemented.
The only thing left to do is do not decay waste shots.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast converting waste to body
« Reply #12 on: September 28, 2013, 11:15:50 AM »
[Bump]

Should have Darwin2.46BetaD by Sunday

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast converting waste to body
« Reply #13 on: September 28, 2013, 01:32:14 PM »
[Bump]

I just discovered something cool, the following robot shoots away his waste:

Code: [Select]
cond
start
10 .shootval store
-4 .shoot store
stop
end

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast converting waste to body
« Reply #14 on: September 29, 2013, 10:31:41 AM »
Here it is: