Debian Codegraph @

default/scripting/species/species_macros/planet_size.py

raw
1 from focs._effects import EffectsGroup, Huge, IsSource, Large, Medium, Planet, SetPlanetSize, Small, Tiny, Turn
2
3 LARGE_PLANET = [
4 EffectsGroup(scope=IsSource, activation=Planet() & Turn(high=0), effects=SetPlanetSize(planetsize=Large)),
5 ]
6
7 NOT_LARGE_PLANET = [
8 EffectsGroup(
9 scope=IsSource,
10 activation=Planet() & Turn(high=0) & ~Planet(size=[Tiny, Medium]),
11 effects=SetPlanetSize(planetsize=Small),
12 )
13 ]
14
15 HUGE_PLANET = [
16 EffectsGroup(
17 scope=IsSource,
18 activation=Planet() & Turn(high=0),
19 effects=SetPlanetSize(planetsize=Huge),
20 )
21 ]