139 Commits

Author SHA1 Message Date
Jude Melton-Houghton
b59598c5f9 Correctly alphabetize translation files
I must have correct alphabetization!
2021-09-18 11:06:53 -04:00
David
a7b2c85e81
Spanish translations (#7) 2021-09-18 11:03:47 -04:00
Jude Melton-Houghton
69f00660f1 Optimize screenshot.png a tiny bit 2021-09-17 17:20:47 -04:00
David
6b697d3fea
some minor edits to the German (#6) 2021-09-14 21:37:54 -04:00
David
2f2f2a17e2
Add German translations (#5)
These may be revised later.
2021-09-12 20:14:26 -04:00
David
d74ab8a5c2
added Welsh translations (#4)
The translation is not used at the moment because Minetest doesn't pick up on all locales, but hopefully it will in the future.
2021-09-11 09:57:29 -04:00
Jude Melton-Houghton
e2e5ad866b Clear up some code attribution 2021-09-11 09:10:50 -04:00
Jude Melton-Houghton
a84e6c4cd0 Add translation template 2021-09-10 21:26:38 -04:00
Jude Melton-Houghton
bdbe6fe981 Update some seldom-seen node descriptions 2021-09-10 20:32:19 -04:00
Jude Melton-Houghton
ad2e392ca5 Improve blank key recipe
It makes sense for the active part of the key to be at the end.
2021-09-08 06:49:35 -04:00
Jude Melton-Houghton
78cf25ba37 Merge branch 'main' of github.com:TurkeyMcMac/area_containers 2021-09-07 17:11:08 -04:00
Jude Melton-Houghton
ea6f7b5fa4 Integrate more with MineClone's APIs
I wasn't sure if their licenses allowed me, but apparently they do:
https://git.minetest.land/MineClone2/MineClone2/issues/1849
2021-09-07 17:09:50 -04:00
Jude Melton-Houghton
ee41d7ec66
Add notice of immovability 2021-09-03 20:35:43 -04:00
Jude Melton-Houghton
be5267ccd8 Accomodate different clicker collisionboxes 2021-08-31 19:06:34 -04:00
Jude Melton-Houghton
3ed32940a6 Fix a style inconsistency 2021-08-31 19:05:44 -04:00
Jude Melton-Houghton
a74294bc08 Trivially reorganize some stuff 2021-08-30 19:34:20 -04:00
Jude Melton-Houghton
cdab7f0edc Make merge copies shallow
I accidentally removed the container definition copying before this, but
I decided to extend this behavior to other definitions (I tested and
there were no issues. There is no documented need to copy e.g. the
Pipeworks tube table.)
2021-08-30 18:53:57 -04:00
Jude Melton-Houghton
e51f4003d4 Update screenshot
Its size decreased a lot, too. This time I had tone mapping on.
2021-08-29 16:13:07 -04:00
Jude Melton-Houghton
fef32435ed Correct some emergence issues
Now the 26 blocks around an inside block are emerged before the inside
is constructed. This prevents set_lighting() calls from mapgen of the
neighboring chunks from overwriting port param1 values. This problem is
usually avoided before it comes up now because I shifter the x and z
base positions to chunk centers. Even before this commit, the problem
only occurred for certain Lua mapgens such as mapgen_rivers.

I also corrected the mapgen_limit assertions.
2021-08-29 14:17:37 -04:00
Jude Melton-Houghton
61252f1acf Move object counting into container.lua
It didn't seem very miscellaneous.
2021-08-26 09:54:03 -04:00
Jude Melton-Houghton
16878f645a Correct craft dependencies
The dependencies aren't actually necessary, but they make the code
safer.
2021-08-26 09:44:57 -04:00
Jude Melton-Houghton
b9199fb097 Consistently capitalize constants
This should make the code more understandable. Hopefully I didn't miss
anything. Non-function variables that do not change and are used outside
their immediate surroundings should generally be capitalized.
2021-08-26 08:38:51 -04:00
Jude Melton-Houghton
7ffe9da10b Light up more inside nodes
The port nodes are the only ones for which this is impossible.
2021-08-25 19:10:55 -04:00
Jude Melton-Houghton
f346b27872 Simplify pipeworks stuff 2021-08-24 19:47:04 -04:00
Jude Melton-Houghton
f6888ef506 Fix comma inconsistency 2021-08-24 19:24:50 -04:00
Jude Melton-Houghton
eeaa35407e Fix README links 2021-08-24 17:48:14 -04:00
Jude Melton-Houghton
c1ceb1ee69 Remove Mesecons bug notice
The new release has the fix, although some people probably use old
versions.
2021-08-24 17:46:18 -04:00
Jude Melton-Houghton
03ddbad783 Fix placement with pipeworks not enabled 2021-08-24 17:39:31 -04:00
Jude Melton-Houghton
952a1b2ab0 Clean up some code and improve some comments 2021-08-24 15:47:10 -04:00
Jude Melton-Houghton
6f43372823 Refactor again for better dependencies (WIP) 2021-08-23 18:49:20 -04:00
Jude Melton-Houghton
e15234d77c Do a really big refactor
This is WIP since I haven't done much testing yet.
2021-08-23 09:20:24 -04:00
Jude Melton-Houghton
f390e163d1 Make area containers immovable
This is the only way to (mostly?) fix their mesecons functionality
without overhauling everything and making it more complicated.

The movement detection is kept in for the teleporter_tool mod.
2021-08-22 17:19:39 -04:00
Jude Melton-Houghton
bbb816da6f Optimize images more 2021-08-17 17:23:39 -04:00
Jude Melton-Houghton
2a2f06992e Alphabetize includes 2021-08-16 15:25:27 -04:00
Jude Melton-Houghton
fa9d1510f2 Remove key revocation
I don't think it was a very useful feature. It would probably mainly be
a pain when you accidentally take off the lock.
2021-08-16 13:19:33 -04:00
Jude Melton-Houghton
4c3914390b Add MineClone blast compatibility 2021-08-16 09:27:06 -04:00
Jude Melton-Houghton
379910d410 Add min_minetest_version 2021-08-16 09:20:48 -04:00
Jude Melton-Houghton
d10a52d31b Register protection violations 2021-08-15 12:12:25 -04:00
Jude Melton-Houghton
c8e68ebe6c Add container claiming note 2021-08-14 20:58:50 -04:00
Jude Melton-Houghton
87e98d19f6 Remove the repeated light check
The wall light setting is pretty niche, and changing it after the game
starts seems unlikely. You can just use /fixlight if needed.
2021-08-14 20:42:37 -04:00
Jude Melton-Houghton
a8a9342d7e Add container locking 2021-08-14 20:28:36 -04:00
Jude Melton-Houghton
860c8a206a Get the storage in a central location
Getting it multiple times causes an error.
2021-08-14 12:03:07 -04:00
Jude Melton-Houghton
aa2be78ca3 Merge branch 'main' of github.com:TurkeyMcMac/area_containers 2021-08-14 11:31:24 -04:00
Jude Melton-Houghton
15eb1c567d
Remove preformatting of copyright notice 2021-08-14 11:29:36 -04:00
Jude Melton-Houghton
998013b706 Correct comment 2021-08-11 17:27:04 -04:00
Jude Melton-Houghton
29af8ee6cd Check for some pipeworks API functions
They aren't present in Hades Revisited. This mod still doesn't work with
Hades Revisited due to some mapgen thing.
2021-08-11 10:50:31 -04:00
Jude Melton-Houghton
b0e3b04121 Improve screenshot
It increased the file size a lot, but I wanted more resolution and the
digiline node shown.
2021-08-11 09:51:09 -04:00
Jude Melton-Houghton
f8c140dba3 Use pipeworks more safely 2021-08-10 17:56:14 -04:00
Jude Melton-Houghton
8c9111e03d Make lua check more strict 2021-08-10 15:28:26 -04:00
Jude Melton-Houghton
c375f84fca Check Lua more strictly
The shutdown handler now works in LuaJIT. I've actually tested it.
2021-08-10 12:12:58 -04:00