Roult

Veteran
Veteran
Joined
Oct 25, 2015
Messages
44
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
43
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
43
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
44
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 :)
 

Latest Threads

Latest Posts

Latest Profile Posts

New MZ Update! Subfolders for Assets, Search in Plugin Help, Map Layer Buttons | RPG Maker News #78

A little WIP I decided to drop for something coming in 10-12 hours!
9.PNG
I just did some math and... apparently what seemed to be a little fun gimmick turned out to be an 80+ actors project :kaoswt2:
Yay! the original character contest 3 pack is here!
Both MV and MZ looks very good, congratulation for both RMW and Tkool participant!
I definitely can add these characters to use for my game project.

Steam link
The worst part of game development has to be marketing. Ugh...

Forum statistics

Threads
112,481
Messages
1,068,574
Members
146,148
Latest member
JonasEichmann
Top