3029 Commits

Author SHA1 Message Date
Aaron Suen
f49af76666 Translation 2023-03-20 19:46:35 -04:00
Aaron Suen
4026b2cb01 Snapshot items before iterating in retroactive on_register
One potential source of the "missed item registration" bug could
be the on_register callback running multiple times for an item if
it was registered during a retroactive on_register scan.  The
behavior of pairs() if the table being iterated is modified is
apparently undefined.  In fact, it may be possible for a table to
get rehashed, such that some items might be skipped.  Taking
a snapshot first and iterating that instead should be more
stable overall.
2023-03-17 22:19:53 -04:00
Aaron Suen
46cf4471c9 Merge remote-tracking branch 'origin/master' 2023-03-10 20:39:10 -05:00
Aaron Suen
8d0f1f38a5 Merge branch 'fix-tote-crash-bug' into 'master'
fix crash with door and tote

See merge request sztest/nodecore!27
2023-03-11 01:27:08 +00:00
Aaron Suen
c44399c739 Merge branch 'dev' into 'dev'
Add lode crate and form to metallic group

See merge request sztest/nodecore!28
2023-03-11 01:13:18 +00:00
Aaron Suen
3df09ceb43 Merge branch 'gluefix' into 'dev'
Fix allowing glueing of lens and prism items

See merge request sztest/nodecore!31
2023-03-11 01:04:24 +00:00
J. Edward Jewell
2ca11eddcf Disallow glueing of lens and prism items 2023-03-10 20:00:37 -05:00
J. Edward Jewell
c2070b001b Format with luatools 2023-03-05 12:51:30 -05:00
J. Edward Jewell
da454ad0d8 Refactored Jeremy's code to be much cleaner and more idiomatic. Also removed the backstop requirement for thumpy 5+ for bashing again. 2023-03-05 12:20:20 -05:00
Jeremy Hussell
de9326afc1 Split rotated logs and tree trunks, with backstop. 2023-03-05 12:20:20 -05:00
Jeremy Hussell
8bf8894b15 Bash planks from any direction, but only if there's a fixed backstop. 2023-03-05 12:20:20 -05:00
Edward Jewell
a5c8ebf01c Added lode crate and form to metallic group 2023-03-04 19:42:11 +00:00
Aaron Suen
1d2ba522ec Translation updates 2023-03-03 20:18:14 -05:00
Aaron Suen
4351fe126a Translations, fix zh_* language codes.
https://gitlab.com/sztest/nodecore/-/issues/18
2023-02-19 09:26:02 -05:00
NoComment
15874f4eef fix crash with door and tote
minetest.get_player_privs crashes on nil
2023-02-03 18:58:53 +00:00
Aaron Suen
8ef7b1311f Switch door ablation cooldown key to pos_to_string
This was done for doors in operate.lua, when
hash_node_position caused all sorts of problems,
including freezes.  Never did actually figure out
WHY, but the change worked there.  Since door
ablation is suffering its own reliability issues,
maybe it's time to try that change here too?
2023-01-25 21:15:10 -05:00
Aaron Suen
f732fe793e Translation update 2023-01-18 21:12:40 -05:00
Aaron Suen
ee79cfaf9a Fix problematic "moist soil" language 2023-01-18 21:11:04 -05:00
Aaron Suen
4f73985c45 Merge 'hexagon-recursion-dev-patch-57836' into dev 2023-01-18 20:19:03 -05:00
Aaron Suen
cc35486f10 Translation sync 2023-01-18 20:11:17 -05:00
Aaron Suen
61d1e60de0 Sync up admin tool rename w/ translations 2023-01-16 16:04:54 -05:00
Aaron Suen
5bc651e067 Change leaf decay to use groups 2023-01-14 11:49:36 -05:00
Aaron Suen
79128f1c27 Fix AISMs removing player hand model
Apparently AISMs DO work on the "hand" slot, so
detect this and avoid it.
2023-01-14 09:58:28 -05:00
Aaron Suen
aba4068f65 Detect and clean cheat items too 2023-01-14 09:56:57 -05:00
Aaron Suen
134ce0a471 Fix admin tool, rename to "admin tool" 2023-01-14 09:43:51 -05:00
Aaron Suen
a42fb47f7b Missed a little hand cleanup 2023-01-14 09:37:37 -05:00
Aaron Suen
3bcc360080 Fix player hand shenanigans 2023-01-14 09:27:23 -05:00
Aaron Suen
9bc62696f5 Typos 2023-01-02 22:47:18 -05:00
Aaron Suen
e20d68a563 Fix spackling degrading to dirt 2023-01-02 22:47:09 -05:00
Aaron Suen
49b3a9f534 Make cloudstone door scuffs a bit subtler again 2023-01-02 20:15:30 -05:00
Aaron Suen
1a9f5fcf95 Some doors are louder than others 2023-01-02 20:05:08 -05:00
Aaron Suen
f646975210 Missed a couple renames 2023-01-01 19:43:00 -05:00
Aaron Suen
1ecca90d3f More interesting name for cloudstone mix 2023-01-01 19:41:04 -05:00
Aaron Suen
494afbdb79 Fluid wandering fixes
- Place flow first, so crude glass curing
  detects properly from a lateral move
