2850 Commits

Author SHA1 Message Date
Aaron Suen
bc2f1f3fb3 Remove dead code that'd be a bug if not dead 2022-05-01 00:23:07 -04:00
Aaron Suen
4ea48c025c Non-deterministic facedir for craft output
Craft output nodes are rotate in a random (but still
upright) direction if they're facedir, and the param2
is not specified by the recipe.  Currenly only affects
optic prisms.
2022-04-30 22:04:26 -04:00
Aaron Suen
952c1bc63e Lenses react to light beams 2022-04-30 21:55:05 -04:00
Aaron Suen
9e17ca8fed Pumwater task done in notes 2022-04-30 15:32:04 -04:00
Aaron Suen
6018adf839 Make pumwater much more common
There is a chance to find some at any depth.  At
around -256, it should start to get practical to
actually hunt for it.  By -600 or so, it is common
enough to actually be an obstacle, and deep
caverns start to get pum-filled.

Pumwater is added by scattering "blob" ore
throughout stone at various depths.  Stone
immediately above pumwater sources is carved
away to air, to encourage the pumwater ambiance
to play, to make it a bit easier to find it by audio
cues.
2022-04-30 15:31:13 -04:00
Aaron Suen
10a512d77b Remove debug code 2022-04-30 15:00:05 -04:00
Aaron Suen
f43433ce8a Make lava/water springs more common far from y=0
Spring density increases quadratically as distance
from y=0 of the bottom of the mapchunk increases,
up to a maximum of 4x at distance 256.
2022-04-30 14:54:28 -04:00
Aaron Suen
98ea7d1c26 Make deep stone lode stains easier to see 2022-04-30 14:41:40 -04:00
Aaron Suen
313f11fce6 More notes/issues 2022-04-30 14:27:29 -04:00
Aaron Suen
a46a98ca07 Translations 2022-04-30 09:15:09 -04:00
Aaron Suen
10abce6d07 Slightly stronger difficulty warning 2022-04-30 09:15:00 -04:00
Aaron Suen
826ef63e95 Translations 2022-04-28 21:29:04 -04:00
Aaron Suen
5eecae7282 Fix wrong name 2022-04-26 07:05:44 -04:00
Aaron Suen
1463805583 Sync translations again, French is finished for now 2022-04-25 17:08:31 -04:00
Aaron Suen
3e824a07f6 Translation update, esp. new French translation 2022-04-25 14:34:43 -04:00
Aaron Suen
6401faa87b Translation support for package metadata 2022-04-22 07:29:54 -04:00
Aaron Suen
7f284808a8 Translation updates 2022-04-22 07:29:09 -04:00
Aaron Suen
5a14a70886 Work around MT #12180 (black wield hand) 2022-04-21 22:27:58 -04:00
Aaron Suen
25deafd390 Add ability to disable most HUDs individually
Not-so-documented chat command hidehuds that
takes a comma-separated list of HUD types to hide.
Useful for e.g. streamers or video recording when
it's necessary to hide specific HUD elements to
compose a scene.
2022-04-19 20:20:37 -04:00
Aaron Suen
0074594a68 Translation updates 2022-04-18 18:54:58 -04:00
Aaron Suen
dc98d1c7f9 Translation updates 2022-04-17 11:02:37 -04:00
Aaron Suen
56e0c15406 Omit weblate authors credited elsewhere 2022-04-17 11:01:55 -04:00
Aaron Suen
3c96fbb246 Players w/ debug privs can see "future" hints
This is to help debugging the hint system.
2022-04-12 18:17:49 -04:00
Aaron Suen
a0c5b76449 Russian translation complete again 2022-04-09 11:10:19 -04:00
Aaron Suen
07f54787fc Found one missing author from old weblate 2022-04-08 00:27:19 -04:00
Aaron Suen
49f63b7d10 Move trans strings to a subdir
They were starting to get mixed in with the
now more complex updater code.
2022-04-08 00:17:03 -04:00
Aaron Suen
c9ecc8cb08 Clean up license, merge weblate credits
- Move translator-only contributors below
  rarer core contributors, to make it easier
  to manage.
- Automatically update contributor credit
  in license when pulling translations from
  weblate.
- Merge some apparent duplicate authors.
2022-04-08 00:15:15 -04:00
Aaron Suen
185dc5dabf Auto-fetch metadata about translators too
This can hopefully be used to maintain the
copyright statement for translators automatically
without the risk of missing anyone that the manual
process has had.
2022-04-07 23:44:10 -04:00
Aaron Suen
ea50b2b64f New nodejs-based parallel translation update
N.B. there is some translation file change noise
caused by nodejs sorting end-of-string in keys
differently than perl did.

