Grokmoo / sulis

Turn based tactical RPG with several campaigns, written in Rust
https://www.sulisgame.com
470 stars 29 forks source link

Blacklisting output #177

Closed picobyte closed 4 years ago

picobyte commented 4 years ago

I split the string like this because with the string.contains() check you may run into trouble if the blacklisted device is a substring of a device that does work. Also the blacklist may be more extendable like this.