oasis-b

Docs / Core

LW_Core

Core
RPG Maker MV and MZ core plugin

Shared helpers for the Living World plugins. Place it above all other LW plugins.

Free World Pack (free)Free Battle Pack (free)Story & World Essentials ($9.99)Battle Essentials ($9.99)Full Collection ($19.99)
LW_Core in a test project

The small base every Living World plugin stands on.

Highlights

Ideas for your game

Works well with

LW_GamepadLW_SaveGuard

Introduction

Every Living World plugin needs this one. It has no settings and does nothing visible on its own, except one fix: icons are drawn from a safe copy of the IconSet, so they no longer show up blank on some Macs after the image was loaded.

Put LW_Core at the top of your LW plugins in the Plugin Manager.

Script Calls

LW.num(value, fallback)
Returns value if it is a finite number, otherwise fallback (default 0).
LW.note(object, 'Key')
Reads <Key: value> from the note box of a database entry, map or event.
Returns the trimmed value, true for a tag without value, or null.
LW.noteValues(object, 'Key')    every value of a tag used more than once
LW.noteBlock(object, 'Tag')     the text between <Tag> and </Tag>
LW.idList('3, 10 to 12')        [3, 10, 11, 12]
LW.loadOptionalImage('pictures', 'Name')
Loads an image that is allowed to be missing. MV stops the game when an
image can't be found, this one just marks it. Check bitmap._lwStatus,
which is 'loading', 'ready' or 'missing', or pass a callback to
bitmap.lwWhenReady(function(bitmap) { ... }).
LW.warn(text)
Writes a warning to the console with the prefix "LW:".

Terms of Use

See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.

Changelog

Version 1.0.0 - 2026-11-21 - First release.

Introduction

Every Living World plugin needs this one. It has no settings and does nothing visible on its own.

Put LWZ_Core at the top of your LWZ plugins in the Plugin Manager.

The MZ plugins use the same notetags, parameters and script calls as the Living World plugins for MV, so a project moved from MV to MZ keeps its notes. Plugin commands are MZ plugin commands with fields to fill in. Events that still hold the old MV text commands keep working as well.

Script Calls

LW.num(value, fallback)
Returns value if it is a finite number, otherwise fallback (default 0).
LW.note(object, 'Key')
Reads <Key: value> from the note box of a database entry, map or event.
Returns the trimmed value, true for a tag without value, or null.
LW.noteValues(object, 'Key')    every value of a tag used more than once
LW.noteBlock(object, 'Tag')     the text between <Tag> and </Tag>
LW.idList('3, 10 to 12')        [3, 10, 11, 12]
LW.loadOptionalImage('pictures', 'Name')
Loads an image that is allowed to be missing. MZ stops the game when an
image can't be found, this one just marks it. Check bitmap._lwStatus,
which is 'loading', 'ready' or 'missing', or pass a callback to
bitmap.lwWhenReady(function(bitmap) { ... }).
LW.warn(text)
Writes a warning to the console with the prefix "LW:".

Terms of Use

See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.

Changelog

Version 1.0.0 - First release for MZ.

Get it

LW_Core is in these packs. Every pack comes as an MV and an MZ download at the same price and needs no other plugin collection. Tested in RPG Maker MV 1.6.2 and MZ 1.10.0 games on Windows, macOS and Linux and in current browsers.

Free World Pack (free)Free Battle Pack (free)Story & World Essentials ($9.99)Battle Essentials ($9.99)Full Collection ($19.99)