Debian Codegraph @

default/scripting/buildings/OBSERVATORY.disabled

raw
1 // current form doesn't work with current detection mechanics, which have a hard limit on range that can't be exceeded
2 BuildingType
3 name = "BLD_OBSERVATORY"
4 description = "BLD_OBSERVATORY_DESC"
5 buildcost = 60 * [[BUILDING_COST_MULTIPLIER]]
6 buildtime = 3
7 location = And [
8 Planet
9 OwnedBy empire = Source.Owner
10 Not Contains Building name = "BLD_OBSERVATORY"
11 ]
12 effectsgroups = [
13 [[SPECIES_LIKES_OR_DISLIKES_BUILDING_STABILITY_EFFECTS]]
14
15 EffectsGroup
16 scope = NumberOf number = 1 condition = System
17 effects = SetStealth value = Value - 1
18
19 EffectsGroup
20 scope = And [
21 Planet
22 Object id = Source.PlanetID
23 ]
24 effects = SetTargetConstruction value = Value - 10
25 ]
26 icon = "icons/building/lighthouse.png"
27
28 #include "/scripting/macros/base_prod.macros"
29 #include "/scripting/buildings/buildings.macros"
30