Skip to content

Commit

Permalink
*Minor Fixes
Browse files Browse the repository at this point in the history
-- Balance Destroy Scout Camp Quest (# of enemies; faction strength consequences)
-- Restrict Ring Hunter Quest (cause level was lowered for testing purposes. fixed - level 11; rel 5)
-- Test Raging Troll - Change to fac_commoners -- hopefully they won't get attacked by anyone anymore.
  • Loading branch information
khamukkamu committed Feb 12, 2017
1 parent 0659197 commit 75e2339
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 28 deletions.
24 changes: 12 additions & 12 deletions ModuleSystem/module_dialogs.py
Expand Up @@ -2309,7 +2309,7 @@
(str_store_party_name,12,":quest_target_center")],
"We saw the flames coming from the camp near {s12}. This will teach them from spying on us.^^The destruction of this camp will surely halt our enemies' advance.", "lord_generic_mission_completed",[

#Faction Strength Changes
#Faction Strength Changes - Balance Document can be found on Google Drive: https://goo.gl/CErgSN
(str_clear, s3),
(str_clear,s4),
(quest_get_slot, ":scout_camp_faction", "qst_destroy_scout_camp", slot_quest_target_faction),
Expand All @@ -2319,27 +2319,27 @@

## Faction Strength Change depend on player level
(try_begin),
(is_between, ":level", 11,17), #Small Scout Camp - Enemy Loss Min: 125; Max: 150 - Hero Win Min: 275; Max: 300
(val_mul, ":level",5),
(val_add, ":level", 70),
(is_between, ":level", 11,17), #Small Scout Camp - Enemy Loss Min: 93; Max: 108 - Hero Win Min: 148; Max: 163
(val_mul, ":level",3),
(val_add, ":level", 60),
(val_sub, ":enemy", ":level"),
(display_message,"@{s11} Loses Faction Strength due to the destruction of their camp",color_good_news),
(store_troop_faction, ":quest_giver_faction", "$g_talk_troop"),
(faction_get_slot,":win",":quest_giver_faction",slot_faction_strength_tmp),
(str_store_faction_name, s13, ":quest_giver_faction"),
(val_add, ":level", 150),
(val_add, ":level", 55),
(val_add, ":win", ":level"),
(display_message,"@{s13} gain Faction Strength as news of your victory spreads.",color_good_news),
(else_try),
(is_between, ":level", 17,23), #Fortified Scout Camp - Enemy Loss Min: 270; Max: 320 - Hero Win Min: 420; Max: 470
(val_mul, ":level",10),
(val_add, ":level", 100),
(is_between, ":level", 17,23), #Fortified Scout Camp - Enemy Loss Min: 145; Max: 170 - Hero Win Min: 200; Max: 225
(val_mul, ":level",5),
(val_add, ":level", 60),
(val_sub, ":enemy", ":level"),
(display_message,"@{s11} Loses Faction Strength due to the destruction of their camp",color_good_news),
(store_troop_faction, ":quest_giver_faction", "$g_talk_troop"),
(faction_get_slot,":win",":quest_giver_faction",slot_faction_strength_tmp),
(str_store_faction_name, s13, ":quest_giver_faction"),
(val_add, ":level", 150),
(val_add, ":level", 55),
(val_add, ":win", ":level"),
(display_message,"@{s13} gain Faction Strength as news of your victory spreads.",color_good_news),
(try_end),
Expand Down Expand Up @@ -3435,11 +3435,11 @@
[anyone|plyr,"lord_talk",[
(this_or_next|eq, "$g_talk_troop","trp_dwarf_lord"),
(eq, "$g_talk_troop","trp_imladris_lord"),
(ge, "$g_talk_troop_relation", 1),
(ge, "$g_talk_troop_relation", 5),
(neg|check_quest_finished, "qst_ring_hunters"),
(neg|quest_slot_ge,"qst_ring_hunters",slot_quest_current_state,10),
(store_character_level, ":playerlvl", "trp_player"),
(ge, ":playerlvl",1),],
(ge, ":playerlvl",11),],
"My lord, I am prepared to take more arduous tasks to serve you better and end this war. What would you have me do?",
"ring_hunters_start", []],

