Toggle Plot Item

Moderators: Active Admins, Forum Moderators, Active DMs, Contributors, Suggestion Moderators

Post Reply
Stinky Dragon Podcast Enjoyer
Posts: 11
Joined: Wed Aug 07, 2024 12:34 pm

Toggle Plot Item

Post by Stinky Dragon Podcast Enjoyer »

A widget for toggling inventory items that cannot be sold, if it's possible?

Say I'd like to toggle my Very Important Dagger so that it can't be sold to a NPC vendor - or thereafter un-toggle it as able to be sold again if I'd like to sell it to the NPC vendor.

Or even to make the item valueless to the NPC vendors, perhaps?

User avatar
Sincra
Project Lead
Project Lead
Posts: 1282
Joined: Fri Oct 08, 2021 6:48 pm

Re: Toggle Plot Item

Post by Sincra »

Approved but not via the plot flag since we use or reserve that for a few niche cases.
Instead a variable that is managed as follows:

  • On trade, erase variable
  • On drop, erase variable
  • On sell, check if present, if yes cancel event
  • On examine, show if has the variable as special text.

Should be done via rest menu and/or chat command that activates a target tool for inventory items only.

Irongron wrote:I've literally never used -guard on anyone.
Post Reply