mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 12:04:06 +09:00
materials rebalancing
This commit is contained in:
BIN
assets/mods/basegame/audio/convolution/koli_summer_site1_stereo.bin
LFS
Normal file
BIN
assets/mods/basegame/audio/convolution/koli_summer_site1_stereo.bin
LFS
Normal file
Binary file not shown.
@@ -1,24 +1,24 @@
|
|||||||
idst;tens;impf;dsty;fmod;endurance;tcond;reach;rcs;sondrefl;comments
|
idst;tens;impf;dsty;fmod;endurance;tcond;reach;rcs;sondrefl;comments
|
||||||
WOOD;10;10;800;1;0.173;0.17;5;18;0.5;just a generic wood
|
WOOD;10;10;800;0.3;0.12;0.17;5;18;0.5;just a generic wood
|
||||||
ROCK;15;210;3000;1;0.42;2.9;5;48;1.0;data is that of marble
|
ROCK;15;210;3000;0.55;0.32;2.9;5;48;1.0;data is that of marble
|
||||||
GLSS;15;210;3000;1;0.42;2.9;5;48;1.0;glass
|
GLSS;15;210;3000;0.01;0.32;2.9;5;48;1.0;glass
|
||||||
OORE;15;210;3000;1;0.42;2.9;5;100;0.2;data is that of marble
|
OORE;15;210;3000;0.55;0.32;2.9;5;100;0.2;data is that of marble
|
||||||
OGEM;15;210;3000;1;0.42;2.9;5;80;0.2;data is that of marble
|
OGEM;15;210;3000;0.55;0.32;2.9;5;80;0.2;data is that of marble
|
||||||
CUPR;210;770;8960;2;1.00;401.0;5;120;1.0;copper
|
CUPR;210;770;8960;1.0;1.00;401.0;5;120;1.0;copper
|
||||||
EGLS;33;1000;2325;4;0.82;1.0;6;10;1.0;elven glass/moldavite
|
TINN;220;350;7310;1.0;1.00;69;5;120;1.0;tin
|
||||||
IRON;350;1085;7874;5;1.42;80.4;6;120;1.0;not wrought iron,just natural iron
|
ZINC;90;525;7140;1.0;1.00;116;5;120;1.0;zinc
|
||||||
ARGN;170;595;10490;9;0.91;429.0;6;120;1.0;argentum/silver
|
BRNZ;310;843;8770;1.2;1.20;75;5;120;1.0;bronze
|
||||||
AURM;120;350;19300;9;0.88;318.0;6;120;1.0;aurum/gold
|
BRAS;315;1015;8530;1.2;1.00;120;5;120;1.0;brass
|
||||||
STAL;531;2520;7874;14;1.73;26.0;7;120;1.0;steel
|
EGLS;33;1000;2325;1.8;0.82;1.0;6;10;1.0;elven glass/moldavite
|
||||||
EAUR;768;0;8192;21;1.36;1.0;7;120;1.0;elven aurichalcum
|
IRON;350;1085;7874;1.8;1.42;80.4;6;120;1.0;not wrought iron,just natural iron
|
||||||
TIAL;900;0;4420;33;2.16;1.0;8;120;1.0;titanium alloy (Ti6Al4V)
|
ARGN;170;595;10490;2.2;0.91;429.0;6;120;1.0;argentum/silver
|
||||||
ADMT;2000;4090;2700;71;3.42;1.0;8;120;1.0;adamant
|
AURM;120;350;19300;2.2;0.88;318.0;6;120;1.0;aurum/gold
|
||||||
OOZE;20;0;1000;1;0.08;0.5;0;10;0.0;genetic ooze,data is about human skin
|
STAL;531;2520;7874;3.2;1.73;26.0;7;120;1.0;steel
|
||||||
BONE;130;0;2000;1;0.23;0.55;4;10;0.1;data is that of bovine bone
|
EAUR;768;0;8192;2.9;1.36;1.0;7;120;1.0;elven aurichalcum
|
||||||
BRAS;315;1015;8530;3;1.00;120;5;120;1.0;brass
|
TIAL;900;0;4420;4.0;2.16;1.0;8;120;1.0;titanium alloy (Ti6Al4V)
|
||||||
BRNZ;310;843;8770;3;1.20;75;5;120;1.0;bronze
|
ADMT;2000;4090;2700;6.0;3.42;1.0;8;120;1.0;adamant
|
||||||
TINN;220;350;7310;2;1.00;69;5;120;1.0;tin
|
OOZE;20;0;1000;0.0;0.08;0.5;0;10;0.0;genetic ooze,data is about human skin
|
||||||
ZINC;90;525;7140;2;1.00;116;5;120;1.0;zinc
|
BONE;130;0;2000;0.33;0.23;0.55;4;10;0.1;data is that of bovine bone
|
||||||
DIRT;1;1;1400;0.0;0.0;36;0;10;0.0;dirt
|
DIRT;1;1;1400;0.0;0.0;36;0;10;0.0;dirt
|
||||||
SAND;1;1;2400;0.0;0.0;36;0;36;0.0;sand
|
SAND;1;1;2400;0.0;0.0;36;0;36;0.0;sand
|
||||||
GRVL;1;1;2400;0.0;0.0;36;0;36;0.0;gravel
|
GRVL;1;1;2400;0.0;0.0;36;0;36;0.0;gravel
|
||||||
@@ -38,7 +38,6 @@ NULL;1;1;1;0.0;0.0;36;0;1;0.5;air
|
|||||||
# dsty: density (grams per litre)
|
# dsty: density (grams per litre)
|
||||||
#
|
#
|
||||||
# fmod: forcemod -- related to attack points
|
# fmod: forcemod -- related to attack points
|
||||||
# Attack points = `16 * forcemod.sqrt()` for each strike
|
|
||||||
#
|
#
|
||||||
# endurance: multiplier, using copper as reference;determines durability of tools/weapons/armours/etc.
|
# endurance: multiplier, using copper as reference;determines durability of tools/weapons/armours/etc.
|
||||||
# the base value for endurance differes to tool to tool. When integer is used, resulting value must be ROUNDED.
|
# the base value for endurance differes to tool to tool. When integer is used, resulting value must be ROUNDED.
|
||||||
|
|||||||
|
@@ -22,11 +22,11 @@ object Calculate {
|
|||||||
* TODO Newtons as unit?
|
* TODO Newtons as unit?
|
||||||
*/
|
*/
|
||||||
@JvmStatic fun pickaxePower(actor: ActorWithBody, material: Material?): Float {
|
@JvmStatic fun pickaxePower(actor: ActorWithBody, material: Material?): Float {
|
||||||
return (16.0 * (material?.forceMod?.toDouble() ?: 1.0).sqrt() * (actor.avStrength / 1000.0)).toFloat()
|
return (4.0 * (material?.forceMod?.toDouble() ?: 0.0) * (actor.avStrength / 1000.0)).toFloat()
|
||||||
}
|
}
|
||||||
|
|
||||||
@JvmStatic fun hatchetPower(actor: ActorWithBody, material: Material?): Float {
|
@JvmStatic fun hatchetPower(actor: ActorWithBody, material: Material?): Float {
|
||||||
return (1.0 * (material?.forceMod?.toDouble() ?: 1.0).sqrt() * (actor.avStrength / 1000.0)).toFloat()
|
return (1.0 * (material?.forceMod?.toDouble() ?: 0.0) * (actor.avStrength / 1000.0)).toFloat()
|
||||||
}
|
}
|
||||||
|
|
||||||
private val fallDamageDampenMult = (32.0 / 1176.0).sqr()
|
private val fallDamageDampenMult = (32.0 / 1176.0).sqr()
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ class Material {
|
|||||||
|
|
||||||
var thermalConductivity: Float = 10f // watts per metre-kelven
|
var thermalConductivity: Float = 10f // watts per metre-kelven
|
||||||
|
|
||||||
var forceMod: Int = 1 // arbitrary unit. See Pickaxe_Power.xlsx
|
var forceMod: Float = 1f // arbitrary unit. See Pickaxe_Power.xlsx
|
||||||
var enduranceMod: Float = 1f // multiplier. Copper as 1.0
|
var enduranceMod: Float = 1f // multiplier. Copper as 1.0
|
||||||
//var armourMod: Float // multiplier. Copper as 1.0
|
//var armourMod: Float // multiplier. Copper as 1.0
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ class MaterialCodex {
|
|||||||
val prop = Material()
|
val prop = Material()
|
||||||
prop.strength = it.intVal("tens")
|
prop.strength = it.intVal("tens")
|
||||||
prop.density = it.intVal("dsty")
|
prop.density = it.intVal("dsty")
|
||||||
prop.forceMod = it.intVal("fmod")
|
prop.forceMod = it.floatVal("fmod")
|
||||||
prop.enduranceMod = it.floatVal("endurance")
|
prop.enduranceMod = it.floatVal("endurance")
|
||||||
prop.thermalConductivity = it.floatVal("tcond")
|
prop.thermalConductivity = it.floatVal("tcond")
|
||||||
prop.identifier = it.get("idst").toUpperCase()
|
prop.identifier = it.get("idst").toUpperCase()
|
||||||
|
|||||||
Reference in New Issue
Block a user