Allows you to decode A Township Tale's save strings for analysing, and encode JS objects into ATT save strings for spawning.
Join the ATT string creators community for sharing and troubleshooting strings built with ATT String Transcoder.
Add this library to your project's dependencies:
npm install --save att-string-transcoder
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.