
isn't Dastgir said that ? itemInfo.lub will overwrite EventIdNum2ItemDisplayNameTable
- This file is loaded before itemInfo, so if you have same item in itemInfo, resname and displayname will be overwritten with one on itemInfo, while both Description will appear one below one.
I have new results, take a look at my previous post @AnnieRuruUnfortunately also still the same as Author
data/EventIdNum2ItemDescTable.txt
2102#
This extra line is added by AnnieRuru
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#
2102#
This extra line is added by AnnieRuru
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#
data/EventIdNum2ItemDisplayNameTable.txt
2102#TEST ONLY#
2102#TEST ONLY#
it looks like adding new line instead of overwriting the value
this trick seems to be very useful for adding custom items though, but ... overwrite existing items ?
why we have different result ?

if you want to add the slot on the item description you should add it on ROfolder/system/iteminfo.lua which is stated of sir X-ecutionner on how, if you want to read inside your grf. follow the guide the last post from X-ecutionner on how to add item from the old ways. then instead making the itemslot slotCount: 1; use DESCS.SlotCount, so the client will read the the data from your grf.Thank you for this start of the trail, I will explore it and see what comes out of it!

I mean you need to coding this function in iteminfo.lub like this.
Why?
For make iteminfo read slot from lub and read others from txt.
Or up to you, This is just an introduction.
View attachment 6486
if you want to add the slot on the item description you should add it on ROfolder/system/iteminfo.lua which is stated of sir X-ecutionner on how, if you want to read inside your grf. follow the guide the last post from X-ecutionner on how to add item from the old ways. then instead making the itemslot slotCount: 1; use DESCS.SlotCount, so the client will read the the data from your grf.
two ways actually
either you add your item description in iteminfo. or make a itemslotinfo.txt inside your grf.
sorry for my bad english.! please enlighten me if im wrong base on my understanding.
We use essential cookies to make this site work, and optional cookies to enhance your experience.