nootils
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

The all around modchart helper that contains functions and utilities created by the community.

These scripts are designed to be used with Remapper.

Checkout examples of all the visible effects in EXAMPLES.md

Installation

In your map project folder, run the following

$ npm install nootils
# or if you use yarn
$ yarn add nootils

Usage

Nootils should be used after a map is opened by Remapper, an example can be seen down below:

import * as Remapper from 'swifter_remapper'
import * as Nootils from 'nootils'

const map = new Remapper.Difficulty("INPUT.dat", "OUTPUT.dat");

// Start of script, insert your script below this line.

Nootils.Rain(0, 20, 300) // This will add the rain effect to the opened map using magic (Remapper.activeDiff)

// End of script, insert your script above this line.

map.save();

You can import all functions Nootils provides by using the following import statement:

import * as Nootils from 'nootils'

Nootils.Rain(0, 20, 300)

If you want to use individual functions instead, you can import each function as you need like so:

import {Rain} from 'nootils'

Rain(0, 20, 300)

Contributing

As this package is community ran, we appreciate whoever commits to it.

To commit, you need the following:

  • A new function, not already in the package (just update it if it already exists)
  • A description of what the function does
  • All variables explained one by one and what they do
  • Formatted the way other functions are

All Nootils functions are documented using JSDoc allowing you to view documentation in an IDE using intellisense:

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.01latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.01
0.1.10
0.1.00
0.0.0-c1
0.0.0-b0
0.0.0-a0
0.0.01

Package Sidebar

Install

npm i nootils

Weekly Downloads

3

Version

0.2.0

License

MIT

Unpacked Size

159 kB

Total Files

75

Last publish

Collaborators

  • stormpacer