Permalink
Browse files

Taren Ferry is now a playable scene. Updated rewards for the first tw…

…o book events.
  • Loading branch information...
mat2rivs authored and cvlc committed Oct 2, 2012
1 parent dbbc121 commit 4f18a17bd6878a3f97b79bf56f86b5412ba913b1
Showing with 77 additions and 21 deletions.
  1. +44 −8 module_game_menus.py
  2. +25 −10 module_mission_templates.py
  3. +5 −2 module_scenes.py
  4. +3 −1 module_scripts.py
@@ -21159,8 +21159,6 @@
],"{s2}",
[
(call_script, "script_tgs_timeline_duration_countdown_checker", 1),
(try_begin),
(troop_slot_eq, "trp_player", slot_troop_timeline_event_successful, SUCCESSFUL),
(try_begin),
@@ -21170,12 +21168,16 @@
(add_xp_to_troop, 100, "trp_player"),
(party_add_xp, "p_main_party", 200),
(troop_add_item, "trp_player", "itm_black_mail_gauntlets"),
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_3", 2), # Two Rivers
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_24", -2), # Shadowspawn
(else_try),
# Reward Antagonist Full
(troop_add_gold, "trp_player", 100),
(add_xp_to_troop, 100, "trp_player"),
(party_add_xp, "p_main_party", 200),
(troop_add_item, "trp_player", "itm_red_arm_club"),
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_3", -2), # Two Rivers
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_24", 2), # Shadowspawn
(try_end),
(else_try),
(troop_slot_eq, "trp_player", slot_troop_timeline_event_successful, SUCCESSFUL_KO),
@@ -21185,13 +21187,19 @@
(troop_add_gold, "trp_player", 50),
(add_xp_to_troop, 50, "trp_player"),
(party_add_xp, "p_main_party", 100),
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_3", 1), # Two Rivers
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_24", -1), # Shadowspawn
(else_try),
# Reward Antagonist Half
(troop_add_gold, "trp_player", 50),
(add_xp_to_troop, 50, "trp_player"),
(party_add_xp, "p_main_party", 100),
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_3", -1), # Two Rivers
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_24", 1), # Shadowspawn
(try_end),
(try_end),
(call_script, "script_tgs_timeline_duration_countdown_checker", 1),
(change_screen_map),
]
@@ -21436,41 +21444,69 @@
],"{s2}",
[
(call_script, "script_tgs_timeline_duration_countdown_checker", 1),
(try_begin),
(troop_slot_eq, "trp_player", slot_troop_timeline_event_successful, SUCCESSFUL),
(try_begin),
(troop_slot_eq, "trp_player", slot_troop_timeline_aid_protagonists, 1),
# Reward Protagonist Full
(troop_add_gold, "trp_player", 500),
(store_mul, ":gold_bonus", "$g_tgs_number_agents_killed_by_player", 10),
(val_add, ":gold_bonus", 500),
(troop_add_gold, "trp_player", ":gold_bonus"),
(add_xp_to_troop, 400, "trp_player"),
(party_add_xp, "p_main_party", 1000),
(troop_add_item, "trp_player", "itm_two_handed_axe"),
(troop_add_item, "trp_player", "itm_wool"),
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_3", 2), # Two Rivers
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_24", -2), # Shadowspawn
(party_get_slot, ":relation", "p_village_99", slot_center_player_relation), # Emonds Field
(val_add, ":relation", 4),
(party_set_slot, "p_village_99", slot_center_player_relation, ":relation"), # Emonds Field
(else_try),
# Reward Antagonist Full
(troop_add_gold, "trp_player", 500),
(store_mul, ":gold_bonus", "$g_tgs_number_agents_killed_by_player", 10),
(val_add, ":gold_bonus", 500),
(troop_add_gold, "trp_player", ":gold_bonus"),
(add_xp_to_troop, 400, "trp_player"),
(party_add_xp, "p_main_party", 1000),
(troop_add_item, "trp_player", "itm_wool"),
(troop_add_item, "trp_player", "itm_wool"),
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_3", -2), # Two Rivers
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_24", 2), # Shadowspawn
(party_get_slot, ":relation", "p_village_99", slot_center_player_relation), # Emonds Field
(val_sub, ":relation", 4),
(party_set_slot, "p_village_99", slot_center_player_relation, ":relation"), # Emonds Field
(try_end),
(else_try),
(troop_slot_eq, "trp_player", slot_troop_timeline_event_successful, SUCCESSFUL_KO),
(try_begin),
(troop_slot_eq, "trp_player", slot_troop_timeline_aid_protagonists, 1),
# Reward Protagonist Half
(troop_add_gold, "trp_player", 250),
(store_mul, ":gold_bonus", "$g_tgs_number_agents_killed_by_player", 10),
(val_add, ":gold_bonus", 250),
(troop_add_gold, "trp_player", ":gold_bonus"),
(add_xp_to_troop, 200, "trp_player"),
(party_add_xp, "p_main_party", 500),
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_3", 1), # Two Rivers
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_24", -1), # Shadowspawn
(party_get_slot, ":relation", "p_village_99", slot_center_player_relation), # Emonds Field
(val_add, ":relation", 2),
(party_set_slot, "p_village_99", slot_center_player_relation, ":relation"), # Emonds Field
(else_try),
# Reward Antagonist Half
(troop_add_gold, "trp_player", 250),
(store_mul, ":gold_bonus", "$g_tgs_number_agents_killed_by_player", 10),
(val_add, ":gold_bonus", 250),
(troop_add_gold, "trp_player", ":gold_bonus"),
(add_xp_to_troop, 200, "trp_player"),
(party_add_xp, "p_main_party", 500),
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_3", -1), # Two Rivers
(call_script, "script_change_player_relation_with_faction", "fac_kingdom_24", 1), # Shadowspawn
(party_get_slot, ":relation", "p_village_99", slot_center_player_relation), # Emonds Field
(val_sub, ":relation", 2),
(party_set_slot, "p_village_99", slot_center_player_relation, ":relation"), # Emonds Field
(try_end),
(try_end),
(call_script, "script_tgs_timeline_duration_countdown_checker", 1),
(change_screen_map),
]
@@ -13121,7 +13121,10 @@
[
(try_begin),
(eq, "$current_town", "p_castle_12"), # Malden
(call_script, "script_tgs_initialize_additional_walkers", 40, 20),
(call_script, "script_tgs_initialize_additional_walkers", 50, 25),
(else_try),
(eq, "$current_town", "p_castle_10"), # Taren Ferry
(call_script, "script_tgs_initialize_additional_walkers", 30, 15),
(try_end),
]),
@@ -27170,6 +27173,10 @@
(eq, ":is_wounded", 1),
(party_wound_members, "p_total_enemy_casualties", ":dead_agent_troop_id", 1),
(try_end),
# TGS
(get_player_agent_kill_count, "$g_tgs_number_agents_killed_by_player", 0),
# TGS
#(call_script, "script_apply_death_effect_on_courage_scores", ":dead_agent_no", ":killer_agent_no"),
]),
@@ -27184,7 +27191,7 @@
(call_script, "script_simulate_retreat", 10, 20, 1),
(call_script, "script_count_mission_casualties_from_agents"),
## TGS
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, 0),
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, RETREAT), # RETREAT
(call_script, "script_tgs_timeline_event_location_name"),
## TGS
(finish_mission,0),]),
@@ -27219,7 +27226,7 @@
[
(call_script, "script_count_mission_casualties_from_agents"),
## TGS
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, 1),
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, SUCCESSFUL), # SUCCESSFUL
(call_script, "script_tgs_timeline_event_location_name"),
## TGS
(finish_mission, 1),
@@ -27260,7 +27267,7 @@
(set_mission_result,-1),
(call_script, "script_count_mission_casualties_from_agents"),
## TGS
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, 2),
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, SUCCESSFUL_KO), # SUCCESSFUL_KO
(call_script, "script_tgs_timeline_event_location_name"),
## TGS
(finish_mission,0),
@@ -27508,6 +27515,10 @@
(eq, ":is_wounded", 1),
(party_wound_members, "p_total_enemy_casualties", ":dead_agent_troop_id", 1),
(try_end),
# TGS
(get_player_agent_kill_count, "$g_tgs_number_agents_killed_by_player", 0),
# TGS
#(call_script, "script_apply_death_effect_on_courage_scores", ":dead_agent_no", ":killer_agent_no"),
]),
@@ -27522,7 +27533,7 @@
(call_script, "script_simulate_retreat", 10, 20, 1),
(call_script, "script_count_mission_casualties_from_agents"),
## TGS
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, 0),
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, RETREAT), # RETREAT
(call_script, "script_tgs_timeline_event_location_name"),
## TGS
(finish_mission,0),]),
@@ -27557,7 +27568,7 @@
[
(call_script, "script_count_mission_casualties_from_agents"),
## TGS
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, 1),
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, SUCCESSFUL), # SUCCESSFUL
(call_script, "script_tgs_timeline_event_location_name"),
## TGS
(finish_mission, 1),
@@ -27598,7 +27609,7 @@
(set_mission_result,-1),
(call_script, "script_count_mission_casualties_from_agents"),
## TGS
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, 2),
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, SUCCESSFUL_KO), # SUCCESSFUL_KO
(call_script, "script_tgs_timeline_event_location_name"),
## TGS
(finish_mission,0),
@@ -27872,6 +27883,10 @@
(eq, ":is_wounded", 1),
(party_wound_members, "p_total_enemy_casualties", ":dead_agent_troop_id", 1),
(try_end),
# TGS
(get_player_agent_kill_count, "$g_tgs_number_agents_killed_by_player", 0),
# TGS
#(call_script, "script_apply_death_effect_on_courage_scores", ":dead_agent_no", ":killer_agent_no"),
]),
@@ -27886,7 +27901,7 @@
(call_script, "script_simulate_retreat", 10, 20, 1),
(call_script, "script_count_mission_casualties_from_agents"),
## TGS
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, 0),
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, RETREAT), # RETREAT
(call_script, "script_tgs_timeline_event_location_name"),
## TGS
(finish_mission,0),]),
@@ -27921,7 +27936,7 @@
[
(call_script, "script_count_mission_casualties_from_agents"),
## TGS
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, 1),
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, SUCCESSFUL), # SUCCESSFUL
(call_script, "script_tgs_timeline_event_location_name"),
## TGS
(finish_mission, 1),
@@ -27962,7 +27977,7 @@
(set_mission_result,-1),
(call_script, "script_count_mission_casualties_from_agents"),
## TGS
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, 2),
(troop_set_slot, "trp_player", slot_troop_timeline_event_successful, SUCCESSFUL_KO), # SUCCESSFUL_KO
(call_script, "script_tgs_timeline_event_location_name"),
## TGS
(finish_mission,0),
@@ -909,8 +909,11 @@
("castle_9_prison",sf_indoors,"interior_prison_d", "bo_interior_prison_d", (-100,-100),(100,100),-100,"0",
[],[]),
# 10 Steppe
("castle_10_exterior",sf_generate,"none", "none", (0,0),(100,100),-100,"0x000000023007b23200049d2a00003c37000040ef000037cd",
[],[],"outer_terrain_castle_9"),
## TGS: Taren Ferry
#("castle_10_exterior",sf_generate,"none", "none", (0,0),(100,100),-100,"0x000000023007b23200049d2a00003c37000040ef000037cd",
# [],[],"outer_terrain_castle_9"),
("castle_10_exterior",sf_generate,"none", "none", (0,0),(100,100),-100,"0x000000003004d69d00060984000069f90000001200003be9",
[],[],"outer_terrain_plain"),
("castle_10_interior",sf_indoors, "interior_castle_j", "bo_interior_castle_j", (-100,-100),(100,100),-100,"0",
["exit"],["castle_10_seneschal"]),
("castle_10_prison",sf_indoors,"interior_prison_l", "bo_interior_prison_l", (-100,-100),(100,100),-100,"0",
@@ -83481,7 +83481,9 @@ def set_item_score():
(set_show_messages, 1),
(jump_to_menu, "mnu_start_phase_2"),]),
(jump_to_menu, "mnu_start_phase_2"),
]),
("randomize_background",
[(store_script_param_1, ":in_presentation"),

0 comments on commit 4f18a17

Please sign in to comment.