More Crafting Details

If you liked this item, please rate it up on Steam Workshop page.

Author: Sinny Deas

Last revision: 14 Sep, 2024 at 09:36 UTC

File size: 97.87 KB

On Steam Workshop

Description:
About
  • Displays some stats about some items in the crafting menu.
  • Damage is dynamically calculated to consider damage modifiers.

Thanks

Modders / Mod compatibility : New item
· HowTo
  1. Add anywhere in the modmain.lua file of your mod:
    if not GLOBAL.TUNING.dataset then GLOBAL.TUNING.dataset = {} end
  2. Add your new item stats to GLOBAL.TUNING.dataset. Example:
    GLOBAL.TUNING.dataset.newprefabnameitem = { health = 99, dapperness = 99, hungervalue = 99 }
    GLOBAL.TUNING.dataset.newprefabnameitem2 = { weapondamage = 99, armor = 99 }
  3. That’s it, MoreCraftingDetails should now show the stats of the new item
  4. Maybe checking "screens/redux/scrapbookdata" file make it easy to understand
· Details allowed

health, sanityaura, damage, stacksize, finiteuses, waterproofer, dapperness, perishable, hungervalue, planardamage, weapondamage, armor, insulator, fueledrate, fueltype and speed

· Warning

More than 4 stats on the same item will make the HUD look weird.