Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*:
- * @plugindesc Allows you to set the max number of followers using numbers or JS codes.
- * @author Adiktuzmiko
- *@help To use just change the parameter "Value" to the amount or formula that you want
- Note: It is important that the file name of this plugin is FollowerAmountControl.js
- * @param Value
- * @desc The value or formula that determines your number of followers
- * @default 4
- */
- var FollowerAmount = {};
- FollowerAmount.params = PluginManager.parameters('FollowerAmountControl');
- FollowerAmount.value = FollowerAmount.params["Value"];
- Game_Followers.prototype.initialize = function() {
- this._visible = $dataSystem.optFollowers;
- this._gathering = false;
- this._data = [];
- this._max = eval(FollowerAmount.value);
- for (var i = 1; i < this._max; i++) {
- this._data.push(new Game_Follower(i));
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment