Icon representing a recipe

Recipe: 1207 Crash Test 2

created by Susume

Profile


Name
1207 Crash Test 2
ID
101952
Shared with
Public
Parent
None
Children
None
Created on
March 18, 2016 at 04:05 AM UTC
Updated on
March 18, 2016 at 04:05 AM UTC
Description

tests for crashes on 1207 or similar puzzle

Best for


Code


--Test script for puzzle 1207 with disulfide --Be sure to start from a pose that has a disulfide bridge reset_slot = 4 bridge_slot = 5 current_slot = 6 function QS(slot) save.Quicksave(slot) print("saved slot "..slot) end function QL(slot) save.Quickload(slot) print("loaded slot "..slot) end function Initialize() QS(bridge_slot) QS(current_slot) puzzle.StartOver() --this pose has no disulfide bridge QS(reset_slot) QL(current_slot) end function Wiggle(iters) if iters==null then iters=1 end print("start wiggle") structure.WiggleAll(iters) print("end wiggle") end -- MAIN Initialize() while true do QL(bridge_slot) --with bridge Wiggle(20) -- QS(current_slot) -- QL(reset_slot) --no bridge -- Wiggle(20) -- QL(current_slot) --probably with bridge end

Comments