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 suggested changes for VoxeLibre/VoxeLibre#4617 2024-08-31 06:30:51 +02:00
Add dripstone to VoxeLibre

First-of-all, thanks for reaching out with this mod and showing your willingness to work with us. We appreciate that.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4617 2024-08-31 06:30:51 +02:00
Add dripstone to VoxeLibre
  1. license is not an actual field that could show up somewhere.
rudzik8 commented on pull request VoxeLibre/VoxeLibre#4617 2024-08-31 06:30:50 +02:00
Add dripstone to VoxeLibre

if minetest.global_exists("noordstar_dripstone") then

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4617 2024-08-31 06:30:50 +02:00
Add dripstone to VoxeLibre

Missing tabulation.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4617 2024-08-31 06:30:50 +02:00
Add dripstone to VoxeLibre
  1. Lua initializes undeclared variables to nil automatically.
rudzik8 commented on pull request VoxeLibre/VoxeLibre#4617 2024-08-31 06:30:49 +02:00
Add dripstone to VoxeLibre

We generally check for the air group to avoid mod conflicts (there's a surprising amount of air-like nodes that mods use for purely technical reasons).

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4617 2024-08-31 06:30:49 +02:00
Add dripstone to VoxeLibre

vector.offset(pos, 0, -1, 0)

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4617 2024-08-31 06:30:49 +02:00
Add dripstone to VoxeLibre

I see what you're going for with that description, but it's easy to think that this has some more relation to golden apples than simply the recipe form.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4617 2024-08-31 06:30:48 +02:00
Add dripstone to VoxeLibre

You're using this to fill out the drawtype field later on L247, so I don't see how this naming makes sense.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4617 2024-08-31 06:30:48 +02:00
Add dripstone to VoxeLibre

Commas should follow the elements, not precede them.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4617 2024-08-31 06:04:04 +02:00
Add dripstone to VoxeLibre

Related: #2181

rudzik8 suggested changes for VoxeLibre/VoxeLibre#4602 2024-08-31 05:43:10 +02:00
Alias creeper heads to stalker heads & Refactor mcl_heads (closes #4545)

In-game testing worked as expected, +1 for that. Just quality control.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4602 2024-08-31 05:43:10 +02:00
Alias creeper heads to stalker heads & Refactor mcl_heads (closes #4545)

I find this part a little bit hard to read. You also don't need to use ipairs for this.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4602 2024-08-31 05:43:10 +02:00
Alias creeper heads to stalker heads & Refactor mcl_heads (closes #4545)
  1. facedir_to_degrotate is clearly a lookup table that doesn't have to be constructed each time that LBM is ran. Just move it up to a few levels above.
rudzik8 commented on pull request VoxeLibre/VoxeLibre#4602 2024-08-31 05:43:09 +02:00
Alias creeper heads to stalker heads & Refactor mcl_heads (closes #4545)

I think it'd be a sane idea to check whether user is nil or a player at all. This applies not only to this function, but to the ones following it too. We had (and kind of still have) too many player-is-nil crashes to neglect such checks.

rudzik8 commented on pull request VoxeLibre/VoxeLibre#4602 2024-08-31 05:43:09 +02:00
Alias creeper heads to stalker heads & Refactor mcl_heads (closes #4545)

Why the whitespace at the end?

rudzik8 suggested changes for VoxeLibre/VoxeLibre#4562 2024-08-31 05:18:52 +02:00
use vector.in_area instead of own code in mapgen

Nitpick.