И Ђ=яFlame Sword
яяяяType: One-Hand Weapon
ЂяDrop: Common
яяяяDamage: 42 - 47
Ђ=яMighty Sword forged in Fire Mountains.It can be wield only by true hero.It`s power it`s so big that who cary it, suffer the flames, too.
яяChance to take 5% of each hit.
0 0 0 0 0 42 47 5
This is simple item i made for testing purposes, it`s pretty much descriptions and word can open it, but i don`t care because messing with it in word make it imposible to work in the game.
This is the code of the program i writed to make the item.Not very advanced for now.
sync on : sync rate 0
backdrop on
FileID = find free datafile()
ItemID = 1
Filename$ = "Item"+str$(ItemID)+".itm"
while file exist("Item"+str$(ItemID)+".itm") = 1
inc ItemID
Filename$ = "Item"+str$(ItemID)+".itm"
endwhile
open datafile to write FileID,Filename$
`TEXT COUNT OF ITEM DESCRIPTION TEXTS
write datafile integer FileID,5
`BOX HEIGHT
write datafile integer FileID,200
`ITEM DESCRIPTIONS,TEXT COLORS AND LINE TO DRAW THEM TO
write datafile dword FileID, RGB(61,128,0)
write datafile string FileID,"Ice Wand"
write datafile byte FileID,1
write datafile dword FileID, RGB(255,255,255)
write datafile string FileID,"Type: One-Hand Weapon"
write datafile byte FileID,3
`common RGB(128,0,0), rare RGB(192,87,255)
write datafile dword FileID, RGB(192,87,255)
write datafile string FileID,"Drop: Rare"
write datafile byte FileID,5
write datafile dword FileID, RGB(255,255,255)
write datafile string FileID,"Damage: 55 - 65"
write datafile byte FileID,7
write datafile dword FileID, RGB(61,128,0)
write datafile string FileID,"Wand made from nevermelting ice, by Wizzards of Wind once lived in winter mountains of Suri Sad.For long time forgoten, for long time lost, but posesing it`s full power still, and waiting it`s true master."
write datafile byte FileID,9
`ITEM ATTRIBUTES
`ALIGN WITH TAB ONLY!SPACE MESS THIS UP!
` STR AGG INT HP MANA MIN_DMG MAX_DMG CRITICAL
write datafile string FileID,"0 0 0 0 0 55 65 0"
inc ItemID
close datafile FileID
do
text 0,0,"Filename$ = "+Filename$
text 0,20,"ItemID = "+str$(ItemID)
`until datafile exist(FileID) = 0
sync
LOOP
I attach picture of the item.For now it read the descriptions only, which aren`t something big.It`s some random WoW item image downloaded from internet because i`m bad with the brush and i`m alone in this for now.Attributes are not loaded anywhere because i`m not that far in the project, i`m testing with my inventory system because there isn`t working engine yet.But the post above Sasuke`s is proove of concept, it works in the example it will work when i`m done with player attributes.
Where there is a will, there is a way.
I often edit my posts, that`s who i am
