Hello, so I am no friend of the new alchemy system introduced with the Witcher 3 and decided to try to make a mod that changes the system so that it is more like in the first witcher game. ( e.g. for swallow you need 2xrebis, 1xvitriol, 1x aether. You get those out of differents plants. e.g Celandine/ Crows Eye... contain rebis etc etc. ) But because I am no coder I have no idea about scripts/code and it did not take long for me to reach my limits. Perhaps someone here can help me with this problem: I can't figure out how to disable autorefill and to disable the restriction that you can only make potions once. What seems to be responsible for this restriction is the tag "singletonitem" which probably activates a bunch of scripts. If I delete this tag in ~\gameplay\items\def_item_alchemy_potion.xml from the various potions I can make as many potions as I want, but I'm no longer able to consume them. I then tried to add the tag "edible" and was able to make as many potions as I want and to consume them, but they didn't trigger the potion effects. Which means they are useless. I then tried to add the cat effect to bread, just to see if it works. I did that by adding the lines
<highlightObjectsRange type="add" min="3"/>
<highlightEnemiesRange type="add" min="25"/>
as found in ~\gameplay\abilities\effects_potions.xml under cat to the "WellFedEffect_Level1"
<ability name="WellFedEffect_Level1">
<duration type="add" min="5" max="5" />
<vitalityRegen type="add" min="50" max="50" />
<vitalityCombatRegen type="add" min="50" max="50" />
<highlightObjectsRange type="add" min="3"/>
<highlightEnemiesRange type="add" min="25"/>
<level type="add" min="1" />
</ability>
which is triggered if you consume bread ingame. The result: nothing, just the normal Vitality regen, but no cat effect. I think the key is the "singletonitem" tag but I have no idea what goes on in this scripts. Here are the scripts that contain the string "singletonitem":
"~\The Witcher 3 Wild Hunt\content\content0\cooked.redscripts
"~\The Witcher 3 Wild Hunt\content\content0\cookedfinal.redscripts
"~\The Witcher 3 Wild Hunt\content\content0\x64.final.redscripts
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\definitionsManager.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\gameParams.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\temp.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\components\inventoryComponent.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\gameplay\alchemy\alchemyManager.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\gameplay\effects\effects\mutagens\mutagen03.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\gameplay\interactive\monsterNestEntity.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\gameplay\items\throwables\petards\petard.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\gui\inventoryContext.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\gui\hud\modules\hudModuleItemInfo.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\gui\hud\modules\hudModuleLootPopup.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\gui\menus\preparationBombsAndPotionsMenu.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\gui\menus\preparationMutagensMenu.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\gui\popups\LootPopup.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\gui\_old\components\guiBaseInventoryComponent.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\player\playerInput.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\player\playerWitcher.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\player\r4Player.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\player\states\vehicles\useVehicle.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\quests\quest_function.ws
"~\The Witcher 3 Wild Hunt\content\content0\scripts\game\quests\conditions\questItemAmmo.ws
Perhaps someone wants to take a look at it ? Thanks for your help.