From c0d034520ab84c54281e18af2b061ad72b0604e0 Mon Sep 17 00:00:00 2001 From: tobspr Date: Fri, 4 Feb 2022 09:53:44 +0100 Subject: [PATCH 1/3] Fix wrong if clause --- electron/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/electron/index.js b/electron/index.js index 4ea7b9b9..41831bdd 100644 --- a/electron/index.js +++ b/electron/index.js @@ -383,6 +383,7 @@ ipcMain.handle("get-mods", async () => { steam.init(isDev); -if (mods) { +// Only allow achievements and puzzle DLC if no mods are loaded +if (mods.length === 0) { steam.listen(); } From 71ac87bfac3ab9ec5819850f481d7014c7ee0a77 Mon Sep 17 00:00:00 2001 From: tobspr Date: Fri, 4 Feb 2022 17:33:37 +0100 Subject: [PATCH 2/3] Update mod examples readme --- mod_examples/README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/mod_examples/README.md b/mod_examples/README.md index 04702576..6711df06 100644 --- a/mod_examples/README.md +++ b/mod_examples/README.md @@ -7,8 +7,6 @@ Currently there are two options to develop mods for shapez.io: 1. Writing single file mods, which doesn't require any additional tools and can be loaded directly in the game 2. Using the [create-shapezio-mod](https://www.npmjs.com/package/create-shapezio-mod) package. This package is still in development but allows you to pack multiple files and images into a single mod file, so you don't have to base64 encode your images etc. -Since the `create-shapezio-mod` package is still in development, the current recommended way is to write single file mods, which I'll explain now. - ## Mod Developer Discord A great place to get help with mod development is the official [shapez.io modloader discord](https://discord.gg/xq5v8uyMue). From 86b104080f5460b57564ccbe5844d3059a30547a Mon Sep 17 00:00:00 2001 From: tobspr Date: Fri, 4 Feb 2022 17:56:17 +0100 Subject: [PATCH 3/3] Simplify readme link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a042cd9..2b8d208b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This is the source code for shapez.io, an open source base building game inspired by Factorio. Your goal is to produce shapes by cutting, rotating, merging and painting parts of shapes. -- [Steam Page](https://steam.shapez.io) +- [Steam Page](https://get.shapez.io/ghr) - [Official Discord](https://discord.com/invite/HN7EVzV) <- _Highly recommended to join!_ - [Trello Board & Roadmap](https://trello.com/b/ISQncpJP/shapezio) - [itch.io Page](https://tobspr.itch.io/shapezio)