freecivfi / 2020

Freeciv 2020
0 stars 0 forks source link

tarkista, että pelissä on kaksi linnoitustyyppiä eikä vain yksi (pre-fort ja fort) #25

Open wieder-fi opened 3 years ago

wieder-fi commented 3 years ago

yksi aiheuttaa todella hankalia rts-tilanteita. pre-fortilla ei pitäisi olla efektejä

thejhh commented 3 years ago

Kannatan

wieder-fi commented 3 years ago

terrain.ruleset

[extrafort] name = ("Pre-Fortress") category = "Infra" causes = "Base" rmcauses = "Pillage" graphic = "base.outpost" graphic_alt = "base.fortress" activity_gfx = "unit.outpost" act_gfx_alt = "unit.fortress" act_gfx_alt2 = "-" rmact_gfx = "None" rmact_gfx_alt = "-" reqs = { "type", "name", "range", "present", "quiet" "Tech", "Construction", "Player", TRUE, FALSE "TerrainClass", "Land", "Local", TRUE, FALSE "UnitFlag", "Settlers", "Local", TRUE, FALSE "UnitClass", "Sea", "Local", FALSE, TRUE "CityTile", "Center", "Local", FALSE, TRUE "Extra", "River", "Local", FALSE, FALSE } build_time = 3 removal_time = 0 conflicts = "Airbase" hiddenby = "Fortress" flags = "NativeTile" ; / xgettext:no-c-format / helptext = ("\ A Pre-Fortress is the groundwork for a Fortress, and in itself does nothing but \ allow further expansion to a Fortress.\ ")

[extrafortress] name = ("Fortress") category = "Infra" causes = "Base" rmcauses = "Pillage" graphic = "base.fortress" graphic_alt = "-" activity_gfx = "unit.fortress" act_gfx_alt = "-" act_gfx_alt2 = "-" rmact_gfx = "None" rmact_gfx_alt = "-" reqs = { "type", "name", "range", "present", "quiet" "Extra", "Pre-Fortress", "Local", TRUE, FALSE "Tech", "Construction", "Player", TRUE, FALSE "TerrainClass", "Land", "Local", TRUE, FALSE "UnitFlag", "Settlers", "Local", TRUE, FALSE "UnitClass", "Sea", "Local", FALSE, TRUE "CityTile", "Center", "Local", FALSE, TRUE "Extra", "River", "Local", FALSE, FALSE } build_time = 3 removal_time = 0 nativeto = "Land", "Small Land", "Merchant", "Big Land", "Big Siege" conflicts = "Airbase" flags = "NativeTile" helptext = ("\ Fortresses are more permanent forts; construction on them can only begin \ once the underlying fort is complete. Forts on River tiles cannot be \ upgraded to Fortresses.\ "), ; / xgettext:no-c-format / ("\ Units in a fortress receive extra defense (+100%) \ against land units and boats, and do not count as aggressive if near a friendly city. \ Any kind of land unit remaining in a fortress for a whole turn without \ moving recovers a quarter of its hit points.\ "), ("\ With Astronomy, fortresses gain watchtowers from which units can see \ further afield.\ ")

ja effects.ruleset

; No defense bonus from Pre-Fortress, Fortress only helps against Land and Sea units [effect_fort_defense] type = "Defend_Bonus" value = 100 reqs = { "type", "name", "range", "present" "Extra", "Fortress", "Local", TRUE ; "UnitClass", "Land", "Local", FALSE ; "UnitClass", "Small Land", "Local", FALSE ; "UnitClass", "Big Land", "Local", FALSE ; "UnitClass", "Big Siege", "Local", FALSE ; "UnitClass", "Merchant", "Local", FALSE ; "UnitClass", "Sea", "Local", FALSE ; "UnitClass", "Trireme", "Local", FALSE "UnitClass", "Helicopter", "Local", FALSE "UnitClass", "Air", "Local", FALSE "UnitClass", "Missile", "Local", FALSE }

tässä näissä molemmissa on tietenkin editoitava sen mukaan mitä unitclasseja oikeassa pelissä tulee olemaan