50 Commits

Author SHA1 Message Date
Jude Melton-Houghton
a17e13f05c Put the screenshot in the README
Hopefully it doesn't render too large.
2021-07-18 08:45:23 -04:00
Jude Melton-Houghton
37bd05e52f Scale down the screenshot
I don't think it needed to be so large.
2021-07-18 08:44:25 -04:00
Jude Melton-Houghton
dd9648a12e Add a README and licenses
That was a surprising amount of work.
2021-07-17 22:29:20 -04:00
Jude Melton-Houghton
cc0e52a2e4 Add a screenshot 2021-07-17 20:00:48 -04:00
Jude Melton-Houghton
5859c3fef2 Add settings 2021-07-17 18:40:55 -04:00
Jude Melton-Houghton
0a2e486180 Handle allocation failure better 2021-07-17 16:36:11 -04:00
Jude Melton-Houghton
66c4f5189f Make node getting safer 2021-07-17 15:56:05 -04:00
Jude Melton-Houghton
f0c470ccc5 Add missing pipeworks callbacks 2021-07-17 13:06:13 -04:00
Jude Melton-Houghton
706cfb6e8f Copy tables when merging, for safety
Things can break if multiple registered nodes share tables in their
definitions.
2021-07-17 13:05:27 -04:00
Jude Melton-Houghton
ef8b99b1fe Remove unused variable 2021-07-17 12:40:22 -04:00
Jude Melton-Houghton
6259ad403d Label ports in their textures
The outside wire labels are consistent with the luacontroller.
2021-07-17 11:59:34 -04:00
Jude Melton-Houghton
905f4398a4 Fix node drops 2021-07-16 21:36:14 -04:00
Jude Melton-Houghton
a55bdd130e Replace tab 2021-07-16 20:51:40 -04:00
Jude Melton-Houghton
dd3fc5a345 Put insides high in the air
It doesn't conflict with MineClone2 now. This also solves the problem of
ores appearing inside when one sets off TNT. In addition, the
unnecessary mapgen around the insides might be quicker.
2021-07-16 15:58:23 -04:00
Jude Melton-Houghton
2e5c128308 Fix mod.conf 2021-07-16 08:17:57 -04:00
Jude Melton-Houghton
ff3891cb1f Add a recipe for the container 2021-07-15 22:20:27 -04:00
Jude Melton-Houghton
14873a1f9a Add container node sounds 2021-07-15 22:03:36 -04:00
Jude Melton-Houghton
46fb4baedc Improve container damage groups 2021-07-15 21:53:49 -04:00
Jude Melton-Houghton
84520ebf96 Optimize outer port texture
The other textures are already optimized, according to optipng.
2021-07-15 21:24:05 -04:00
Jude Melton-Houghton
862bf8ffed Give the container a better texture 2021-07-15 21:19:02 -04:00
Jude Melton-Houghton
59511b9090 Remove params_are_null
The function was a false abstraction.
2021-07-15 18:18:41 -04:00
Jude Melton-Houghton
6ee59aea0e Hide the digiline when the mod isn't installed
I also removed the infotext, which seemed probably unnecessary and
which would hinder the hiding.
2021-07-15 18:12:18 -04:00
Jude Melton-Houghton
3e8db295da Make the exit and digiline use the common way 2021-07-15 18:10:29 -04:00
Jude Melton-Houghton
416b992193 Use port_name_prefix in another place 2021-07-15 17:36:31 -04:00
Jude Melton-Houghton
ad7390ee53 Add node descriptions
The container now shows up in the creative inventory.
2021-07-15 17:33:23 -04:00
Jude Melton-Houghton
486ae3915c Use only the horizontal faces with mesecons
The top and bottom were causing problems for some reason. Now there are
two remaining mesecons issues:
1. The container can't have its own output fed back into it in the same
   activation. These seems to be a bug in mesecons, since it also occurs
   for the crossover wire.
2. When I place a switch, turn it on, then place a container next to it,
   the initial activation of the container is incorrect. I have no idea
   why. It could be a bug with mesecons too, who knows.
2021-07-15 17:24:56 -04:00
Jude Melton-Houghton
5e12a55154 Implement mesecons integration functionality 2021-07-15 15:04:16 -04:00
Jude Melton-Houghton
3f1e9c7b7b Make merged_table local 2021-07-15 09:03:13 -04:00
Jude Melton-Houghton
16a868ff64 Fix/improve param (de)serialization
I have now also tested all 2^16 possible param combinations, and
the code seems to work for every one.
2021-07-15 08:58:30 -04:00
Jude Melton-Houghton
a1f0c72d05 Fix register_wall 2021-07-14 22:19:27 -04:00
Jude Melton-Houghton
8e43fef231 Make register_wall local 2021-07-14 22:10:35 -04:00
Jude Melton-Houghton
3bd12ff1f4 Register walls as mvps stoppers
I also cleaned up the registration code somewhat.
2021-07-14 22:09:06 -04:00
Jude Melton-Houghton
031940b253 WIP refactor to use params for the inside position
Other stuff is done, like improving the allocator. I haven't tested
pipes yet. The reason this was done was to allow mesecons
conduction, but it's possible that that won't actually work. If so,
I still might keep this patch.
2021-07-14 20:35:47 -04:00
Jude Melton-Houghton
3726c1ed4d Simplify pipe texture 2021-07-14 09:34:30 -04:00
Jude Melton-Houghton
3c59bef8df Fix pipe offset iteration 2021-07-14 09:24:08 -04:00
Jude Melton-Houghton
7da8a7b438 Prevent undeclared global warning 2021-07-14 09:12:44 -04:00
Jude Melton-Houghton
e37be9ffe6 Fix piping?
I'm not sure how pipeworks.tube_inject_item works. It seems like
the item should be inserted right back into the receiver with the
way I'm using the function, but apparently not.
2021-07-13 19:18:31 -04:00
Jude Melton-Houghton
523e3ee368 Add rough pipeworks integration 2021-07-13 17:15:36 -04:00
Jude Melton-Houghton
dc259b1462 Keep walls from the creative inventory 2021-07-13 14:33:05 -04:00
Jude Melton-Houghton
9940fabe2f Properly detect players in containers
I also made the emptiness check its own public function since it
seems like a useful thing to have.
2021-07-13 14:25:27 -04:00
Jude Melton-Houghton
b582e5a7ae Prevent pistons pushing containers
Right now, the containers are assumed to stay in one position.
2021-07-12 20:11:03 -04:00
Jude Melton-Houghton
61efdfafe0 Add digiline infotext 2021-07-12 19:21:07 -04:00
Jude Melton-Houghton
63ea80ef3f Add digiline integration 2021-07-12 16:53:09 -04:00
Jude Melton-Houghton
2c10bb7ab9 Improve wall invincibility specification 2021-07-12 16:51:36 -04:00
Jude Melton-Houghton
e8e7d8ff14 Protect containers from blasts 2021-07-12 14:07:58 -04:00
Jude Melton-Houghton
9593bdec39 Handle container digging
The inside isn't actually deleted at the moment, but this doesn't
seem like a huge issue.
2021-07-12 12:29:39 -04:00
Jude Melton-Houghton
7e1bfc21a6 Improve meta position getting 2021-07-12 11:55:56 -04:00
Jude Melton-Houghton
df72b992da Improve metadata safety 2021-07-12 11:39:30 -04:00
Jude Melton-Houghton
dd6ee3c5f4 Remove ownership (for now?) 2021-07-12 11:31:15 -04:00
Jude Melton-Houghton
5cae94e096 Initial commit 2021-07-11 21:37:13 -04:00