The Dink Network

Reply to Re: finding the scroll

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:
 
 
August 4th 2006, 03:18 PM
burntree.gif
Striker
Noble She/Her United States
Daniel, there are clowns. 
Ah, this is where using sp_editor_num() and editor_type comes into play. I've edited the touch function to show you what would be inserted.

void touch( void )
{
int &junk = free_items();

if (&junk < 1)
{
say("I'm full! I can't pick up anything else.", 1);
return;
}

add_item("item-nut",469, 7);

say("I have the scroll.",1);
&story = 27;

int &hold = sp_editor_num(&current_sprite);
editor_type(&hold, 1);
//kill scroll forever

}