Probably fairly simple issues, but i cant figure out how to get around them.
First, id like to modify few existing items. If i just copy items.txt file into mod folder and do changes there, it works. But as i understand it is possible to make changes to only specific items, excluding those i do not need.
So i created new file(id like to create separate files for each category, to make it easier to pinpoint problems and make changes), items_books_changed.txt, copied in there only book data, with all the usual stuff added. But apparently im missing something somewhere as upon loading i get errors(that i have no idea how to view) and i cant access crafting menu.
module items_books_changed
{
imports
{
Base
}
item BookTrapping1
{
NumberOfPages = 220,
Weight = 0.8,
Type = Literature,
DisplayName = (Skill)Trapping 1,
Icon = Book4,
SkillTrained = Trapping,
LvlSkillTrained = 1,
NumLevelsTrained = 2,
}
...........
item BookForaging5
{
NumberOfPages = 380,
Weight = 0.8,
Type = Literature,
DisplayName = (Skill)Foraging 5,
Icon = Book10,
SkillTrained = Foraging,
LvlSkillTrained = 9,
NumLevelsTrained = 2,
}
}
Second problem is that im trying to add items to foraging activity. I found SGScavengeDefinition.lua, but this file do not state probabilities of items being found. Plus id like to add new category "junk" to the list, but im not sure how to do it. As when i just add new items to this file, nothing seem to happen as i never find items i added.
edit: ok, wrong subforum, cant figure out how to delete topic.