Created
May 9, 2017 18:59
-
-
Save krusynth/c336a7201ef67b8c3ee097c4dbbbc9d5 to your computer and use it in GitHub Desktop.
A plugin for RPG Maker MV to allow airships to interact with events.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//============================================================================= | |
// Airship Events | |
// Version: 1.0.0 | |
//============================================================================= | |
var Imported = Imported || {}; | |
Imported.Kru_AirshipEvents = "1.0.0"; | |
//============================================================================= | |
/*: | |
* @plugindesc 1.0.0 Allows airships to interact with events. | |
* | |
* @author Krues8dr (krues8dr.com) | |
* | |
* @help | |
* ================================================================== | |
* Information | |
* ================================================================== | |
* | |
* By default, RPG Maker MV doesn't allow Airships to interact with | |
* events – this plugin removes that limitation. | |
* | |
* Note that you'll have to create special handling for dealing with | |
* transfers (e.g. entering towns, etc.) for airships to use this as | |
* expected. The easiest way to achieve this is to add to your event | |
* a Conditional Branch for Vehicle: Airship is driven and move the | |
* transfer into the Else clause. | |
* | |
* Terms & Conditions | |
* This plugin is free for both non-commercial and commercial use. | |
*/ | |
var Kru = Kru || {}; | |
Kru.AE = {}; | |
Kru.AE.Game_Player__canStartLocalEvents = Game_Player.prototype.canStartLocalEvents; | |
Game_Player.prototype.canStartLocalEvents = function() { | |
return true; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment