Hey everyone, sorry about abandoning this one, but I haven't been writing mods since I became a developer and write code for a living lol. I have given permission for a user named BobbyBleacher (they asked permission, which was very nice of them) to take it over. I didn't have all the source code, anymore, but I steered them in the right direction. so hopefully an updated version will be available soon(ish). Once there is something up, I will update the description to include a link to it!
Alas it seems the modding changes introduced in 1.6.9 and then with subsequent SMAPI updates may have finally broken the mod. The SMPAI log returns the following red text on pressing 'G' over a quality object:
[Sell Quality] This mod failed in the Input.ButtonPressed event. Technical details: NullReferenceException: Object reference not set to an instance of an object. at SellQuality.ModEntry.OnButtonPressed(Object sender, ButtonPressedEventArgs e) in C:\Users\jason\source\repos\StardewTestMod\StardewTestMod\ModEntry.cs:line 35 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in /home/pathoschild/git/SMAPI/src/SMAPI/Framework/Events/ManagedEvent.cs:line 101
heya, i'm doing a run with this mod and the ability to downgrade quality is exactly what i needed! so thanks!:D
if/when you get around to updating, could you add an option in the config to only downgrade the quality without getting gold for it? odd request i know, but i'm doing a challenge run where i only make gold from mostly artisan goods. the pennies you get from downgrading quality isn't a lot, but it can add up.
I'm really hoping the updates will come soon to this mod. I love the idea of being able to sell quality, but I'd really love to be able to rebind that G key, as I use it for another mod.
Sure. It would need to be a different keybind. That was part of Space's Magic mod, you could enchant or disenchant. I just never found myself using the enchant function so I didn't replicate it. I'll add it to the To Do list. Probably try to get it done with the next iteration, when I get a config file for changing hotkeys.
16 comments
The SMPAI log returns the following red text on pressing 'G' over a quality object:
[Sell Quality] This mod failed in the Input.ButtonPressed event. Technical details:
NullReferenceException: Object reference not set to an instance of an object.
at SellQuality.ModEntry.OnButtonPressed(Object sender, ButtonPressedEventArgs e) in C:\Users\jason\source\repos\StardewTestMod\StardewTestMod\ModEntry.cs:line 35
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in /home/pathoschild/git/SMAPI/src/SMAPI/Framework/Events/ManagedEvent.cs:line 101
if/when you get around to updating, could you add an option in the config to only downgrade the quality without getting gold for it? odd request i know, but i'm doing a challenge run where i only make gold from mostly artisan goods. the pennies you get from downgrading quality isn't a lot, but it can add up.
thanks again!(: