2382 Commits

Author SHA1 Message Date
Aaron Suen
9e6affd64c Quotes for consistent syntax highlighting 2021-11-29 13:27:22 -05:00
Aaron Suen
219fcb3bda Preliminary server install/update script
This is intended as a helper for servers to PROPERLY install
NodeCore from git, i.e. without ending up with the "DEVELOPMENT
VERSION" warning.
2021-11-29 07:21:44 -05:00
Aaron Suen
16022542d9 List non-game mods directly on About screen 2021-11-27 22:03:18 -05:00
Aaron Suen
d0edf8bc38 Fix crash: item settling must always return stacks 2021-11-27 19:57:38 -05:00
Aaron Suen
9235744612 Items can cool in storeboxes, but not cook
Cooking recipes run in all visinv nodes, not just
item stacks, BUT non-stack-only nodes (i.e. all
storeboxes) block flame touchgroups so things
in boxes cannot be heated/melted.

This allows items dropped into boxes from ore
melting to cool, but prevents sand from being
melted in a box which would naively replace
the box with the molten glass entirely.

This also fixes an old rumored bug where forcing
glowing lode items into a shelf with a door would
cause them to stay hot indefinitely.

N.B. lode cooking/cooling used to assume it could
replace the entire node, and deleted the thing
as a fail-safe when an item of the given temper
was not found (e.g. tools w/ handles).  This is
now gone, and invalid tempers will throw errors
if they can ever be achieved in practice.
2021-11-27 19:26:31 -05:00
Aaron Suen
919eec3e1b Wooden forms are choppy
Either dig them with a hatchet/adze, or "collapse"
them back to frames to move them by hand.
Even though it's the same basic material as the
wooden frame, having them too easy to dig
makes it to easy to accidentally dig while trying
to pull items from it.
2021-11-27 18:47:59 -05:00
Aaron Suen
6bbec211e7 Merge branch 'dev' into pezredo 2021-11-27 18:37:56 -05:00
Aaron Suen
c4f79c2f6d Disallow form->frame when occupied
This was destroying the stack inside the form.
2021-11-27 18:37:48 -05:00
Aaron Suen
3a6dab2b62 Fix blockage detection w/ forms 2021-11-27 18:30:15 -05:00
Aaron Suen
597ad823ae New smarter stack settling recursion
When an ent settles, start an iterative process
of checking each ent near it for settling, bumping
ents upward as needed (during the process only)
and keeping them ordered by their starting height
so that things that start lower settle earlier (and
thus remain lower) even if ents have fallen and
bunched up together due to physics and large
timesteps.

