From 3136397c3be38c69e739568824477b692ee0affe Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Wed, 25 Dec 2024 21:29:12 -0800 Subject: [PATCH 01/17] Update mod.js --- js/mod.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/js/mod.js b/js/mod.js index 751e3dfff6..ee7d80f5e7 100644 --- a/js/mod.js +++ b/js/mod.js @@ -1,19 +1,19 @@ let modInfo = { - name: "The ??? Tree", - author: "nobody", - pointsName: "points", + name: "The glock tree", + author: "kieran1234567890", + pointsName: "bullets", modFiles: ["layers.js", "tree.js"], discordName: "", discordLink: "", - initialStartPoints: new Decimal (10), // Used for hard resets and new players + initialStartPoints: new Decimal (1), // Used for hard resets and new players offlineLimit: 1, // In hours } // Set your version in num and name let VERSION = { - num: "0.0", - name: "Literally nothing", + num: "0.3141", + name: "New beginnings", } let changelog = `

Changelog:


@@ -21,7 +21,7 @@ let changelog = `

Changelog:


- Added things.
- Added stuff.` -let winText = `Congratulations! You have reached the end and beaten this game, but for now...` +let winText = `Congratulations! You have reached the end and glock..... , but for now...` // If you add new functions anywhere inside of a layer, and those functions have an effect when called, add them here. // (The ones here are examples, all official functions are already taken care of) @@ -75,4 +75,4 @@ function maxTickLength() { // Use this if you need to undo inflation from an older version. If the version is older than the version that fixed the issue, // you can cap their current resources with this. function fixOldSave(oldVersion){ -} \ No newline at end of file +} From 8d31d5978f6822d121f486d309c674f845f37523 Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Thu, 26 Dec 2024 10:49:35 -0800 Subject: [PATCH 02/17] Update getting-started.md --- docs/tutorials/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/getting-started.md b/docs/tutorials/getting-started.md index ed3bc4860d..a2b13c31e1 100644 --- a/docs/tutorials/getting-started.md +++ b/docs/tutorials/getting-started.md @@ -43,6 +43,6 @@ The benefits of using Github: 7. Finally, at the top middle, click "push origin" to push your changes out onto the online repository. -8. You can view your project online, or share it with others, by going to https://raw.githack.com/[YOUR-GITHUB-USERNAME]/The-Modding-Tree/master/index.html. **You do NOT need to do this to test your mod locally.** +8. You can view your project online, or share it with others, by going to https://raw.githack.com/kieran1234567890/The-Modding-Tree/master/index.html. **You do NOT need to do this to test your mod locally.** And now, you have successfully used Github! You can look at the next tutorial on [making a mod](making-a-mod.md), or look at the [documentation](/documentation/!general-info.md) to see how The Modding Tree's system works and to make your mod a reality. From 9c11541ad30b8bb763c315818f60e4a3b0fd5122 Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Thu, 26 Dec 2024 10:52:08 -0800 Subject: [PATCH 03/17] Update layers.js --- js/layers.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/js/layers.js b/js/layers.js index f9488fb9b0..d92be4e740 100644 --- a/js/layers.js +++ b/js/layers.js @@ -1,16 +1,16 @@ -addLayer("p", { - name: "prestige", // This is optional, only used in a few places, If absent it just uses the layer id. - symbol: "P", // This appears on the layer's node. Default is the id with the first letter capitalized +addLayer("m", { + name: "mags", // This is optional, only used in a few places, If absent it just uses the layer id. + symbol: "M", // This appears on the layer's node. Default is the id with the first letter capitalized position: 0, // Horizontal position within a row. By default it uses the layer id and sorts in alphabetical order startData() { return { unlocked: true, points: new Decimal(0), }}, - color: "#4BDC13", + color: "#808080", requires: new Decimal(10), // Can be a function that takes requirement increases into account - resource: "prestige points", // Name of prestige currency - baseResource: "points", // Name of resource prestige is based on - baseAmount() {return player.points}, // Get the current amount of baseResource + resource: "magazines", // Name of prestige currency + baseResource: "bullets", // Name of resource prestige is based on + baseAmount() {return player.bullets}, // Get the current amount of baseResource type: "normal", // normal: cost to gain currency depends on amount gained. static: cost depends on how much you already have exponent: 0.5, // Prestige currency exponent gainMult() { // Calculate the multiplier for main currency from bonuses @@ -22,7 +22,7 @@ addLayer("p", { }, row: 0, // Row the layer is in on the tree (0 is the first row) hotkeys: [ - {key: "p", description: "P: Reset for prestige points", onPress(){if (canReset(this.layer)) doReset(this.layer)}}, + {key: "m", description: "M: Reset for magazines", onPress(){if (canReset(this.layer)) doReset(this.layer)}}, ], layerShown(){return true} }) From 4b0e7055c2eb07d8c5179db62cd3a13c93790309 Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Thu, 26 Dec 2024 10:55:02 -0800 Subject: [PATCH 04/17] Update layers.js From b3355b8e700a0b543ce7fa990739f1310eb1d92b Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Thu, 26 Dec 2024 16:16:05 -0800 Subject: [PATCH 05/17] Update mod.js --- js/mod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/mod.js b/js/mod.js index ee7d80f5e7..1c0bb4cf70 100644 --- a/js/mod.js +++ b/js/mod.js @@ -7,7 +7,7 @@ let modInfo = { discordName: "", discordLink: "", initialStartPoints: new Decimal (1), // Used for hard resets and new players - offlineLimit: 1, // In hours + offlineLimit: 0, // In hours } // Set your version in num and name From 17a3f3edd523b474a13a43398ca724b6d936c794 Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Thu, 26 Dec 2024 16:17:47 -0800 Subject: [PATCH 06/17] Update layers.js --- js/layers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/layers.js b/js/layers.js index d92be4e740..7d0b33dbd1 100644 --- a/js/layers.js +++ b/js/layers.js @@ -10,7 +10,7 @@ addLayer("m", { requires: new Decimal(10), // Can be a function that takes requirement increases into account resource: "magazines", // Name of prestige currency baseResource: "bullets", // Name of resource prestige is based on - baseAmount() {return player.bullets}, // Get the current amount of baseResource + baseAmount() {return player.points}, // Get the current amount of baseResource type: "normal", // normal: cost to gain currency depends on amount gained. static: cost depends on how much you already have exponent: 0.5, // Prestige currency exponent gainMult() { // Calculate the multiplier for main currency from bonuses From 030f081c89328baa62696dc4973d34904d56bebd Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Thu, 26 Dec 2024 16:18:07 -0800 Subject: [PATCH 07/17] Update mod.js --- js/mod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/mod.js b/js/mod.js index 1c0bb4cf70..bd3fbd7164 100644 --- a/js/mod.js +++ b/js/mod.js @@ -6,7 +6,7 @@ let modInfo = { discordName: "", discordLink: "", - initialStartPoints: new Decimal (1), // Used for hard resets and new players + initialStartPoints: new Decimal (10), // Used for hard resets and new players offlineLimit: 0, // In hours } From a19bc4a2fc6c2547434b183631baba5ade22dbaa Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Thu, 26 Dec 2024 16:47:43 -0800 Subject: [PATCH 08/17] Update layers.js --- js/layers.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/js/layers.js b/js/layers.js index 7d0b33dbd1..9da1bce891 100644 --- a/js/layers.js +++ b/js/layers.js @@ -24,5 +24,11 @@ addLayer("m", { hotkeys: [ {key: "m", description: "M: Reset for magazines", onPress(){if (canReset(this.layer)) doReset(this.layer)}}, ], - layerShown(){return true} + layerShown(){return true}, + upgrades: { + 11: { + + }, + + }, }) From 263ad3bc926135f42eb13dc2238cd630740370c3 Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Thu, 26 Dec 2024 16:48:37 -0800 Subject: [PATCH 09/17] Update layers.js --- js/layers.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/layers.js b/js/layers.js index 9da1bce891..e2868a1a8f 100644 --- a/js/layers.js +++ b/js/layers.js @@ -29,6 +29,5 @@ addLayer("m", { 11: { }, - }, }) From 7c7c4369dfd310774162e3f337d07fcf98c9c253 Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Thu, 26 Dec 2024 16:52:29 -0800 Subject: [PATCH 10/17] Update layers.js --- js/layers.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/js/layers.js b/js/layers.js index e2868a1a8f..0c1c353d30 100644 --- a/js/layers.js +++ b/js/layers.js @@ -26,8 +26,10 @@ addLayer("m", { ], layerShown(){return true}, upgrades: { - 11: { - - }, + 11: { + title: "Reload" + description: "Double bullet gain", + cost: new Decimal(1), }, +} }) From 432761e76f2c36a8108488f883f8f4a94e070e32 Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Thu, 26 Dec 2024 16:56:13 -0800 Subject: [PATCH 11/17] Update layers.js --- js/layers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/layers.js b/js/layers.js index 0c1c353d30..72d462df91 100644 --- a/js/layers.js +++ b/js/layers.js @@ -27,7 +27,7 @@ addLayer("m", { layerShown(){return true}, upgrades: { 11: { - title: "Reload" + title: "Reload", description: "Double bullet gain", cost: new Decimal(1), }, From 9ddc9a88ea5a3934c748597e70b85010b8e52264 Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Fri, 27 Dec 2024 18:14:41 -0800 Subject: [PATCH 12/17] Update layers.js --- js/layers.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/layers.js b/js/layers.js index 72d462df91..66e94120b0 100644 --- a/js/layers.js +++ b/js/layers.js @@ -27,9 +27,7 @@ addLayer("m", { layerShown(){return true}, upgrades: { 11: { - title: "Reload", - description: "Double bullet gain", - cost: new Decimal(1), + }, } }) From ced89e8a06ea29f2c89f7e77a7a7952c442ff796 Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Fri, 27 Dec 2024 18:16:33 -0800 Subject: [PATCH 13/17] Update layers.js --- js/layers.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/layers.js b/js/layers.js index 66e94120b0..3f89a3e975 100644 --- a/js/layers.js +++ b/js/layers.js @@ -27,7 +27,9 @@ addLayer("m", { layerShown(){return true}, upgrades: { 11: { - + title: "Make this whatever you want!", + description: "Double your point gain.", + cost: new Decimal(1), }, } }) From 39c1c018c0324edb98526a0020a03632321f5dad Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Fri, 27 Dec 2024 18:18:28 -0800 Subject: [PATCH 14/17] Update layers.js --- js/layers.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/layers.js b/js/layers.js index 3f89a3e975..66e94120b0 100644 --- a/js/layers.js +++ b/js/layers.js @@ -27,9 +27,7 @@ addLayer("m", { layerShown(){return true}, upgrades: { 11: { - title: "Make this whatever you want!", - description: "Double your point gain.", - cost: new Decimal(1), + }, } }) From 22e9372b0ad226d58c29e078b7877787ca86be0a Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Fri, 27 Dec 2024 18:22:00 -0800 Subject: [PATCH 15/17] Update layers.js --- js/layers.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/layers.js b/js/layers.js index 66e94120b0..5ec9287612 100644 --- a/js/layers.js +++ b/js/layers.js @@ -27,7 +27,9 @@ addLayer("m", { layerShown(){return true}, upgrades: { 11: { - + title: "Make this whatever you want!", + description: "Double your bullet gain.", + cost: new Decimal(1), }, -} +}, }) From 6fac44f5b3dbeabeab641ac00634501d894c24fc Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Fri, 27 Dec 2024 18:25:49 -0800 Subject: [PATCH 16/17] Update layers.js --- js/layers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/layers.js b/js/layers.js index 5ec9287612..4773636156 100644 --- a/js/layers.js +++ b/js/layers.js @@ -27,7 +27,7 @@ addLayer("m", { layerShown(){return true}, upgrades: { 11: { - title: "Make this whatever you want!", + title: "Reload", description: "Double your bullet gain.", cost: new Decimal(1), }, From 0570e80fa1c9d2391a1791bbd8bc47235d50310d Mon Sep 17 00:00:00 2001 From: kieran1234567890 Date: Fri, 27 Dec 2024 18:26:48 -0800 Subject: [PATCH 17/17] Update layers.js