Jump to content


Photo

Restricted use

check it

  • Please log in to reply
3 replies to this topic

#1 Tsuuu

Tsuuu

    Advanced Member

  • Members
  • PipPipPip
  • 36 posts
  • Emulator:Hercules

Posted 20 March 2017 - 05:18 PM

First of all I'm sorry if you have the solution out there and did not see it, I really searched and did not find ....

I would like to ask how do I restrict a card from being equipped in a certain equipment.

For example .... I do not want the gibbet card to be equipped in the red glasses, how do I?

 

If anyone can give me at least an idea how to do this I already thank

Thank you in advance

 

 

PS: Sorry for writing mistakes, I use a translator and I think this part of the forum is a lot more productive than my native language.


Edited by Tsuuu, 20 March 2017 - 05:19 PM.


#2 Ridley

Ridley

    Advanced Member

  • Script Developers
  • 360 posts
  • IRC Nickname:Ridley
  • LocationGermany
  • Emulator:Hercules
  • Github:ridley8819

Posted 21 March 2017 - 04:27 AM

I don't think there is any default feature to do this (at least I am not aware of it). 

 

You could do a item script checking for the gear the card is compounded in, if the id is a restricted one you give the card back and a message about restrictions



#3 Tsuuu

Tsuuu

    Advanced Member

  • Members
  • PipPipPip
  • 36 posts
  • Emulator:Hercules

Posted 21 March 2017 - 06:44 AM

If not ask too much could you give me a simple example please?

 

Thank you in advance.

Thanks for answering me.



#4 4144

4144

    Advanced Member

  • Core Developers
  • 231 posts
  • Emulator:Hercules
  • Github:4144

Posted 21 March 2017 - 04:28 PM

Current implimentation only by field Loc. Loc for cars and item in bit and should be non zero. In simplest case Loc for card and item can be equal.

 

Other can be implimented in plugins.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 16 user(s)