Seems to work fully for falling_nodes (keeps
them in a column and settles them in order), and
partially for items (keeps them in a column but
does not always settle them in order).
2021-11-27 18:25:10 -05:00
Aaron Suen
b33769d56f Remove legacy pez dispenser handling
This puts all falling item and node entities on a
level field with items falling through forms again.
2021-11-27 17:39:38 -05:00
Aaron Suen
148790bdcb Merge branch 'dev' into fallthrureform 2021-11-27 16:16:11 -05:00
Aaron Suen
2f5b2daf93 Add lode ladders and frames 2021-11-27 16:14:25 -05:00
Aaron Suen
a0bc9a2bed Merge branch 'dev' into fallthrureform 2021-11-27 15:50:22 -05:00
Aaron Suen
ab79dd9949 Nerf rush farming dirt consumption
Only consume soil quality 1/4 times
2021-11-27 15:49:38 -05:00
Aaron Suen
24e16a97d8 Make thatch use grassy sounds too 2021-11-27 15:48:44 -05:00
Aaron Suen
61a494d297 Make sedges use grassy sounds 2021-11-27 15:48:27 -05:00
Aaron Suen
5b076d1c6d Columns of items now fall through forms 2021-11-27 15:43:44 -05:00
Aaron Suen
2e13a95e82 Standardize items falling out of shelves 2021-11-27 15:38:03 -05:00
Aaron Suen
443bade6d6 Unified custom falling checks 2021-11-27 15:21:11 -05:00
Aaron Suen
ce99412270 Item entities properly fall thru forms 2021-11-27 15:08:40 -05:00
Aaron Suen
591aca0ced More sedge fixes 2021-11-27 13:45:42 -05:00
Aaron Suen
3c071dba09 Merge branch 'dev' into fallthrureform 2021-11-27 13:37:00 -05:00
Aaron Suen
5392a2ab3a Fix sedge farming
Instead of trying to always drop a sedge, then sometimes drop
another (didn't seem to work), just drop 2 sedges 25% of the time,
and 1 sedge the rest of the time if the 2 didn't drop.
2021-11-27 13:36:08 -05:00
Aaron Suen
6741c7cc50 Notify nodes upon stack change 2021-11-27 11:49:10 -05:00
Aaron Suen
3233b7e32e Rework stack settling API 2021-11-27 11:27:56 -05:00
Aaron Suen
69889ee292 Start reforming stacks falling in/thru boxes
- Retire items_fall_thru group
- Add on_settle_item callback
- Open-topped storeboxes automatically capture
  items settling on top of them
- Start converting form into storebox
2021-11-27 09:59:27 -05:00
Aaron Suen
7da2ed13df Fix crosshairs/looktips in the void
It seems like Minetest actually generates terrain
beyond the map limit boundaries and raycast
and get_node can retrieve them server-side, even
though they aren't rendered client-side and air is
still filled with ignores.  This causes players to see
"stone" with looktips looking thru the bottom of
the world.  Fix it with an explicit check for world
bounds.
2021-11-27 09:24:28 -05:00
Aaron Suen
01b3867c81 Stackapply recipes work on storeboxes too 2021-11-27 08:57:03 -05:00
Aaron Suen
9d3c05bb23 Document stackapply / door press limitation 2021-11-27 08:53:10 -05:00
Aaron Suen
c138dec78b Make stackapply recipes synchronous
This allows them to be used with the same item as
is already in the stack rather than having those items
combine into the stack FIRST and the recipe run later
with an empty weilditem.
2021-11-27 08:52:25 -05:00
Aaron Suen
a5985dd43e Don't push player out of item stack nodes 2021-11-27 08:41:29 -05:00
Aaron Suen
ede533034c Rethink how multiple stack access APIs work 2021-11-26 10:11:03 -05:00
Aaron Suen
81e6b02a33 Note about refactoring item_fall_thru 2021-11-26 09:44:29 -05:00
Aaron Suen
f88748b10a Add wooden forms
- Future storebox recipe reform ingredient.
- Items fall through forms but players and
  nodes (including falling_nodes) do not.
- Can be used to make e.g. special filter floors.
2021-11-26 09:41:57 -05:00
Aaron Suen
d1b09d0343 items_fall_thru stabilization
Do not allow items to settle onto something
they will immediately fall through if they are
already in a falling-through state.
2021-11-26 09:39:25 -05:00
Aaron Suen
3b0a0452f8 Add items_fall_thru group
Only applies to item stacks, not to falling_nodes.
2021-11-26 09:23:54 -05:00
Aaron Suen
c0a105a4ee Remove debug cruft 2021-11-26 09:16:22 -05:00
Aaron Suen
001f9767fe Notes update and reorg 2021-11-25 21:36:24 -05:00
Aaron Suen
9d6abc30d5 Fix a missing : prefix for external concrete types 2021-11-25 21:29:36 -05:00
Aaron Suen
033c4defc5 Add thatch and wicker
Partly based on WintersKnight94's work, but with
more vanilla-like and less wintercore-like textures
for now.
2021-11-25 21:13:36 -05:00
Aaron Suen
7c45ca5eb2 Stone anvils, new anvil API
- Anvil API is a wrapper that registers multiple
  recipes, one for each type of anvil allowed.
- Can now use smooth stone as an anvil, however
  once it's been used it cracks, and once it's been
  cracked, if it cools, it converts to cobble and cannot
  be reused, forcing players to master concrete, keep
  their forge hot, or relocate the forge each time it
  cools.
2021-11-25 20:12:55 -05:00
Aaron Suen
1b06213fea Add "hopelessly stuck -> ask community" tip 2021-11-25 12:30:00 -05:00
Aaron Suen
3e9e0bfc83 More specificity 2021-11-25 11:35:00 -05:00
Aaron Suen
9c0d9c23f4 Add some warnings to the readme
It seems like a number of players are coming in with
misconceptions about the type of game this is or
what the experience is supposed to be like.  Add
some explicit warnings to the CDB long description to
make it clearer.

If these help, it may make sense to add similar
warnings to the player's guide.
2021-11-25 11:31:59 -05:00
Aaron Suen
82dd025478 Translation updates 2021-11-24 21:54:03 -05:00
Aaron Suen
3244303aa1 Fix bugs caused by group metatable 2021-11-24 21:34:46 -05:00
Aaron Suen
feca258e63 Rebrand "hints" as "challenges"
There seems to be a common misconception among
new players that the "hint" system is supposed to
help provide guidance when they're stuck, when what
they're really for is hinting that something exists and
challenging the player to find out how to access it.

Change the name of "hints" to "challenges" for all
text display purposes to try to clarify.
2021-11-24 21:26:34 -05:00
Aaron Suen
0d9e8ef7ee More robust group detection, add missed ones
Detect attempts to read a group even if no items are
registered to use that group.
2021-11-21 19:00:39 -05:00
Aaron Suen
d2b157199e Document all groups in use by the game
Add a dump system to help detect new groups
that need to be documented.
2021-11-21 00:48:14 -05:00