fvtt-loot-sheet-npc-5e icon indicating copy to clipboard operation
fvtt-loot-sheet-npc-5e copied to clipboard

Option to disable "Buy a Stack"

Open Zarhog opened this issue 3 years ago • 4 comments

The buy a stack feature seems to cause more damage in my games than good things, could you please add an option to disable this button by hiding it.

Zarhog avatar Aug 08 '21 12:08 Zarhog

I second this request! Either a popup to confirm their decision, a window to specify how many from the stack they wish to purchase, or an option to hide that button entirely would be greatly appreciated. I've had to fix my click-happy players mistakes too many times lately -__-

GameCrazed avatar Aug 23 '21 22:08 GameCrazed

I wholeheartedly agree. This is just one of those things where a group of otherwise smart people can't seem to avoid the wrong button.

MelvinMcSnatch avatar Sep 28 '21 16:09 MelvinMcSnatch

I'm not sure about how you might do this since it seems to render the buyAll button at the template level. But if you wanted a quick and dirty hack to turn this off globally.

  1. Backup your template/npc-sheet.html file
  2. Open the file in a text editor and find the line that says: <a class="item-control item-buyall" title="Buy Stack"><i class="fas fa-coins"></i></a>
  3. Change it to say this: <!--<a class="item-control item-buyall" title="Buy Stack"><i class="fas fa-coins"></i></a>-->
  4. Save the file.

Bear in mind this will be overwritten on future updates.

Cynicide avatar Oct 11 '21 23:10 Cynicide

good temp fix setting would be best

On Tue, Oct 12, 2021 at 12:46 AM Cynicide @.***> wrote:

I'm not sure about how you might do this since it seems to render the buyAll button at the template level. But if you wanted a quick and dirty hack to turn this off globally.

  1. Backup your template/npc-sheet.html file
  2. Open the file in a text editor and find the line that says:
  3. Change it to say this:
  4. Save the file.

Bear in mind this will be overwritten on future updates.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jopeek/fvtt-loot-sheet-npc-5e/issues/173#issuecomment-940522026, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASG2HQVTSGJOYMIJWU4RUZTUGNZLXANCNFSM5BYOG55A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Dylan McLean

Zarhog avatar Oct 12 '21 01:10 Zarhog