How to remove a single item from the shop in a mod?

Your forum for all discussions around Modding.
User avatar
BloodEagle
Posts: 23
Joined: Sun Dec 09, 2018 8:38 pm

How to remove a single item from the shop in a mod?

Post by BloodEagle »

Hello fellow farmers!

I am trying to keep my server a bit more on the realistic side and there is a mod I want to install that has a refillable liquid fertilizer and herbicide tank but also includes a version of both as buyable points.

To encourage farmers to travel to the buy points on the map and bring the stuff back to their own farm and store it, I would like to make the refillable ones available and disable the ability to buy the buy-point ones from the store.

Would anyone be so kind as to tell me how to go about doing that?

Thanks ahead of time!
s8080t
Posts: 712
Joined: Wed Nov 20, 2019 9:26 pm

Re: How to remove a single item from the shop in a mod?

Post by s8080t »

Hi,

have a look at the modDesc.xml and remove the shopItems you don't want to have in the Shop.
That's the easy way, you could go further and also remove files from the mod but that's optional.
Languages: DE/EN
Plattform: PC
Meine Mods
Grünlandsuchti
IT-Spezialexperte
OpenSource-Verfechter
User avatar
BloodEagle
Posts: 23
Joined: Sun Dec 09, 2018 8:38 pm

Re: How to remove a single item from the shop in a mod?

Post by BloodEagle »

Thank you SO very much for the answer! I will absolutely look into it and see what I can do.
Post Reply