Forum:Possible new way of implementing item values for shopkeepers

From Drunkapedia
Jump to: navigation, search
Forums: Index
General
Forum:Possible new way of implementing item values for shopkeepers


I have been experimenting with various ways of making the shopkeeper inventories easier to fill out and I think I've come up with something that will work reasonably well and won't break any existing pages. Basically it would add an optional 3rd parameter to the row template that would be the price modifier. This way we could maintain a list of most items with their face value and a dummy value for the modifier. Then when pasting onto the NPC page, you'd do a find and replace for the dummy value and replace it with that NPC's modifier and it would then display the actual for sale price. If the modifier is 1.0 or absent (as is the case with existing usages, it would not modify it and just display whatever the 2nd parameter value is.

For example the following would display the value as 700, 140% of the face value of 500p:

{{Inventory Item | Al-Arqas Portal Gem | 500 | 1.4 }}

--How often to wash makeup brushes? ,<a href=http://cheap-macmakeupor.webs.com/#38275>wholesale mac makeup</a> ,,http://clarisonicmia2us.webs.com/#18392 18:43, November 1, 2009 (UTC)

sounds nice. But, I'm not entirely sure it is needed. Honestly, once we have the vendors done for say, Holt/Shoushi/Yaraq + Arwic/Tou-Tou/Khayyaban, we'll already have full inventory listings that we can just copy and paste, since all town vendors of the same heritage sell pretty much the same stuff and at the same rates.

I'm not saying it wouldn't be a useful addition though. If for example turbine changes the rates of some vendors, doing a quick search and replace of 1.4 to 1.5 would be a lot easier than re-entering all sell values. And it sounds like it would have been helpful when I was updating the entry for Jinmi al-Evv.

--An Adventurer 19:31, November 1, 2009 (UTC)