-
Notifications
You must be signed in to change notification settings - Fork 4
Data driven research #344
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
base: master
Are you sure you want to change the base?
Data driven research #344
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I understand this requires each research to be in its own file? Why split them up like that?
pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/item/research/Research.kt
Outdated
Show resolved
Hide resolved
pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/item/research/Research.kt
Outdated
Show resolved
Hide resolved
pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/PylonCore.kt
Outdated
Show resolved
Hide resolved
pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/PylonCore.kt
Outdated
Show resolved
Hide resolved
pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/item/research/Research.kt
Show resolved
Hide resolved
Why not? this is same approach as item settings basically |
Item settings are of variable length and end up being separate files, while researches are small and of a known schema. Something like recipes. |
please don't make me rewrite everything |
Nah it won't be everything just copy the recipe code lol |
# Conflicts: # pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/util/PylonUtils.kt
I do agree it should be one file |
(I do too) |
pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/item/research/Research.kt
Outdated
Show resolved
Hide resolved
pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/PylonCore.kt
Outdated
Show resolved
Hide resolved
pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/PylonCore.kt
Outdated
Show resolved
Hide resolved
pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/PylonCore.kt
Outdated
Show resolved
Hide resolved
pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/PylonCore.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm cw & ig
#137