582 Commits

Author SHA1 Message Date
Aaron Suen
359c625df8 Larger, bolder, easier to see item and stack ents.
This restores an old visual scale from the extremely early days
of NodeCore.  That style was removed to syncrhonize the scale of
stack nodes with item ents.  The syncrhonization can work the
other way, too, though.

This was triggered by wanting to make loose item ents more
visually distinct at a glance from settled stack nodes, by making
loose item ent rotation faster.  Since we were going to change the
properties either way, given that, then we might as well use the
better visual.

Since making stack nodes have a full-size collision hull, it was
distracting having the items inside be so mismatched in scale.
Also, the "pointing around stacks" thing becomes less important
in long-run gameplay with shelves in play, which do not allow
pointing around/through anyway.
2019-03-30 22:07:23 -04:00
Aaron Suen
85f87d1c17 Simplify some selectionboxes significantly. 2019-03-30 21:23:02 -04:00
Aaron Suen
c83e3288d7 stepheight obsoleted by auto-jumping...?
Well, we'll have to see if that works out...
2019-03-29 23:53:27 -04:00
Aaron Suen
00619690e2 Fix bug ejecting virtual items on damage. 2019-03-29 23:43:22 -04:00
Aaron Suen
094e5923fc Screenshot forgot to show off player model. 2019-03-29 23:25:01 -04:00
Aaron Suen
a8766c8b42 Fix deep lode ore description. 2019-03-29 21:46:54 -04:00
Aaron Suen
8f72d04d57 New, more detailed screenshot. 2019-03-29 21:00:43 -04:00
Aaron Suen
a2488044e6 New, fancier logo. 2019-03-29 18:54:06 -04:00
Aaron Suen
5768317269 Make pickup and rearrange logic consistent again.
The new change preserves uncombined stacks when digging.  For
example, if you have dirt on the far right, tools on the far left,
and space between, and you dig dirt with the tools on the left,
it will create a NEW stack in the space between BEFORE it reaches
the dirt on the far right.

This behavior is necessary to ensure we can keep stacks separate
that we've separated for a specific purpose.

We also can't make the behavior vary based on whether using a tool
or not, because this would be even MORE jarring.
2019-03-29 18:44:01 -04:00
Aaron Suen
fb42201c54 Add a screenshot icon for CDB. 2019-03-29 17:20:34 -04:00
Aaron Suen
dca1e58a85 Yet more inventory/pickup changes.
- Intercept /give commands.
- Provide an API for giving the player an item and inserting it
  into the inventory in the right place(s).
- Change the fill order.  We try to fill the current slot first,
  the continue to the right to the end of the bar, and then
  finally work our way left to the beginning.  I think this fill
  order should be most comfortable, in terms of having items tend
  to fall close to the cursor.
2019-03-28 22:52:48 -04:00
Aaron Suen
854493dcd9 Intercept /give and /giveme commands too. 2019-03-28 09:03:31 -04:00
Aaron Suen
29a2c6cfcd Fix tool wear causing inv rearrange. 2019-03-27 23:57:56 -04:00
Aaron Suen
f3ab916f3b Combine first, to minimize rearrangements. 2019-03-27 22:42:28 -04:00
Aaron Suen
47b4ae9bc6 Promote inventory pickup changes to a first-class feature mod.
Use interception where possible to modify destintion for items
directly instead of relying on post-hoc inventory rearrangement.

This should resolve the glitches where items appear in the wrong
place in inventory for a flash before being moved.
2019-03-27 22:10:45 -04:00
Aaron Suen
e8c698d571 Removed logtrace (moved to szutilpack). 2019-03-27 06:37:10 -04:00
Aaron Suen
59a16d44f2 Eggcorns deserve their own sounds... 2019-03-25 00:15:05 -04:00
Aaron Suen
584fd2f9fa Make deep stone dig through each stage, taking longer to dig. 2019-03-24 23:15:34 -04:00
Aaron Suen
fb63ad0a82 Fix some optics unloaded-area crashes. 2019-03-24 23:15:25 -04:00
Aaron Suen
65b4d1596c Double strata thickness to 128
This allows us to reach lava depth with current technology.
2019-03-24 22:51:23 -04:00
Aaron Suen
cbcdc7aea4 Preempt lava/magma pedantry. 2019-03-24 22:38:15 -04:00
Aaron Suen
9f53c5b43d Fix crash on punching lava.
minetest.[de]serialize apparently does attempt to serialize
functions (e.g. the on_punch) hook now, but all upvalues become
nil in the process.
2019-03-24 22:32:36 -04:00
Aaron Suen
b5c45423b5 Make ignite/snuff sounds more distinct from one another. 2019-03-24 21:13:27 -04:00
Aaron Suen
cfb5e729c8 Sounds for igniting/extinguishing fires. 2019-03-24 21:08:39 -04:00
Aaron Suen
c44d9879bd Cut down on log noise from optics. 2019-03-24 19:52:14 -04:00
Aaron Suen
06194e0bf6 Player choice for real items only, not "virtual" (injury) items. 2019-03-24 19:19:43 -04:00
Aaron Suen
45160f7270 Oops, fix regression in stack dig node sounds. 2019-03-24 18:42:32 -04:00
Aaron Suen
7c19e0aa07 Remove the old sneak-dig hack.
It was superseded effectively by the new inventory management
system.  To split stacks, count out the items to transfer onto the
ground using sneak-drop, select the destination slot and pick them
back up.
2019-03-24 18:34:17 -04:00
Aaron Suen
170605dd6b EXPERIMENTAL direct player inventory pickup control.
Players can specify the exact slot they want picked up items to go
into.  Items will try to fit into the currently selected slot first
before filling additional slots according to normal rules.

