Reply to Re: Another fail!
If you don't have an account, just leave the password field blank.
Fireball (scroll) script:
The Fireball magic script is copied from the original game since I can't even open .d files.
(ITEM-FB.d)
//sack of grain void main( void ) { sp_touch_damage(¤t_sprite, -1); } void touch(void) { //dink touched this sprite Playsound(10,22050,0,0,0); sp_brain_parm(¤t_sprite, 10); sp_brain(¤t_sprite, 12); sp_touch_damage(¤t_sprite, 0); sp_timing(¤t_sprite, 0); add_magic("item-fb",437, 1); say("I got the Fireball spell", 1); //kill this item so it doesn't show up again for this player int &hold = sp_editor_num(¤t_sprite); if (&hold != 0) editor_type(&hold, 1); }
The Fireball magic script is copied from the original game since I can't even open .d files.
(ITEM-FB.d)