Re: [Mod] Limited Gold Shops
Posted: Sun Jan 17, 2021 3:24 pm
When you put in an item to be repaired, the cost is substracted from the Merchant's gold reserves, often putting them into negatives. Is this intended? Feels unintuitive.
Tools for Daggerfall
https://forums.dfworkshop.net/
No, if what you state is how it's happening, it's not intended and is a bug. The gold reserve should never go negative under normal circumstances, something I must have overlooked, or got bugged in a recent DFU build update, that is also possible.phantasmald wrote: ↑Sun Jan 17, 2021 3:24 pm When you put in an item to be repaired, the cost is substracted from the Merchant's gold reserves, often putting them into negatives. Is this intended? Feels unintuitive.
Yeah, that is most likely the case. I had sworn I took into account the repair system when I made the mod, but maybe that is just some false memories from having working on it quite some time ago at this point, thanks for the report though, when I get a chance i'll see about releasing an updated version, I've been distracted mostly by my overhaul project i'm currently working on.phantasmald wrote: ↑Mon Jan 18, 2021 2:27 pm That is what's happening on my end. Even tested it with a fresh, new save file with only this mod enabled to make sure it wasn't some other mod somehow conflicting and got the same result.
I checked out your code and I'm fairly certain the issue is in TradeUpdateShopGold function, at line 135 (LimitedGoldShops.cs). There should be a "|| mode == DaggerfallTradeWindow.WindowModes.Repair" there. As it stands currently, the repair event goes into the else branch at line 151, deducting gold instead of adding.
Though you prob figured this out yourself already.
It should, I created a 10.26 version and tested it way back during that version. If you have the "Inventory Filter" mod than you have to put it "Above" the Limited Gold Shops mod in the load order, otherwise it won't show up in the trade windows.
I guess the closest thing would be some of the changes made by Climates & Calories involving the taverns, but outside that can't think of any at the moment. There is currently not any way to "track" in-game what shops you have invested it, but I guess you could use the notebook feature in-game and just type the name of the shop and the town it is located in. Also you could look at your save-file and see which shops are there permanently if you wanted to look at the mod save-data text file.Regnier wrote: ↑Thu Dec 09, 2021 6:32 pm I think im going to add this on my next playthrough, along with adding back non instant repairs.
I played some arena for a bit and that was something that made me explore the city, and gave purpose to it rather than a place to stop for a second.
If the notice board mod gets finished (or is it?) the gameplay loop would be dungeon-tavern/repair-take town quests-sell repaired loot-invest/restock.
Makes choosing a city way more purposeful.
This is a mod that will help make the cities feel real. Maybe something similar can be done with taverns?
also is there a way to mark which shops youve invested in?