loki79uk / FS19_PlaceableSellPoints

Mod for FS19. Please download latest release below.
0 stars 1 forks source link

Restriction in the number of goods #3

Open Gonimy-Vetrom opened 3 years ago

Gonimy-Vetrom commented 3 years ago

Hello. Is it possible to limit the number of purchased goods in the trigger? For example, create sales points with NPCS names. Place them near residential buildings. And sell at high prices potatoes, eggs, milk, carrots with these residents. But they don't need much! For example, some quantity once a day or once in the season (if play with the seasons). Is it possible to implement?

loki79uk commented 3 years ago

I think it is certainly possible. Each sell point would need an internal counter for the amount sold of each fill type and then we could define the maximum amount and how often it is reset in the xml file. If no amount or reset time is defined, then it would not change the behaviour from how it is now. I will look to add something like this in a future update.

loki79uk commented 3 years ago

How much (volume) do you think should be sold in a single day to make it worth the effort? And how much higher do you think the price should be?

I am planning a simple message like: "No more 'fill type' needed today, please come back tomorrow!".

Gonimy-Vetrom commented 3 years ago

I think the price should be somewhere 1.5-2.5 depending on the goods. (Delivery to the house, these are additional transportation costs). With the volume to solve it difficult :) Wheat, for example, up to 5000-7000 l. Carrot up to 1000l. Maybe the parameter must also be configured by the user (within reasonable limits).

loki79uk commented 3 years ago

Would you prefer/mind a limit to the 'opening' hours, so, for example, you could only sell during daylight hours? It helps to solve the problem of selling at exactly the time when the delivery counter is reset!

Gonimy-Vetrom commented 3 years ago

I think it is logical. People also want to sleep. :)

loki79uk commented 3 years ago

Sorry it took a long time - I still have some things to work out, but there is a useable version to test if you would like to create your own templates and see if it works how you expected!

Gonimy-Vetrom commented 3 years ago

Excellent. I will test it

loki79uk commented 3 years ago

It will not reset over night (although a message will pop up). And it will not persist over save games, but those are the two main things left to do (I think).

Gonimy-Vetrom commented 3 years ago

Managed to adapt the file to sell its products: milk, cheese, butter. It works. Thank you so much The pop-up appears at night. But products can be sold in any quantity. As you said.