Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #894991 ยป 0020-Granularity-Add-Workers-unit.patch

Marko Lindqvist, 2020-11-08 05:15 PM

View differences:

data/granularity/game.ruleset
"DiplRel", "Never met", "Local", FALSE
}
[actionenabler_cultivate]
action = "Cultivate"
actor_reqs =
{ "type", "name", "range", "present"
"UnitFlag", "Settlers", "Local", TRUE
}
[actionenabler_plant]
action = "Plant"
actor_reqs =
{ "type", "name", "range", "present"
"UnitFlag", "Settlers", "Local", TRUE
}
[borders]
; Base border radius from city.
radius_sq_city = 2
data/granularity/terrain.ruleset
road_time = 1
cultivate_result = "no"
cultivate_time = 0
plant_result = "no"
plant_time = 0
plant_result = "Forest"
plant_time = 30
irrigation_food_incr = 1
irrigation_time = 5
mining_shield_incr = 0
......
road_trade_incr_pct = 0
base_time = 1
road_time = 1
cultivate_result = "no"
cultivate_time = 0
cultivate_result = "Grassland"
cultivate_time = 30
plant_result = "no"
plant_time = 0
irrigation_food_incr = 0
data/granularity/units.ruleset
Settlers are specialized in founding new cities.\
")
[unit_worker]
name = _("?unit:Workers")
class = "Land"
tech_req = "Agriculture"
obsolete_by = "None"
graphic = "u.worker"
graphic_alt = "-"
sound_move = "m_worker"
sound_move_alt = "m_generic"
sound_fight = "f_worker"
sound_fight_alt = "f_generic"
build_cost = 1500
pop_cost = 0
attack = 0
defense = 3
hitpoints = 10
firepower = 1
move_rate = 5
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 0
uk_shield = 100
uk_food = 0
uk_gold = 0
flags = "Settlers", "NonMil"
roles = "Settlers", "WorkerStartUnit"
helptext = _("\
Workers have the ability to transform terrain by cutting and planting trees\
and plants.\
")
[unit_ship]
name = _("Generic Ship")
class = "Sea"
    (1-1/1)