Instal Steam
login
|
bahasa
简体中文 (Tionghoa Sederhana)
繁體中文 (Tionghoa Tradisional)
日本語 (Bahasa Jepang)
한국어 (Bahasa Korea)
ไทย (Bahasa Thai)
Български (Bahasa Bulgaria)
Čeština (Bahasa Ceko)
Dansk (Bahasa Denmark)
Deutsch (Bahasa Jerman)
English (Bahasa Inggris)
Español - España (Bahasa Spanyol - Spanyol)
Español - Latinoamérica (Bahasa Spanyol - Amerika Latin)
Ελληνικά (Bahasa Yunani)
Français (Bahasa Prancis)
Italiano (Bahasa Italia)
Magyar (Bahasa Hungaria)
Nederlands (Bahasa Belanda)
Norsk (Bahasa Norwegia)
Polski (Bahasa Polandia)
Português (Portugis - Portugal)
Português-Brasil (Bahasa Portugis-Brasil)
Română (Bahasa Rumania)
Русский (Bahasa Rusia)
Suomi (Bahasa Finlandia)
Svenska (Bahasa Swedia)
Türkçe (Bahasa Turki)
Tiếng Việt (Bahasa Vietnam)
Українська (Bahasa Ukraina)
Laporkan kesalahan penerjemahan
## Multiplier for drops from flooring and mining.
# Setting type: Int32
# Default value: 0
DropMultiplier = 2
## Hardness of Tool affects droprate.
# Setting type: Boolean
# Default value: false
EnableHardness = true
[HardnessSettings]
## How low can the multiplier go with hardness?
# Setting type: Int32
# Default value: 1
MinMultiplier = 1
## How high can the multiplier get with hardness?
# Setting type: Int32
# Default value: 10
MaxMultiplier = 10
## How much of an effect hardness has on multiplier
# Setting type: Double
# Default value: 1.05
HardnessScale = 2
It is working. But if I use the iron axe to to chop down an oak tree, I get 16 oak wood logs.
If I use Ether axe to chop down the same tree, I only get 10 oak wood logs. Harder material should get more wood right? What is wrong here?
Math.Floor(multiplier * Math.Pow(HardnessScale.Value, (toolhardness / blockhardness)))
Basically the harder your tool is compared to what you are mining, you get a higher multiplier.