1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-13 10:11:50 +00:00
Commit Graph

2171 Commits

Author SHA1 Message Date
Sense101
b66bf5ac8a Fix building placer checking on wrong layer for acceptors and ejectors 2022-01-22 21:16:08 +00:00
tobspr
0540a010a6 Make wired pins component optional on the storage 2022-01-22 18:23:05 +01:00
tobspr
48adc30a87 Merge branch 'modloader' of github.com:tobspr/shapez.io into modloader 2022-01-22 10:03:44 +01:00
tobspr
408d1a7dca Mod improvements 2022-01-22 10:03:42 +01:00
saile515
a3dfe6f5fb
Replaced concatenated strings with template literals (#1347) 2022-01-22 09:50:02 +01:00
tobspr
ade7176dba Add sandbox example 2022-01-22 09:34:38 +01:00
tobspr
1287bc9bf1 Allow specifying minimumGameVersion 2022-01-22 09:03:42 +01:00
tobspr
7741d1590e Refactor item acceptor to allow only single direction slots 2022-01-21 09:43:21 +01:00
tobspr
511d0556e1 Merge branch 'modloader' of github.com:tobspr/shapez.io into modloader 2022-01-20 22:18:30 +01:00
tobspr
2ab4f3ba9a Minor adjustments 2022-01-20 22:18:25 +01:00
Thomas (DJ1TJOO)
0718f6cf80
Fixed class handle type (#1345)
* Fixed class handle type

* Fixed import game state
2022-01-20 17:57:04 +01:00
Emerald Block
839d203737
allow command line switch to load more than one mod (#1342) 2022-01-20 17:56:26 +01:00
Thomas (DJ1TJOO)
7a1dedd2c8
Added link to create-shapezio-mod npm page (#1339)
Added link to create-shapezio-mod npm page: https://www.npmjs.com/package/create-shapezio-mod
2022-01-20 17:56:09 +01:00
tobspr
388f7888ee Prettier fixes 2022-01-20 17:55:53 +01:00
Bagel03
30beb7df5f
Allow external URL to load more than one mod (#1337)
* Allow external URL to load more than one mod

Instead of loading the text returned from the remote server, load a JSON object with a `mods` field, containing strings of all the mods. This lets us work on more than one mod at a time or without separate repos. This will break tooling such as `create-shapezio-mod` though.

* Update modloader.js
2022-01-20 17:54:42 +01:00
tobspr
6a57448fab Do not render belts in statics disabled view 2022-01-20 17:52:49 +01:00
tobspr
1774502304 Belt drawing improvements, again 2022-01-20 17:37:23 +01:00
tobspr
8c21d0e8e4 Fix belt path optimization 2022-01-20 17:21:35 +01:00
tobspr
670c07cba8 Belt path drawing optimization 2022-01-20 17:07:03 +01:00
tobspr
38cca33985 Minor game system code cleanup 2022-01-20 16:05:39 +01:00
tobspr
66f085250a Fix runBeforeMethod and runAfterMethod 2022-01-20 14:59:25 +01:00
tobspr
1c585986d2 Merge branch 'modloader' of github.com:tobspr/shapez.io into modloader 2022-01-18 21:19:03 +01:00
tobspr
6bf07a43aa export build options 2022-01-18 21:19:00 +01:00
Thomas (DJ1TJOO)
e16f13034a
Game state register (#1341)
* Added a gamestate register helper

Added a gamestate register helper

* Update mod_interface.js
2022-01-18 21:11:21 +01:00
tobspr
5c9cbcd8ad Fix linter error 2022-01-18 21:10:52 +01:00
tobspr
4bfd423efb Fix mod examples 2022-01-18 20:49:11 +01:00
tobspr
a7803bf5e4 Merge branch 'modloader' of github.com:tobspr/shapez.io into modloader 2022-01-18 20:38:22 +01:00
tobspr
4a76135d57 Direction lock now indicates when there is a building inbetween 2022-01-18 20:38:20 +01:00
Bagel03
e686ad2fe1
Update JSDoc for Replacing Methods (#1336)
* upgraded types for overriding methods

* updated comments

Co-authored-by: Edward Badel <you@example.com>
2022-01-18 18:37:52 +01:00
tobspr
f3a939b071 Add better instructions 2022-01-18 18:23:23 +01:00
tobspr
dc95ece45b Update readme 2022-01-18 17:51:56 +01:00
tobspr
9311ffe4e3 Add small tutorial 2022-01-18 11:03:10 +01:00
tobspr
27db6fe693 Add notification blocks mod example 2022-01-18 10:13:25 +01:00
tobspr
2ac34665b3 Fix typo 2022-01-17 22:09:05 +01:00
tobspr
ce0c2c4977 Minor adjustments 2022-01-17 19:18:03 +01:00
tobspr
0dac336670 Update class extensions 2022-01-17 19:11:04 +01:00
tobspr
1b931808eb Add example for adding a new item type 2022-01-17 12:37:04 +01:00
tobspr
54a69c9725 Support for mod settings 2022-01-17 12:15:57 +01:00
tobspr
fd0ae12a84 Add example how to add custom components and systems 2022-01-17 10:11:38 +01:00
tobspr
8943dc045c Add support for paste signals 2022-01-17 09:34:34 +01:00
tobspr
459cc76d96 Remember window state 2022-01-16 20:40:42 +01:00
tobspr
d6c31a03a9 Fix menu bar on mac os 2022-01-16 20:36:39 +01:00
tobspr
e942ba486e Add helper methods to extend classes 2022-01-16 20:30:51 +01:00
tobspr
7e0689694c Allow mods to replace builtin sub shapes 2022-01-16 18:19:46 +01:00
tobspr
c553ee1632 Support for rotation variants in mods (was broken previously) 2022-01-16 18:02:40 +01:00
tobspr
9717463500 Minor modloader adjustments 2022-01-16 17:35:21 +01:00
tobspr
8ad1c1bf9d Remove unused code 2022-01-16 17:18:24 +01:00
tobspr
88f9807274 Add example how to add custom drawings 2022-01-16 17:17:02 +01:00
tobspr
44c4807d74 Make mod loading simpler 2022-01-16 17:05:13 +01:00
tobspr
41a8d4334c More mod examples 2022-01-16 16:45:05 +01:00