Quote:
Originally Posted by DonRichardo
I'll post another wall of text soon about my ideas on the berry pots (what i wrote about it a few posts ago was just a very small idea to get some feedback).

Allright time to do it.
So for the berry pots those are the possibilities i can see happening:
Some sort of flower pots which you could place on your house.
Some sort of small pots you would carry with yourself like in HG/SS.
Both of the above.
Lets start from the begining, with the flower pots on your house.
What items would be needed?
Something to water the plant (Some sort of watering can).
Somewhere to plant the berry (The pots).
Something to fertilize the plant.
Fertile Dirt
Starting with the pots. I'd say you can either buy them from the berry master or create a NPC called the "Clay master". He could probably live in a random house in one city. I'd prefer the Clay master idea, he would have 4 pots in stock ready to be sold, and he would fabricate 4 more each day. A decent price could be 250$ each (considering the power the berries can achieve).
After you've bought them, you would go to your house's PC and go to the "Decoration" option. DarkDoom will need to implement this option. Once there, you could select items from your backpack that can be placed on your house (Only the pots for the moment, but this would open many possibilities for future decoration items) and a map of your house would popup like with a grid and you'd choose in which coordinate the item goes. Once placed you'd exit the menu and go back to the PC. This would be very similar to how secret bases worked on R/S/E. Each house will be diferent when decorating
After you've placed the pot, if you rightclick it while looking at it, it'd open the backpack menu and it'd let you select the berry that you want to plant. But you wont be able to plant it unless you have
Fertile dirt, the berry master would sell this to you in small pouches, you could use each pouch twice (so you would need 2 pouches to fulfill 4 pots). He would sell each pouch for 150$.
Once you have at least one pouch, when you click the pot that is already placed on your house, it will first fulfill the pot with said fertile dirt, and then it'll ask you to choose one Fertilizer(will be explained later) to use and one berry to plant.
From now it would work very similar to how berries grow on the outside. But since they are
inside your house, you'll need to take some care of them. This means:
They can only be placed near the window
They need to be watered once per day.
This leads us to how to water them. A simple idea is that you can buy a watering can somewhere. As for "somewhere" I'd suggest a small florist shop in Magnus city (I think that was the city name). In that shop they can sell you a Watering can (Or they can give it to you for free after completing a sidequest) and they would also sell Fertilizer.
Once watered the berry will start growing, since you can bypass the day/night by sleeping , they will grow based on steps. But if you sleep you'll still need to rewater them.
There would be 3 types of fertilizers (someone think of good names for them) :
Type1 : Applying it will make the berries grow faster, but the water will also dry out faster.
Type2 : Applying it will make the berries grow slower, but the water will also dry out slower.
Type3 : Applying it will make it so a better berry grows , it will grow at normal speed but the water will dry out faster.
You can only apply one type of fertilizer to a pot, and only before you plant the berry.
The pseudocodeformula for their growth would be something like this:
Code:
int RefreshedDirt(int Ԑ, int Ω){
/*If we water the dirt,this function will change the value from Ԑ to Ԑ+Ω.If we dont, it will return Ԑ*/
If true
/*This will need something external that will tell this function when we have watered the dirt*/
Ԑ=Ԑ+Ω;
return Ԑ;
If false
return Ԑ;
}
int Loop(int Φ, int Ԑ){
int Δ = 1;
int Ω = 0;
while (Δ <= 5){ /*Until we have done 4 cycles*/
while (Ω != Φ){ /*This while counts each cycle's loop*/
if (Ω = Ԑ){
/* Every 'Ԑ' steps, the water will dry out (3000 steps = 1 day)*/
Ԑ=RefreshedDirt(Ԑ,Ω); /*'Ԑ' will double if we have watered the dirt*/
Ω; /*This will cancel the step increase if the dirt dried out*/
}
Ω++;
}
Δ++; /* One cycle completed, the plant leveled up*/
If (Ω = Φ)
Φ+=Φ; /*After the level up,Φ will increase so its harder to grow to the next level*/
}
return ԐΩ;
}
void main(){
int WhatsLeft0 = 0;
int WhatsLeft1 = 0;
int WhatsLeft2 = 0;
int WhatsLeft3 = 0;
While(1) /*Forever*/{
Switch (Ɣ) /*Ɣ Will be 0,1,2,3 depending on the Fertilizer type (0 = No fertilizer used)*/
Case '0':
WhatsLeft0=Loop(250,3000WhatsLeft0)/*After the loop we will have 5 berries identical to the berry we planted*/
Case '1':
WhatsLeft1=Loop(210,2000WhatsLeft1)/*After the loop we will have 5 berries identical to the berry we planted*/
Case '2':
WhatsLeft2=Loop(300,4000WhatsLeft2)/*After the loop we will have 5 berries identical to the berry we planted*/
Case '3':
WhatsLeft3=Loop(250,2000WhatsLeft3)/*After the loop we will have 2 berries better than the berry we planted. It will be the next in the healing berries tier(If we use 1 normal berry, we'd get 2 Gold berries, if Gold berry is the 2nd weakest berry).*/
}
/*After we pick up the berries, each WhatsLeft will save the amount of steps that we walked after watering the water depending on the fertilizer. If we plant a new berry, we will need to step the same amount as before minus 'WhatsLeft'.*/
}
Ω Increases by 1 each step you make
When Δ reaches 5 the berry plant has fully grown
Φ Increases every cycle.
Ԑ is a sentry value that will make it so the function stops counting steps once the water dries out.
ß is the value that increases Φ each cycle by a Φ=Φ+Φ/ß.
WhatsLeft(0,1,2,3) Will contain the amount of steps that you took after the last watering.
(This pseudocode was made mixing C and Pascal)
This code explained for no fertilizer:
You need to take an specific amount of steps so the berry increases his grown level. Each level will be seen by the size of the sprite of the plant that is over the pot when you see it in your house and the string that Gold would say when rightclicking over the pot. We enter the 'while' loop with Ω and Δ being 0, and Φ being 300. After 300 steps the condition from the 'while' breaks so Δ becomes 1 (The plant is at level 2 now). Since Ω and Φ have the same value we satisfy the 'if' condition so Φ becomes itself plus itself, since Φ = 250, now it is 250*2 = 500.
Δ isnt 5 yet so we go back to the 'while' loop, but now we need 400 steps so the plant grows to level 3. The same thing will happen as before and Φ would increase like this (from the beggining):
With No fertilizer > 25050010002000 = 3750 steps needed
With Type1 Fertilizer > 2104208401680 = 3150 steps needed
With Type2 Fertilizer > 30060012002400 = 4500 steps needed
With Type3 Fertilizer > 25050010002000 = 3750 steps needed
About the Watering:
With No fertilizer > Every 3000 steps you need to water the dirt. After 1 plant as grown completely, you must have walked 37503000 = 750 steps after watering the dirt, so you will need to water the plant 2250 steps after you plant another berry. (37502250= 1500 , now you will need 1500 steps after planting the 3rd berry. And so on...).
With Type1 Fertilizer > Every 2000 steps you need to water the dirt. After 1 plant as grown completely, you must have walked 31502000 = 1150 steps after watering the dirt, so you will need to water the plant 950 steps after you plant another berry. (3150950= 2200 , now you will need to water it twice after planting the 3rd berry. And so on...).
With Type2 Fertilizer > Every 4000 steps you need to water the dirt. After 1 plant as grown completely, you must have walked 45004000 = 500 steps after watering the dirt, so you will need to water the plant 3500 steps after you plant another berry. (40003500= 500 , now you will need 3000 steps after planting the 3rd berry. And so on...)
With Type3 Fertilizer > Every 2000 steps you need to water the dirt. After 1 plant as grown completely, you must have walked 37502000 = 1750 steps after watering the dirt, so you will need to water the plant 250 steps after you plant another berry. (3150250= 2900 , now you will need to water it twice after planting the 3rd berry. And so on...).
In short: We buy the pot, buy the dirt, place the potin our house, put dirt on it, put the fertilizer, put the berry, walk, harvest.
For the pots that you carry yourself. It will work exactly the same, but since they are smaller, they are way cheaper, you can fulfill the 4 pots with 1 poucher of dirt. The plants produce less berries tho, 3 berries for the Type1, Type2 and No Fertilizer and 1 berry for the Type3 Fertilizer.
Of course the code wouldnt work like that anywhere, its made to explain how it could work the system easierly than with just plain text.
If you didnt understand certain parts of the code or you think there are important errors that may deliver misunderstandings, please ask.
I think i went too far with this...