Debian Codegraph @

test-scripting/species/species_macros/planet_size.py

raw
1 # HUGE_PLANET
2 # '''EffectsGroup
3 # scope = Source
4 # activation = And [
5 # Planet
6 # Turn high = 0
7 # ]
8 # effects = SetPlanetSize planetsize = Huge
9 # '''
10 try:
11 from focs._effects import EffectsGroup, IsSource, Large, Planet, SetPlanetSize, Turn
12 except ModuleNotFoundError:
13 pass
14
15
16 LARGE_PLANET = [
17 EffectsGroup(scope=IsSource, activation=Planet() & Turn(high=0), effects=SetPlanetSize(planetsize=Large))
18 ]
19
20 # MEDIUM_PLANET
21 # '''EffectsGroup
22 # scope = Source
23 # activation = And [
24 # Planet
25 # Turn high = 0
26 # ]
27 # effects = SetPlanetSize planetsize = Medium
28 # '''
29
30 # SMALL_PLANET
31 # '''EffectsGroup
32 # scope = Source
33 # activation = And [
34 # Planet
35 # Turn high = 0
36 # ]
37 # effects = SetPlanetSize planetsize = Small
38 # '''
39
40 # NOT_HUGE_PLANET
41 # '''EffectsGroup
42 # scope = Source
43 # activation = And [
44 # Planet
45 # Turn high = 0
46 # Planet size = Huge
47 # ]
48 # effects = SetPlanetSize planetsize = Large
49 # '''
50
51 # NOT_LARGE_PLANET
52 # '''EffectsGroup
53 # scope = Source
54 # activation = And [
55 # Planet
56 # Turn high = 0
57 # Not Planet size = Tiny
58 # Not Planet size = Medium
59 # ]
60 # effects = SetPlanetSize planetsize = Small
61 # '''