The Dink Network

Reply to Re: Missing Skulls...hack?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 20th 2004, 05:24 AM
anon.gif
Bullocks
Ghost They/Them
 
This is the script for the skull in Land 3 which is created on opening a grave.

//this script is for a skull

void main( )
{
sp_touch_damage(&current_sprite, -1);
int &acrap = free_items();
}

void touch( void )
{
if (&acrap < 1)
{
say("dang, I've no more room for this skull in my backpack!", 1);
return;
}

Playsound(10,22050,0,0,0);
say("Hmmm... an old skull", 1);
add_item("item-skl", 851, 26);
//shrink to this percent then die
sp_brain_parm(&current_sprite, 5);
sp_brain(&current_sprite, 12);
sp_touch_damage(&current_sprite, 0);
sp_timing(&current_sprite, 0);

int &hold = sp_editor_num(&current_sprite);
if (&hold != 0)
{
//this was placed by the editor, lets make it not come back
editor_type(&hold, 1);
//kill food forever
}

}

So unless the variable limit is full you should've been told that your backpack was full and not been able to pick up the skull.

Ah... weird shoot happens with the Dink Engine.