Jump to content

Funsion Core Alchemy System


UW3sywNVP8MGn2K

Recommended Posts

Hi All,

 

I would like to overhaul the crafting system but have no modding experience.

 

I am hoping to get 80% of what i am after through a simple bat / script but have two questions.

 

In the fallout 4 console / bat, how use the following;

 

1. Variables

2. Basic maths

 

For Example;

 

;106D99 = Concrete

 

$iConvertValue = 0

$iConvertRatio = 0.5

 

$iItemCount = ("14".GetItemCount 106D99)

If $iItemCount > 0 then

"14".RemoveItem 106D99 $iItemCount

$iConvertValue += ($iItemCount * 1) ;Cap Value for Concrete

Endif

 

##Every every Scrap item has been converted

;75FE4 = Fusion Core

 

"14".AddItem 75FE4 (($iConvertValue / $iConvertRatio) / 200) ;Cap Value for a Core

 

I would have a seperate bat for converting cores back into scrap for work bench or settlement tasks.

 

Kind Regards,

Ian

Edited by UW3sywNVP8MGn2K
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...