Thread: New gralats!
View Single Post
  #1  
Old 02-24-2011, 02:06 AM
Astram Astram is offline
Era iPhone PR
Astram's Avatar
Join Date: Aug 2010
Posts: 324
Astram can only hope to improve
Send a message via AIM to Astram
New gralats!

Here are some gralats recolored by Astram, feel free to use these on your server. Appearently the server I made them for doesnt want them at the moment. There are 8 NEW Gralats including, green, blue, red, and yellow.

Here are instructions on getting these gralats set up.

Class "gralats":
PHP Code:
function onCreated() {
  
showcharacter();
  
updategani();
  
dontblock();
}
function 
onUpdategani() {
  
updategani();
}

function 
updategani() {
  
temp.type 1;
  if (
rupees>=100000temp.type 12;
  else if (
rupees>=50000temp.type 11;
  else if (
rupees>=30000temp.type 10;
  else if (
rupees>=20000temp.type 9;
  else if (
rupees>=10000temp.type 8;
  else if (
rupees>=5000temp.type 7;
  else if (
rupees>=1000temp.type 6;
  else if (
rupees>=500temp.type 5;
  else if (
rupees>=100temp.type 4;
  else if (
rupees>=30temp.type 3;
  else if (
rupees>=5temp.type 2;

  
setcharani("astram_gralats"temp.type);
}

function 
onPlayerTouchsMe() {
  
player.rupees += rupees;
  
rupees 0;
  
destroy();

Feel free to change what the gralats are worth, depending on the econemy of your chosen server to upload on.
Attached Images
 
Attached Files
File Type: gani astram_gralats.gani (972 Bytes, 238 views)
__________________
-Toad
The worlds biggest Toad fan...
Era iPhone FTW!


Reply With Quote