51 Commits

Author SHA1 Message Date
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
41963a009a Exclude some large files from exports.
- Consolidate any "source-only" files into "src" dirs.
- Exclude "docs" dir, mainly in root atm.
- Exclude all dotfiles.

This significantly reduces the size of delivered files, since
esp the player model .blend file is very large.
2019-04-09 07:54:46 -04:00
Aaron Suen
d41e208d87 Switched from fire alpha to gentle animation. 2019-04-04 08:26:53 -04:00
Aaron Suen
4b1488ed3f Hints system overhaul.
- Included new content.
- Partially converted to base on recipes instead of just items.
- Added support for group and toolcap checks.

Fixed a number of small bugs elsewhere in the process.
2019-04-03 07:41:27 -04:00
Aaron Suen
be6b5ec8a0 Remove "Cube" from node descriptions.
Consistent with everything else in the world, we assume that "cube"
is the default state for things to be in (this is NodeCore after
all) and only use shape descriptors for things like lumps, prills
and other non-cube versions of things that also exist as cubes.
2019-04-02 08:10:17 -04:00
Aaron Suen
676a478427 Fix alpha channel. 2019-04-01 19:54:39 -04:00
Aaron Suen
2b048e4ffb Image optimize. 2019-04-01 19:19:17 -04:00
Aaron Suen
d5c0c94c85 Fix coal2 not returning any coal lumps. 2019-03-31 23:51:25 -04:00
Aaron Suen
468bbba9ca Try using alpha for flames.
Fuel quality is important now, so we want to be able to see the
fuel through the fire.  On the other hand, this may cause fire
to be invisible through water...
2019-03-31 22:21:05 -04:00
Aaron Suen
a22cc73a20 Consistentize ash/charcoal lump/cube naming. 2019-03-31 22:11:29 -04:00
Aaron Suen
2d4445c976 Tweak flammability, esp of charcoal/ash mixtures. 2019-03-31 21:38:26 -04:00
Aaron Suen
10192c44d2 Break coal/ash apart, reconstitute into pure nodes.
This allows access to top-tier charcoal, for maximum efficiency
burning, plus new lumps of coal/ash as future resources.
2019-03-31 21:18:53 -04:00
Aaron Suen
fbff15e2fe MAJOR fire api/logic rework.
- Expanded fire api, added "check" varieties of things that also
  perform relevant checks for eligibility.  Standardized testing
  for ventilation.
- Snuff embers to coals as fuel.
- Fuel is consumed randomly by flames.  This means that fuel that
  are surrounded by flame burn out quicker, while flames
  surrounded by fuel consume fuel from each node slower.  This
  adds subtlety to furnace design for efficiency.
2019-03-31 20:54:38 -04:00
Aaron Suen
cc1f7c9dd9 Sparser embers, define nodes. 2019-03-31 19:41:03 -04:00
Aaron Suen
00baac623d New artwork for fire rework. 2019-03-31 19:21:33 -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
73839954ae Give embers a sound (esp. for when they fall/land) 2019-03-17 10:55:41 -04:00
Aaron Suen
c09c8777e2 Fire ambiance.
This is the last currently known missing sound, finally.
2019-03-14 22:20:18 -04:00
Aaron Suen
fd5f4219f7 Sounds for some items, ash. 2019-03-14 01:16:44 -04:00
Aaron Suen
9607bcc6a6 Start working on sounds, plus minor refinements.
- Clean up registered_* usage patterns.
- Reduce tendancy of leaves to create stack nodes.
  Now they tend to stack up properly in-world more often.
- Tweak damage system to create "headroom" where minor
  damage doesn't cost inv slots immediately.
- Make player hand skin color match model skin.
- Cleanup/unify grass abm logic.
- Start installing new sounds by MagikEh

Sound source:
  https://github.com/MagikEh/SoundsOfWarr
2019-03-13 23:51:59 -04:00
Aaron Suen
7bf237fe26 More debug code. 2019-03-10 03:36:37 -04:00
Aaron Suen
78f1b2971a Work around particle emission issues.
Seems like minetest doesn't behave very well on trying to spawn
more than 1 particlespawner during a single tick.

Work around this so smoke comes out correctly...
2019-03-10 03:32:59 -04:00
Aaron Suen
19bfab1c1f Glass now cools/quenches.
Almost done with this new feature; just need to craft lenses and
prisms from chroma glass...
2019-03-07 22:21:04 -05:00
Aaron Suen
ed7fa1e95c Add molten glass, cook sand into it w/ fire. 2019-03-07 21:50:29 -05:00
Aaron Suen
98b235511c Standardize use of include function. 2019-03-02 20:39:08 -05:00
Aaron Suen
f893f613c3 API refinements.
- Make node match operate on only one of node or stack, depending
  on whether node defers to stack via is_stack_only.  This should
  hopefully prevent future pummel recipe issues.
