Graal Forums  

Go Back   Graal Forums > Development Forums > Gani Construction
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.