Reply to Re: Script question: adding an item
If you don't have an account, just leave the password field blank.
: : add_item("item-sto", 95, 8);
: : That is a line for giving an item. It should work...
: Yeah, I know, but to add a new item icon, you have to have a different script. Like "item-sto" should be something else and I can't figure that one out.
If I understood what you were saying, you want to use a new item icon that is not in the original Dink, then you can do 2 things.
One is to copy all original Dink icon graphics into your graphics subdir and name your new icon in the same way. Do not have any gap in the numbering.
The other way is to define a new unused series in Dink.ini, and use the series and sequence number in
add_item("item-sto", series_number, sequence_number);
If this is not what you asked, please clarify it more.
: : That is a line for giving an item. It should work...
: Yeah, I know, but to add a new item icon, you have to have a different script. Like "item-sto" should be something else and I can't figure that one out.
If I understood what you were saying, you want to use a new item icon that is not in the original Dink, then you can do 2 things.
One is to copy all original Dink icon graphics into your graphics subdir and name your new icon in the same way. Do not have any gap in the numbering.
The other way is to define a new unused series in Dink.ini, and use the series and sequence number in
add_item("item-sto", series_number, sequence_number);
If this is not what you asked, please clarify it more.