This code is in the field that the score goes into:
Code: Select all
if content of me >= 10 then send "start_" to image "broccoli"
if content of me >= 10 then send "start_" to image "grapes"
if content of me >= 10 then send "start_choco" to image "choco"
if content of me >= 50 then send "start_alcohol" to image "alcohol"
if content of me >= 100 then send "start_burger" to image "burger"
if content of me >= 300 then send "start_needle" to image "needle"
if content of me >= 200 then send "start_water" to image "water"
Code: Select all
on start_choco
wait 2 seconds with messages
set the vis of target to true
end start_choco