Variable 0003:Mining Rock is 9 or above Self Switch A is ON Priority: Below or Same as Characters Trigger: Parallel Process
Contents
CODE
@>Text: -, -, Dark, Bottom : All that was mined were pebbles... @>Control Variables: [0003:Mining Rock] = 0 @>Control Self Switch: B =ON
Event Page 4
Variable: 0003:Mining Rock is 13 or above Self Switch A is ON Priority: Below or Same as Characters Trigger: Parallel Process
Contents
CODE
@>Control Variables: [0004:Ore Obtained] = Random No. (1...2) //This can be random or not. Your Choice @>Text: -, -, Dark, Bottom : Obtained \v[0004] ENTER-ITEM-NAME @>Change Items: [ENTER-ITEM-NAME], + Variable [0004:Ore Obtained] @>Control Variables: [0003:Mining Rock] = 0 @>Control Variables: [0004:Ore Obtained] = 0 @> Control Self Switch: B =ON
Event Page 5
Self Switch B is ON Priority: Below or Same as Characters Trigger: Parallel Process
Contents // You can do this 2 ways, 1. Have it like how I'm about to show you which enables 10second reset for the ore //or you can edit this part and make it so it doesn't reset
CODE
@>Wait: 600 frame(s) @> Control Self Switch: A =OFF @> Control Self Switch: B =OFF @> Exit Event Processing
I also have an edit which has Iron ore needing Level 5 mining while Copper only needs Level 0