742 Commits

Author SHA1 Message Date
Aaron Suen
9ac63cac09 Padding hack to prevent text cutoff. 2019-08-26 21:26:13 -04:00
Aaron Suen
5a07edbb5a Player Guide Translations
- Fix tab switching events for formspecs.
- Add padding to fix cutoff text rendering issue.
- Added more pt and pt_BR translations from Terifo.

Note that when you call translate() on a piece of
text, it merely adds translation tags around it to
request that it be translated client-side, but when
the client submits formspecs, the button values are
the actually translated text, which you can't
trivially access server-side.  That means that we
need to use different button fields, not just count on
different button name/values, for events.
2019-08-26 21:02:06 -04:00
Aaron Suen
8a0319e7d1 Fix new player guide translations... 2019-08-26 01:01:58 -04:00
Aaron Suen
c439a46792 Allow translations of player guide GUI too. 2019-08-26 00:45:09 -04:00
Aaron Suen
bc7b449b05 Translations to Portugese by Terifo. 2019-08-25 19:06:16 -04:00
Aaron Suen
12b580ade0 Fix touchtip translations to cover ALL text. 2019-08-25 18:53:22 -04:00
Aaron Suen
349e8a0a35 Fix wet agg drawtype to appear correct when next to water. 2019-08-24 06:55:25 -04:00
Aaron Suen
14b45a3b1b Cheaper, but more complex, doors.
Wooden doors now use a cheap wooden axle (though
you still need lode to chisel them).  All doors must now
be lubricated with graphite (coal) before driving in the
hinge pin.
2019-08-24 06:44:36 -04:00
Aaron Suen
560b068bd7 Fix crafting, standardize recipe callback params. 2019-08-24 06:31:27 -04:00
Aaron Suen
dcb5c8b8a1 Water also prevents curing. 2019-08-23 23:20:05 -04:00
Aaron Suen
0c02eec17f Rework concrete curing to work a lot more like glass. 2019-08-23 23:16:59 -04:00
Aaron Suen
f4aa27299e New concrete mod provides access to smooth-stone.
Bash gravel down into ash to produce dry aggregate.

Dampen the aggregate to produce wet aggregate.  The ash chemically
reacts with gravel to produce a cement.

Let the wet aggregate dry and it will cure into smooth-stone.
It will tend to flow and wander if left uncontained though.
2019-08-23 22:45:08 -04:00
Aaron Suen
bba8edfc39 Lower sponge water TTL. 2019-08-23 21:42:48 -04:00
Aaron Suen
86ecd96cc9 One more tweak to sponge mechanic.
Water is now squeezed out, can be reabsorbed, BUT might disappear
before being reabsorbed anyway.  The original sponge can be
removed, though, and the water will just disappear on its own
after the timeout.
2019-08-23 21:39:54 -04:00
Aaron Suen
a2fa61b77f Alternative sponge mechanic.
When squeezing a wet sponge, it doesn't become dry, but must
remain wet and in place, and the water source it places lives only
a short time.
2019-08-23 21:36:11 -04:00
Aaron Suen
6141a6206e More sounds for sponge stuff. 2019-08-23 21:25:29 -04:00
Aaron Suen
10db2d6dbf Squeeze sponges to produce temporary splashes of water.
Pummel a sponge and it will release water if there is space
nearby, though it will be reabsorbed by the sponge in a few
seconds.

This CAN be used to wet other sponges (i.e. to have a managed
supply of water if working far from oceans) but CANNOT be used
to create infinite springs.

If the original sponge is removed (and there is no other sponge
to absorb the water) then the water will be removed as well.
2019-08-23 21:18:20 -04:00
Aaron Suen
4d245b850b Fix lualocals. 2019-08-23 21:18:14 -04:00
Aaron Suen
fe00eb65c0 Wet sponges contribute to tree growth too. 2019-08-23 20:51:19 -04:00
Aaron Suen
28108e1e40 Add translation support, esp. for TouchTips.
Translations are currently by holistic strings, i.e.
no parameterization.  This may create some busy
work for translators, but gives them more freedom
to account for differences between languages.

