Forgero - [Fabric]

Forgero - [Fabric]

85k Downloads

Decide how to calculate tool properties from material properties

SigmundGranaas opened this issue ยท 2 comments

commented

Initially, Forgero was supposed to use material with "Realistic" properties. I still aim to create a system where this is possible, but it would be a lot simpler to just give each material properties which can give bonuses to tool parts. I am considering creating two versions of materials, one with realistic properties, and one with simple ones. You can then choose the one that you want.

Properties which needs to be calculated:

  • Mining speed - statically typed in material
  • Mining Level and special case blocks - statically typed in material
  • Attack speed - statically typed in material
  • Damage - statically typed in material
  • Durability - statically typed in material

How should Secondary Materials benefit tool parts?
Secondary materials should give some attribute bonuses, like attack damage, but can also have some special properties, like emissivity. I need to flesh out secondary materials a lot more.

Properties which can be affected by secondary materials:

  • Tool parts should gain the mining level of the secondary material
  • Durability needs to be increased when tool part are improved with secondary materials, but by how much? And should it be possible to make it negative?
  • Should mining speed increase?
  • Increase damage by a little bit depending on the secondary material

I should add a Strategy class which is responsible for mapping materials and their values to tool parts.

commented

TODO:

  • Split materials into two parts, one simple, and one complex.
  • Create an API for handling material stats.
  • Specify which stats gets bumped from secondary material.
commented

Current plan and decision for Secondary materials:
You can get better mining level from secondarymaterials
You can get some more mining efficiency, if the mininglevel of the secondarymaterial is higher
Damage will increase if mining level is higher
Durability will be improved slightly