What i becomes after i save (It doesn't work in-game)
# Configuration file
custom {
custom_weaponry {
sample_weapon1 {
D:armor_negation=0.0
D:impact=0.5
I:max_strikes=1
S:registry_name=modid:registryname
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=SWORD
}
sample_weapon2 {
S:registry_name=modid:registryname
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=SWORD
onehand {
D:armor_negation=0.0
D:impact=0.5
I:max_strikes=1
}
twohand {
D:armor_negation=0.0
D:impact=0.5
I:max_strikes=1
}
tcpicaxe {
S:registry_name=tconstruct:pickaxe
S:weapon_type=PICKAXE
onehand {
D:armor_negation=0.3
D:impact=1
I:max_strikes=2
}
tcshovel {
S:registry_name=tconstruct:shovel
S:weapon_type=SHOVEL
onehand {
D:armor_negation=0.25
D:impact=1.5
I:max_strikes=1
}
tchatchet {
S:registry_name=tconstruct:hatchet
S:weapon_type=AXE
onehand {
D:armor_negation=0.5
D:impact=2
I:max_strikes=5
}
tcmattock {
S:registry_name=tconstruct:mattock
S:weapon_type=AXE
onehand {
D:armor_negation=0.5
D:impact=2
I:max_strikes=5
}
tckama {
S:registry_name=tconstruct:kama
S:weapon_type=PICKAXE
onehand {
D:armor_negation=0.3
D:impact=1
I:max_strikes=1
}
tchammer {
S:registry_name=tconstruct:hammer
S:weapon_type=GREATSWORD
twohand {
D:armor_negation=1.0
D:impact=10
I:max_strikes=10
}
tcexcavator {
S:registry_name=tconstruct:excavator
S:weapon_type=SHOVEL
custom {
custom_weaponry {
sample_weapon1 {
D:armor_negation=0.0
D:impact=0.5
I:max_strikes=1
S:registry_name=modid:registryname
S:weapon_type=SWORD
}
sample_weapon2 {
S:registry_name=modid:registryname
S:weapon_type=SWORD
onehand {
D:armor_negation=0.0
D:impact=0.5
I:max_strikes=1
}
twohand {
D:armor_negation=0.0
D:impact=0.5
I:max_strikes=1
}
tcpicaxe {
S:registry_name=tconstruct:pickaxe
S:weapon_type=PICKAXE
onehand {
D:armor_negation=0.3
D:impact=1
I:max_strikes=2
}
tcshovel {
S:registry_name=tconstruct:shovel
S:weapon_type=SHOVEL
onehand {
D:armor_negation=0.25
D:impact=1.5
I:max_strikes=1
}
tchatchet {
S:registry_name=tconstruct:hatchet
S:weapon_type=AXE
onehand {
D:armor_negation=0.5
D:impact=2
I:max_strikes=5
}
tcmattock {
S:registry_name=tconstruct:mattock
S:weapon_type=AXE
onehand {
D:armor_negation=0.5
D:impact=2
I:max_strikes=5
}
tckama {
S:registry_name=tconstruct:kama
S:weapon_type=PICKAXE
onehand {
D:armor_negation=0.3
D:impact=1
I:max_strikes=1
}
tchammer {
S:registry_name=tconstruct:hammer
S:weapon_type=GREATSWORD
twohand {
D:armor_negation=1.0
D:impact=10
I:max_strikes=10
}
tcexcavator {
S:registry_name=tconstruct:excavator
S:weapon_type=SHOVEL
onehand {
D:armor_negation=0.5
D:impact=4
I:max_strikes=1
}
tclumberaxe {
S:registry_name=tconstruct:lumberaxe
S:weapon_type=GREATSWORD
twohand {
D:armor_negation=1.0
D:impact=10
I:max_strikes=10
}
tcscythe {
S:registry_name=tconstruct:scythe
S:weapon_type=AXE
twohand {
D:armor_negation=1.5
D:impact=2
I:max_strikes=5
}
tcbroadsword {
S:registry_name=tconstruct:broadsword
S:weapon_type=SWORD
onehand {
D:armor_negation=0.4
D:impact=3.5
I:max_strikes=5
}
tclongsword {
S:registry_name=tconstruct:longsword
S:weapon_type=GREATSWORD
onehand {
D:armor_negation=0.5
D:impact=5.0
I:max_strikes=7
}
tcrapier {
S:registry_name=tconstruct:rapier
S:weapon_type=SPEAR
onehand {
D:armor_negation=0.5
D:impact=5.0
I:max_strikes=4
}
tcfrypan {
S:registry_name=tconstruct:frypan
S:weapon_type=AXE
onehand {
D:armor_negation=0.1
D:impact=20.0
I:max_strikes=1
}
tcbattlesign {
S:registry_name=tconstruct:battlesign
S:weapon_type=AXE
onehand {
D:armor_negation=0.25
D:impact=20.0
I:max_strikes=1
}
tccleaver {
S:registry_name=tconstruct:cleaver
S:weapon_type=GREATSWORD
twohand {
D:armor_negation=3.0
D:impact=20.0
I:max_strikes=10
}
}
}
custom_armor {
sample_armor {
S:registry_name=modid:registryname
D:stun_armor=0.0
D:weight=0.0
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
custom_armor {
sample_armor {
S:registry_name=modid:registryname
D:stun_armor=0.0
D:weight=0.0
}
}
}
How i wrote it
# Configuration file
custom {
custom_weaponry {
sample_weapon1 {
D:armor_negation=0.0
D:impact=0.5
I:max_strikes=1
S:registry_name=modid:registryname
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=SWORD
}
sample_weapon2 {
S:registry_name=modid:registryname
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=SWORD
onehand {
D:armor_negation=0.0
D:impact=0.5
I:max_strikes=1
}
twohand {
D:armor_negation=0.0
D:impact=0.5
I:max_strikes=1
}
TCPicaxe {
S:registry_name=tconstruct:pickaxe
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=PICKAXE
onehand {
D:armor_negation=0.3
D:impact=1
I:max_strikes=2
}
TCShovel {
S:registry_name=tconstruct:shovel
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=SHOVEL
onehand {
D:armor_negation=0.25
D:impact=1.5
I:max_strikes=1
}
TCHatchet {
S:registry_name=tconstruct:hatchet
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=AXE
onehand {
D:armor_negation=0.5
D:impact=2
I:max_strikes=5
}
TCMattock {
S:registry_name=tconstruct:mattock
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=AXE
onehand {
D:armor_negation=0.5
D:impact=2
I:max_strikes=5
}
TCKama {
S:registry_name=tconstruct:kama
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=PICKAXE
onehand {
D:armor_negation=0.3
D:impact=1
I:max_strikes=1
}
TCHammer {
S:registry_name=tconstruct:hammer
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=GREATSWORD
twohand {
D:armor_negation=1.0
D:impact=10
I:max_strikes=10
}
TCExcavator {
S:registry_name=tconstruct:excavator
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=SHOVEL
onehand {
D:armor_negation=0.5
D:impact=4
I:max_strikes=1
}
TCLumberaxe {
S:registry_name=tconstruct:lumberaxe
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=GREATSWORD
twohand {
D:armor_negation=1.0
D:impact=10
I:max_strikes=10
}
TCScythe {
S:registry_name=tconstruct:scythe
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=AXE
twohand {
D:armor_negation=1.5
D:impact=2
I:max_strikes=5
}
TCBroadSword {
S:registry_name=tconstruct:broadsword
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=SWORD
onehand {
D:armor_negation=0.4
D:impact=3.5
I:max_strikes=5
}
TCLongsword {
S:registry_name=tconstruct:longsword
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=GREATSWORD
onehand {
D:armor_negation=0.5
D:impact=5.0
I:max_strikes=7
}
TCRapier {
S:registry_name=tconstruct:rapier
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=SPEAR
onehand {
D:armor_negation=0.5
D:impact=5.0
I:max_strikes=4
}
TCFrypan {
S:registry_name=tconstruct:frypan
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=AXE
onehand {
D:armor_negation=0.1
D:impact=20.0
I:max_strikes=1
}
TCBattlesign {
S:registry_name=tconstruct:battlesign
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=AXE
onehand {
D:armor_negation=0.25
D:impact=20.0
I:max_strikes=1
}
TCCleaver {
S:registry_name=tconstruct:cleaver
# Valid values:
# AXE
# FIST
# HOE
# PICKAXE
# SHOVEL
# SWORD
# SPEAR
# GREATSWORD
# KATANA
S:weapon_type=GREATSWORD
twohand {
D:armor_negation=3.0
D:impact=20.0
I:max_strikes=10
}
}
}
custom_armor {
sample_armor {
S:registry_name=modid:registryname
D:stun_armor=0.0
D:weight=0.0
}
}
}