Controling merchants and quartermaster prices...

nadeauhugo

Author of FOT mod THE SUM
Modder
Hi there!

I am wondering if there might be a HEX way to control merchants and quartermaster prices, means to determine a possible global price reduction that could go as far as 100% for barter, gamble and quartermaster, especially quartermaster.

I am asking this because I noticed a few months ago a big problem with my mod (The Sum) that I didn't anticipate and now creates me some trouble. There is even a guy that made a video presenting the mod in spanish (I think) and the problem is clearly appearing there, because it comes from a very intuitive thing to do... And I don't want to fight intuitive thinking at all...

Here it is: My game contains a cooler which is in fact the Quartermaster, used to summon any possible object in the game (from fish freshly catched to water, milk, kombucha, meat and so on). The problem is that everyone tries to put other food and drinks to it (to keep them fresh you know...), and when they want to take them back, they have to PAY or BARTER in order to get the stuff back! So, I would love to be able to remove all prices from the Quarter master, even the price indicator, and have him be free all the time...

That could even come in handy for some people, as you could determine that, in your mod, stuff are more or less expensive, depending the way you see it.

Please put that on your to-do-list if you can HEX edit and... thank you!!
 
Hi! I don't know if that could really help here, but as I realise I really need this feature for my mod (always free items at quartermaster), and that this HEX edit should benefit about only me, I thought I could give a Christmas gift to whom may find a HEX solution to it, that I could incorporate to FTSE.

So here is the gift: The game of your choice on Steam! :D Who is up for the challenge?

Just find a way to get quartermaster always free, and hide the price number under the items if that is feasible (that will be MY Christmas gift) and I will give YOU your dream game for Christmas! :D Yessss!
 
I think this FTSE patch will do it:

{
"name": "Quartermaster is free",
"apply": "true",
"changes": [
{
"offset": "5542dc",
"patch": "ee9090"
}
]
},

This zeroes out all prices in the trade window when the NPC has the isQuartermaster flag set. I'd recommend not allowing gambling with any quartermaster with the patch enabled, but it'd be kind of pointless to do that anyway. And I've only done fairly basic testing, so let me know if there's any odd side effects.

Hiding the price display is more tricky, I'll need to learn a bit more about the UI classes in the game. It's on the list, but it will take me a while to get there.

And no gift is necessary - unless it's more free time. A babysitter, maybe? (Kidding :) )
 
HA! My champion again. It works! :D I guess I will have to make you some more statues haha! That will makes a big difference in my next version, thank you so much. Now that feature really make more sense.

Tell me if you change your mind for the game! And yeah maybe I should send you a Mr Handy babysitter instead, that would really do the trick :D
 
Back
Top