Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moreblocks https://github.com/minetest-mods/moreblocks/ #25

Open
BruceMustache opened this issue Jul 22, 2020 · 15 comments
Open

Moreblocks https://github.com/minetest-mods/moreblocks/ #25

BruceMustache opened this issue Jul 22, 2020 · 15 comments
Labels
breaks-rule1 This mod currently takes over the game. breaks-rule4 This mod currently has bad code quality. breaks-rule5 This mod is currently an all-in one or has a lot of dependencies not already in WN. new-mod-proposal Consider the mod can be applied to the game

Comments

@BruceMustache
Copy link

Moreblocks is a nice mod for decoration that you can do so many things if you're creative
forum: https://forum.minetest.net/viewtopic.php?t=509
video: https://youtu.be/dr-a_cLlA8c

@bell07
Copy link
Collaborator

bell07 commented Aug 1, 2020

I considered the Moreblocks some times ago and decided against it. The mod registers a lot of decorative nodes, accessible by circular saw instead of crafting or just without recipe. Even you do not use the registered blocks, the game performance decreases. The mod does redefinitions of items from other mods like change recipe for sign_wall.
So the "why not" answer in the past was "because the mod take over the server".

But I need to reconsider the mod, my last test was years ago.

@bell07 bell07 added the new-mod-proposal Consider the mod can be applied to the game label Aug 1, 2020
@BruceMustache
Copy link
Author

BruceMustache commented Aug 3, 2020

I recommend to use the set the option moreblocks.stairsplus_in_creative_inventory = false
To hide the extra nodes. I prefer that and just use the circular saw

@Lazerbeak12345
Copy link
Collaborator

Lazerbeak12345 commented Jan 23, 2022

Ok, so I thought I'd push this through and do a review. "TODO" checkboxes are problems I found with this mod.

Review

  1. Take over game (no way to opt-in or out)?
    • It does add a few extra crafting recipies - but it doesn't remove any. (default:sapling -> default:stick is one such example) Not an issue, in general. Issues for specifics added.
    • It changes lots of recipes.
    • Tool repair buff changed from 2% to 10% (see below in code review section)
  2. Server strain?
    • Perhaps? aliases.lua has a lot of LBMs. I'm not familiar enough with them to know if this is too much or would cause lag.
  3. Destroy Player work?
    • No. Not an issue.
  4. Code quality?
    • init.lua is good
    • crafting.lua is good
    • config.lua is good
    • circular_saw.lua is good
    • stairsplus/init.lua is good
    • stairsplus/defs.lua is good
    • stairsplus/recipes.lua is okay
    • stairsplus/common.lua is okay
    • stairsplus/stairs.lua is good
    • stairsplus/slabs.lua is good
    • stairsplus/slopes.lua is good
    • stairsplus/panels.lua is good
    • stairsplus/microblocks.lua is good
    • stairsplus/custom.lua is good
    • stairsplus/registrations.lua is okay (and provides thorough compatibility with stairs) Only complaint is that it adds to the default:* domain.
    • nodes.lua is good
    • redefinitions.lua has ... problems.
    • aliases.lua has a fair bit more than just aliases.
  5. All-in-one?
    • It's big, but I got through it. It does seem bloated, lots of things could be broken out to their own mod - and can still be backwards compatible. (stairsplus/ especially, circular_saw.lua would need to be its own mod for that to work.)
  6. Survival-friendly?
    • Yes. Not an issue.
  7. "Cheats" available to non-moderators?
    • 4 stick (this mod adds) -> 1 wood -> 4 planks -> 4*4 sticks. This is unbalanced. You can turn 1 wood into infinite wood. Are there more of these?? (I might have missed another such imbalance)
  8. Version control?
    • Yes, github. Not an issue.

Setting changes

I personally reccomend that these settings apply:

  • moreblocks.circular_saw_crafting should be true (current default).
  • moreblocks.stairsplus_in_creative_inventory should be false not default

Other notes

  • Saw is owner-only. Why is there not a "shared" saw option?

I'll add the tags that seem to fit the most.

@Lazerbeak12345 Lazerbeak12345 added the breaks-rule1 This mod currently takes over the game. label Jan 23, 2022
@Lazerbeak12345
Copy link
Collaborator

Not sure about rule 2