- Set DNT on the correct node
2023-01-01 16:50:39 -05:00
Aaron Suen
a6c2a0d3f7 Translation source string update 2023-01-01 13:59:55 -05:00
Aaron Suen
50c78d2dd6 Remove extremal "lucky sedges"
Sedges are never fully-grown when planted,
always need at least one growth cycle.
2023-01-01 12:49:48 -05:00
Aaron Suen
3dad00b819 Cloudstone hint 2023-01-01 12:40:20 -05:00
Aaron Suen
a003784c22 Fix cloudstone mix recipe 2023-01-01 12:37:17 -05:00
Aaron Suen
4b26d420d4 Add cloudstone, a bright white concrete
The inability to make solid white surfaces
has been a significant limitation to in-game
artistic expression for a while; this is an
inexpensive fix for that.
2023-01-01 12:13:13 -05:00
Aaron Suen
0261b130c1 Translation update, fix license
- Add missing code authors
- Separate translations into a separate listing
  section, because it has a LOT of authors, each
  of whom actually touch a very narrow part of
  the project.
2023-01-01 11:28:17 -05:00
Aaron Suen
34f0fbe0f3 License year update 2023-01-01 11:21:27 -05:00
Aaron Suen
fac87c3510 Remove another defunct funding link 2023-01-01 11:12:14 -05:00
Aaron Suen
da9ff10668 Fix the "shrub/leaves infinite falling" bug 2023-01-01 11:08:00 -05:00
Aaron Suen
75e68dfb20 Nerf flower growth rate
After playing this for a while now, I've noticed
that this is way too high.
2022-12-30 17:55:06 -05:00
Aaron Suen
19cd600a74 Decrease baseline water turbidity
Most texturepacks were lowering water opacity
somewhat; make the official default very close
to where they seemed to cluster.
2022-12-30 17:43:06 -05:00
Aaron Suen
18c858657c More water transparency fixes 2022-12-30 17:29:57 -05:00
Aaron Suen
58fbeb2bb8 Refactor existing water alpha
For now, these are left as-is, but clean up
the code around them.
2022-12-30 09:40:12 -05:00
Aaron Suen
37543c0f43 Make dynamic shadows much faster
Machine automation running based on these
dynamic shadows should be allowed to respond
much faster.  This especially affects skyrealm
aggregate scorching.
2022-12-24 18:40:57 -05:00
Aaron Suen
8cec986573 Pass base def in for door registrations 2022-12-23 16:57:11 -05:00
Aaron Suen
6a253a813f Try a different method to register brick doors
A heisenbug has been observed causing some
of the concrete brick doors not to be registered
on startups randomly/rarely.  No cause has
been found yet, though it could be an issue
with MT's mod loading order; this is the only
hypothesis that seems consistent with the
existing code.

Try using register_on_register_item instead of
just looping through currently-existing defs, to
see if this fixes it.
2022-12-23 15:21:25 -05:00