2211 Commits

Author SHA1 Message Date
Aaron Suen
5bb89ebae9 Optimize and reorder player skin layers
- Put base skin on top so custom skins can more
  easily override colored regions.
- Eliminate redundant texture areas.
- General image optimizations.
2021-07-24 21:48:58 -04:00
Aaron Suen
7dac417764 Reorder screenshots
cdbrelease still enforces screenshot order, so
interleave "landscape" shots with the new
"not so much green/gray" shots.
2021-07-24 11:30:35 -04:00
Aaron Suen
1ed403192a Swap out screenshots for more visual diversity
The previous screenshots were all very focused
around large landscape shots and showed a lot of
mostly grass and cobble.
2021-07-24 10:10:53 -04:00
Aaron Suen
ddf4b34d26 No promises there WILL be bugs... 2021-07-23 23:59:15 -04:00
Aaron Suen
bdb86359c2 First round of additional screenshots
Just hand-picked these from random shots of the
community server builds, for now.  Maybe other
contributors will provide better ones someday.
2021-07-23 23:56:26 -04:00
Aaron Suen
138e3c80a9 A little more whitespace in about dialog
Separate out group of "where to get it" from
group of "where to chat about it"
2021-07-23 23:52:40 -04:00
Aaron Suen
1f1041e103 Remove mysterious duplicate mod copy 2021-07-23 21:26:46 -04:00
Aaron Suen
59b000f06a Merge branch 'master' into dev 2021-07-22 22:03:38 -04:00
Aaron Suen
40889ff1a9 Make NodeCore's educational value clear
A lot of people have actually been de facto using NodeCore as an
educational tool.  Apparently it gets parents excited to introduce
to their kids.

NC optics, in particular, reminds me of Rocky's Boots, which I
only ever got to play briefly in school in like 3rd grade or
something, though NC optics might be for kids a bit more
advanced. :-)
2021-07-22 22:00:47 -04:00
Aaron Suen
824bda4976 Merge branch 'master' into dev 2021-07-22 10:21:48 -04:00
Aaron Suen
c73acb7683 For now, apply the "featured" tag for non-ALPHA only
Probably need to either rework CDB or cdbrelease to stop the
CI process from messing with this tag at all...
2021-07-22 08:07:31 -04:00
Aaron Suen
e77094d39d Try to fix missing footstep sounds
Apparently "rounding error" margin for the bounding box for feet
was too large for MT to detect player's feet on the ground.
Shrink it to a very small amount that should be large enough not
to be lost in rounding error but small enough to allow footstep
sounds.
2021-07-21 07:08:18 -04:00
Aaron Suen
318c04bac3 Tweak descriptions/formatting 2021-07-20 21:25:37 -04:00
Aaron Suen
97644bc68b Fix description header levels 2021-07-20 21:20:34 -04:00
Aaron Suen
1475435668 Update CDB descriptions 2021-07-20 21:15:12 -04:00
Aaron Suen
87e8cf4291 Revert item->visinv entity reuse
Apparently an object having had automatic
rotate set in properties in the past will cause its
rotation to retain some unknowable offset,
presumably calculated client-side and not
matching the ent's yaw.  Entity replacement
(i.e. backing out reuse) is the simplest fix and
the transient one-time flicker is better than
losing the stack fullness indicator from yaw.
2021-07-11 22:33:32 -04:00
Aaron Suen
87e6e72d76 Offline-soaking sponge growth 2021-07-11 20:28:05 -04:00
Aaron Suen
0642839aea Simplify rush hitbox 2021-07-11 16:28:21 -04:00
Aaron Suen
a16ceda69a Detect cheat status changes bypassing events 2021-07-11 15:25:27 -04:00
Aaron Suen
068e9b6995 Remove debugging code 2021-07-11 14:51:35 -04:00
Aaron Suen
e24112a2d9 Fix soaking with cache
Soaking recipe fails will result in a lot of clearing
of old soaking values out of node meta, which is
very slow in the common case of e.g. dirt that's
not near water and thus should not be soaking in
the first place.

