SRL Archive - Reflection Help

GroundItem Name Field


kitchenrange

2011-02-14 00:22:23

I could have sworn GroundItems used to have a name field. If not, they should probably be added.

mormonman

2011-02-14 00:35:47

From: kitchenrange
I could have sworn GroundItems used to have a name field. If not, they should probably be added.


It is in the ItemDef class and only 64 items are cached at a time. Method can correct me if I'm wrong but the only time the cache is refreshed is when a new 104x104 area is loaded or when you mouse over a ground item(at least that is how it is with the ObjectDef). If this is the case then there is no point adding it.

kitchenrange

2011-02-14 10:21:10

I see, I guess I was thinking of Inventory Items. I just made an array of names for my script. Maybe I'm going crazy.