AVAILABLE Have you ever wanted the option for players to turn mature or adult content ON or OFF? Now you can with my Mature Content Option plugin. In the Options window, it can be toggled on the Title Screen or in-game and alternative mature/non-mature options can be set with conditional branch event commands.
Version: | 1.0 |
Author: | Companion Wulf |
Platform: | RMMV |
Script Type: | Plugin/Enhancement |
Required: | None |
Fileseze: | 3.1 Kb |
File Format: | ZIP/JS |
Release Date: | v1.0 – 17 January 2017 |
Last Update: | 17 January 2017 |
It can be toggled ON or OFF on the Title Screen or in-game.
ConfigManager.matureContent
or
$mature.matureContent()
This will check if mature content is toggled on or off and display the appropriate contents.
As an example:
If: Script: $mature.matureContent() Text : None, Window, Bottom : Mature Content ON : Else Text : None, Window, Bottom : Mature Content OFF : End
And in scripts, you can use:
if (ConfigManager.matureContent) { // Mature Content ON } else { // Mature Content OFF };
Both $mature.matureContent() and ConfigManager.matureContent are interchangable. You can use one or both, although I’d recommend using one and sticking to it throughout.
You can use this almost anywhere that you want the mature content or to add an alternative if it’s turned off.
However, it was never finished, mostly because (at the time) I still didn’t know how how RMMV’s JS framework was structured. I finished it and rewrote it for v1.3+ and decided to publicly release it to those who need or want it in their games.
There are no additional plugin settings to change.