A translation template file is written out to the world
path on game start, so translators have a seed to
work from.
2019-08-23 20:40:33 -04:00
Aaron Suen
37dbcb3474 Make planted eggcorns look like regular dirt.
You now need to use the particle visual cue to
differentiate them.
2019-08-23 20:38:31 -04:00
Aaron Suen
db1c67e169 Float and clear glass both grind down to crude similarly. 2019-08-19 22:33:25 -04:00
Aaron Suen
fd52006a7a Image optimizations. 2019-08-19 22:31:00 -04:00
Aaron Suen
1201630dbb Significantly simplified recipe registration. 2019-08-19 22:27:05 -04:00
Aaron Suen
20737f383b Merge branch 'dev' into floatglass 2019-08-16 08:41:28 -04:00
Aaron Suen
638f7f69da Merge branch 'dev' into writing 2019-08-16 08:22:57 -04:00
Aaron Suen
8c2181b250 Make node sounds on spinning too. 2019-08-14 21:46:55 -04:00
Aaron Suen
7a47f9d61c Add stone doors, tweak descriptions.
The alternate_loose/dig_in_place logic for cobble is interfering
with how stone doors work when dug, but it's still playable and
lossless, even though it's a bit tedious.  I'd like to understand
why it's happening this way and I can't seem to bypass it easily,
but it may be justifiable to leave it this way.
2019-08-14 18:36:22 -04:00
Aaron Suen
5651e94100 Slightly randomize sound pitch by default.
This will make stacked/repeated sounds play slightly differently
so you can hear from the interference patterns that there is more
going on underneath the surface.  It also adds volume to dispersed
ambient effects like fire.
2019-08-14 18:28:24 -04:00
Aaron Suen
15941ba35c Add door operating sounds. 2019-08-14 00:47:18 -04:00
Aaron Suen
32ea24ec50 Image optimization. 2019-08-13 23:01:32 -04:00
Aaron Suen
e5343addd2 Double doors and gears. Update docs. 2019-08-13 22:53:20 -04:00
Aaron Suen
05ac51dafc Fixed description. 2019-08-13 22:09:12 -04:00
Aaron Suen
7431453ad7 Door rotation logic.
Shockingly it WORKS.

Does not yet interact reasonably with a lot of terrain (should
arguably push liquids, falling nodes, items, etc.) or entities
a(i.e. should arguably push players).
2019-08-13 22:02:02 -04:00
Aaron Suen
86cc55c12b Basic door node setup and recipes.
- Craft door panels by chiseling with a rod.
- Rotate door panels.
- Hammer in rod to act as hinge pin.
- Dig out hinge pin, dig up panel.
2019-08-13 21:06:13 -04:00
Aaron Suen
6b63347dd2 Merge branch 'dev' into hinges 2019-08-12 21:05:02 -04:00
Aaron Suen
d92f40b494 LoneWolfHT sent a new model.
- Tweaked some proportions to be more realistic.
- Fixed the hat/hair overlay (it's subtle but present).
2019-08-12 21:04:07 -04:00
Aaron Suen
d13147fd57 Add bars and rods to lodecrafting. 2019-08-09 22:28:19 -04:00
Aaron Suen
f3115fce2b Incorporate LoneWolf's model updates, sent via discord. 2019-08-09 08:54:05 -04:00
Aaron Suen
a064f52557 Fix unknown item crash. 2019-04-14 01:33:50 -04:00
Aaron Suen
6f2316a455 Simplify hand texture so it looks right on all faces.
We can't actually fully texture the top, bottom, and ends of the
hand because it's a wield extrusion, so make the whole thing
consistently banded so all faces look as bad as the ones we have
the least control over.
2019-04-14 01:11:39 -04:00
Aaron Suen
701efa73d2 Cleanup/refac. 2019-04-14 00:57:14 -04:00
Aaron Suen
e09ee314fc Debounce wield selection sounds. 2019-04-14 00:44:18 -04:00
Aaron Suen
24bbeb135b Make pummeling pace easier, esp for android. 2019-04-14 00:11:02 -04:00
Aaron Suen
a0670867c1 Experimental item switching sounds. 2019-04-14 00:09:03 -04:00
Aaron Suen
285a21b796 New hand appearance.
- Matches player model.
- Stays down by player's side (off-screen) when not in use.
  The game looks even more minimalistic when first started.
2019-04-13 23:39:46 -04:00
Aaron Suen
22e11bf471 Revert "Remove (expensive) issue8738 workaround."
This reverts commit 68c6f6671121b1b72b62db97858c25c82f6e834f.

I was able to reproduce the issue, in a case when it was definitely
NOT a falling_node mishap.  Snuffing fire by placing a node against
the last bare face of embers apparently creates a race condition,
in which the node you place can be removed instead of only fire
being removed.
2019-04-13 00:11:03 -04:00
Aaron Suen
5f277cfad1 Switch to hard-coded list names.
It seems that inv:get_lists() returns a list of userdata, instead
of names, at least in 5.0+, and can't necessarily be relied upon
for this purpose.
2019-04-10 08:33:34 -04:00
Aaron Suen
b30112d702 New, bolder charcoal textures.
Hopefully, tiers should be a little easier to distinguish...
2019-04-09 22:51:31 -04:00
Aaron Suen
db5cbd3de4 Avoid lighting bugs, players messing w/ inventory via CSM. 2019-04-09 21:06:55 -04:00