1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-21 16:13:55 +00:00
The-Modding-Tree/js/tree.js

20 lines
332 B
JavaScript
Raw Normal View History

2020-10-29 18:57:42 +00:00
var layoutInfo = {
startTab: "none",
showTree: true,
treeLayout: ""
}
// A "ghost" layer which offsets other layers in the tree
addNode("spook", {
layerShown: "ghost",
},
)
2020-10-30 01:49:34 +00:00
2020-10-30 01:49:34 +00:00
addLayer("tree-tab", {
tabFormat: [["tree", function() {return (layoutInfo.treeLayout ? layoutInfo.treeLayout : TREE_LAYERS)}]]
2020-10-30 01:49:34 +00:00
})