1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-13 18:21:51 +00:00
Commit Graph

1084 Commits

Author SHA1 Message Date
saile515
aa679b2dda Merge remote-tracking branch 'upstream/modloader' into modloader 2022-01-24 19:30:14 +01:00
saile515
7aa069ffee Config 2022-01-24 19:28:13 +01:00
Emerald Block
431453f1a2
fix entity debugger reaching HTML elements (#1353) 2022-01-23 17:14:24 +01:00
Bagel03
8dcb5faf5f
Bind this for method overriding JSDoc (#1352) 2022-01-23 17:14:03 +01:00
tobspr
0540a010a6 Make wired pins component optional on the storage 2022-01-22 18:23:05 +01:00
tobspr
408d1a7dca Mod improvements 2022-01-22 10:03:42 +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
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
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
8943dc045c Add support for paste signals 2022-01-17 09:34:34 +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
44c4807d74 Make mod loading simpler 2022-01-16 17:05:13 +01:00
tobspr
43348a8931 Add more examples and more features 2022-01-16 16:13:57 +01:00
tobspr
93f269d62d Allow overriding existing methods 2022-01-16 11:40:01 +01:00
tobspr
1bd569f89c Merge branch 'modloader' of github.com:tobspr/shapez.io into modloader 2022-01-16 11:19:24 +01:00
tobspr
2c8f11ff7f Refactor building registry, make it easier for mods to add new buildings 2022-01-16 11:19:22 +01:00
Thomas (DJ1TJOO)
592b304147
Fixed typescript type errors (#1335) 2022-01-16 10:41:09 +01:00
tobspr
e4b8071c2f Add interface to register new buildings 2022-01-16 10:39:54 +01:00
tobspr
22b619e8ab Add more examples and allow defining custom item processor operations 2022-01-15 14:57:11 +01:00
tobspr
2a83853b1c Allow adding custom themesw 2022-01-15 13:59:38 +01:00
tobspr
a4df63549b Merge branch 'modloader' of github.com:tobspr/shapez.io into modloader 2022-01-15 13:35:22 +01:00
tobspr
b39f48ebfb Minor restructure, start to add mod examples 2022-01-15 13:35:19 +01:00
tobspr
53c3cbfe26 Show errors when loading mods 2022-01-15 12:30:57 +01:00