#Make Sea Salt debug off setvariable seasaltcounter %1 counter set %scriptsseasaltuses counter add 1 setvariable scriptsseasaltuses %c if_1 setvariable seasaltcounter %1 if_1 counter set %1 if_1 goto begin setvariable seasaltcounter 1 begin: put open my %alchemycontainer put get glass vial in my %alchemycontainer repeatit: match start You remove a match repeatit ...wait put get crystal flask in my %alchemycontainer matchwait start: match start ...wait match start2 You pour a little sea water match flaskisempty But your crystal flask is empty! put pour my flask in my vial matchwait start2: counter set %seawateramount counter subtract 1 setvariable seawateramount %c put put my flask in my %alchemycontainer waitfor You put a put alch extract waitfor Sensing the process nearing its end, counter set %scriptsseasaltsmade counter add 1 setvariable scriptsseasaltsmade %c storesalt: match storesaltisgood You put a handful of sea salt in match storesalt ...wait put put my salt in my %alchemycontainer matchwait storesaltisgood: counter set %seasaltcounter counter subtract 1 setvariable seasaltcounter %c if_1 ECHO if_1 ECHO ( %seasaltcounter ) more remaining. There is ( %seawateramount ) units of sea water remaining in your flask. if_1 ECHO if_1 goto repeat%c put put my vial in my %alchemycontainer exit repeat20: repeat19: repeat18: repeat17: repeat16: repeat15: repeat14: repeat13: repeat12: repeat11: repeat10: repeat9: repeat8: repeat7: repeat6: repeat5: repeat4: repeat3: repeat2: repeat1: goto repeatit repeat: repeat0: put put my vial in my %alchemycontainer exit flaskisempty: put put my vial in my %alchemycontainer put put my crystal flask in my %alchemycontainer pause 1 ECHO ECHO The flask is empty. ECHO exit