Exemplo n.º 1
0
    public override bool generate(ModList mods)
    {
        int n = 0;
        if (mods.contains("agent") && !mods.contains("injured"))
            n = rnd.Next(1,100);

        Console.WriteLine("Generating injured event");
        if (n > 90)
            return true;
        else
            //return false;
            return true; //for testing
    }