mylilpenguin / procurement

Automatically exported from code.google.com/p/procurement
0 stars 0 forks source link

[Feature Request] Spoiler Tag Templates #87

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Note: This is a feature request and not a bug report!

I've seen this suggestion brought up on the wiki and other places, but I 
figured it might be nice to have the request centralized somewhere.

It seems a common use of Procurement is to setup a relationship between stashes 
and buyouts. Many stores now just offer buyouts like 1 Chaos, 2 Chaos, 3 Chaos, 
etc. and, presumably, those buyouts each correspond to N number of stash tabs. 
This is easy to organize and doesn't require setting buyouts in Procurement for 
individual items. You just make the initial value assessment, drop the item 
into the corresponding buyout tab, and done.

However, this approach means you lose the wonderful organization that 
Procurement can provide. The current stash tag pulls all of the items out and 
dumps them into the spoiler with no sub-categories. This is fine if you rely 
entirely on indexers to find your items, but for casual browsing it makes it 
very hard for people to find items in your spoilers.

The best of both worlds would be the ability to create sub-templates that apply 
to specific spoilers.

*Current Tags*

[spoiler="~b/o 1 chaos"]
{Stash:1Chaos-1}
{Stash:1Chaos-2}
[/spoiler]

Here we have 2 stashes for 1 Chaos b/o items. Procurement grabs the items and 
drops them in 1 big spoiler.

*Feature Idea*
[spoiler="~b/o 1 chaos"]
{Template:BuyoutTemplate.txt}
{Stash:1Chaos-1}
{Stash:1Chaos-2}
[/spoiler]

Here was have the same 2 stashes, but this time we pass a template tag that 
uses the normal template system to organize content in the spoiler. You can 
imagine this template would look a lot like the ForumExportTemplate.txt, but 
just with the actual item spoilers/tags.

I suggest the use of additional templates only because I think it *might* make 
the change more manageable. Procurement already has a template engine, so the 
major change would be parsing additional templates. I used the example of 
buyout tags, but you could extend this functionality to allow other sorts of 
sub-templates. Perhaps something like the following might be useful to someone.

[spoiler="Triple-Res Items"]
{Template:TripleResTemplate.txt}
{TripleRes}
[/spoiler]

*TripleResTemplate.txt*
[spoiler="Helms"]
{RareHelmet}
[spoiler="Chest Armor"]
{RareChest}
...

Original issue reported on code.google.com by xyth...@gmail.com on 19 Nov 2013 at 7:48

GoogleCodeExporter commented 8 years ago
This is a good suggestion, I hadn't thought that people might want to maintain 
the sorting with buyouts, since as I saw it the main purpose was to set it up 
for indexers. 

We've already done a few improvements for the buyout system, I'll try see if we 
can add something like this.

Original comment by stickymaddness on 27 Nov 2013 at 6:51

GoogleCodeExporter commented 8 years ago
+1 on this one.  Great description.

Original comment by spiralofhope on 28 Dec 2013 at 11:34

GoogleCodeExporter commented 8 years ago
Came here looking for just this, another +1

Original comment by artsemis@gmail.com on 18 Feb 2014 at 4:21

GoogleCodeExporter commented 8 years ago
I believe that with the new buyout functionality and config that has been added 
since this suggestion was raised, that this will now be catered for.

As an example, if you set a buyout on an entire tab, it will now list all the 
priced items for that tab, in a categorized spoiler.

Original comment by stickymaddness on 10 May 2014 at 11:34

GoogleCodeExporter commented 8 years ago
Speak now or forever hold your peace, I will be closing this in a few days.

Original comment by stickymaddness on 15 May 2014 at 5:21

GoogleCodeExporter commented 8 years ago
> Speak now or forever hold your peace

I'm not sure what you mean.

I for one am still interested in having buyout-specific tabs, which can be 
seamlessly merged and auto-sorted within Procurement.

Original comment by spiralofhope on 15 May 2014 at 6:12

GoogleCodeExporter commented 8 years ago
As I said in my previous comment, I believe that with the new buyout 
functionality and config that has been added, Procurement now caters for what 
this issue is suggesting - if you set a buyout on an entire tab, it will now 
list all the priced items for that tab, in a categorized spoiler.

Original comment by stickymaddness on 25 May 2014 at 9:50

GoogleCodeExporter commented 8 years ago
Oh derp, reading comprehension fail.

If it's catered for, then close this.  It can always be re-opened later or 
referred to with another feature request if need be.

Original comment by spiralofhope on 26 May 2014 at 12:05

GoogleCodeExporter commented 8 years ago

Original comment by stickymaddness on 1 Jun 2014 at 3:19