File: ORBITAL_CON.focs.py

package info (click to toggle)
freeorion 0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 194,940 kB
  • sloc: cpp: 186,508; python: 40,969; ansic: 1,164; xml: 719; makefile: 32; sh: 7
file content (28 lines) | stat: -rw-r--r-- 731 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from focs._effects import (
    EffectsGroup,
    OwnedBy,
    Planet,
    SetMaxSupply,
    Source,
    Value,
)
from focs._tech import *
from macros.base_prod import TECH_COST_MULTIPLIER

Tech(
    name="CON_ORBITAL_CON",
    description="CON_ORBITAL_CON_DESC",
    short_description="SUPPLY_SHORT_DESC",
    category="CONSTRUCTION_CATEGORY",
    researchcost=72 * TECH_COST_MULTIPLIER,
    researchturns=4,
    tags=["PEDIA_CONSTRUCTION_CATEGORY"],
    effectsgroups=[
        EffectsGroup(
            scope=Planet() & OwnedBy(empire=Source.Owner),
            accountinglabel="CON_TECH_ACCOUNTING_LABEL",
            effects=SetMaxSupply(value=Value + 1),
        )
    ],
    graphic="icons/tech/orbital_construction.png",
)