Shop Menu Core (YEP) BUG

Roult

Veteran
Veteran
Joined
Oct 25, 2015
Messages
34
Reaction score
4
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
34
Reaction score
4
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

12 done, 4-5 started. Now that the weekend is over, things will sloooowwwww down again proabably.
when you're completely done with someone's crap lol...
Ami
--- Survival For RPGist Part 3 ---

F.Healer: Here it is,I made the Simple Sandwich
Survivalist
: it's so Delicious!
Chef: Here you Go! My Gourmet Steak.
Survivalist: It's Super Delicious,Too!
F.Mage: I Made it for you!
F.Healer: Uhh...Charcoal?
F.Mage No,It's a Toast!
Chef: Did you Let it in 10 Minutes?
F.Mage: Maybe?

Forum statistics

Threads
103,033
Messages
996,817
Members
134,507
Latest member
juegostudios
Top