Socket
Book a DemoInstallSign in
Socket

att-liquids

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

att-liquids

Create custom liquids with ease.

latest
Source
npmnpm
Version
1.2.2
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

ATT Liquids

build status npm version peer dependency node version typescript version license contributor covenant v2.0 adopted

Makes it easier to create custom liquids in A Township Tale using save strings.

⚠️ This library has a peer dependency on att-string-transcoder. You must manually install this peer dependency in your project in order to use att-liquids.

:sparkles: Quickstart

Installation

Add this library to your project's dependencies:

npm install --save att-liquids

Usage

import { Liquid } from 'att-liquids';

const liquid = new Liquid('Potion_Medium');

liquid
  .setColor('#2a455800')
  .setVisualAppearance('VisionStewCooked')
  .addEffect('Feed', 2)
  .addEffect('Heal', 10)
  .addEffect('Nourish')
  .addEffect('SpeedIndirectEffect', 5)
  .addVisualChunk('Salt')
  .addVisualChunk('BabuCooked')
  .addVisualChunk('TomatoCooked')
  .setServings(42);

liquid.print();

Read the API Reference Documentation for more options.

:bow: Attribution

This project would not be possible without the knowledge revealed and shared by poi. :blue_heart:

FAQs

Package last updated on 12 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts