FramFramson
Survivor
I want to make two changes for a mod I'm still working on.
The first shouldn't be too hard - I just need to add the bucket to more containers and lootgroups so it comes up more commonly. The only thing I'm not sure of is when numeric odds are inserted - is it better practice to just add the bucket to more containers, or should I directly alter the chance to find it as well? I'm still not 100% on lootgroups. Also if I ONLY add an item to a lootgroup, it dilutes the pool for that container, right? So if you have an X chance of finding something from some lootgroup, adding another item to that lootgroup means all preexisting items on that list will have a slightly reduced chance of coming up, correct?
The more important thing I need to figure out is how to remove certain specific items from the trader's inventory (mainly the water purifier), but ONLY early game. I want a common item to be changed so that it's a possible T2 quest reward, appears rarely once your gamestage roughly corresponds to doing T3 quests, and appear uncommonly from T4 onward. I thought there would be increased-difficulty mods out there which did this and which I could look at for code, but oddly I haven't actually found any so far? How the heck do I code this?
The first shouldn't be too hard - I just need to add the bucket to more containers and lootgroups so it comes up more commonly. The only thing I'm not sure of is when numeric odds are inserted - is it better practice to just add the bucket to more containers, or should I directly alter the chance to find it as well? I'm still not 100% on lootgroups. Also if I ONLY add an item to a lootgroup, it dilutes the pool for that container, right? So if you have an X chance of finding something from some lootgroup, adding another item to that lootgroup means all preexisting items on that list will have a slightly reduced chance of coming up, correct?
The more important thing I need to figure out is how to remove certain specific items from the trader's inventory (mainly the water purifier), but ONLY early game. I want a common item to be changed so that it's a possible T2 quest reward, appears rarely once your gamestage roughly corresponds to doing T3 quests, and appear uncommonly from T4 onward. I thought there would be increased-difficulty mods out there which did this and which I could look at for code, but oddly I haven't actually found any so far? How the heck do I code this?