Columns for materials and candidates for reforge.
That's the default: those windows inherit from
Window_ItemList, which is defined with 2 columns.
This might work to override whatever plugin you've used to change that (untested!):
Spoiler: plugin code (separate add-on plugin)
JavaScript:
/*:
* @target MZ
* @plugindesc Feature patch for launch plugin ItemCombineScene.
* @author Caethyril
* @url https://forums.rpgmakerweb.com/threads/164922/
* @base ItemCombineScene
* @help Free to use and/or modify for any project, no credit required.
*/
;void (() => {
'use strict';
/** Patches to apply. */
const PATCHES = Object.freeze([
() => { C._materialWindow.prototype.maxCols = function() { return 2; }; },
() => { C._candidateWindow.prototype.maxCols = function() { return 2; }; }
]);
/** Non-conflicting identifier for scene constructor. See {@linkcode C}. */
const $ = Symbol();
/**
* Storage for extracted constructor references.
* See {@linkcode fetchConstructors}.
*
* Could alternatively just promote them all to
* global scope (tiny risk of conflict). E.g.
* ```
* globalThis.Scene_ItemCombine = C[$];
* ```
*/
const C = {
/** `Scene_ItemCombine` */
[$]: null,
/** `Window_Candidate` */
_candidateWindow: null,
/** `Window_MaterialItem` */
_materialWindow: null
};
/** Populates and freezes {@linkcode C}. */
const fetchConstructors = function() {
Scene_Menu.prototype.commandCombine();
const sc = SceneManager._scene;
C[$] = sc.constructor;
for (const k of Object.keys(C))
C[k] = sc[k].constructor;
Object.freeze(C);
SceneManager.pop();
};
/** Applies all patch functions in {@linkcode PATCHES}. */
const applyPatches = function() {
for (const f of PATCHES) f();
};
// Set up plugin on game boot.
void (alias => {
Scene_Boot.prototype.start = function() {
fetchConstructors();
applyPatches();
alias.apply(this, arguments);
};
})(Scene_Boot.prototype.start);
})();
[Edit: ah, no, I don't think this will work, since we need to wait for the scene to be created before we can access instance properties. Maybe by hooking into
SceneManager.onSceneCreate. But it's a messy enough approach as it is.
😴]
This would require more work: I'm not promising to help with that. I suggest you provide a mock-up, e.g. fake/edited screenshot, of how the price should display. Maybe also clarify how you expect to specify the price for each recipe.
Alternatively, you could post in
Plugin Requests and list
everything you want your crafting system to be able to do. Maybe the perfect plugin for your game already exists and you just don't know it! Again, mock-ups can be very helpful.
Another option is to rework the design of your game system, e.g. assume the cost is covered by remains from excess materials, or make multi-stage recipes using high-value components.