kokumaji / warrior-plugin

1 stars 0 forks source link

Module refactor #24

Closed kaylendog closed 3 years ago

kaylendog commented 3 years ago

Module refactor

Todo List

kokumaji commented 3 years ago

Plugin almost compiles, getting some encoding and kotlinKapt errors that I can't seem to fix.

Compiling the plugin returns the following error during the kotlinKapt task, however no detailed stacktrace is provided.

org.jetbrains.kotlin.kapt3.base.util.kaptbaseerror: error while annotation processing

Gradle also complains about the Symbols class being encoded in windows-1252, indicating that Intellij or Gradle ignore that the project should be UTF-8 only

kokumaji commented 3 years ago

Made the Kit interface use JSON for inventory and possibly metadata for easier modification, is not done yet and default items (heal items/special ability item) still need to be implemented somehow, but this should work in theory

kokumaji commented 3 years ago

I think it's worth considering a full rewrite at this point. The entire code is pretty messy and certain things such as the session objects are useful, but weren't implemented correctly. Would need to figure out a better way to handle "sessions", scrap this concept entirely or clean up the current code.