Razr1983 Posted May 14, 2021 Share Posted May 14, 2021 (edited) Hi! :smile: I'm brand new to modding and only slowly learning how to use GECK. I've been meddling with custom recipes for a couple of hours and want to to change/create perks now.The "Voracious Reader" perk automatically turns damaged books into blank books. I'd like to create a few variation of this, e.g. turning pre-war money into caps. However, I cannot find any way to do that. I've been shuffling through the script section in order to find something attached to the perk. But I couldn't find anything. How and where do I find what I'm looking for? Edited May 14, 2021 by Razr1983 Link to comment Share on other sites More sharing options...
GamerRick Posted May 14, 2021 Share Posted May 14, 2021 An easy way would be to create a new recipe that changes pre-war money to caps at the workbench, and make the recipe conditional on you having the perk. Then you don't need to code any scripts for the perk itself. Otherwise, you will need to script it. Link to comment Share on other sites More sharing options...
Razr1983 Posted May 14, 2021 Author Share Posted May 14, 2021 I've already made a recipe for the example given above. Works as intended. But it would be better to have it automated. After digging deeper into the tool I came across this script: If ( Player.HasPerk NVDLC04VoraciousReaderPerk == 1 ) If ( Player.GetItemCount NVDLC04BooksBurnedLIST >= 1 ) Set nBurnedBook08Count to Player.GetItemCount BurnedBook08; Set nBurnedBook07Count to Player.GetItemCount BurnedBook07; Set nBurnedBook06Count to Player.GetItemCount BurnedBook06; Set nBurnedBook05Count to Player.GetItemCount BurnedBook05; Set nBurnedBook04Count to Player.GetItemCount BurnedBook04; Set nBurnedBook03Count to Player.GetItemCount BurnedBook03; Set nBurnedBook02Count to Player.GetItemCount BurnedBook02; Set nBurnedBook01Count to Player.GetItemCount BurnedBook01; Set nBurnedBookTotal to ( nBurnedBook08Count + nBurnedBook07Count + nBurnedBook06Count + nBurnedBook05Count + nBurnedBook04Count + nBurnedBook03Count + nBurnedBook02Count + nBurnedBook01Count ); Set nBookCount to nBurnedBookTotal; Player.RemoveItem BurnedBook08 nBurnedBook08Count; Player.RemoveItem BurnedBook07 nBurnedBook07Count; Player.RemoveItem BurnedBook06 nBurnedBook06Count; Player.RemoveItem BurnedBook05 nBurnedBook05Count; Player.RemoveItem BurnedBook04 nBurnedBook04Count; Player.RemoveItem BurnedBook03 nBurnedBook03Count; Player.RemoveItem BurnedBook02 nBurnedBook02Count; Player.RemoveItem BurnedBook01 nBurnedBook01Count; Player.AddItem NVDLC04BlankMagazineMISC nBookCount; Endif Endif That's the script for the actual perk. Link to comment Share on other sites More sharing options...
GamerRick Posted May 14, 2021 Share Posted May 14, 2021 (edited) Then you could change the script for what you want: If ( Player.HasPerk NVDLC04VoraciousReaderPerk == 1 ) If ( Player.GetItemCount PrewarMoney >= 1 ) Set nCount to Player.GetItemCount PrewarMoney Player.RemoveItem PrewarMoney nCount Player.AddItem Caps001 nCount; Endif EndifEDIT: I just looked it up in the GECK, and here is how they do the Voracious Reader Perk. 1) Perk NVDLC04VoraciousReaderPerk was created. All it does is allow another quest/script to check if the player has that perk, where it then does the book swap.2) Quest NVDLC04GenericPerkQUEST was created to handle the scripting for all perks that need it in DLC04. The quest script for this quest (NVDLC04GenericPerkQuestSCRIPT) has a GameMode block that does the code I showed above. So, for your purposes you would need to do the same thing. Create a new Perk and then a Quest and quest script that does the code above. Edited May 14, 2021 by GamerRick Link to comment Share on other sites More sharing options...
Recommended Posts