Recettear Style Haggling

Discussion in 'JS Plugin Requests' started by orcywoo6, Jul 18, 2017.

  1. orcywoo6

    orcywoo6 Villager Member

    Likes Received:
    First Language:

    I'm currently tinkering with a little project and I'm wondering if there is a script or if someone could rustle one up that allows for the type of haggling seen in recettear. Ideally Items will have their base price and depending on your reputation/relationship with that particular customer and your skill, higher prices are able to be demanded without annoying the customer and making them leave, ideally you should get one or two failed attempts before the customer storms off. I've managed to get a simple thing working by using events but I feel like a script would be much more efficient in tracking all the different numbers required along with being able to display things such as the percentage increase over the base price.

    So far I have a simple eventing system of being able to put one or two items on a couple of tables and the npc will pick one and ask for it, you then use the number input to try and offer them a price higher than the base price.

    Anyone got any ideas?


Share This Page