2211 Commits

Author SHA1 Message Date
Aaron Suen
99254bf726 Simple visinv tweening
- On door convey
- On item ent settling

Only able to support limited cases, and still can't
usefully animate nodes, but at least this makes
some item placement behavior look smoother.
2021-07-05 13:42:46 -04:00
Aaron Suen
a1bda1a2cb Remove resolved issues from todo 2021-07-05 12:11:30 -04:00
Aaron Suen
0fdc8e12b1 Merge branch 'master' into dev 2021-07-05 12:10:53 -04:00
Aaron Suen
11a3790bc6 Fix door ablation spurious refiring 2021-07-05 12:10:47 -04:00
Aaron Suen
b2957c2396 New flora translations 2021-07-05 11:41:20 -04:00
Aaron Suen
fbbf26566d Make sedge growing hint hintier. 2021-07-05 11:38:07 -04:00
Aaron Suen
215c2cd36e Flora hints 2021-07-05 11:34:33 -04:00
Aaron Suen
bde5d2d976 Merge branch 'master' into dev 2021-07-05 10:47:49 -04:00
Aaron Suen
2e27f9963f Iterative new approach to compact conveyors
If something is blocked, store it in a separate retry
queue.  If the thing that blocked it moved out of
the way, re-queue the things waiting on it for retry.
This is probably theoretically less efficient than the
old approach since it relies on finding opportunities
to move items on the fly and probably queues a
number of retries that will ultimately fail, but it's
simpler and easier to maintain than the old way.
2021-07-05 10:44:31 -04:00
Aaron Suen
56379676af Massively simplified door conveyance
The old logic was extremely over-complicated, in
an attempt to allow door conveyance to work with
no gaps and support loops.  This led to code that
was unmaintainable, and a node deletion bug that
was too difficult to fix.

The drawback to the new approach is that things
cannot be pushed by doors into spaces that are
occupied by another thing, even if that thing will
be pushed out of the way by the doors on the same
cycle.  This means that chains of items on
conveyors will always have an air-gap between
them.
2021-07-05 10:19:24 -04:00
Aaron Suen
5911fd93d3 Merge branch 'master' into dev 2021-07-04 20:02:16 -04:00
Aaron Suen
c5d59fcc55 Fix node destruction bug
Unfortunately this also causes conveyors to jam for
one turn if there is no airgap between nodes on
certain conveyors, but it's better than the original
bug.
2021-07-04 19:45:26 -04:00
Aaron Suen
398d70ad1e Merge commit '6dde62a' 2021-07-04 19:37:29 -04:00
Aaron Suen
25ec676f67 Merge branch 'dev' into fluidhook 2021-07-04 12:22:11 -04:00
Aaron Suen
8a4182eee1 Update for "parallel arrays" API design 2021-07-04 12:20:15 -04:00
Aaron Suen
9a85ddcac9 Remove use of player meta in skins
- This was never known to be used.
- Player meta is only available for online players, so
  this would prevent looking up skins for offline
  players.
- This API arguably needs more overhauling to work
  with offline player properly though (e.g. pass
  player name instead of player object).
2021-07-04 11:31:58 -04:00
Aaron Suen
01c2e17e4b Fix glyph kerning issues
Glyphs were too close to texture edge, causing
them to run into each other and bleed/wrap around
with filtering enabled.
2021-07-04 11:20:30 -04:00
Aaron Suen
75bb408590 More crisp charcoal glyph textures
Also separate into mask layers
2021-07-04 11:02:21 -04:00
Aaron Suen
d755c18b49 Merge more personal notes 2021-07-04 10:19:54 -04:00
Aaron Suen
a034287dd7 Thump raked sand back to smooth 2021-07-04 09:38:46 -04:00
Aaron Suen
9780f1fc8a Revert "Re-shrink player guide a little"
This reverts commit e684ead12829f1330773cc4cc6b53b894a0bc743.
2021-07-03 11:30:26 -04:00
Aaron Suen
e684ead128 Re-shrink player guide a little
Issues reported on mobile devices (non-flagship
phone models or non-16:9 screens) that seem to
be because formspec size doesn't fit on screen so
tab buttons don't respond.

