10 Commits

Author SHA1 Message Date
Aaron Suen
a5752fd9b6 Yet another emergency lighting redo
- Players no longer constantly glow in darkness.
- Players can now place light spots by scaling, faster
  than actual climbing spots.
- Climbing spots appear if player continues placement
  after light appears.
- Floor traversal mechanism is now obsolete.

This allows players to traverse dark caves reasonably
well, still, but only voluntarily, so darkness stealth
mechanics are possible again.
2020-05-30 19:00:22 -04:00
Aaron Suen
a43c915710 Buff scaling glow by 50%
Lots of issues with players being unable to figure out traversal
of dark caves.  Total darkness is probably too much of an ostacle
for players who haven't already learned how to avoid those kind
of circumstances.
2020-05-12 07:14:35 -04:00
Aaron Suen
3200149cc4 Buff torch and scaling light sources.
- Better compat with low gamma play.
- Torch now emits some light when in inventory, even
  if not actively wielded.
- Dynamic light API for mod use.
2020-02-22 21:57:08 -05:00
Aaron Suen
c7a322941e Experimental new natural light system.
- No day/night cycle, no sun/moon.
- Get rid of clouds too.
- Skybox is now 100% texture-packable.
- Natural light diminishes with depth.

Night-time no longer disrupts gameplay topside, but
skylights are no longer useful to an infinite depth and
artificial light is necessary for all deep mining.
2020-02-22 10:38:03 -05:00
Aaron Suen
c7a90debcb Fix scaling and charcoal writing.
Making hand dig everything broke logic that was
depending on things being "not hand diggable".
Continue to treat things as not-hand-diggable if they
would take a long enough time to dig.
2019-12-29 13:57:49 -05:00
Aaron Suen
0fd31152ca Relax scaling requirements (e.g. trees).
Nodes cannot be scaled only if they are BOTH falling
nodes AND diggable by hand.  Mostly this just means
sand cannot be scaled and needs to be dug out
instead.
2019-11-30 09:13:07 -05:00
Aaron Suen
f48b103e58 Players can only see nearby scaling particles.
If watching someone else scaling a cliff from a distance, you will not
see where the handholds are, but if you are nearby, you will be able to
see and share them.
2019-11-10 10:42:23 -05:00
Aaron Suen
a90d49404b More scaling refinements.
- Cannot do "floor feeling" if floor is already lit.
- No need for steady-state particles on "floor feeling" nodes.
2019-11-10 10:03:15 -05:00
Aaron Suen
52dcebc696 Fix up scaling node upgrading.
- Prevent downgrading.
  Should prevent player from falling when overhangers replaced.
- Allow hanging construction through other scaling nodes.
  Should prevent full overhangs from being blocked by wall scaling.
2019-11-10 09:40:15 -05:00
Aaron Suen
126039e3ed Scaling Generation 3.
- Repeat/hold place (right-click) with empty hand instead of pummel.
- Otherwise, works similarly to first generation.
- Scaling nodes can overwrite each other now (upgrade wall to ceiling).
- Visuals are now particle-based instead of texture, like Gen 2.
2019-11-10 09:33:40 -05:00