I'm trying to make reusable water skins (from skin and cord), but I'm having trouble. It works when I use it for water for anything else (like making dough or potions), but when I drink the water from the full skin, I can't get the empty water skin to generate. Here's the section of the code I used in the items_edible.inf file:
### Full Waterskin
id=125
name=Full Waterskin
group=potion
icon=gfx\fullskin.bmp
model=gfx\bag.b3d
scale=0.3
mat=glass
weight=500
info=a full waterskin
script=start
on:eat {
drink 5,0,50,0;
alteritem 1,124:
process "drinking",1000;
}
script=end
Item 124 is the empty skin. I used the bag model for the 3D because I don't know how to make my own 3D graphics for this.
Can anybody suggest something else to try? Keep in mind that I'm not a programmer (the last thing I programmed was a GPA calculator in college and that was in Pascal... I'm old).
Thanks in advance.