• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

weapon distributor

ArMaReZ

Refugee
hello,

Do you have an idea how to create a weapon distributor, like the one who distributes food and drinks (Vending Machine) I found an alternative but it does not suit me.

 
I don't know exactly which block it is, but it must be something like cntVendingMachine.

I'd try to create a new one (in blocks.xml) and modify the TraderID to 6 for example.

Then, in traders.xml, you need to add a new trader_info with the ID you just created (6 in my example).

Finally, you can choose which items are available with the items like <item group="foodVending" />.

 
Thank you I succeeded, now I would like to replace the casinoCoin with another currency (Black Coin) and set a fixed price

 
Last edited by a moderator:
I can not change the money by something else so I did differently, thanks anyway for the ideas

@tete1805 : I can not use the SDX, we do not want players to download additional content

 
Back
Top