Wiggle all with high importance for several options importances like hiding, clashing, bonding etc.
Best for
Code
--Wiggle all
save.Quicksave(3)
BestScore = current.GetScore()
StartScore = BestScore
BestBonus = filter.GetBonusTotal()
StartBonus = BestBonus
Importance = 3
print("Click on behavior - RECIPE SCORE MODDING before to run")
function SaveBest()
local ss= current.GetScore()
local g = ss - BestScore
local tb = filter.GetBonusTotal()
local bg = tb - BestBonus
if g > 0 and bg >= 0 then
print("Gained another" .. g.. " Score: "..ss.. " Bonus: "..tb)
BestScore= ss
BestBonus = tb
save.Quicksave(3)
else print(":( no gain")
end
end
function SidechainsHbondFuze()
print("SidechainHbond")
save.Quickload(3)
recentbest.Save()
behavior.SetSidechainHBondImportance(Importance)
structure.WiggleAll(25,true,true) -- wa
recentbest.Restore()
SaveBest()
behavior.SetSidechainHBondImportance(1)
end
function BackboneHbondFuze()
print("BackboneHbond")
save.Quickload(3)
recentbest.Save()
behavior.SetBackboneHBondImportance(Importance)
structure.WiggleAll(25,true,true) -- wa
recentbest.Restore()
SaveBest()
behavior.SetBackboneHBondImportance(1)
end
function PairWiseFuze()
print("PairWise")
save.Quickload(3)
recentbest.Save()
behavior.SetPairwiseImportance(Importance)
structure.WiggleAll(25,true,true) -- wa
recentbest.Restore()
SaveBest()
behavior.SetPairwiseImportance(1)
end
function PackingFuze()
print("Packing")
save.Quickload(3)
recentbest.Save()
behavior.SetPackingImportance(Importance)
structure.WiggleAll(25,true,true) -- wa
recentbest.Restore()
SaveBest()
behavior.SetPackingImportance(1)
end
function HidingFuze()
print("Hiding")
save.Quickload(3)
recentbest.Save()
behavior.SetHidingImportance(Importance)
structure.WiggleAll(25,true,true) -- wa
recentbest.Restore()
SaveBest()
behavior.SetHidingImportance(1)
end
function ClashingFuze()
print("Clashing importance 0.9")
save.Quickload(3)
recentbest.Save()
behavior.SetClashImportance(0.9)
structure.WiggleAll(25,true,true) -- wa
recentbest.Restore()
SaveBest()
behavior.SetClashImportance(1)
end
for importance = 3, 0, -1 do
print("Testing Importance = "..importance)
Importance = importance
SidechainsHbondFuze()
BackboneHbondFuze()
PairWiseFuze()
PackingFuze()
HidingFuze()
ClashingFuze()
save.Quickload(3)
end