wisky Lv 1
Title says it all.
Wiggle power needs a function implemented in both Lua and GUI scripts/recipes.
Title says it all.
Wiggle power needs a function implemented in both Lua and GUI scripts/recipes.
adding a gui and lua function would be nice.
Bump
A function SetWigglePower and a function GetWigglePower
This would help building recipes:
-with strategies jumping from low to High/Medium and reverse at end game, or Auto and Low at begin game
(now we must do it manually, which takes time)
-partly solving the following problems (the recipe can "reset" to the desired starting point):
http://fold.it/portal/node/997804 on default WP
http://fold.it/portal/node/998050 on current WP display
http://fold.it/portal/node/996896 on current WP display
-partly solving the following problem (recipe can write in notes)
https://fold.it/portal/node/997263 on remembering latest WP
-testing different WP combinations for best final results and/or learning on the best WP strategies
and recipes solving this problem:
http://fold.it/portal/node/997521 on "changing the default Now or …"
When you implement this with LUA functions like SetWigglePower and GetWigglePower, please make a big announcement about it.
As proposed for the 2014/8/19 devchat:
First, it seems counterproductive to have some functions that are only accessible through one channel. If you can change something in the user interface, you should be able to change it through a script as well.
Second, not really a wishlist item, but has something happened to auto wiggle power? Auto didn't get a good reputation at the start, but I've recently had encouraging results, including a successful solo on CASP puzzle 957, which spent a long time on auto, by mistake. (See point #1 - script control.)
It's implemented.
behavior.SetWigglePower(a/l/m/h)
behavior.HighPowerAllowed()
behavior.GetWigglePower()
Here is a small script that uses it:
– START Wiggle Power Setting stuff
function DisplayLongWigglePower ()
local PowerSetting = behavior.GetWigglePower()
local result = ""
if PowerSetting == "l" then result = "Low"
elseif PowerSetting == "m" then result = "Medium"
elseif PowerSetting == "h" then result = "High"
elseif PowerSetting == "a" then result = "Auto"
end
return result
end
OriginalWPowerSetting= DisplayLongWigglePower ()
print(OriginalWPowerSetting .. " Wiggle Power")
function CheckWP() – including Alarm Dialog
if OriginalWPowerSetting == "Low" or OriginalWPowerSetting == "Auto" then
local ask=dialog.CreateDialog("Wiggle Power is ".. OriginalWPowerSetting)
ask.l1=dialog.AddLabel("Are you sure ?")
ask.continue=dialog.AddButton("Continue",1)
ask.stop=dialog.AddButton("Cancel",0)
askresult=dialog.Show(ask)
if askresult < 1 then return false end
end
return true
end
– STOP Wiggle Power Setting stuff