Skip node meta writes if the node meta already
contains the correct data, by doing a cached read
and check before writing, instead of blindly
writing.
2021-07-11 14:50:33 -04:00
Aaron Suen
03948cfe0f In-memory cache for soaking
This speeds up performance of soaking API by
quite a lot, especially in the more or less
pathological case of soaking dirt to sand, which
involves clearing the metadata from thousands
of nodes each run.  Knowing that the nodes
had already had their metadata cleared is
very helpful.
2021-07-11 14:36:55 -04:00
Aaron Suen
4be7398ff4 Fix setting interval/chance in soaking 2021-07-11 14:13:04 -04:00
Aaron Suen
c92762dabb Log ezschematic node summary
Useful for things like the various skyblock mods,
to verify exact counts.
2021-07-11 09:38:19 -04:00
Aaron Suen
385856d23c Fix a misimplemented fischer-yates shuffle 2021-07-10 23:49:07 -04:00
Aaron Suen
17bd745553 Merge branch 'master' into dev 2021-07-10 23:13:45 -04:00
Aaron Suen
e507b87c2c Add padding to bottom of player collisionbox
- This nudges the player upward a bit and gets the
  feet of the model out of the ground.
- This also compensates for a rounding issue that
  causes players to be detected as stuck in the
  node below their feet instead of the space above
  it.  The old workaround worked for pushout but
  didn't help with mods like ziprunes.
2021-07-10 23:13:41 -04:00
Aaron Suen
074e8035bf Add padding to bottom of player collisionbox
- This nudges the player upward a bit and gets the
  feet of the model out of the ground.
- This also compensates for a rounding issue that
  causes players to be detected as stuck in the
  node below their feet instead of the space above
  it.  The old workaround worked for pushout but
  didn't help with mods like ziprunes.
2021-07-10 23:13:08 -04:00
Aaron Suen
44d0a9808d Document sponge death issue
Too messy to get into this right now.
2021-07-10 21:00:59 -04:00
Aaron Suen
15ae28092d Merge branch 'master' into dev 2021-07-10 18:32:36 -04:00
Aaron Suen
4edae057fa Move ablation cooldown to RAM, fix meta loss
Apparently metarefs are cached somehow such that
values written to them are not returned from subsequent
reads.  Must be an engine bug, but it's probably not
worth trying to fix it at this point.  Some startup jank
is apparently inevitable anyway, and a 2 second cooldown
time is not easily exploitable by restarting the world.
2021-07-10 18:32:00 -04:00
Aaron Suen
293b3de9ee Move ablation cooldown to RAM, fix meta loss
Apparently metarefs are cached somehow such that
values written to them are not returned from subsequent
reads.  Must be an engine bug, but it's probably not
worth trying to fix it at this point.  Some startup jank
is apparently inevitable anyway, and a 2 second cooldown
time is not easily exploitable by restarting the world.
2021-07-10 18:31:18 -04:00
Aaron Suen
cf8364199c Simplify soaking metadata clearing 2021-07-10 11:25:49 -04:00
Aaron Suen
135701f4f8 Remove soaking neighbor checks
These cause some issues, like the ability to soak
dirt under water for a short time to initialize the
soaking metadata, then remove the water flow,
then add it in and have leaching complete instantly
because the neighbor check prevented the soaking
ABM from firing to detect that the water was
removed.

In the course of investigating why ABMs are so slow
to begin with, it was discovered that having neighbor
checks can slow an ABM down by a factor of something
like 7x, so clearly the assumption that the neigbor check
being done in C++ as "efficient" was false.  This means
that we may be better off just always firing the ABM and
letting Lua check only a couple of relevant nodes (e.g.
for water flows in the space above) instead for
performance.

