babaissarkar / WISh

War of Legends Inventory System addon (WISh)
Other
1 stars 0 forks source link

Feature: add "Transmute" option to Item Stats to "alchemized item to gold" and give side `gold_value` gold. #20

Open knyghtmare opened 2 weeks ago

knyghtmare commented 2 weeks ago
babaissarkar commented 2 weeks ago

So from the title, you just need a button on the item stats dialog, clicking which removes the item and adds equivalent amount of gold to that side, right?

knyghtmare commented 2 weeks ago

So from the title, you just need a button on the item stats dialog, clicking which removes the item and adds equivalent amount of gold to that side, right?

Yeah, like this. And maybe a gold coins sound and a chat log message like "item_name has been transmuted to gold_value gold pieces" and update player.

I feel like this can be the one of the first pieces of an RPG campaign I got in the shelf.

babaissarkar commented 3 days ago

Specifying gold_value key inside the [object] activate the Sell button in inventory and shows the price in Item Stats dialog. Screenshot from 2024-09-12 08-30-31 Screenshot from 2024-09-12 08-30-16 Screenshot from 2024-09-12 08-30-43

@knyghtmare Can you supply an audio file for the selling sound effect? Just commit it to main and reference this issue in the commit heading.

knyghtmare commented 1 day ago

Can you supply an audio file for the selling sound effect? Just commit it to main and reference this issue in the commit heading.

Using the core sound gold.ogg as it seems to be the intended sound effect.