Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
Icecreamdudes committed Aug 3, 2024
1 parent 9e7b2ff commit 789498f
Showing 1 changed file with 64 additions and 3 deletions.
67 changes: 64 additions & 3 deletions js/lore.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ addLayer("lo", {
canClick() { return true },
unlocked() { return true },
onClick() {
layers.c.startCutscene1();
player.tab = "c"
player.c.cutscene1 = true
},
style: { width: '100px', "min-height": '50px' },
},
Expand Down Expand Up @@ -70,6 +67,70 @@ addLayer("lo", {
},
},

tabFormat: [
["row", [["clickable", 1]]],
["microtabs", "stuff", { 'border-width': '0px' }],
],
layerShown() { return player.startedGame == true }
})

var tree = [["in"]]
addLayer("los", {
name: "Lore", // This is optional, only used in a few places, If absent it just uses the layer id.
symbol: "L", // This appears on the layer's node. Default is the id with the first letter capitalized
row: 1,
position: 0, // Horizontal position within a row. By default it uses the layer id and sorts in alphabetical order
startData() { return {
unlocked: true,
}
},
automate() {
},
nodeStyle() {
},
tooltip: "Portal",
color: "white",
update(delta) {
let onepersec = new Decimal(1)
},
branches: ["branch"],
clickables: {
1: {
title() { return "<h2>Return" },
canClick() { return true },
unlocked() { return true },
onClick() {
player.tab = "lo"
},
style: { width: '100px', "min-height": '50px' },
},
},
bars: {
},
upgrades: {
},
buyables: {
},
milestones: {

},
challenges: {
},
infoboxes: {
},
microtabs: {
stuff: {
"Story": {
buttonStyle() { return { 'color': 'white' } },
unlocked() { return true },
content:
[
]

},
},
},

tabFormat: [
["row", [["clickable", 1]]],
["microtabs", "stuff", { 'border-width': '0px' }],
Expand Down

0 comments on commit 789498f

Please sign in to comment.