1374 Commits

Author SHA1 Message Date
Aaron Suen
b9028d0b01 Trim blank lines 2020-04-20 08:17:02 -04:00
Aaron Suen
c69d0a1cff Infodump config, dump texture override template 2020-04-20 08:15:53 -04:00
Aaron Suen
cf7ae16287 More Russian translation updates 2020-04-20 07:30:25 -04:00
Aaron Suen
b903ddd42a Image optimizations. 2020-04-16 01:27:54 -04:00
Aaron Suen
d33877fbc7 Fix sponge tote crash 2020-04-16 01:07:48 -04:00
Aaron Suen
a6ef71d9dd More breath HUD redoing 2020-04-13 00:00:31 -04:00
Aaron Suen
9c85cfd5d3 Lengthen concrete curing 2020-04-12 21:41:44 -04:00
Aaron Suen
5883582370 Fixed a major network traffic bug 2020-04-12 16:17:06 -04:00
Aaron Suen
a25ab0eecf Fix lode cubes falling 2020-04-12 12:25:31 -04:00
Aaron Suen
46646f7b83 Fix concrete curing
Make sure to use separate metadata fields for wet-to-pliable
vs. pliable-to-hardened concretes.
2020-04-10 21:52:18 -04:00
Aaron Suen
40d7848c46 Fix crash right-clicking wet aggregate 2020-04-10 19:02:31 -04:00
Aaron Suen
396aeab217 Add skybox to wishlist, rearrange stuff 2020-04-10 15:13:01 -04:00
Aaron Suen
b08337a3b7 Fix heat damage from cool lode 2020-04-10 14:52:03 -04:00
Aaron Suen
0e6327ca2d Custom theme-matching crosshair 2020-04-09 23:18:39 -04:00
Aaron Suen
e9998bddf2 Negate touch damage by using appropriate tool
NodeCore vanilla shouldn't be affected, since things that are
damaging are already not diggable, but for mods, this allows
some nodes to be damaging if punched, but diggable with the right
tool.  Note that they will have to drop something other than
themselves because touch damage will still apply to carrying the
item in inventory (i.e. "hot potato" mechanic).
2020-04-09 07:16:33 -04:00
Aaron Suen
920fba34ee Separate node stand/touch/radiant damage types
Don't reuse damage_per_second for damage on punch and radiant
damage.  This allows these to be defined separately, i.e. no longer
assuming that all damage is from "heat" and can radiate.  This
allows for things like thorny plants that hurt if you touch them
or stand in them but not if you stand near them.

Thanks to WintersKnight94 for reporting this.
2020-04-09 06:56:18 -04:00
Aaron Suen
b1f2828f5c Fix player air friction physics
If a player has sufficient upward velocity, then the gravity
reduction meant to slow downward acceleration instead slows upward
deceleration and the player flies ridiculously high.  Doesn't
happen normally in vanilla, but can happen with mods.

Thanks to Lone_Wolf for reporting this.
2020-04-09 06:39:58 -04:00
Aaron Suen
f240bc54c6 Fix is_full_sun error 2020-04-05 22:35:33 -04:00
Aaron Suen
a036f13851 Block 5.2+ redundant dig/place sounds 2020-04-05 21:36:45 -04:00
Aaron Suen
35292eb259 Switch to an internal sound API
Avoid mangling official Minetest API
functions that mods may want to
use directly.
2020-04-05 21:22:51 -04:00
Aaron Suen
4a41aae4a8 Default all sounds to ephemeral
NodeCore was already using sounds this way, i.e. assuming
they can't meaningfully be managed (may not be heard by
players just entering the area) so might as well get the
supposed performance benefit.

