Skip to content

hotdogking2007/invenjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

invenjs

javascript inventory system library

example

#1.

var inven = require("./invenjs.js")


var test = new inven.inven("asdf"); //your filename
test.push("sword","1","100", 1);
test.add_ability("sword", "damage", 1650)
test.push("grass","2","10", 70);
test.add_ability("grass", "upgrade", 0);
test.push("potion","3","10",5);
test.set_count('add', "potion", 109);
console.log(test.get_data_string());
test.write();
test.print();

About

javascript inventory system library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published