- Add new core stack API.  Needs to be deployed in a lot of places.
- Start work on system for allowing flammable containers; they
  eject their potentially non-flammable contents.
2019-02-23 09:44:22 -05:00
Aaron Suen
fc53bdd72e Fix recipe check mutability bugs. 2019-02-23 02:05:41 -05:00
Aaron Suen
c5ebe7f35a Fix stick firestarting.
Wasn't working when wielding more than one stick/staff, due to
implied count check added to fix log-stack-splitting issue.
2019-02-21 14:27:06 -05:00
Aaron Suen
1f719facc9 Merge branch 'master' into refac1 2019-02-09 00:36:14 -05:00
Aaron Suen
e90ad9fda4 Added the beginnings of a hint/guide system. 2019-02-08 23:45:41 -05:00
Aaron Suen
d67f736ac5 Merge node_is into match. 2019-02-03 12:44:33 -05:00
Aaron Suen
e78ba700a1 Some more adjustments.
Started flattening recipes.
2019-02-03 11:24:06 -05:00
Aaron Suen
ef8a756f8e Workaround https://github.com/minetest/minetest/issues/7020 2019-02-03 09:47:42 -05:00
Aaron Suen
527449b299 Fix typo that made fire block sunlight. 2019-01-29 22:42:35 -05:00
Aaron Suen
2d3b468c65 Knock out a bunch of small low-hanging issues.
- Eggcorn cleanup.  They look a little better falling out of the
  tree, and we don't have so many now.
- Crushing damage fixes.  Crushing is nuanced now, and most things
  don't smush you, and many do reduced damage.  A few may do more.
- Item stack convenience.  Items landing on a stack or right-
  clicked onto one attempt to merge into it.
- Ladders now fall (they don't connect to sides).  Use the new
  full-scale frames for ones that don't.
2019-01-29 20:41:29 -05:00
Aaron Suen
37f5c0a0de Laid the groundwork for metal-working.
- Defined nodes, slabs, and prills of lode.
- Heating lode ore releases hot lode prills.
- Lode things in stack can air-cool to anneal or water-quench to
  harden/temper.  Cooling of placed nodes/slabs is planned.
- Hot items cannot be carried; picking them up causes damage and
  causes player to drop them.
2019-01-27 22:34:53 -05:00
Aaron Suen
ee7dda9b4c Dig time. 2019-01-24 22:12:19 -05:00
Aaron Suen
aa69bca2b1 Fix fire not going out when completely immersed. 2019-01-23 23:16:03 -05:00
Aaron Suen
d61b50bf91 Lava starts fires, water douses them. 2019-01-23 23:06:06 -05:00
Aaron Suen
464a0e1d89 Finite fire rework.
- There are now 6 degrees of embers.  Better fuel sources will
  make better embers.
- Embers differ only in lifespan; each class lasts twice as long
  as the previous.  Top-grade fuels may last 15 minutes or
  longer.
- Embers decay stochastically.
- Embers decay 16x as fast when smothered, but still go through
  the same lifecycle.

Also:
- Plain ash now reposes.

There are no infinite fuel sources, nor are any specifically
planned at this time.
2019-01-17 00:01:00 -05:00
Aaron Suen
195a6a2f7f Added grass spread/decay.
Not super-important right now, but it was getting annoying.
2019-01-06 15:09:59 -05:00
Aaron Suen
f9abfc5e22 Fire refinements.
- Make some more materials flammable.

- Flammable items in stack form burn up too.

- Some items burn away without converting into fuel.
2019-01-06 14:51:09 -05:00
Aaron Suen
4440e1f0b8 Sticks burn up in presence of fire. 2019-01-06 14:26:27 -05:00
Aaron Suen
62f0db49e0 Fire mod is now basically functional.
"Qualitative" fire now works, spreads, etc.

Rub 2 sticks/staves together to start a fire in nearby flammables.
2019-01-06 13:04:07 -05:00
Aaron Suen
7d29907ab2 Some API refactors.
- Clean up utils into multiple files.

- Standardize limited ABM.

- Standardize debug trace handling.  Instead of using chat_send_all
  to debug, and then having to remember to remove before release,
  allow privileged players to receive all server debug messages.
2019-01-06 12:02:37 -05:00
Aaron Suen
c91151ab06 Start of a more flexible centralized crafting system. 2018-12-30 17:36:47 -05:00
Aaron Suen
7835a357da API refacs, and some planning. 2018-11-05 20:03:05 -05:00
Aaron Suen
db302c8807 Smother fire to produce ash. 2018-11-04 22:19:32 -05:00