Oooh okay okay I get it! That looks perfect for the kind of thing I'm trying to do xD
tho I'm still not sure how I can do it,
for example, I have my categories, lets say they go like this,
0-100 = Common
100 - 200 = Rare
200 - 300 = Epic
300 - 400 = legendary
etc etc.
I can tag the rarity and it would directly enter the specific category?
Cause right now what I have on my 300+ items is just a description, not a real item category.
They all seperately go like this:
ON=@Create
Attr=attr_magic
Hitpoints={500 600}
Color=0
ON=@Click
if (<attr>&(attr_identified))
Color=02cb
src.sysmessage @041 Item Category: Uncommon
src.sysmessage @041 Rarity: 60
src.sysmessage @041 Weapon Speed: 56
message @041 Swift Pitchfork of Ruin
Return 1
endif
ON=@Equip
if !(<attr>&(attr_identified))
src.sysmessage You can't use this item until it is identified.
return 1
endif
ON=@Dclick
if !(<attr>&(attr_identified))
src.sysmessage You can't use this item until it is identified.
return 1
endif
So, in other words, everything is set as sysmessage, just for show. You know what I mean?
I might be 'walking around the pot' a little bit, srry about that xD
I'm just trying to fully understand what I'm doing instead of copy paste what everyone tells me to write xD
Thanks guys !
Wow.. I just kept reading the script you wrote and woaaah, I get it even more,
so I thougt about doing five different events, one for each category, so I'd like to know:
Lets say my item is meant to be in the rare category, I'd like to do something like, if I set a number
between 100-200 in the TAG0.Rarity, it will be part of the rare item category,
so the name and the info will also avec the category color