Hime-Works / Requests

Bug reports and requests that may require longer discussions and is not suitable to leave on the blog
http://himeworks.com/
GNU General Public License v2.0
7 stars 9 forks source link

Shop Manager - Misc... #315

Open Roguedeus opened 8 years ago

Roguedeus commented 8 years ago

Just saw your tweet about your shop stock! What you've done alone will make my build sooo much easier to balance. (You can talk with almost everyone you meet and trade with more than half them)

I was wondering if you intent to add limited shop wallets? That way the shop can't buy everything your wanting to sell. possibly with a set restock for the wallet as well as items.

If its not to time consuming, do you think it would be possible to restrict a shop to only buying certain goods? When the sell window pops up it might grey out items the shop won't buy, just like the out of stock or disabled items in the shop. This would prevent you from selling contraband to 'official' shops. Forcing you to find black market types to sell certain illegal goods!!

Food for thought.

Roguedeus commented 8 years ago

Oh... Almost forgot.

A way to bias the buy and sell prices would be great too. Some shop keepers give improved deals after a certain event or some such... Might be bound to a game variable for each buying and selling.

Kind of like a black market guy that has insane prices until you prove you're not setting them up and can be trusted. Or even a state run store that has improved prices when you become a member of the government or what not... etc...

While something like this can be done with multiple shops, it can be really cumbersome to maintain. Not to mention the lack of fine tuning the prices by a few percent each time... etc...

HimeWorks commented 8 years ago

Given the way the shop manager is set up, you could easily create a plugin that allows you to control what you can sell to a shop.

For example, you could say "Potions only" or things like that. Question is, how would you set up that kind of input?

I was thinking of creating a plugin command that says "only the following items can be sold here", followed by a shop processing list (which will be used purely for input), followed by another shop processing list which shows the normal shop.

HimeWorks commented 8 years ago

For prices, currently I've made it so that shop goods store their own prices.

Plugins could be written to change them by targeting specific goods, but it would also be pretty nice if you could set some sort of shop-wide price modifier.

For example, maybe a certain shop is holding a 50% sale and EVERYTHING it offers will be 50% off.

Roguedeus commented 8 years ago

Would you be able to flag the buy only items list as a NOT list? So it will buy anything not on the list?

Also, will there be a limited shop wallet? So it can't buy more than it has money to pay for until its reset?

Roguedeus commented 8 years ago

This might be one of your more popular plugins. I know I am going to use the crap out of it. :)

HimeWorks commented 8 years ago

I am planning to provide that as an argument for the plugin command.

For wallet, I suppose shops can carry gold as well. On Nov 19, 2015 18:44, "Roguedeus" notifications@github.com wrote:

Would you be able to flag the buy only items list as a NOT list? So it will buy anything not on the list?

Also, will there be a limited shop wallet? So it can't buy more than it has money to pay for until its reset?

— Reply to this email directly or view it on GitHub https://github.com/Hime-Works/Requests/issues/315#issuecomment-158235754.

Roguedeus commented 8 years ago

When you say that the shop can carry gold as well, do you mean that it will remember the purchases you've made and keep record of the money you paid? As well as restock with regular additions. So the more a single shop is used the richer it gets?

That could be the backbone of some pretty interesting add-on's.

HimeWorks commented 8 years ago

Basically. Shops are businesses so they should ideally practice some proper accounting.

If you give them $10000 they will be $10k richer. Minus expenses.

Of course, the money can be used to renovate, buy new stuff, hire people, and so on.

Shops can even go out of business.

Or if you decided to buy a shop.. On Nov 19, 2015 19:07, "Roguedeus" notifications@github.com wrote:

When you say that the shop can carry gold as well, do you mean that it will remember the purchases you've made and keep record of the money you paid? As well as restock with regular additions. So the more a single shop is used the richer it gets?

That could be the backbone of some pretty interesting add-on's.

— Reply to this email directly or view it on GitHub https://github.com/Hime-Works/Requests/issues/315#issuecomment-158239574 .

Roguedeus commented 8 years ago

So you are going all out on this. ;)

Roguedeus commented 8 years ago

I've been making notes of what I think I would need as I play test and add depth to Prequel. Last night I decided that the most important few feature I could use right now, would be a shop wallet and a way to assign its value to a game variable.

I am thinking that mark-ups on shop re-sales, and mark-downs on shop acquisitions, can be added at a later time, as its more important to get the core mechanic functioning. Especially since tracking mark-ups would also require that the shop remember what its acquired and re-sold. (Much more complex than a simple wallet)

Roguedeus commented 8 years ago

Also... bitSwitches.... As soon as you can decide how you're going to implement it. I can really REALLY use it asap. :)

I am hoping to have v1.01 online by morning. Just going to iron out the additions I made yesterday and play through a few times to make sure the added branches don't break.