Expand Down Expand Up @@ -4836,7 +4836,7 @@
[
(quest_get_slot, ":quest_target_party_template", "$random_quest_no", slot_quest_target_party_template),
(quest_get_slot, ":quest_object_center", "$random_quest_no", slot_quest_object_center),
(set_spawn_radius, 25),
(set_spawn_radius, 35),
(spawn_around_party,":quest_object_center",":quest_target_party_template"),
(assign, "$qst_destroy_scout_camp_party", reg0),
(quest_get_slot, reg1, "$random_quest_no", slot_quest_expiration_days),
Expand Down
4 changes: 2 additions & 2 deletions ModuleSystem/module_game_menus.py
Expand Up @@ -8642,15 +8642,15 @@
(set_visitor, 0, "trp_player"),
(try_begin),
(is_between, ":level",11,17),
(val_div, ":level", 2),
(val_div, ":level", 3),
(store_add, ":min_guards", ":level", 5),
(store_add, ":max_guards", ":min_guards", 6),
(store_random_in_range, ":random_no", ":min_guards", ":max_guards"),
(set_visitors, 18, ":guard_troop_1", ":random_no"),
(val_div,":random_no",4),
(set_visitors, 16, ":guard_troop_2", ":random_no"),
(else_try),
(val_div, ":level", 4),
(val_div, ":level", 5),
(store_add, ":min_guards", ":level", 5),
(store_add, ":max_guards", ":min_guards", 6),
(store_random_in_range, ":random_no", ":min_guards", ":max_guards"),
Expand Down
2 changes: 1 addition & 1 deletion ModuleSystem/module_mission_templates.py
Expand Up @@ -1807,7 +1807,7 @@
"You lead your men to battle.",
[
# Player
(0,mtef_team_0|mtef_use_exact_number,0,aif_start_alarmed,8,[]),
(0,mtef_team_0|mtef_use_exact_number,0,aif_start_alarmed,6,[]),

# Companions (Add more for more companions)
(1,mtef_visitor_source|mtef_team_0,0,0,1,[]),
Expand Down
2 changes: 1 addition & 1 deletion ModuleSystem/module_party_templates.py
Expand Up @@ -44,7 +44,7 @@
## ("peasant","Peasant",icon_peasant,0,fac_commoners,merchant_personality,[(trp_farmer,1,6),(trp_peasant_woman,0,7)]),

("wild_troll", "Wild Troll", icon_wild_troll |pf_quest_party, 0,fac_commoners,bandit_personality,[(trp_troll_of_moria,1,2),]),
("raging_trolls", "Raging Trolls", icon_wild_troll |pf_quest_party, 0,fac_outlaws, bandit_personality,[(trp_troll_of_moria,1,3),]),
("raging_trolls", "Raging Trolls", icon_wild_troll |pf_quest_party, 0,fac_commoners,bandit_personality,[(trp_troll_of_moria,1,3),]),
("looters", "Tribal Orcs", icon_orc_tribal |carries_goods(4),0,fac_outlaws, bandit_personality,[(trp_tribal_orc_warrior,0,1),(trp_tribal_orc,2,25)]),
("forest_bandits", "Orc Stragglers", icon_orc_tribal |carries_goods(4),0,fac_outlaws, bandit_personality,[(trp_tribal_orc_chief,0,1),(trp_tribal_orc_warrior,0,8),(trp_tribal_orc,3,40),(trp_mountain_goblin,1,30)]),
("mountain_bandits", "Wild Goblins", icon_orc_tribal |carries_goods(4),0,fac_outlaws, bandit_personality,[(trp_mountain_goblin,2,40)]),
Expand Down
6 changes: 3 additions & 3 deletions _wb/conversation.txt
Expand Up @@ -264,7 +264,7 @@ dlga_lord_capture_troll_completed_two_trolls_thankyou_raise:lord_capture_troll_c
dlga_lord_capture_troll_completed_one_troll:close_window 4095 133 0 Excellent,_{playername}._You_are_a_most_faithful_and_useful_servant._This_troll_will_be_most_useful_for_our_purposes._That_it_is_taken_to_the_dungeons! 6 5 1 1 401 1 3 171 11 100 1 3 162 144115188075855891 5 1531 2 0 884 1616 3 0 352 1
dlga_lord_start:close_window.1 4095 125 3 2240 1 1224979098644774912 31 2 1224979098644774912 11 203 1 11 Too_long_ago,_I_asked_you_to_take_me_one_troll_alive._But_I_should_have_known._How_could_I_expect_someone_like_{playername}_to_be_up_to_the_challenge._My_servant_was_not_skilled_or_faithful_enough. 6 3 1 1 401 1 2 260 11 1 3 162 144115188075855891 -5
dlga_lord_start:lord_generic_mission_completed.1 4095 125 5 2240 1 1224979098644774912 31 2 1224979098644774912 12 202 1 12 526 3 1224979098644774913 12 7 2330 2 12 1224979098644774913 News_of_your_accomplishment_against_the_wild_trolls_reached_me._{s12}_has_one_fear_less_to_worry_about,_thanks_to_you,_{playername}. 129 2 1 3 171 12 100 1 3 162 144115188075855891 3
dlga_lord_start:lord_generic_mission_completed.2 4095 125 6 200 1 17 202 1 17 526 3 1224979098644774912 17 6 31 2 144115188075855891 1224979098644774912 526 3 1224979098644774913 17 7 2330 2 12 1224979098644774913 We_saw_the_flames_coming_from_the_camp_near_{s12}._This_will_teach_them_from_spying_on_us.^^The_destruction_of_this_camp_will_surely_halt_our_enemies'_advance. 129 34 2319 1 3 2319 1 4 526 3 1224979098644774912 17 3 522 3 1224979098644774913 1224979098644774912 153 2335 2 11 1224979098644774912 2171 2 1224979098644774914 0 4 0 33 3 1224979098644774914 11 17 2107 2 1224979098644774914 5 2105 2 1224979098644774914 70 2106 2 1224979098644774913 1224979098644774914 1106 2 1585267068834415618 5308240 2173 2 1224979098644774915 144115188075855891 522 3 1224979098644774916 1224979098644774915 153 2335 2 13 1224979098644774915 2105 2 1224979098644774914 150 2105 2 1224979098644774916 1224979098644774914 1106 2 1585267068834415619 5308240 5 0 33 3 1224979098644774914 17 23 2107 2 1224979098644774914 10 2105 2 1224979098644774914 100 2106 2 1224979098644774913 1224979098644774914 1106 2 1585267068834415618 5308240 2173 2 1224979098644774915 144115188075855891 522 3 1224979098644774916 1224979098644774915 153 2335 2 13 1224979098644774915 2105 2 1224979098644774914 150 2105 2 1224979098644774916 1224979098644774914 1106 2 1585267068834415619 5308240 3 0 502 3 1224979098644774915 153 1224979098644774916 502 3 1224979098644774912 153 1224979098644774913 1 3 171 17 100
dlga_lord_start:lord_generic_mission_completed.2 4095 125 6 200 1 17 202 1 17 526 3 1224979098644774912 17 6 31 2 144115188075855891 1224979098644774912 526 3 1224979098644774913 17 7 2330 2 12 1224979098644774913 We_saw_the_flames_coming_from_the_camp_near_{s12}._This_will_teach_them_from_spying_on_us.^^The_destruction_of_this_camp_will_surely_halt_our_enemies'_advance. 129 34 2319 1 3 2319 1 4 526 3 1224979098644774912 17 3 522 3 1224979098644774913 1224979098644774912 153 2335 2 11 1224979098644774912 2171 2 1224979098644774914 0 4 0 33 3 1224979098644774914 11 17 2107 2 1224979098644774914 3 2105 2 1224979098644774914 60 2106 2 1224979098644774913 1224979098644774914 1106 2 1585267068834415618 5308240 2173 2 1224979098644774915 144115188075855891 522 3 1224979098644774916 1224979098644774915 153 2335 2 13 1224979098644774915 2105 2 1224979098644774914 55 2105 2 1224979098644774916 1224979098644774914 1106 2 1585267068834415619 5308240 5 0 33 3 1224979098644774914 17 23 2107 2 1224979098644774914 5 2105 2 1224979098644774914 60 2106 2 1224979098644774913 1224979098644774914 1106 2 1585267068834415618 5308240 2173 2 1224979098644774915 144115188075855891 522 3 1224979098644774916 1224979098644774915 153 2335 2 13 1224979098644774915 2105 2 1224979098644774914 55 2105 2 1224979098644774916 1224979098644774914 1106 2 1585267068834415619 5308240 3 0 502 3 1224979098644774915 153 1224979098644774916 502 3 1224979098644774912 153 1224979098644774913 1 3 171 17 100
dlga_lord_start:destroy_scout_camp_failed 4095 125 6 200 1 17 203 1 17 526 3 1224979098644774912 17 6 31 2 144115188075855891 1224979098644774912 526 3 1224979098644774913 17 7 2330 2 12 1224979098644774913 We_saw_some_of_your_men_retreating_from_the_scout_camp_near_{s12}._This_is_disappointing,_{playername}._^^Your_failure_resulted_in_the_attack_of_vital_supply_lines._It_will_take_some_time_to_recover. 140 35 1 3 162 144115188075855891 -2 2319 1 3 2319 1 4 526 3 1224979098644774912 17 3 522 3 1224979098644774913 1224979098644774912 153 2335 2 11 1224979098644774912 2171 2 1224979098644774914 0 4 0 33 3 1224979098644774914 11 17 2107 2 1224979098644774914 5 2105 2 1224979098644774914 70 2105 2 1224979098644774913 1224979098644774914 1106 2 1585267068834415620 16732240 2173 2 1224979098644774915 144115188075855891 522 3 1224979098644774916 1224979098644774915 153 2335 2 13 1224979098644774915 2105 2 1224979098644774914 150 2106 2 1224979098644774916 1224979098644774914 1106 2 1585267068834415621 16732240 5 0 33 3 1224979098644774914 17 23 2107 2 1224979098644774914 10 2105 2 1224979098644774914 100 2105 2 1224979098644774913 1224979098644774914 1106 2 1585267068834415620 16732240 2173 2 1224979098644774915 144115188075855891 522 3 1224979098644774916 1224979098644774915 153 2335 2 13 1224979098644774915 2105 2 1224979098644774914 150 2106 2 1224979098644774916 1224979098644774914 1106 2 1585267068834415621 16732240 3 0 502 3 1224979098644774915 153 1224979098644774916 502 3 1224979098644774912 153 1224979098644774913 1284 1 17
dlga_destroy_scout_camp_failed:close_window 69631 140 0 I_will_do_better_next_time. 6 0
dlga_lord_start:lord_generic_mission_completed.3 4095 125 5 200 1 15 202 1 15 546 3 15 6 144115188075855891 526 3 1224979098644774912 15 7 2330 2 12 1224979098644774912 We_have_heard_from_our_scouts_near_{s12}_that_you_have_valiantly_defended_the_village._These_raiders_are_becoming_bolder_every_day..._^^We_sense_that_war_is_surely_coming._Thank_you_once_more,_{playername}. 129 1 1 3 171 15 100
Expand Down Expand Up @@ -338,7 +338,7 @@ dlga_lord_talk:tell_dorwinion_sack 69631 163 3 31 2 144115188075855891 545 200
dlga_tell_dorwinion_sack:tell_dorwinion_sack_2 4095 171 0 Very_interesting._This_ancient_sack_could_have_born_the_mark_of_the_finest_wines_that_could_only_come_from_Dorwinion. 172 0
dlga_tell_dorwinion_sack_2:tell_dorwinion_sack_3 69631 172 0 I_also_found_this_Rhun_helm_in_the_sack._Could_this_tell_us_more_about_what_happened_to_the_Spears? 173 0
dlga_tell_dorwinion_sack_3:lord_pretalk 4095 173 0 Caravans_are_often_robbed_along_the_way._That_helm_is_from_a_Rhun_Scout._Follow_the_river_down_south_to_the_Sea_of_Rhun_and_search_the_trade_routes_to_Dorwinion_and_you_may_find_what_you_are_looking_for._NOTE:_THIS_QUEST_IS_NOT_YET_COMPLETED._TO_BE_CONTINUED. 139 6 506 3 14 11 20 2320 2 2 1585267068834415639 1113 4 14 1 2 0 1 3 162 144115188075855891 3 1064 1 50 1 2 260 14
dlga_lord_talk:ring_hunters_start 69631 163 7 1073741855 2 144115188075855891 545 31 2 144115188075855891 539 30 2 144115188075855894 1 2147483849 1 40 2147484214 3 40 11 10 2171 2 1224979098644774912 0 30 2 1224979098644774912 1 My_lord,_I_am_prepared_to_take_more_arduous_tasks_to_serve_you_better_and_end_this_war._What_would_you_have_me_do? 174 0
dlga_lord_talk:ring_hunters_start 69631 163 7 1073741855 2 144115188075855891 545 31 2 144115188075855891 539 30 2 144115188075855894 5 2147483849 1 40 2147484214 3 40 11 10 2171 2 1224979098644774912 0 30 2 1224979098644774912 11 My_lord,_I_am_prepared_to_take_more_arduous_tasks_to_serve_you_better_and_end_this_war._What_would_you_have_me_do? 174 0
dlga_ring_hunters_start:ring_hunters_check 4095 174 0 {playername},_I_have_heard_of_your_exploits_and_you_have_made_a_name_for_yourself._I_have_a_task_specifically_for_such_as_yourself._You_can_deal_with_it_however_you_wish.__Bloodshed_cannot_be_avoided,_especially_against_this_group_I_am_about_to_send_you_of_to._Do_you_have_sufficient_men? 175 0
dlga_ring_hunters_check:ring_hunters_1 69631 175 2 1601 2 1224979098644774912 0 30 2 1224979098644774912 30 Yes,_my_lord._I_have_a_group_of_well-trained,_battlehardened_men._We_are_ready_for_anything. 176 0
dlga_ring_hunters_check:ring_hunters_check_failed 69631 175 0 I_am_afraid_not,_my_lord. 177 0
Expand Down Expand Up @@ -456,7 +456,7 @@ dlga_lord_tell_objective:lord_pretalk.12 4095 223 0 I_don't_know:_{reg1}_{s1}
dlga_lord_tell_mission:lord_mission_destroy_scout_camp_a 4095 256 3 31 2 144115188075855929 17 526 3 1224979098644774912 17 3 2335 2 3 1224979098644774912 {playername},_we_have_received_word_that_{s3}_has_a_scout_camp_nearby,_Destroy_it_before_they_are_able_to_learn_about_our_plans. 230 0
dlga_lord_mission_destroy_scout_camp_a:lord_mission_destroy_scout_camp_accept 69631 230 0 Consider_it_done. 231 0
dlga_lord_mission_destroy_scout_camp_a:lord_mission_destroy_scout_camp_reject 69631 230 0 I_do_not_have_the_time_for_this. 232 0
dlga_lord_mission_destroy_scout_camp_accept:close_window 4095 231 0 We_shall_await_news_of_your_success 6 13 526 3 1224979098644774912 144115188075855929 9 526 3 1224979098644774913 144115188075855929 7 1103 1 25 1100 2 1224979098644774913 1224979098644774912 2133 2 144115188075856561 72057594037927936 526 3 72057594037927937 144115188075855929 23 2341 2 9 144115188075855891 1290 1 144115188075855929 2320 2 2 1585267068834415673 1 3 162 144115188075855891 1 1 3 255 144115188075855929 144115188075855891 1 1 401 2133 2 144115188075855906 1
dlga_lord_mission_destroy_scout_camp_accept:close_window 4095 231 0 We_shall_await_news_of_your_success 6 13 526 3 1224979098644774912 144115188075855929 9 526 3 1224979098644774913 144115188075855929 7 1103 1 35 1100 2 1224979098644774913 1224979098644774912 2133 2 144115188075856561 72057594037927936 526 3 72057594037927937 144115188075855929 23 2341 2 9 144115188075855891 1290 1 144115188075855929 2320 2 2 1585267068834415673 1 3 162 144115188075855891 1 1 3 255 144115188075855929 144115188075855891 1 1 401 2133 2 144115188075855906 1
dlga_lord_mission_destroy_scout_camp_reject:close_window 4095 232 0 I_see._That_is_disappointing. 6 1 500 3 144115188075855891 20 1
dlga_lord_tell_mission:lord_mission_defend_village_a 4095 256 3 31 2 144115188075855929 15 526 3 1224979098644774912 15 7 2330 2 12 1224979098644774912 {playername},_we_have_received_reports_from_our_scouts_that_a_raiding_party_is_on_it's_way_to_a_village_near_{s12}. 233 0
dlga_lord_mission_defend_village_a:lord_mission_defend_village_b 69631 233 0 Are_you_able_to_send_men? 234 0
Expand Down

0 comments on commit 75e2339

Please sign in to comment.