The new process is a lot faster, since everything
is fetched in parallel, and a lot more extensible.
2022-04-07 22:40:28 -04:00
Aaron Suen
59c0c66313 Fix updated hint text 2022-04-07 21:25:46 -04:00
Aaron Suen
e894730d5e More translations 2022-04-07 21:22:34 -04:00
Aaron Suen
fa6f9212de Fix get_sky compat warnings 2022-04-06 07:07:35 -04:00
Aaron Suen
17673eae07 Note about unified heat API 2022-04-05 20:34:29 -04:00
Aaron Suen
cf4bd2d749 Fix quench check on heating recipes
If there's any coolant near a node, that blocks
all application of heat and prevents it from being
cooked, and also prevents any passive slow-cooling
recipes from operating on it (i.e. racing against
the quenched recipes).

Use coolant neargroups for quench check too,
for consistency.  Add memoization to the recipe
data on the check, so to avoid doing the quench
scan for each recipe separately.
2022-04-05 20:32:33 -04:00
Aaron Suen
275cd18d43 Fix accidentally silk-touchable leaves
This was also apparently an item dupe bug at the
same time...
2022-04-05 19:10:40 -04:00
Aaron Suen
00439a2ebf Clarify a hint message
Make it clear that it only includes place-assembly
recipes, not pummel crafts.
2022-04-05 19:07:27 -04:00
Aaron Suen
563324c8fe Fall check immediately after raking 2022-04-05 19:05:51 -04:00
Aaron Suen
d872119fd7 Multiple press-craft fixes
- Fix door place-craft discovery not triggering due
  to wrong label name
- Fix many door witnesses not working because the door
  itself obstructs view of the action; "spread" the witness
  event to multiple positions and give the player credit
  if they can observe any part of the interacting nodes.
2022-03-29 09:06:15 -04:00
Aaron Suen
e3aef49a11 Make crafting work with non-node items
For example, making torches, assembling tools.
2022-03-29 08:28:18 -04:00
Aaron Suen
03d81b873a Translation updates 2022-03-29 08:11:28 -04:00
Giuseppe Bilotta
44a537e705 Fix placement of eggcorns on top of shelves
Right-clicking on the top of a shelf would place a legacy plantlike
eggcorn. This was due to the storebox right-click override
unconditionally calling `item_place_node` when placing an item against an
inaccessible side of a storebox.

The solution would be to call `item_place` instead, since that function
has the logic to handle `place_as_item` correctly. However, this cannot
be called from the storebox right-click override directly because
`item_place` calls the `pointed_thing` `on_rightclick`, which would
cause an infinite recursion.

Solve this by refactoring the placement logic into a new
`minetest.item_place_node_or_stack` which is called by `item_place`,
as well as by the storebox right-click override when placing items.
2022-03-25 19:15:02 +01:00
Giuseppe Bilotta
eee5ee27aa Typos 2022-03-23 22:30:36 +01:00
Giuseppe Bilotta
8d6d8237c8 Fix form contents not falling on stack below
If an item stack is present in the node below a form,
the stack in the form will not fall into it even if it could add to it
(e.g. a 16-sand stack in the form will not fall into a 2-sand stack
below).
This is due to the item stack node being non-buildable-to and missing a
can_item_fall_in method, causing the stack_can_fall_in checks in
storebox_check_item_fall_out from failing when the shouldn't.

Fix by implementing the can_item_fall_in method for item stack nodes.
The implementation follows the storebox one, without any “geometric”
checks on accessible sides.
2022-03-23 22:29:07 +01:00
Aaron Suen
96b4947c13 Simplify node/stack change optic notification
Instead of adding a special hook for storeboxes, just treat all
stack changes as node changes and notify all update listeners.
2022-03-14 07:13:43 -04:00
Aaron Suen
00c98d868d Merge branch 'dev' into shelfoptics 2022-03-14 09:56:23 -04:00
Aaron Suen
c433b36f2b Formatting, add contributor to license 2022-03-14 07:03:44 -04:00
Giuseppe Bilotta
31223ddb00 Typo fix in group name 2022-03-13 23:24:17 +01:00
Giuseppe Bilotta
512c6b05cd Properly check for param2 in optic_commit 2022-03-13 23:24:17 +01:00
Giuseppe Bilotta
bdc27cf304 Fix typo 2022-03-13 23:24:17 +01:00
Giuseppe Bilotta
26ca863b68 Check dependent optics on storebox content change
Changes to the stack stored in a storebox do not trigger a node update,
which meant that affected optics to not get updated until the next ABM.

Use the newly introduced storebox_register_on_stack_change to trigger
a check on dependent optics just like node updates.
2022-03-13 23:24:17 +01:00