Closed idoash4 closed 9 years ago
Can one of the admins verify this patch? Type 'ok to test' to test.
Can one of the admins verify this patch? Type 'ok to test' to test.
Looks clean, if this feature is desired this should accomplish it no fuss. @BlackXnt you should probably embed your pull description of how to use the feature into the config.yml as new comments.
@ProgrammerDan Done.
ok to test
Build finished.
Can't speak on completeness, but the changes look internally good.
I tested the changes my server, they are working.
Clearly this is targetted against new blocks, but if an existing block in the non-reinforcement list is already reinforced, what happens when you attempt to interact with that reinforcement?
You will be able to change the reinforcement. I can change it but is it even necessary? Currently you will be able to interact with reinforced blocks that are on the "general" non-reinforcement list too.
Probably not necessary, especially since "desired" behavior is entirely undefined at this point. Was just wracking my brain trying to think of any, if any, potential regressions.
this is IHMO against the spirit of Citadel and Civcraft plugin design. If we have to do this I would rather reinforcements be buffed on specific items like chests than have exclusive reinforcement levels.
@ttk2 Care to weigh in on http://forum.civcraft.co/t/citadel-diamond-block-reinforcements/441/20 concerning motivation for Dblock reinforcement at all?
matta should have his comments up soon, for the time being we will try and make shops chests feasible other ways, closing for now but I may ropen this later.
This will solve the problem of diamond block reinforcement been abused to make OP vaults. We can just prevent players from reinforcing obsidian or beacons with a diamond block. An example of how the config.yml should be edited:
diamond_block: material: DIAMOND_BLOCK requirements: 1 return: 1 percent_chance: 100 hit_points: 5000 /# mature time is in minutes mature_time: 1440 scale_amount: 0 lore: non_reinforceables: