I am looking for a script which would allow me to limit the number of a couple of pieces of armour in a shop. I have found Napoleon's script, but that only limits Items, not armour or weapons.
Does anyone know if such a script exists?
Thank you.
I usually do this by putting the one time (or limited time) buys in a separate menu, then having the player buy those this way. for a shop, you could do it by a "Do you wish to see my selection" text, then a show choices (Yes, no, specials), and putting the one time items under special. So far its worked for me at least.
I dont think one does exist. I had to write one privately for someone a while back. 🙂 (that was for ace though)
@Dekita
Oops this is in the wrong forum, it should be in Ace. I'll have to get it moved.
@bgillisp
Unfortunately for the way the story works at this point, it needs to be in the same shop menu as everything else, it doesn't make sense to put it separately.
Hmmm...I'm not sure I follow the logic here. Why can't a merchant offer a special item that is a one time sale that you select somewhere else outside of the main shop menu? I can't think of any reason a merchant wouldn't be able to do that.
Because it's not a merchant, and it's not a normal shop. The mechanic goes like this (bearing in mind that most of this won't make much sense without the full story context)
You speak to the Abbot, long cut scene
At the end, he gives permission for a couple of the monks "to share the work of our hands."
One monk - the one in charge of ensuring the community has all the clothes that it needs - sells armour-type gear.
You speak to him, he notices that you have a dog with you, tells you to wait and goes off. Comes back, explaining that they used to keep a guard dog and "never throw anything away" is his motto.
He now has not only the clothes, but also these one-off items that used to belong to the guard dog.
(A reason something like this is needed to explain how come you can buy stuff for a Dog of War. It's not the sort of thing you would normally find in a shop.)
To me it doesn't make sense to have them in a separate menu. I also have to allow for players who have been a bit profligate with their money and who therefore might not have enough to buy everything they want at this stage. They will come back, and again it doesn't make sense to me for these items to be separate.
Hmmm....the (non-scripting) answer I see to that is have you talk to monk x for those one off items, bought via a show choices menu. Though that caps you at 4 items max (without another script), and you would need a switch to keep track of what is bought already (and it gets more convoluted if you don't want the already bought items to show in the menu).
I'm sure I've seen a shop inventory script somewhere though, let me see what comes up when I search more.
Can anyone help out here with this?
thanks.
Galv made an advanced shop scene. I think, he made stock options too in it.
It was a while ago when I checked it, so I might be wrong.
I've had a look, and it seems to be purely for adding extra graphics or changing them, rather than what I'm looking for. But thank you for the suggestion.
I made a similar script as a paid commission which unfortunately I can't give you because it was done for a specific game, but I should be able to modify it a bit. I'm working on another script at the moment (What kind of script? IT'S A SECRET) but once I get some time I'll see what I can do.
Thank you. Could you pm me with an indication of what the fee would be?
Thanks.
Ah, I had misread that description. I thought it was only those items which you had sold to the shop which were added, I hadn't realised you could add limited amounts yourself.
Thank you for clearing that one up. I shall go away and have a solid read of it instead of skimming it.
EDIT
Hmm, actually it does a vast amount of things, and overwrites most of the default shop script, which is not what I want. From my reading of it, it is all or nothing, so I think it will have to be nothing.
I think I shall have to go for commissioning what I need
But once again, Sixth, thank you for your time and trouble.
Closed due to OP's request.