Jump to content

Recommended Posts

Posted

I am working on mod that adds classes and i cant find a list of all the attributes (modifiers that traits of character classes have, for example clockmaker has the trait fleetfooted, which has the attribute of movement speed set to 0.1 (+10%)).

If there is in fact a list of attributes that I am just not aware of, I would greatly appreciate it.

If there isn't, thanks for informing me!

Posted (edited)

You can find all the attributes in the traits.json file! It is in AppData>Roaming>Vintagestory>assets>survival>config.

Though it sure would be nice if there was a proper list somewhere if there's more we could do with traits/attributes... If there are more hidden away somewhere else.

Edited by MoonyBeasty
added a sentence I forgot to write
Posted

Wait this may be more convenient!
I found this in the english language file.

"charattribute-rangedWeaponsDamage-0.2": "+20% ranged damage",
"charattribute-rangedWeaponsAcc-0.3": "+30% ranged accuracy",
"charattribute-animalLootDropRate-0.1": "+10% animal loot",
"charattribute-animalLootDropRate--0.1": "-10% animal loot",
"charattribute-animalHarvestingTime--0.25": "+25% animal harvesting speed",
"charattribute-animalHarvestingTime-0.25": "-25% animal harvesting speed",
"charattribute-walkspeed-0.1": "+10% walk speed",
"charattribute-forageDropRate-0.1": "+10% loot from foraging",
"charattribute-wildCropDropRate-0.2": "+20% wild crop drop rate",
"charattribute-vesselContentsDropRate-0.15": "+15% drop rate",
"charattribute-rustyGearDropRate-0.1": "+10% rusty gear drop rate",
"charattribute-wholeVesselLootChance-0.12": "12% chance to collect cracked vessels intact",
"charattribute-animalSeekingRange--0.35": "-35% animal detection range",
"charattribute-mechanicalsDamage-0.4705": "+25% damage against mechanicals",
"charattribute-temporalGearTLRepairCost--1": "-1 temporal gear cost to repair translocators",
"charattribute-meleeWeaponsDamage-0.3": "+30% melee damage",
"charattribute-armorDurabilityLoss--0.15": "+15% armor durability",
"charattribute-armorWalkSpeedAffectedness--0.25": "walk speed penalty for wearing armor reduced by 25%",
"charattribute-miningSpeedMul-0.1": "+10% mining speed",
"charattribute-miningSpeedMul--0.1": "-10% mining speed",
"charattribute-maxhealthExtraPoints-5": "+5 health points",
"charattribute-meleeWeaponsDamage--0.15": "-15% melee damage",
"charattribute-oreLootDropMul-0.85": "-15% ore from mining",
"charattribute-maxhealthExtraPoints--2.5": "-2.5 health points",
"charattribute-maxhealthExtraPoints--2": "-2 health points",
"charattribute-meleeWeaponsDamageMul-0.9": "-10% melee damage",
"charattribute-hungerrate-0.3": "+30% hunger rate",
"charattribute-bowDrawingStrength--0.25": "-25% ranged distance",
"charattribute-bowDrawingStrength-0.2": "+20% ranged distance",
"charattribute-rangedWeaponsDamage--0.15": "-15% ranged damage",
"charattribute-vesselContentsDropRate--0.1": "-10% loot from cracked vessels",
"charattribute-forageLootDropMul-0.85": "-15% loot from foraging",
"charattribute-forageDropRate--0.15": "-15% loot from foraging",
"charattribute-forageDropRate--0.1": "-10% loot from foraging",
"charattribute-wildCropDropRate--0.2": "-20% wild crop harvesting",
"charattribute-oreDropRate--0.15": "-15% ore drop rate",
"charattribute-armorDurabilityLoss--0.1": "+10% armor durability",

 

Posted (edited)

I've actually been researching this a lot the past week myself ironically. The wiki is pretty poorly kept up it seems, and information is really hard to dig up without rooting around in the game code. The base traits do give you a selection of the attributes, but here's the full list of base EntityPlayer.Stats. You can also register custom WatchedAttributes if you want to get into API stuff, but if you're planning to stick to .json Traits, this is what you're working with:

Spoiler
EntityPlayer.Stats
"healingeffectivness"
"maxhealthExtraPoints"
"walkspeed"
"hungerrate"
"rangedWeaponsAcc"
"rangedWeaponsSpeed"
"rangedWeaponsDamage"
"meleeWeaponsDamage"
"mechanicalsDamage"
"animalLootDropRate")
"forageDropRate"
"wildCropDropRate"
"vesselContentsDropRate"
"oreDropRate"
"rustyGearDropRate"
"miningSpeedMul"
"animalSeekingRange"
"armorDurabilityLoss"
"armorWalkSpeedAffectedness"
"bowDrawingStrength"
"wholeVesselLootChance"
"temporalGearTLRepairCost"
"animalHarvestingTime"
"gliderLiftMax"
"gliderSpeedMax"
"jumpHeightMul"

 

Edited by Arisilde
  • Like 1
Posted (edited)

Since this is the latest thread about traits, does anyone know how to add certain traits to a different class? I've tried adding fleetfooted and and resourceful to the Commoner class, but I crash everytime I open the traits page on my character.

 

EDIT: Turns out it wasn't adding traits that causes the crash; it was apparently editing the values that causes it.

Edited by spaceblox
  • 3 weeks later...
Posted
On 10/21/2025 at 6:54 PM, spaceblox said:

Since this is the latest thread about traits, does anyone know how to add certain traits to a different class? I've tried adding fleetfooted and and resourceful to the Commoner class, but I crash everytime I open the traits page on my character.

 

EDIT: Turns out it wasn't adding traits that causes the crash; it was apparently editing the values that causes it.

If you edit the base game's playerclasses.json file, and the traits.json (just make the changes you want to see in your mod) then run the modmaker, it'll spit out the exact json patches you need. You can save those and then run the modmaker again and revert your vanilla files to default. So you have patch files, and clean vanilla files. You also shouldn't have any crashes or conflicts doing it that way.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.