457 Commits

Author SHA1 Message Date
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
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
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
82e9c3d50c Add "recent breaking changes" to CDB 2022-03-13 10:10:28 -04:00
Aaron Suen
834b13e6ad Fix sedges not stacking in containers
Placing a sedge into a container via right-click would
randomly transform the sedge to one of the 5 different
random stages of growth, same as placing on the
ground would, causing non-sedge_1 sedge items to
exist which don't stack with normal sedge_1 anymore.

Instead, simplify the growth feature to apply the
change to the sedge in node form after it's been
placed, instead of manipulating items.
2022-02-27 21:25:40 -05:00
Aaron Suen
14895caee5 Update issues
Move unconfirmed/unreproducible issues to a separate
"rumors" file, move issues back to main lists only once
we've found a way to confirm or otherwise understand
them (or really just go ahead and fix them immediately
if possible).
2022-02-27 19:54:41 -05:00
Aaron Suen
05a28322a3 Add an issue 2022-02-10 22:36:47 -05:00
Aaron Suen
a2f81d9ee1 DNT auto-start refinements
- Regen with LBM too.
- Allow different delay time for "just loaded" case.
- Use DNT auto-start for more things, replacing
  regen ABM/LBM where possible.

Also tried to improve door ablation reliabiity:
- Use DNT autostart for door ablation.
- Faster DNT check so we don't need the ABM
  neighbor scan anymore.
- On early ablation trigger, set DNT for right after
  cooldown ends instead of letting DNT loop die,
  removing one scenario that could cause
  sponge squeezer stalls.
2022-02-10 22:08:58 -05:00
Aaron Suen
c5bcb15a60 End-of-support 5.3 2022-02-10 06:52:29 -05:00
Aaron Suen
74cc93dea1 Notes merge 2022-02-06 10:48:35 -05:00
Aaron Suen
b14a6fd272 Add an (almost) blank file for weblate 2022-01-25 01:00:34 -05:00
Aaron Suen
b64432fc46 Add thatch and wicker to screenshot 2022-01-24 20:55:11 -05:00
Aaron Suen
fe347b9612 Some more issues 2022-01-23 20:58:24 -05:00
Aaron Suen
0d5715ec9b TODO list update 2022-01-18 19:56:44 -05:00
Aaron Suen
fd6f0508ea Make sponge node death less arbitrary
Sponge nodes die if exposed to air for >= 2 seconds.  They
are still more fragile in item form.  This allows reliably
swapping a node used to seal in a living sponge without
instantly killing it, which used to be possible but risky,
depending on racing with the ABM timer.
2022-01-17 08:09:17 -05:00
Aaron Suen
85c96c8094 Glue optics in place with an eggcorn
This makes it possible to lock optics against
accidental rotation, which has been a problem.
2022-01-09 12:52:54 -05:00
Aaron Suen
a0ae93f97a Allow door digging to bypass protection 2022-01-07 20:58:00 -05:00
Aaron Suen
fed3bdc6c5 Notes update 2022-01-07 20:48:19 -05:00
Aaron Suen
9a489a6eb2 Notes update 2022-01-04 06:31:05 -05:00
Aaron Suen
7921a78404 Fix door tote placement
When bypassing custom on_place logic and
skipping directly to "place as node" logic, also
allow nodes to customize their "place as node"
logic with another hook, which the tote can use
to ensure it's rebuilt when door-placed.
2021-12-30 12:49:24 -05:00
Aaron Suen
8253964fc4 Update notes w/ storebox reform completion 2021-12-30 12:40:44 -05:00
Aaron Suen
27f6447787 More translations, more notes. 2021-12-21 18:08:30 -05:00
Aaron Suen
472cced786 Note 2021-12-18 12:20:10 -05:00
Aaron Suen
cc5ddfbc71 Notes updates 2021-12-18 12:18:23 -05:00
Aaron Suen
646711fe8e Text formatting 2021-12-17 00:50:37 -05:00
Aaron Suen
58dc3accc8 Update wishlist, esp. player model issues 2021-12-17 00:43:50 -05:00
Aaron Suen
985cffbcc1 More issues cleanup 2021-12-16 22:57:59 -05:00
Aaron Suen
aad414bee0 More issues notes 2021-12-16 20:54:28 -05:00
Aaron Suen
7d12ea4acb Use textures for all particles
These cannot be overridden by texturepacks
otherwise.
2021-12-13 22:18:06 -05:00
Aaron Suen
66ddeeb2d3 Fix players being hurt by own thrown items 2021-12-13 21:54:13 -05:00
Aaron Suen
5d43268cea Old notes 2021-12-10 20:29:07 -05:00
Aaron Suen
a15dab698a Fix tarstone hint using thrown item 2021-12-08 23:31:03 -05:00
Aaron Suen
44b439ff74 Update issues lists 2021-12-08 23:20:42 -05:00
Aaron Suen
6a6e6e420b Update ideas doc 2021-12-05 16:02:33 -05:00
Aaron Suen
a0d4f20566 More notes and some reorg 2021-12-05 14:52:13 -05:00
Aaron Suen
106b405589 More notes 2021-12-05 14:46:47 -05:00
Aaron Suen
af5056ce54 Looktip for fire, more notes 2021-12-05 14:45:16 -05:00
Aaron Suen
3e22c73aeb Note about slow sponge growth issue 2021-12-05 14:39:50 -05:00
Aaron Suen
5d1833c983 Hints for each anvil process type 2021-12-04 21:46:11 -05:00
Aaron Suen
98d5a1a8e9 Notes 2021-12-04 21:33:49 -05:00
Aaron Suen
5398d4daf6 Document grass/stump/sprout texture sameyness 2021-12-04 21:31:18 -05:00
Aaron Suen
53427e326d Add a bunch of stuff to the TODON'T list
It occurred to me that I still hear commonly repeated
requests for some things not already documented, so
include them.
2021-12-04 11:09:07 -05:00
Aaron Suen
34a2562964 Polyfill for player:get_velocity, clean up other hooks
This gets rid of the 5.4+ "deprecated get_player_velocity" warning
and modernizes the code to use get_velocity() everywhere, while
still remaining compatible with 5.3 for now (tested).  The polyfill
had to be on joinplayer because the nc_player_pickup auto-one-time
method of using after() won't reliably patch the player before some
other globalstep tries to read player velocity.

When MT 5.5 is released and 5.3 support ends, the polyfill just
needs to be removed to clean it up.

Also tidied up and consistentized the logging for other hooks.
2021-12-03 08:09:57 -05:00
Aaron Suen
bfd509c9e7 More notes 2021-12-02 22:12:59 -05:00
Aaron Suen
839abd5565 Notes 2021-12-01 20:12:12 -05:00
Aaron Suen
477ba4a905 Notes update 2021-11-29 23:13:11 -05:00