diff --git a/docs/hopeless.txt b/docs/hopeless.txt index 6293ddce..ee7e61d8 100644 --- a/docs/hopeless.txt +++ b/docs/hopeless.txt @@ -37,6 +37,11 @@ issue. - Z-fighting against normal nodes; no way to both show inside surface against air AND avoid z-fighting. - Multiple kinds of water don't "mix" + - Because only nodes can produce light, dynamic lights require + use of fake air-like nodes, and because liquids don't mix, + I can't make fake water-like nodes for underwater dynamic + lighting, thus all dynamic lights do NOT work at all + underwater. - Can't do the sky navigation thing fully - Client resource GC for computed textures could fix the memory diff --git a/docs/issues-game.txt b/docs/issues-game.txt index 3a6dcf06..c20112c1 100644 --- a/docs/issues-game.txt +++ b/docs/issues-game.txt @@ -154,13 +154,6 @@ ISSUES-GAME: Gameplay-affecting issues down to regular cobble, but it only works with the base node, not the etched ones. -- Players losing run speed on damage would be simplified by checking for - = nodecore.gametime end - local aux = ctl.aux1 + local aux = ctl.aux1 and not ctl.zoom if data then if aux then data.animcontrol_aux_exp = nodecore.gametime + 1 end aux = aux or data.animcontrol_aux_exp and data.animcontrol_aux_exp >= nodecore.gametime diff --git a/mods/nc_player_setup/step_zoomfocus.lua b/mods/nc_player_setup/step_zoomfocus.lua index 2733aa91..eadfbfba 100644 --- a/mods/nc_player_setup/step_zoomfocus.lua +++ b/mods/nc_player_setup/step_zoomfocus.lua @@ -11,8 +11,9 @@ nodecore.register_playerstep({ label = "zoom focus", action = function(_, data) local ctl = data.control - local focusing = ctl.sneak and (not ctl.jump) and (not ctl.up) - and (not ctl.down) and (not ctl.left) and (not ctl.right) + local focusing = ctl.zoom and (ctl.aux1 or ctl.sneak) + and (not ctl.jump) and (not ctl.up) and (not ctl.down) + and (not ctl.left) and (not ctl.right) local zoom = zoom_base if focusing and data.zoomfocus then zoom = zoom_base - zoom_base * zoom_ratio * (1 - 1 /