@Lazerbeak12345 Lazerbeak12345 added breaks-rule4 This mod currently has bad code quality. breaks-rule5 This mod is currently an all-in one or has a lot of dependencies not already in WN. breaks-rule7 This mod currently breaks game balancing or feels like a "cheat". labels Jan 23, 2022
@Lazerbeak12345
Copy link
Collaborator

Lazerbeak12345 commented Jan 23, 2022

All of these should be fixable. If they like it that way, we can PR them a change to add a setting, and specify a different value in whynot game, with the default equal to current behavior. If they don't like it that way, it can be changed.

Best to have one PR per bullet "todo" point above.

@Lazerbeak12345 Lazerbeak12345 removed the breaks-rule7 This mod currently breaks game balancing or feels like a "cheat". label Jan 23, 2022
@Lazerbeak12345
Copy link
Collaborator

The stick thing was a misunderstanding. No infinite wood, game is not unbalanced.

@bell07
Copy link
Collaborator

bell07 commented Jan 24, 2022

About 2: lbm's are ok. LBM's are called on map load only.
The ABM for horizontal_tree should be LBM too. ABM are called each globalstep so it drain the server. But one ABM is no ABM ;-)

@bell07
Copy link
Collaborator

bell07 commented Feb 24, 2022

What is the decision? Should this issue just be closed because of all breaks?

@Lazerbeak12345
Copy link
Collaborator

Well, here's my thoughts. We should make issues for each concern in moreblock's repo, and tie them back here. Should they choose to fix moreblocks, then we can add it.

@dacmot
Copy link
Collaborator

dacmot commented Feb 25, 2022

I'm not a big fan of the 100 pages of stairs... is moreblocks of any use without stairsplus?

Overall, the value-added isn't convincing enough for me to say we should include it.

@bell07
Copy link
Collaborator

bell07 commented Feb 25, 2022

The 100 pages in creative and crafting-guide can be hidden by setting moreblocks.stairsplus_in_creative_inventory in minetest.conf.

The circular saw, give you access to all the new nodes, so basically rule 1 is not violated.

I used moreblocks some years ago, the mayor issue with them is: If you are able to build 1/16 blocks, it is own decorative style, that breaks the default blocky style 1 block (full node) - 1/2 blocks (slabs). I removed it from my collection to to save the blocky style ;-)

If we plan to add moreblocks to whynot, we need to consider existing mods that have optionally moreblock support, if it is still ok. Also we need to remove some comatiblity aliases from whynot_compat

@Lazerbeak12345 Lazerbeak12345 removed the breaks-rule1 This mod currently takes over the game. label Apr 16, 2022
@Lazerbeak12345
Copy link
Collaborator

Admittedly, I'm still worried about the other two game balancing things, but perhaps it's fine.

@Lazerbeak12345
Copy link
Collaborator

Lazerbeak12345 commented Aug 22, 2022

Their pr minetest-mods/moreblocks#191 seems to do a lot, might fix more than just 2 of the concerns i've had with this mod

Things that PR would fix that I've highlighted in my review above:

  • Converts the mod into a modpack, thereby fixing the stairsplus bloat concerns.
  • stricter luacheck settings might fix my code quality concerns
  • some globals removed that are now properly namespaced

  • TODO look at the code

@bell07
Copy link
Collaborator

bell07 commented Aug 23, 2022

If moreblocks is splitted in multiple mods, we need to consider each of them separatelly for whynot

@Lazerbeak12345 Lazerbeak12345 moved this to Awaiting Upstream Issues in Add New Game Content Dec 16, 2022
@Lazerbeak12345
Copy link
Collaborator

Lazerbeak12345 commented Aug 7, 2023

Adding back rule 1, we have some checkboxes I'm worried about. Mostly the buff changes. Bell was mostly talking about the new nodes.

@Lazerbeak12345 Lazerbeak12345 added the breaks-rule1 This mod currently takes over the game. label Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaks-rule1 This mod currently takes over the game. breaks-rule4 This mod currently has bad code quality. breaks-rule5 This mod is currently an all-in one or has a lot of dependencies not already in WN. new-mod-proposal Consider the mod can be applied to the game
Projects
Status: Awaiting Upstream Issues
Development

No branches or pull requests

4 participants