Modular Machinery

Modular Machinery

12M Downloads

gamestages support?

AmazigJj opened this issue ยท 12 comments

commented

gamestages support for machines and recipes would be cool. i have looked at other ways to make this work, for example i could, for making machines, use Item Stages/Recipe Stages for a blueprint, but with recipes i cant really do that, and it would just be cool to have support for it built into the mod.

commented

The problem is that, unlike Multiblock stages which requires player input to create the multiblock, there's literally nothing to gate in MM that system would work with. It doesn't require any player input, so nothing would ever fire. Same with recipes: never fires against the machine crafting it, since it's not a player.

You could accomplish somewhat of gating by requiring the machines have a special core item in them that was recipe gated, but that doesn't change that it's hilariously easy to bypass even without multiplayer (can't have item so it drops? Cool, just craft it next to a hopper, have it feed into a dispenser, then piston it into place, voila!), or having someone with prog place down controllers they've made spaced far enough apart that players could build onto them with whatever machine recipe they wanted.

commented

sure, multiplayer could break it. it also breaks all kinds of gating.

commented

There's no way to gate in MM for gamestages, is the point. None of it involves player actions or identities, they're all just blocks.

commented

honestly, you are kind of right. maybe check the person who placed the controller?

commented

And then if someone places one using a non-olayer method...it bypasses the whole thing anyway, multiplayer or not.

Or if you've got two players working together, but dfferent progression unlocks, it results in machines that work sometimes but not others.

The "cleanest" way to handle his would be to require restricted/locked blocks in the construction of controller blocks, or specific blocks used in the multiblock.

commented

doesnt the mod have a way to use 'blueprints' that you could gate? but what about recipes within a machine? i dont want to have to add a block to a machine just to get the next tier of recipes (although i could, and will if it isnt implemented)

commented

A suggestion here, although I am not sure if it is possible at this time. If the Modular Machine was made to require the Blueprint to be placed inside the machine to run and then the Blueprint itself was restricted based upon a Gamestage, could this work?

commented

i mentioned that in the main issue. that would work. but also, things like recipes in the machine could be nice to use gamestages for

commented

...no, they wouldn't. Because you can't use recipes in the machine gated via gamestages. Gamestages operates off a player entity, machines don't care for that in the least and never call it.

And gamestages would have to support machines recording the player who placed them being recorded as a tag or the like, still not a MM thing.

commented

i think skysom has mod for game stages maybe ask there first but good idea https://minecraft.curseforge.com/projects/multiblock-stages

commented
commented

Added to master suggestion ticket. Archiving this ticket thread.