[Freeciv-Dev] (PR#14248) A new effect to increase city vision range
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14248 >
Here are two patch files for the FreeCiv HEAD trunk.
radarstation.diff - adds the Radar Station to the buildings.ruleset
according to the new format (genus field is present, effects are
specified separately)
effects.ruleset.diff - adds the increased vision effect for the
buildings mentioned in the previous postings.
Sincerely,
Sayenko Alexander
Index: data/default/effects.ruleset
===================================================================
--- data/default/effects.ruleset (revision 11118)
+++ data/default/effects.ruleset (working copy)
@@ -420,6 +420,14 @@
"Building", "Airport", "City"
}
+[effect_airport_vision]
+name = "City_Vision_Radius_Sq"
+value = 5
+reqs =
+ { "type", "name", "range"
+ "Building", "Airport", "City"
+ }
+
; Base max city size of 8
[effect_aqueduct_size]
name = "Size_Adj"
@@ -559,6 +567,14 @@
"Building", "City Walls", "City"
}
+[effect_city_walls_vision]
+name = "City_Vision_Radius_Sq"
+value = 5
+reqs =
+ { "type", "name", "range"
+ "Building", "City Walls", "City"
+ }
+
[effect_coastal_defense]
name = "Sea_Defend"
value = 100
@@ -939,6 +955,14 @@
"Building", "Hydro Plant", "City"
}
+[effect_radar_station_vision]
+name = "City_Vision_Radius_Sq"
+value = 10
+reqs =
+ { "type", "name", "range"
+ "Building", "Radar Station", "City"
+ }
+
[effect_recycling_center]
name = "Pollu_Prod_Pct"
value = -66
@@ -991,6 +1015,14 @@
"Building", "SDI Defense", "City"
}
+[effect_sdi_vision]
+name = "City_Vision_Radius_Sq"
+value = 5
+reqs =
+ { "type", "name", "range"
+ "Building", "SDI Defense", "City"
+ }
+
[effect_sewer_system]
name = "Size_Unlimit"
value = 1
Index: data/default/buildings.ruleset
===================================================================
--- data/default/buildings.ruleset (revision 11118)
+++ data/default/buildings.ruleset (working copy)
@@ -638,6 +638,29 @@
; For Civ1/2 the first number above should be 100%, but the above
; describes current freeciv rules.
+[building_radar_station]
+name = _("Radar Station")
+genus = "Improvement"
+tech_req = "Radio"
+bldg_req = "None"
+;graphic = "b.radar_station"
+graphic_alt = "-"
+;terr_gate =
+;spec_gate =
+equiv_range = "City"
+;equiv_dupl =
+;equiv_repl =
+obsolete_by = "None"
+is_wonder = 0
+build_cost = 100
+upkeep = 2
+sabotage = 100
+;sound = "b_radar_station"
+sound_alt = "b_generic"
+helptext = _("\
+Increases a city's vision range\
+")
+
[building_recycling_center]
name = _("Recycling Center")
genus = "Improvement"
- [Freeciv-Dev] Re: (PR#14248) Radar station, Per I. Mathisen, 2005/10/12
- [Freeciv-Dev] (PR#14248) Radar station, Guest, 2005/10/12
- [Freeciv-Dev] (PR#14248) Radar station, Guest, 2005/10/12
- [Freeciv-Dev] (PR#14248) Radar station, Jason Short, 2005/10/12
- [Freeciv-Dev] Re: (PR#14248) Radar station, Jason Short, 2005/10/12
- [Freeciv-Dev] (PR#14248) Radar station, Jason Short, 2005/10/12
- [Freeciv-Dev] (PR#14248) A new effect to increase city vision range, Guest, 2005/10/13
- [Freeciv-Dev] Re: (PR#14248) A new effect to increase city vision range, Per I. Mathisen, 2005/10/13
- [Freeciv-Dev] (PR#14248) A new effect to increase city vision range,
Guest <=
- [Freeciv-Dev] Re: (PR#14248) A new effect to increase city vision range, Benedict Adamson, 2005/10/13
- [Freeciv-Dev] Re: (PR#14248) A new effect to increase city vision range, Per I. Mathisen, 2005/10/13
- [Freeciv-Dev] (PR#14248) A new effect to increase city vision range, Guest, 2005/10/14
- [Freeciv-Dev] Re: (PR#14248) A new effect to increase city vision range, Jason Short, 2005/10/14
- [Freeciv-Dev] (PR#14248) A new effect to increase city vision range, Guest, 2005/10/14
|
|