Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 2.18 KB

README.md

File metadata and controls

51 lines (34 loc) · 2.18 KB

ATT String Transcoder

ATT String Transcoder

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


Allows you to decode A Township Tale's save strings for analysing, and encode JS objects into ATT save strings for spawning.

⚠️ Use this library primarily when creating bots for ATT, or when building your own ATT save string project. If you just want to make string weapons, check out our ATT String Workshop project.

💬 Join the community

Join the ATT string creators community for sharing and troubleshooting strings built with ATT String Transcoder.

Chat with the ATT String Transcoder community on Discord

✨ Quickstart

Installation

Add this library to your project's dependencies:

npm install --save att-string-transcoder

Usage

import { Prefab } from 'att-string-transcoder';

const blade = new Prefab('Large_Longsword_Blade').setMaterial('Mythril');

const handle = new Prefab('Handle_Short_Cool')
  .addChildPrefab('Slot_Large_SwordType_Craft_33946', blade)
  .setKinematic()
  .print();

Read the API Reference Documentation for more options.