The main performance concern was dirt leaching, since
dirt generates naturally in the world in bulk, but if the
single check for water above may be faster than checking
all 26 neighbors in C++ anyway, we might as well let the
soaking API run for it so that it can detect the water having
been removed and reset the counters.
2021-07-10 11:23:09 -04:00
Aaron Suen
7fcac52105 Setting metadata update 2021-07-10 11:14:51 -04:00
Aaron Suen
1ccbf0bb8c Fix formatting confused by parens in long string 2021-07-10 11:14:07 -04:00
Aaron Suen
9fb4cf55b2 Deprecate register_limited_abm
This has just been an alias to minetest.register_abm
for a while now, and all ABM enhancement features
have been added directly to the core API.
2021-07-10 11:09:44 -04:00
Aaron Suen
8a8bed8e5d Major settings cleanup
- Run all settings through a common API.
- Use modname prefix consistently for setting
  keys instead of "nodecore".
- Add automatic dumping of settingtypes.txt
  metadata for maintenance.
- Include initial settingtypes.txt for game for
  main menu use.
- Remove per-recipe tuning for pummel recipes,
  as there were way too many of those to be
  possibly useful and it was clogging up the
  settings menu.  Use tool rate adjustments to
  control it instead.
- Remove vestigial enable_damage setting.
2021-07-10 10:04:03 -04:00
Aaron Suen
61a7414f4b Remove vestigial creative mode cruft 2021-07-10 08:37:55 -04:00
Aaron Suen
700e0484d2 Remove debugging code 2021-07-10 08:27:25 -04:00
Aaron Suen
15936859c3 Persist stasis in modstore, not settings 2021-07-10 08:14:08 -04:00
Aaron Suen
43010da17a Disable creative/damage in menu if possible
Pending PR to allow disabling these settings and
setting them to a fixed value in the engine.  Use
it if it gets merged.

https://github.com/minetest/minetest/pull/11378
2021-07-09 21:06:55 -04:00
Aaron Suen
053a55bc39 Merge branch 'fluidhook' into dev
The corresponding engine feature has been merged and will become
available in MT 5.5+, and the corresponding NodeCore code already
detects whether it's available or not and falls back gracefully
for existing releases.

https://github.com/minetest/minetest/pull/11405#event-5000287764
2021-07-09 09:11:18 -04:00
Aaron Suen
776cab1701 Ideas 2021-07-09 08:55:09 -04:00
Aaron Suen
2a51c9af9b Fix reversed door hub movement priority
Items placed on top of a spinning horizontal door are
supposed to be flung outward preferentially and only
stay near the hub if held back by a wall.  Rewriting the
door conveyance logic apparently switched this.
2021-07-09 08:21:57 -04:00
Aaron Suen
7d41fc53c3 Door ablation check on load
Try to make sure doors don't have to wait arbitrarily long
for a patrol ABM to fire if their DNT was lost and they're
part of a stable circuit.  This seems to have caused some
sponge squeezers in particularly busy areas to stop for a
while when first loaded sometimes, which can interrupt
the water flow they provide, which can lead to a fire
hazard.
2021-07-09 08:18:55 -04:00
Aaron Suen
e0dc918b83 More screenshot enhancements
- Moved camera back to fit it all in 16:10
- Adjusted charcoal glyphs on right side
- Fresh high-MSAA screencaps, guetzli'd for CDB
2021-07-09 00:25:25 -04:00
Aaron Suen
e3337de123 Add "redecorate" cheat to add new flora to maps
Admins can fly around, pick spots for new flower/grass fields,
and then run this cheat command to spawn a bunch of the new
flora in the given area.
2021-07-08 07:23:10 -04:00
Aaron Suen
2ce0a3b246 Fix wrong item display on drop-all items
If an item was settling too far away from where the item ent
landed, e.g. if pushed out by other settling items at the same
place, then it was using entity position to get visinv data
instead of node position.

Inform visinv ents of their actual node position instead of relying
on the object being reasonably close and rounding.  This fixes
multiple potential issues with visinv entity display and allows
these entities to be displaced arbitrarily far from their home
node and still function.
2021-07-06 07:25:03 -04:00
Aaron Suen
90dbadb5bd Fix thrown item stack settling flicker
When a thrown item settles into a node space and
becomes a visinv node, reuse the existing entity instead
of deleting the old one and creating a new one, if
possible.
2021-07-06 07:14:14 -04:00