removing items from the shops

正在查看此主题的用户

Javolenus

Recruit
Hi There,

Please forgive a basic question from a new boy. Basically, I'd like to ask: what's the best way of removing items from the marketplaces? I'd like to remove plate armour and stuff like that. I tried remving the 'merchandise' tag in module_items but only got loads of error messages. Please could someone give me a brief (idiot-proof) step-by-step guide to removing items from the shops? Sorry to ask, but I'd appreciate help on this. Thanks in advance for replies.

 
The simpliest and only one way is to delete item's tag "merchandise", but it's weird that you have some errors. Could you post code of item, please? And what messages did you get?
 
Kolba 说:
The simpliest and only one way is to delete item's tag "merchandise", but it's weird that you have some errors. Could you post code of item, please? And what messages did you get?

Hi Kolba,

Many thanks for this reply - much appreciated.  I tried deleting the "merchandise" tag from module_items but when I updated the module I got error messages relating to 'unexpected indent' - or something like that - and so I'm assuming that I made some mistake while deleting. I wonder, could you possibly post an example of what it should look like when you delete the "merchandise" tag? Then I could learn from your example and edit the file correctly. Many thanks for your help!
 
You probably have spelling error in your code. Post item code here, and I'll check this out.
 
Kolba 说:
You probably have spelling error in your code. Post item code here, and I'll check this out.

Hi Kolba,

Thanks for this. OK, I tried again and this time it worked - I must have made errors before, but this time I just removed the "merchandise" tag as you suggested and it worked fine. Thanks again for your help - much appreciated.
 
Changes to module_items require the build_module to be run twice. The first run will give errors, the second run none.
I think it has to do with ID-ing items.
At least this is true when adding items.
 
Zathan 说:
Changes to module_items require the build_module to be run twice. The first run will give errors, the second run none.
I think it has to do with ID-ing items.
At least this is true when adding items.

Hi Zathan,

I'm really glad you told me that. Now things are beginning to make more sense! Thanks very much - I'm indebted to you. All the best.
 
后退
顶部 底部