Giter Site home page Giter Site logo

Comments (4)

Electroblob77 avatar Electroblob77 commented on August 16, 2024

Hi! Firstly, thank you for taking the time to do this, I really appreciate any contributions that people make to the mod.

I can see you started with the 1.12.2 branch (which until just now was a placeholder copy of the 1.11.2 version), so no problems there. You probably noticed that Corail31, who helped me with the 1.11.2 port, has also done a port to 1.12.2, which I have just merged into that branch. However, I can see several issues you've fixed in your own commits, and there's a fair chance that Corail has missed some of them (although it's hard to tell because he did it all in one commit).

With that in mind, I think the best thing to do is to manually merge your port with Corail's and get the best of both, since Github won't be able to do it automatically, so if you could submit a PR that would be great. I'll still have to do some of my own testing to check things are working as they should.

Thanks again!

from wizardry.

12foo avatar 12foo commented on August 16, 2024

Good morning,

sorry, I did not notice that, but that's what I get for rushing in like this. I'll have a look later and merge any appropriate changes on top of Corail's and then do a PR. I can see some differences in how we did things, so I'd like to first explain the difference and ask your preference in each case.

Mod ID: Corail keeps it at wizardry while I've moved to ebwizardry so as not to conflict with the other wizardry mod on 1.12 (as in your comment). I've also replaced most instances of the mod id in strings with Wizardry.MODID so it's easier to change again at a later date.

Advancements: Advancements are now defined in JSON files that are supposed to be overrideable by the user/server admin. Corail defines these with "impossible" triggers and triggers them hard-coded whenever appropriate, while I define a custom trigger for each one (meaning mine can actually be overridden by the user while Corail's will always trigger when the code says they should). I'm not sure how often users will actually want to override these, so my version may be overkill (it is slightly more cumbersome in code).

Recipes: As with advancements, recipes are now supposed to go into overrideable JSON files. Corail has kept them entirely in code while I have broken most of them out into JSON. Some, like mana flask charging, have to stay in code on account of custom effects. I figure most people will use CraftTweaker instead of JSON anyway, so you might prefer the convenience of having them all in code in one place.

The rest are mostly fixes like the spell sorting and the GUI tweaking and can just be ported over.

from wizardry.

Electroblob77 avatar Electroblob77 commented on August 16, 2024

Mod ID: Corail left it for me to do since it didn't directly affect the port, but if you've done it that saves me a job. Replacement in strings is long overdue as well (I've been doing them as and when I see them), so both of those changes will be useful.
Advancements: I'll have to take a look at them, but generally speaking I prefer to make stuff work like the vanilla system (the way you've done it). As you say, it probably doesn't make that much difference, and I will probably be rearranging wizardry's advancements a bit anyway.
Recipes: Similar to the advancements, I will probably go with the JSON for this, apart from the dynamic ones that have to be hardcoded.

from wizardry.

12foo avatar 12foo commented on August 16, 2024

Since the pull request is merged, I'll go close this now. Looking forward to the eventual release!

from wizardry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.