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 #850669 ยป 0002-civ1-improved-dis-embark-move-cost.patch

Sveinung Kvilhaugsvik, 2019-12-03 09:21 PM

View differences:

data/civ1/effects.ruleset
{ "type", "name", "range"
"BuildingGenus", "GreatWonder", "Local"
}
; Civilization I took all remaining move fragments when a land unit
; disembarked from a ship. It didn't take all remaining more fragments when
; the same land unit alighted a ship in the city it was in.
; Correct this rule if I'm wrong.
[effect_action_success_move_cost_disembark]
type = "Action_Success_Actor_Move_Cost"
value = 65535
reqs =
{ "type", "name", "range", "present"
"Action", "Transport Disembark", "Local", TRUE
}
; Civilization 1 took all remaining move fragments when a land unit
; embarked to a ship. It didn't take all remaining more fragments when the
; same land unit boarded a ship in the city it was in.
; Correct this rule if I'm wrong.
; TODO: was transferring from a transport to a transport on an adjacent tile
; legal? What was it's move cost?
[effect_action_success_move_cost_embark]
type = "Action_Success_Actor_Move_Cost"
value = 65535
reqs =
{ "type", "name", "range", "present"
"Action", "Transport Embark", "Local", TRUE
}
data/civ1/game.ruleset
unit_factor = 2
total_factor = 100
[global_unit_options]
; Shore landing style
; FALSE - normal movement
; TRUE - (default) slow invasions by removing all
; movement points from ground units moving
; from ocean tile to land
slow_invasions = FALSE
[combat_rules]
; If tired_attack is set to TRUE, units that attack with less than a single
; move point (per move_fragments in terrain.ruleset) will have their attack
......
[actionenabler_disembark]
action = "Transport Disembark"
actor_reqs =
{ "type", "name", "range"
"UnitState", "Transported", "Local"
"MinMoveFrags", "1", "Local"
{ "type", "name", "range", "present"
"UnitState", "Transported", "Local", TRUE
"MinMoveFrags", "1", "Local", TRUE
; use "Transport Alight" from inside the city
"CityTile", "Center", "Local", FALSE
}
; TODO: was transferring from a transport to a transport on an adjacent tile
; legal?
[actionenabler_embark]
action = "Transport Embark"
actor_reqs =
......
"DiplRel", "Peace", "Local", FALSE
"DiplRel", "Never met", "Local", FALSE
}
target_reqs =
{ "type", "name", "range", "present"
; use "Transport Board" from inside the city
"CityTile", "Center", "Local", FALSE
}
[borders]
; Base border radius from city.
    (1-1/1)