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 #931098 ยป demo.patch

Sveinung Kvilhaugsvik, 2021-07-22 10:22 PM

View differences:

data/sandbox/README.sandbox
Units capable of transporting other units can pick up domestic and allied
cargo units located at the same tile.
Transport to transport transfer
A unit can switch transport max one time per turn. Transport to transport
transfer spends all remaining movement and requires remaining movement.
Goods:
Trade routes can carry many kinds of goods. There is production chains
like that city with Mine can trade Ore to a city that then can trade
data/sandbox/effects.ruleset
"UnitClassFlag", "TerrainSpeed", "Local", TRUE
}
[effect_action_success_move_cost_transport_to_transport_board]
type = "Action_Success_Actor_Move_Cost"
value = 65535
reqs =
{ "type", "name", "range"
"Action", "Transport Board 2", "Local"
}
[effect_action_success_move_cost_transport_to_transport_load]
type = "Action_Success_Target_Move_Cost"
value = 65535
reqs =
{ "type", "name", "range"
"Action", "Transport Load 2", "Local"
}
[effect_action_success_move_cost_transport_to_transport_embark]
type = "Action_Success_Actor_Move_Cost"
value = 65535
reqs =
{ "type", "name", "range"
"Action", "Transport Embark 4", "Local"
}
[effect_action_success_attack_one_attack]
type = "Action_Success_Actor_Move_Cost"
value = 65535
data/sandbox/game.ruleset
; /* TRANS: _Wipe Defenders (100% chance of success). */
ui_name_wipe_units = _("%sWipe Defenders%s")
; /* TRANS: _Transfer Cargo (100% chance of success). */
ui_name_transport_load_2 = _("%sTransfer Cargo%s")
; /* TRANS: _Switch Transporter (100% chance of success). */
ui_name_transport_board_2 = _("%sSwitch Transporter%s")
; /* TRANS: _Switch Transporter (100% chance of success). */
ui_name_transport_embark_4 = _("%sSwitch Transporter%s")
; Blank ruleset defined user actions.
; See the section "Ruleset defined actions" is doc/README.actions
......
[actionenabler_board]
action = "Transport Board"
actor_reqs =
{ "type", "name", "range", "present"
"DiplRel", "Armistice", "Local", FALSE
"DiplRel", "War", "Local", FALSE
"DiplRel", "Cease-fire", "Local", FALSE
"DiplRel", "Peace", "Local", FALSE
"DiplRel", "Never met", "Local", FALSE
{ "type", "name", "range", "present"
"UnitState", "Transported", "Local", FALSE
"DiplRel", "Armistice", "Local", FALSE
"DiplRel", "War", "Local", FALSE
"DiplRel", "Cease-fire", "Local", FALSE
"DiplRel", "Peace", "Local", FALSE
"DiplRel", "Never met", "Local", FALSE
}
[actionenabler_board_transport_switch]
action = "Transport Board 2"
actor_reqs =
{ "type", "name", "range", "present"
"UnitState", "Transported", "Local", TRUE
"MinMoveFrags", "1", "Local", TRUE
"DiplRel", "Armistice", "Local", FALSE
"DiplRel", "War", "Local", FALSE
"DiplRel", "Cease-fire", "Local", FALSE
"DiplRel", "Peace", "Local", FALSE
"DiplRel", "Never met", "Local", FALSE
}
[actionenabler_unload]
......
"DiplRel", "Peace", "Local", FALSE
"DiplRel", "Never met", "Local", FALSE
}
target_reqs =
{ "type", "name", "range", "present"
"UnitState", "Transported", "Local", FALSE
}
[actionenabler_load_transport_switch]
action = "Transport Load 2"
actor_reqs =
{ "type", "name", "range", "present"
"MinMoveFrags", "1", "Local", TRUE
"DiplRel", "Armistice", "Local", FALSE
"DiplRel", "War", "Local", FALSE
"DiplRel", "Cease-fire", "Local", FALSE
"DiplRel", "Peace", "Local", FALSE
"DiplRel", "Never met", "Local", FALSE
}
target_reqs =
{ "type", "name", "range", "present"
"UnitState", "Transported", "Local", TRUE
}
[actionenabler_disembark_from_native_tile]
action = "Transport Disembark"
......
[actionenabler_embark]
action = "Transport Embark"
actor_reqs =
{ "type", "name", "range", "present"
"MinMoveFrags", "1", "Local", TRUE
"DiplRel", "Armistice", "Local", FALSE
"DiplRel", "War", "Local", FALSE
"DiplRel", "Cease-fire", "Local", FALSE
"DiplRel", "Peace", "Local", FALSE
"DiplRel", "Never met", "Local", FALSE
{ "type", "name", "range", "present"
"UnitState", "Transported", "Local", FALSE
"MinMoveFrags", "1", "Local", TRUE
"DiplRel", "Armistice", "Local", FALSE
"DiplRel", "War", "Local", FALSE
"DiplRel", "Cease-fire", "Local", FALSE
"DiplRel", "Peace", "Local", FALSE
"DiplRel", "Never met", "Local", FALSE
}
[actionenabler_embark_transport_switch]
action = "Transport Embark 4"
actor_reqs =
{ "type", "name", "range", "present"
"UnitState", "Transported", "Local", TRUE
"MinMoveFrags", "1", "Local", TRUE
"DiplRel", "Armistice", "Local", FALSE
"DiplRel", "War", "Local", FALSE
"DiplRel", "Cease-fire", "Local", FALSE
"DiplRel", "Peace", "Local", FALSE
"DiplRel", "Never met", "Local", FALSE
}
[actionenabler_regular_move]
    (1-1/1)