Vault Research

Vault Research

12.1k Downloads

[Feature] Options Config

TrashCasterMage opened this issue ยท 1 comments

commented

Currently, there are no config options for how the mod itself work, only for how the researches are setup. A general config should be created that includes the following:

  • noResearchFarming: Currently, if you set up a mob farm, you can level up pretty quickly. There have been a few "anti-XP farming" mods in minecraft's history, so maybe take inspiration from some of those and make it harder to farm specifically Research XP, and make it a toggle in the config.
  • playersStartWithPoints: Players should be able to start with some number of points, as configured by the modpack maker. So here is where we'll do that.
  • teamsEnabled: Modpack makers should be able to disable the teams system, as it might interfere with the way they envision their pack working.
  • xpGain: Modpack makers should be able to disable XP gain, choosing instead to either use the (to-be-added) Skill Point item, OR just forcing players to only use their starting points.

The following options are all relevant to the TNL function

  • tnlBaseValue: The starting value for the TNL function. This is the amount of XP a player needs to reach level 1.
  • tnlFunctionType: Modpack makers should have an amount of control over the TNL function. Obviously the more the better, but precise control is difficult. So at the very least, this should have three options. "LINEAR" is of the form eb + C, where C is baseValue, b is a coefficient, and e is "current level." "EXPONENTIAL" is of the form b^e + C. C is still the basevalue, e is an exponent, and b is the base of the exponent. Here, the person configuring the pack can also put in "LEVEL" rather than a value, allowing for either level^e, or e^level.
  • b: b in the TNLFunction
  • e: e in the TNL Function
commented

Added in 784f0ee