Page 1 of 1

Bugged Item - Linenfold Chest

Posted: Sat Jan 09, 2016 11:42 pm
by Poisonous
Found a bugged item in the Myconid dungeon (Sarshel graveyard). It was unable to be carried even though it didn't weigh too much.

It was listed as Bad Strref before being ID'd, and Linenfold Chest after being ID'd.

Re: Bugged Item - Linenfold Chest

Posted: Thu Jan 28, 2016 1:04 pm
by Loreweaver
This is a problem which happens with many of the non-default item types. Basically, if you want to make a new item type like CEP did for this one, you make an entry in the baseitems.2da file describing the item properties and have this point to an entry in the tlk file containing the item name. The name will be used for most things, but when it comes to the Acquired Item: ... message of an unidentified item, it gets messed up.

For example, baseitems entry 51 points to the tlk name "Rapier" while entry 311 points to "Miscellaneous Medium 2*." Both of these items give the Acquired Item: Rapier message however, and changing the tlk entry for item type 51 changes the Acquired message for both of them. In other words, it loops around instead of using the right entry number here.

It may be possible to reshuffle some of the new entries in a way that gets around this problem, but it's very likely not going to be worth the trouble of remaking all the affected items.