Added an override to allow sounds to be marked as NOT
ephemeral just in case it's needed.
2020-04-05 21:18:30 -04:00
Aaron Suen
6d86458dd5 Explicitly disable MT5.2+ tool punch wear 2020-04-05 21:09:03 -04:00
Aaron Suen
94129d5067 Hack to let TP authors override inv/wield images 2020-04-05 20:35:51 -04:00
Aaron Suen
fde6378910 Stylus recipe, more image optimize 2020-04-05 19:39:41 -04:00
Aaron Suen
ad61005c4f Fix heisenbug cause by strata 2020-04-05 19:27:15 -04:00
Aaron Suen
6ec2b5e2b6 Check stucco merge off roadmap 2020-04-05 16:10:51 -04:00
Aaron Suen
800301df84 Merge branch 'adobe' into dev 2020-04-05 16:07:45 -04:00
Aaron Suen
683d1b82ca Stylus etching, full cycle curing 2020-04-05 16:07:18 -04:00
Aaron Suen
babf5094b9 Rework wet concrete recipes 2020-04-05 15:31:16 -04:00
Aaron Suen
a3f03e16ad Fix adobe kneeding 2020-04-05 14:51:28 -04:00
Aaron Suen
734f4c8170 Less whimsical name for adobe mix 2020-04-05 14:50:03 -04:00
Aaron Suen
c7c31e27b0 Tarstone as single word like Sandstone 2020-04-05 14:49:21 -04:00
Aaron Suen
8082d4cd9c Fix some more pattern issues.
Left to do:
- Adjust wet->pliant curing recipe (maybe use soaking
  with ambient heat instead of cook/cool)
- Pliant->cured recipes/soaking.
- Stylus, pattern cycling recipes.
2020-04-05 14:45:52 -04:00
Aaron Suen
2ed399c379 More node appearance fixes. 2020-04-05 14:20:31 -04:00
Aaron Suen
a8bf644c95 More progress on patterns. 2020-04-05 12:50:02 -04:00
Aaron Suen
643885f070 Start work on importing Avicennia's nc_stucco
nc_concrete_pattern_* textures are derived from
Avicennia's original artwork.  Code is new, and processes
for stucco-working will be different.
2020-04-05 11:16:06 -04:00
Aaron Suen
2f8ffa4619 Darken bituminous stone more 2020-04-05 08:43:39 -04:00
Aaron Suen
4c7024adc2 Added 3 new artificial stone types
- Sandstone (from sand)
- Adobe (from dirt)
- Bituminous stone (from stone + coal)
2020-04-05 08:42:17 -04:00
Aaron Suen
13339b570a Restructure concrete, add multiple types. 2020-04-04 20:45:05 -04:00
Aaron Suen
6758904185 Switch from picking to chiseling for stone brick
Any chisel shape/temper is acceptable (bar/rod,
anneled/tempered)
2020-03-29 21:37:36 -04:00
Aaron Suen
5e4df4b1f0 No, wait, still need that dependency 2020-03-29 21:34:59 -04:00
Aaron Suen
e7d4d54b1c Genericize chisels, fix recipe digging
- Register groups for chiseling doors.
- Make recipe digging not use player inventory, but drop
  as an item unconditionally.  N.B. the old "replace with air
  then drop item" method only worked with explicit item
  names and not group detection.
2020-03-29 21:32:15 -04:00
Aaron Suen
7bc24b773f Drop rod chisel as an item instead
Instead of instantly digging the rod, which makes it look like
it disappeared, try just "loosening" it into an item so it can be
scooped up without the pick.

It was always also possible to place the rod as an item and
pound that in, making it easier to pick up, but this may not
have been obvious to most players.
2020-03-29 21:23:45 -04:00
Aaron Suen
98b7e21533 After chiseling a door, automatically dig rod
Also adds the ability to register recipes to automatically
attempt to dig a node upon completion.
2020-03-29 21:18:40 -04:00
Aaron Suen
7107d29768 Register metal groups for modding 2020-03-29 21:11:41 -04:00
Aaron Suen
c6cabca0e9 Stone bricks by WintersKnight94
- Original texture by WintersKnight94.
- Node definitions and recipes adapted from original.
- Added some hooks in a few other places to make new
  recipes work.

- Chip smooth stone with a lode pick or better to make brick.
- Bricks fall but don't repose.
- Apply mortar (wet aggregate) to bond stone bricks
- Bonded bricks can be moved but don't fall anymore.
2020-03-29 20:55:55 -04:00
Aaron Suen
48473ea34c A little tighter "airlike" detection. 2020-03-29 20:05:11 -04:00
Aaron Suen
0012c2673b More scaling time definitions
Also, scaling_time completely overrides
group-based scaling time logic.
2020-03-29 08:13:41 -04:00
Aaron Suen
1c612ee1f7 Cobbley group, generic scaling factors by group 2020-03-29 08:05:13 -04:00
Aaron Suen
f37a918f0f Scaling and touch-hurt reforms
- Storeboxes are now scalable.
- Standardize touch-hurt operation.
- Touch-hurt damage on scaling.
- Now possible to alter scaling time via scaling_time
  group (percent of original scaling time)
2020-03-29 07:55:54 -04:00