View Single Post
  #79  
Old 04-15-2009, 05:06 PM
Ashje Ashje is offline
Member
 
Join Date: Jan 2009
Posts: 179
Credits: 16,289
Ashje
Default RE: Currency for leveling up / Adoptable shop (Fixed again)

^
Easy.

1 (Adding Adoptables to the shop). Go to MySQL and open the queries. Copy-Paste this:
Code:
INSERT INTO adoptables VALUES ('', 'name','level 0 image','shop','cost')
This is how it works:

'' - Leave this blank

'name' - Replace name with the Adoptable Name but keep the ''.

'level 0 image' - Replace level 0 image with the default image for your adoptable but keep the ''.

'shop' - Leave this as it is.

'cost' - Replace cost with how much the adoptable is going to cost but keep the ''.

Run that query. Now copy-paste this new query into the box:
Code:
INSERT INTO adoptable_rankimages VALUES ('name','1','2','3','4','5','6','7','8')
Again:

'name' - Replace name with the same name you did in the last one. It has to be the same name or your adoptable won't evolve. Keep the ''.

'1' - Replace 1 with the first adoptable image but keep the ''.

and so on and so on. When that is done, run the query and check that your adoptable appears in the shop.

2 (changing Money Message). Go to levelup.php and search for
Code:
$article_content=$article_content. "
			<p>You have earned (number) (currency name) for leveling up this pet.
			<br>You now have  ".$newbalance." (currency name)";
	
			}
Change the "You have earned (number) (currency name) for leveling up this pet, etc."...