Mikita Wiśniewski rudzik8
  • pos: (26.8, 8.3, 33.1)
  • https://codeberg.org/rudzik8
  • Siberian 15yo Minetest player and modder, MineClone 2 contributor

    #nowar

  • Joined on 2022-02-18
rudzik8 approved VoxeLibre/VoxeLibre#4265 2024-06-26 14:50:17 +02:00
Add persistence to XP Orbs

Previous review has been fully resolved. LGTM

rudzik8 suggested changes for VoxeLibre/VoxeLibre#4265 2024-06-26 10:14:09 +02:00
Add persistence to XP Orbs

Just 2 nitpicks.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4265 2024-06-26 10:14:09 +02:00
Add persistence to XP Orbs

I don't like 2 things about this line.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4265 2024-06-26 10:14:09 +02:00
Add persistence to XP Orbs

orb.lua:64:10: value assigned to variable goal is unused

rudzik8 suggested changes for VoxeLibre/VoxeLibre#4280 2024-06-26 09:57:11 +02:00
New mcl_copper

I see that all textures are now in place. Great!

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4280 2024-06-26 09:57:11 +02:00
New mcl_copper

I know this isn't something that this PR is responsible for, but man would it be nice to add linebreaks to this since you're already modifying that file.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4280 2024-06-26 09:57:10 +02:00
New mcl_copper

This has the same effect as just return.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4280 2024-06-26 09:57:10 +02:00
New mcl_copper
rudzik8 commented on pull request VoxeLibre/VoxeLibre#4280 2024-06-26 09:57:10 +02:00
New mcl_copper

You are adding one more level of nesting for no real reason. I'm not a never nester, but still it's very annoying.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4280 2024-06-26 09:57:10 +02:00
New mcl_copper

Really you can just do for _, column in ..., and then assign these local variables by column. That's much more intuitive since you're working with tables here, and doesn't involve variable shadowing.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4280 2024-06-26 09:57:09 +02:00
New mcl_copper

So a few lines prior you do #decay_chain instead of 4, and then here you hardcode the value. That's a pretty weird inconsistency.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4280 2024-06-26 09:57:09 +02:00
New mcl_copper

Line break?

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4280 2024-06-26 09:57:09 +02:00
New mcl_copper

This section is very, very repetitive. You are generating and then returning a table based on the name passed. The name parameter itself is also very weird, because it apparently can sometimes contain the modname (as with name == "mcl_copper:door"). Strange cases like that should be resolved outside of this function.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4280 2024-06-26 09:57:09 +02:00
New mcl_copper

You don't have to check twice for groups.solid and def.node_box and .... These checks are already performed by mcl_autogroup when assigning solid to a node. See 026ea5940c/mods/CORE/_mcl_autogroup/init.lua (L322)

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4280 2024-06-26 09:57:08 +02:00
New mcl_copper

Why is this empty comment even here?

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4453 2024-06-26 06:55:32 +02:00
Grand Chests Refactor (fixes #281)

Shift-clicking should now be fixed. Thanks @teknomunk

rudzik8 pushed to mcl_chests_redo at VoxeLibre/VoxeLibre 2024-06-26 06:53:36 +02:00
3c35b6ef3d Fix shift-clicking and a few luacheck warnings
rudzik8 commented on pull request VoxeLibre/VoxeLibre#4453 2024-06-25 16:36:36 +02:00
Grand Chests Refactor (fixes #281)

This is more for readability reasons, to mark that we are returning top_inv and bottom_inv here (hence why all calls to this functions are through local top_inv, bottom_inv = ...)

rudzik8 pushed to mcl_chests_redo at VoxeLibre/VoxeLibre 2024-06-25 04:36:49 +02:00
77399179b7 Cleanup comments (don't use \=, it's annoying)
rudzik8 pushed to mcl_chests_redo at VoxeLibre/VoxeLibre 2024-06-25 04:33:24 +02:00
b7ae99e72e Simplify double inventory inv logic