Reply to Re: Spells and items/weapons
If you don't have an account, just leave the password field blank.
To add an item you need to use:
add_item("script", &sequence, &frame);
add_magic("script", &sequence, &frame);
The first adds to your weapon slot the second adds to your magic slot. For example if you wanted to give Dink the hellfire spell you would use
add_magic("item-sfb", 437, 2);
Here's a list I've compiled to tell what sequence/frame associates with what item.
Weapons/Items: seq - 438
01-Fist: item-fst
02-Pigfeed Bag: item-pig
03-Bomb: item-bom
04-Boomerang
05-Bottle
06-Throwing Axe: item-axe
07-Sword 1: item-sw1
08-Bow 1: item-b1
09-Purple Potion
10-Red Potion
11-Blue Elixir: item-eli
12-Heavy Bow: item-b2
13-Fire Bow: item-b3
14-Red Scroll
15-Yellow Scroll
16-Purple Scroll
17-Green Scroll
18-Slayer Claw
19-Alk-tree Nut: item-nut
20-Claw Sword: item-sw2
21-Light Sword: item-sw3
22-Herb Boots: item-bt
23-Pair of boots
Magic/Skills: seq - 437
01-Fireball: item-fb
02-Hellfire: item-sfb
03-Lightening
04-Atomic
05-Acid Rain: item-ice
add_item("script", &sequence, &frame);
add_magic("script", &sequence, &frame);
The first adds to your weapon slot the second adds to your magic slot. For example if you wanted to give Dink the hellfire spell you would use
add_magic("item-sfb", 437, 2);
Here's a list I've compiled to tell what sequence/frame associates with what item.
Weapons/Items: seq - 438
01-Fist: item-fst
02-Pigfeed Bag: item-pig
03-Bomb: item-bom
04-Boomerang
05-Bottle
06-Throwing Axe: item-axe
07-Sword 1: item-sw1
08-Bow 1: item-b1
09-Purple Potion
10-Red Potion
11-Blue Elixir: item-eli
12-Heavy Bow: item-b2
13-Fire Bow: item-b3
14-Red Scroll
15-Yellow Scroll
16-Purple Scroll
17-Green Scroll
18-Slayer Claw
19-Alk-tree Nut: item-nut
20-Claw Sword: item-sw2
21-Light Sword: item-sw3
22-Herb Boots: item-bt
23-Pair of boots
Magic/Skills: seq - 437
01-Fireball: item-fb
02-Hellfire: item-sfb
03-Lightening
04-Atomic
05-Acid Rain: item-ice