Hello! I am a new gim to the forums and was wondering if there was a way to make a lottery system that could give different types of resources( like it could give snowballs or fish, wheat tickets or seeds, etc.) The system only costs one lottery ticket though. I’m currently working on a fishing tycoon-type game that would benefit from the inclusion of this feature.
The lottery would go in the grass under the purple lake, if you wanted to know. Also sorry for phone pics, I’m typing this on one so it would be more convenient.
Set [Variable] to random integer from # to #
if [Variable] = #
do Broadcast Message On Channel “grantrandomitem1”
else if [Variable] = #
do Broadcast Message On Channel “grantrandomitem2”