Hey! Im interested in creating a mod for the game, and while I lack experience in coding, watching the video makes me think it may be feasable. However, Im in need of some guidance and was wondering if you could perhaps help me out.
What I want to do is to create a global limit to the amount of herbs the player may carry in their inventory (around 10 max).
My first try (long before the Next Gen edition of the game) was editing the limit per herb, and that worked, by just modifying each individual item. Althought it didnt work completely back then since I didnt know how to apply a limit to the amount of stacks.
In this case however, it would require the creation of a separate function Im assuming; one that reads the amount of total herbs in the player's inventory and then imposes a limitation to picking any further.
yea found it. it was one line. and added a line so that geralt says thank you whenever he receives coin. tried to make him says random stuff each time, but been unsuccessful :D
9 comments
What I want to do is to create a global limit to the amount of herbs the player may carry in their inventory (around 10 max).
My first try (long before the Next Gen edition of the game) was editing the limit per herb, and that worked, by just modifying each individual item. Althought it didnt work completely back then since I didnt know how to apply a limit to the amount of stacks.
In this case however, it would require the creation of a separate function Im assuming; one that reads the amount of total herbs in the player's inventory and then imposes a limitation to picking any further.
This is where I find myself in need of help
tried to make him says random stuff each time, but been unsuccessful :D
A little heads up, you link the "Cyberpunk" Wolvenkit. It should be this "Witcher" Wolvenkit instead.