sirgwain / craig-stars

Web based Stars! clone
https://craig-stars.net
MIT License
8 stars 3 forks source link

Feature Request: Quick and Dirty Cheater AI #153

Open KentheDM opened 3 weeks ago

KentheDM commented 3 weeks ago

Add a "Cheater" difficulty setting that sets the AI to a tri-immune 20% growth rate and good mine settings with a rando non-CA primary racial trait. SS, WM, and JOAT feel like the most dangerous, but what do I know? It would be fun to see if us scrappy humans could compete.

Save perfect factory settings, the best colonist resource generation, and cheap tech for a "Cheater +" difficulty level.

These empires should have a name list that indicates they are unpleasant neighbors: Legions of Terror Thundering Horde Doomwalkers Imperium of Vengence Plaguebearers Techno Vikings Necro Barbarians etc.

sirgwain commented 2 weeks ago

From discord:

        Name:       "Waaagh!",
        PluralName: "Waaagh!",
        PRT:        cs.JoaT,
        LRTs:       cs.Bitmask(cs.IFE) | cs.Bitmask(cs.ISB) | cs.Bitmask(cs.OBRM),
        HabLow: cs.Hab{
            Temp: 15,
            Rad: 15,
        },
        HabHigh: cs.Hab{
            Temp: 85,
            Rad: 85,
        },
        ImmuneGrav:    true,
        GrowthRate:    20,
        PopEfficiency: 8,
        FactoryOutput: 13,
        FactoryCost:   5,
        NumFactories:  15,
        MineOutput:    13,
        MineCost:      2,
        NumMines:      15,
        ResearchCost: cs.ResearchCost{
            Energy:        cs.ResearchCostStandard,
            Weapons:       cs.ResearchCostLess,
            Propulsion:    cs.ResearchCostStandard,
            Construction:  cs.ResearchCostLess,
            Electronics:   cs.ResearchCostStandard,
            Biotechnology: cs.ResearchCostMore,
        },
    },
KentheDM commented 2 weeks ago

Here are HE's with 3000 extra points.

    {
        Name:              "Space Ork",
        PluralName:        "Space Orks",
        PRT:               cs.HE,
        LRTs:              cs.Bitmask(cs.IFE) | cs.Bitmask(cs.ISB) | cs.Bitmask(cs.NRSE) | cs.Bitmask(cs.OBRM),
        ImmuneGrav:        true,
        ImmuneTemp:        true,
        ImmuneRad:         true,
        GrowthRate:        10,
        PopEfficiency:     10,
        FactoryOutput:     15,
        FactoryCost:       6,
        NumFactories:      15,
        FactoriesCostLess: true,
        MineOutput:        12,
        MineCost:          3,
        NumMines:          16,
        ResearchCost: cs.ResearchCost{
            Energy:        cs.ResearchCostStandard,
            Weapons:       cs.ResearchCostLess,
            Propulsion:    cs.ResearchCostMore,
            Construction:  cs.ResearchCostLess,
            Electronics:   cs.ResearchCostMore,
            Biotechnology: cs.ResearchCostMore,
        },
    },