I spent the afternoon building a trap tile function for my textRPG after several questions on here I\'m getting down to the actually implementing the function. iv adapted it fro