How to block the marketplace for one of the players?

Level 4
Joined
May 10, 2024
Messages
24
Hello!

1717876747649.png


I want to manage items and units in shop during the game. Based on my research the only way to do it is by using marketplace with Neutral Building - Add functions.
  • Neutral Building - Add Tome of Strength +2 to Shop1 with 1 in stock and a max stock of 5
At the same time I don't want to let players to buy items from shop of other players. If player 1 have shop(marketplace) than Player 2 should not be able to buy from it. But marketplace allows to buy to all players on the map. My shop config on the picture below.

1717876683121.png


Any ideas?
 
Level 25
Joined
Aug 29, 2012
Messages
1,101
I've ran some tests and "Sell Items" might be the culprit, because if you look at buildings like Arcane Vault (I assume that's what you originally based it on), it doesn't have that ability but 1/ can still sell items and 2/ prevents the enemy from using yours

I assume sell items for things like the goblin merchant that everyone can access
 
Level 4
Joined
May 10, 2024
Messages
24
Without "Sell Items" engine does not let to add/remove items from the shop through triggers. So Neutral Building - Add will not work.
 
Top