[][src]Crate dsmsg

DSMSG: Random generator for Messages that would be found in the Dark Souls series.

Structs

MessageDkS1

Message: A complete Hint Message that could be found in-game. Consists of either one or two &strs. One is a Template, and the other, if present, is a Fill phrase.

MessageDkS2

Message: A complete Hint Message that could be found in-game. Consists of either one or two Segments. If there are two, there will also be a Conjunction &str.

MessageDkS3

Message: A complete Hint Message that could be found in-game. Consists of either one or two Segments. If there are two, there will also be a Conjunction &str.

Constants

GENERATORS

Generators: A constant slice of small closures that each return the String form of a random generation of their respective messages.

Functions

random_message

Randomly select from the GENERATORS slice, and run it, producing a random message from a random source.