Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: Equip Optimize By Price
- Original author: ovate
- Original date: January 22, 2019
- Source thread: https://forums.rpgmakerweb.com/threads/equip-optimize-by-price.104785/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)
Summary
Mano_EquipOptimizeByPrice - Version 1.0.0 (2018/06/22) Creator name: Sigureya Overview Optimize equipment by price with a note tag
Archived First Post
Mano_EquipOptimizeByPrice - Version 1.0.0 (2018/06/22)
Creator name: Sigureya
Overview
Optimize equipment by price with a note tag
Feature
Change the price of performance for optimize.
Higher performance of the equipment, the better chance it'll be selected.
How to use
Use this tag in the Weapons/Armors Note box-
<EquipItemPerformance:5000>
If the price is set to 0, it will not be selected through optimize.
When this tag is set, it is evaluated with numerical value by price.
Credit and Thanks: Sigureya
Terms of Use- Free for commercial and non-commercial use.
License - MIT License: http://opensource.org/licenses/mit-license.php
You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/carxc5u3rw0t8ln/Mano_EquipOptimizeByPrice.js?dl=1
Creator name: Sigureya
Overview
Optimize equipment by price with a note tag
Feature
Change the price of performance for optimize.
Higher performance of the equipment, the better chance it'll be selected.
How to use
Use this tag in the Weapons/Armors Note box-
<EquipItemPerformance:5000>
If the price is set to 0, it will not be selected through optimize.
When this tag is set, it is evaluated with numerical value by price.
Credit and Thanks: Sigureya
Terms of Use- Free for commercial and non-commercial use.
License - MIT License: http://opensource.org/licenses/mit-license.php
Code:
//=============================================================================
// Mano_EquipOptimizeByPrice.js
// ----------------------------------------------------------------------------
// Copyright (c) 2018-2018 Sigureya
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
// ----------------------------------------------------------------------------
// Version
// 1.0.0 2018/06/22 Initial release
// ----------------------------------------------------------------------------
// [Twitter]: https://twitter.com/Sigureya/
//=============================================================================
/*:
* @plugindesc Optimize equipment by price with a note tag
* @author Sigureya( https://twitter.com/Sigureya/)
*
* @help
* This plugin- change the price of performance for optimize.
* Higher performance of the equipment, the better chance it'll be selected.
*
* Code is based on Game_Actor.calcEquipItemPerformance (), may be less conflict.
*
* Use this tag in the Weapons/Armors Note box
* <EquipItemPerformance:5000>
* If the price is set to 0, it will not be selected through optimize.
* When this tag is set, it is evaluated with numerical value by price.
*
*
*/
(function(){
"use strict";
/**
* @returns {Number}
* @param {RPG.EquipItem} item
*/
Game_Actor.prototype.calcEquipItemPerformance = function(item) {
const EquipItemPerformance = item.meta.EquipItemPerformance;
if(EquipItemPerformance){
return Number(EquipItemPerformance);
}
return item.price;
};
})();
You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/carxc5u3rw0t8ln/Mano_EquipOptimizeByPrice.js?dl=1
Features Mentioned
- Change the price of performance for optimize.
- Higher performance of the equipment, the better chance it'll be selected.
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
Credit and Thanks: Sigureya Terms of Use- Free for commercial and non-commercial use. License - MIT License: http://opensource.org/licenses/mit-license.php Code:
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
2
views
Topic Summary
Loading summary...