Shop Menu Core (YEP) BUG

Roult

Veteran
Veteran
Joined
Oct 25, 2015
Messages
33
Reaction score
3
Hello everyone,

I use the plugin of SRD "Sell Only Shop", the problem is that there is an incompatibility with the plugin of Yanfly "shop core".
He considers the sale of my items as purchases in the display.

1589652692341.png
"Vendre" = "Sell"


Can someone help me?

Thank you
 

dwiseman57

Merchant Prince Digital
Veteran
Joined
Jun 29, 2014
Messages
40
Reaction score
1
First Language
English
Primarily Uses
N/A
I also would like to know how to fix this. I need a "sell only shop" that ideally uses Shop Menu Core
 

dwiseman57

Merchant Prince Digital
Veteran
Joined
Jun 29, 2014
Messages
40
Reaction score
1
First Language
English
Primarily Uses
N/A
I fixed it!
Change line 146 from

Code:
this._numberWindow.setup(this._item, this.maxSell(), this.sellingPrice());
to

Code:
this._numberWindow.setup(this._item, this.maxSell(), this.sellingPrice()*-1);
Now it basically multiplies the number by -1 so instead of deducting the total, it adds
 

Roult

Veteran
Veteran
Joined
Oct 25, 2015
Messages
33
Reaction score
3
Thank you for your answer,

I found a solution by modifying the yanfly plugin as follows:

1594231722424.png


2 answers are better than one :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Quexp wrote on Shaz's profile.
I absolutely love your profile/pic! :kaoluv:
Stream will be live shortly with some Darkest Dungeon! Feel free to drop by!
I made a battle results screen for my minigame.. any feedback? :)
Things I thought would never happen but just did: I needed to use my snow shovel. In August. In the Northern Hemisphere.
So I finished Cupcake, now I need to figure out my next project!
Do I pick up one of my incomplete games?
Do I start something entirely new???
The possibilities are endless!

Forum statistics

Threads
100,682
Messages
978,385
Members
132,308
Latest member
Amarina
Top