Rename the "movement" tab to "motion" even
though it's not a perfect synonym, to make it fit
inside the button better.
2021-07-03 11:21:48 -04:00
Aaron Suen
24801a67c7 Merge branch 'raking' into dev 2021-07-03 10:53:30 -04:00
Aaron Suen
852f351213 Fix options nil crash 2021-07-03 10:51:50 -04:00
Aaron Suen
56a5028646 Tweak texture compositing, vary alpha
- Make texture pure black so it can be used to
  darken gravel as well.
- Bolden texture alpha so it can be controlled per
  node def with opacity.
- Use lighter effect on sand, heavier on gravel.
2021-07-03 10:50:25 -04:00
Aaron Suen
43d1b6df2f Genericize sand-raking API, add gravel support 2021-07-03 10:42:45 -04:00
Aaron Suen
448480066e Expand base skins API, player colors in screenshot 2021-07-03 10:35:03 -04:00
Aaron Suen
fafc7b3211 Update official screenshot
- Add rake
- Different kinds of doors
- Stone brick around furnace
- Different kinds of concrete mix
- Add plants (sedge/rush/flower) to cliff
- A little charcoal writing on far right
2021-07-02 23:57:44 -04:00
Aaron Suen
cc3484dc17 Don't show the cheats HUD in screenshot world 2021-07-02 23:28:17 -04:00
Aaron Suen
84bdd1d57a Add on_door_convey API, unrake sand w/ doors 2021-07-02 23:15:31 -04:00
Aaron Suen
04bb7d083e New raked sand prototype
New pattern textures by GreenXenith
- Linear and Nexus shapes
- Recipe determined by player looking direction
- Rake same again to clear
- Handle pattern loss on digging, silktouch
2021-07-02 23:08:04 -04:00
Aaron Suen
20eae3dc49 Simplify sand raking, add recipe 2021-07-02 17:51:35 -04:00
Aaron Suen
a87c7391e6 Fix missing pattern 2021-07-02 15:52:11 -04:00
Aaron Suen
40e8d23a16 Proof of concept sand-raking nodes 2021-07-02 15:40:52 -04:00
Aaron Suen
eb8742e66f Merge branch 'master' into dev 2021-07-02 11:45:47 -04:00
Aaron Suen
e8e657e1a7 stack_get_serial can be nil; guard 2021-07-02 11:45:37 -04:00
Aaron Suen
96cc4d5d37 erge branch 'master' into dev 2021-07-02 09:28:53 -04:00
Aaron Suen
9b1cbdb3a2 Fix sponge squeezing not displacing glyphs
- Check for floodability, not just air equiv.
- Consolidate check responsibility into API.
2021-07-02 09:28:40 -04:00
Aaron Suen
66cf1ab84e Nerf low-tier sedge drop rates 2021-07-01 22:18:55 -04:00
Aaron Suen
238af605ab Buff red flowers a little more 2021-07-01 22:16:50 -04:00
Aaron Suen
2e4dd80dcd Buff flower spawn rate 2021-07-01 22:16:25 -04:00
Aaron Suen
32e33b78e3 Nerf loot table, buff loot rate
- Some loot items were OP, some were out
  of proportion for the target tech level.
- Add more loot to compensate and to make
  dungeons not so boring.
2021-07-01 21:58:45 -04:00
Aaron Suen
848910a992 Tweak plantlife destroyability
- Wilted flowers can be planted but will
  disintegrate if plucked.
- Flowers can be washed away by water.
- Destroying flowers/sedges uses the same
  particle effects as pumice.
2021-07-01 21:32:04 -04:00
Aaron Suen
503a967f30 Flowers wilt in stacks 2021-07-01 21:16:40 -04:00
Aaron Suen
b0f04adee1 Merge branch 'flowers' into dev 2021-07-01 21:13:11 -04:00
Aaron Suen
f36714d946 Code format 2021-07-01 21:12:58 -04:00
Aaron Suen
2239c46a5e Better flower mutation success rate 2021-07-01 21:12:16 -04:00
Aaron Suen
6d3933cb7a Track flower mutations, radiation sensitivity 2021-07-01 21:07:08 -04:00
Aaron Suen
192c34250d More muted color palette 2021-07-01 20:20:48 -04:00
Aaron Suen
175ea6e036 Flower biasing tweaks
- Specific soil quality matters
- Bias toward "lower" shapes/colors
- Significantly cut normal mutation rate
2021-07-01 20:10:20 -04:00