Skip to content
This repository has been archived by the owner on Sep 20, 2020. It is now read-only.

masked-rpgmaker/rpg-maker-mz-typescript

 
 

Repository files navigation

banner

Node.js Package

Introduction

This project provides type definitions for the whole MZ codebase allowing the programmer to create plugins for rpg maker MZ using Typescript.

This is a fork of Nio Kasgami's repository, but adapted to be used as an NPM dependency. All credit for the type definitions goes to Nio Kasgami and their contributors. If you'd like to support the project, please head to the original repository.

Getting Started

The project can be installed via NPM, both via the default NPM registry and the Github NPM Registry:

npm install rmmz@npm:@masked-rpgmaker/rpg-maker-mz-typescript

All types are available from the top-level module:

import { DataManager, $gameParty, Game_Character } from 'rmmz';

Alternatively, you might import each module separately:

import * as core from 'rmmz/rmmz_core';
import * as objects from 'rmmz/rmmz_objects';
// ...

Contributing

If you're interested in providing new type definitions, please give preference to doing so on the source repository from Nio Kasgami.

We'll work to integrate any new type definitions added to their repository on our side.

If you have any suggestions specific to this fork, please open an issue following our templates and/or open a pull request.

Terms of Use

Please read the license information for this repository.

About

The typescript definitions files for MZ

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 89.9%
  • JavaScript 10.1%