Display Modules Display Different Text Based On Logic

    Joined
    Jun 27, 2013
    Messages
    34
    Reaction score
    34
    • Community Content - Bronze 1
    • Legacy Citizen 2
    • Purchased!
    Simple idea, have different text display on display modules depending on connected logic blocks.

    Here's an example:
    Here's what you could type into a display module

    "Current Ship Status: [log>0]Ok[/log][log=0]WE'RE ALL GONNA DIE[/log]"

    If one or more switches were connected to the display module, and at lease one of them was on, the display would say this:

    "Current Ship Status: Ok"

    If none of the switches were on, it would display this:

    "Current Ship Status: WERE ALL GONNA DIE"

    In the first bracket would be an algebraic expression with how many active logic modules are connected to the display module compared to a number.

    Additionally, here's another example:

    "Currently Docked Ships: [log]<log>[/log]"

    If say, 3 active logic modules were connected to this display module, it would display this:

    "Currently Docked Ships: 3"

    I'm sure more complex things could be added to this, but I feel this could be added relatively easily (I think, but I have no experience with making a game such as this so I could be completely wrong). Anyway, tell me what you guys think!