/
NEST_ERADICATOR.focs.txt
49 lines (45 loc) · 1.52 KB
/
NEST_ERADICATOR.focs.txt
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
BuildingType
name = "BLD_NEST_ERADICATOR"
description = "BLD_NEST_ERADICATOR_DESC"
buildcost = 80
buildtime = 5
location = And [
Planet
OwnedBy empire = Source.Owner
Not Contains Building name = "BLD_NEST_ERADICATOR"
Or [
HasSpecial name = "JUGGERNAUT_NEST_SPECIAL"
HasSpecial name = "KRAKEN_NEST_SPECIAL"
HasSpecial name = "SNOWFLAKE_NEST_SPECIAL"
]
]
enqueuelocation = Not Enqueued type = Building name = "BLD_NEST_ERADICATOR"
effectsgroups = [
[[EG_NEST_REMOVAL(JUGGERNAUT)]]
[[EG_NEST_REMOVAL(KRAKEN)]]
[[EG_NEST_REMOVAL(SNOWFLAKE)]]
EffectsGroup
scope = Source
effects = Destroy
]
icon = "icons/building/nest_eradicator.png"
// @1@ Monster name
EG_NEST_REMOVAL
'''EffectsGroup
scope = And [
Object id = Source.PlanetID
Planet
HasSpecial name = "@1@_NEST_SPECIAL"
]
stackinggroup = "@1@_NEST_STACK" // groups with @1@_NEST_SPECIAL
effects = [
RemoveSpecial name = "@1@_NEST_SPECIAL"
GenerateSitRepMessage
message = "EFFECT_NEST_REMOVAL"
label = "EFFECT_NEST_REMOVAL_LABEL"
icon = "icons/building/nest_eradicator.png"
parameters = tag = "planet" data = Target.ID
empire = Source.Owner
]
'''
#include "/scripting/macros/base_prod.macros"