This is experimental and may lead to lost or duplicate items!!

Hopefully this should end up being a lot more intuitive and
immersive than the old sneak-dig hack that only worked for certain
objects.  It's consistent across all functionality that causes
items to be added to player invetory (including /give).

Unfortunately it adds yet another globalstep function, and a
fairly complex one at that...
2019-03-24 18:24:54 -04:00
Aaron Suen
e08e017e04 Stop excess optic rechecks on ignores. 2019-03-24 18:24:37 -04:00
Aaron Suen
268434950c Rename player mod that's no longer at all about inventory. 2019-03-24 18:24:08 -04:00
Aaron Suen
7e062bcbfe Documented upstream bugs in wishlist. 2019-03-24 09:49:18 -04:00
Aaron Suen
a3d1487890 Shrink eggcorns down 25% (again). 2019-03-23 20:05:56 -04:00
Aaron Suen
497e637d80 Code simplification. 2019-03-23 17:44:18 -04:00
Aaron Suen
29dbe0f411 Holy moly, it's the first new tool in like forever! 2019-03-23 17:41:31 -04:00
Aaron Suen
367013941c Resimplify eggcorn planting.
- Allow applying dirt to eggcorns w/o sneak again.
- Allow dirting any face; basically just do the custom check
  directly.
- Back out the "shove eggcorns into placed dirt" recipe.
2019-03-23 16:56:02 -04:00
Aaron Suen
4765b12629 Fix missing docs. 2019-03-23 13:03:39 -04:00
Aaron Suen
25938294a2 Update roadmaps. 2019-03-23 13:02:51 -04:00
Aaron Suen
a8dbfb221f EggCorn Overhaul!
- Place EggCorns as items, not as nodes.
- Tweak visual scales, thicken them up a bit.
- Allow planting eggcorns into dirt, as well as throwing dirt
  over eggcorns, to make planting easier.
2019-03-23 13:01:31 -04:00
Aaron Suen
14db333484 New sizzling sounds.
They sound silly, i.e. melting sand/steel now sounds like
sizzling bacon.  They're distinct from the "hiss of steam" sound
that cooking completion makes, and it's about the best way to
symbolize "something's cooking" I can think of.
2019-03-23 11:36:22 -04:00
Aaron Suen
cff62c1281 Reset cooking/cooling recipe if stack quantities change. 2019-03-22 23:15:47 -04:00
Aaron Suen
8a8533a8fc Convert lode to new cooking recipe system. 2019-03-22 22:55:30 -04:00
Aaron Suen
da54ec1815 Start to unify cooking/cooling into recipe system. 2019-03-22 21:55:02 -04:00
Aaron Suen
a9c89eac4c Fix collision boxes for shelf/stack to be full cubes. 2019-03-22 18:41:33 -04:00
Aaron Suen
73839954ae Give embers a sound (esp. for when they fall/land) 2019-03-17 10:55:41 -04:00
Aaron Suen
dfcb19a0cf Deeper gravel sounds, more distinct from dirt. 2019-03-16 17:14:39 -04:00
Aaron Suen
27770dfdb7 Try to fix stack node sounds.
Use same node_sound hook as punch hook, to limit sound rate.
2019-03-16 17:10:20 -04:00
Aaron Suen
209e0491a4 Fix loose lode cobble sounds 2019-03-16 17:02:10 -04:00
Aaron Suen
5c05a3c6dd Avoid spewing so many individual items. 2019-03-16 16:54:35 -04:00
Aaron Suen
406576f7e7 More spectator mode fixes. 2019-03-16 15:55:55 -04:00