Skip to content

Commit

Permalink
* Add a way to view all items. Access through Kham Test Menu
Browse files Browse the repository at this point in the history
  • Loading branch information
khamukkamu committed Feb 20, 2018
1 parent 8488659 commit dedf52d
Show file tree
Hide file tree
Showing 17 changed files with 5,553 additions and 5,357 deletions.
1 change: 1 addition & 0 deletions ModuleSystem/ID/ID_presentations_wb.py
Expand Up @@ -26,3 +26,4 @@
prsnt_troop_tree = 25
prsnt_troop_detail = 26
prsnt_display_agent_labels = 27
prsnt_all_items = 28
4 changes: 3 additions & 1 deletion ModuleSystem/module_game_menus.py
Expand Up @@ -3094,6 +3094,9 @@
"^^^^^Click on an option to toggle.^^^Tweaks Gondor to have more troops in a party, gives them more hosts, gives them hosts more frequently, and lets Gondor lords wait longer to gather.^^Have to wait for the trigger to occur","none",[],
[
("enable_kham_cheat",[],"Enable Kham Cheat Mode", [(troop_set_slot, "trp_player", slot_troop_home, 22), (display_message, "@Kham Cheat Mode ON!")]),
] + (is_a_wb_menu==1 and [
("action_view_all_items",[],"View all items.", [(assign, "$temp", 0), (start_presentation, "prsnt_all_items")]),
] or []) + [
("remove_garrison",[],"Remove A Center of Your Faction's Garrison", [
(assign, ":end", 100),
(try_for_range, ":unused", 0, ":end"),
Expand All @@ -3110,7 +3113,6 @@
#("give_siege_stones", [],"Siege Stones Test",[(troop_add_item, "trp_player","itm_stones_siege"), (party_add_members, "p_main_party", "trp_test_vet_archer", 10), (display_message, "@Siege Stones Test")]),
("enable_raftmen",[],"Enable Raft Men Party", [(enable_party, "p_raft"), (display_message, "@Raft Men party enabled. They are down River Running", color_good_news)]),
("test_sea_battle",[],"Test Sea Battle (Good)", [(jump_to_menu, "mnu_sea_battle_quest")]),
("give_wolf_mount",[],"Give wolf mount", [(troop_add_item, "trp_player","itm_wolf", imod_fine),(display_message, "@Moria Book given")]),
("what_theater",[], "Which Theater Am I in?", [(call_script, "script_find_theater", "p_main_party")]),
("what_region",[], "What Region am I in?",
[(store_add, reg1, str_shortname_region_begin , "$current_player_region"),
Expand Down
8,710 changes: 4,448 additions & 4,262 deletions ModuleSystem/module_presentations.py

Large diffs are not rendered by default.

344 changes: 172 additions & 172 deletions _wb/conversation.txt

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions _wb/menus.txt

Large diffs are not rendered by default.

796 changes: 398 additions & 398 deletions _wb/mission_templates.txt

Large diffs are not rendered by default.

34 changes: 20 additions & 14 deletions _wb/presentations.txt

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions _wb/quick_strings.txt
@@ -1,4 +1,4 @@
1582
1584
qstr_Received_{reg0}_dama Received_{reg0}_damage.
qstr_Siege_Weapon_damaged Siege_Weapon_damaged_{reg10}_agents
qstr_Gate_is_breached! Gate_is_breached!
Expand Down Expand Up @@ -57,7 +57,6 @@ qstr_Days_Passed:_{reg0} Days_Passed:_{reg0}
qstr_Difficulty:_{reg0}% Difficulty:_{reg0}%
qstr_{reg3?+:}{reg0} {reg3?+:}{reg0}
qstr_TOTAL_SCORE:_{reg0} TOTAL_SCORE:_{reg0}
qstr_swy_ui_opacity swy_ui_opacity
qstr_______ ______
qstr_A_peaceful_village_n A_peaceful_village_not_far_from_Westfold...
qstr_The_War_is_upon_Roha The_War_is_upon_Rohan!
Expand Down Expand Up @@ -133,6 +132,9 @@ qstr_War_Will_Start_at_Le War_Will_Start_at_Level_{reg0}
qstr_Troop_Tree Troop_Tree
qstr__Click_on_a_unit_for (Click_on_a_unit_for_details)
qstr_{s2}^{s3} {s2}^{s3}
qstr_Weapons Weapons
qstr_Armors Armors
qstr_Others Others
qstr_You_gained_{reg0}_Re You_gained_{reg0}_Resource_Points_of_{s0}.
qstr_You_lost_{reg0}_Reso You_lost_{reg0}_Resource_Points_of_{s0}.
qstr_{s24}: {s24}:
Expand Down Expand Up @@ -799,6 +801,7 @@ qstr_Trolls_appeared! Trolls_appeared!
qstr_Gaaaar!! Gaaaar!!
qstr_{s31}_scouts_have_app {s31}_scouts_have_appeared_to_aid_the_refugees!
qstr_Hurry_men!_Help_the_ Hurry,_men!_Help_the_refugees!_Kill_all_the_scum_and_do_not_let_them_escape!
qstr_swy_ui_opacity swy_ui_opacity
qstr_Look_at_my_over_the_ Look_at_my_over-the-shoulder_shot,_{playername}!_I'm_so_beautiful_from_a_distance!
qstr_You_wish_old_man_my_ You_wish,_old_man,_my_over-the-shoulder_view_is_much_prettier!
qstr_You_should_really_se You_should_really_see_Steward_Denetor's_Facebook_photos,_he's_amazing!
Expand Down Expand Up @@ -939,7 +942,6 @@ qstr_{s7}_Garrison_Remove {s7}_Garrison_Removed!
qstr_OFF OFF
qstr_ON ON
qstr_Raft_Men_party_enabl Raft_Men_party_enabled._They_are_down_River_Running
qstr_Moria_Book_given Moria_Book_given
qstr_Orc_Horde_Spawned! Orc_Horde_Spawned!
qstr_Vet_Archer_Spawned! Vet_Archer_Spawned!
qstr_Killer_WItcher_Spawn Killer_WItcher_Spawned,_Badass_King_Theo_added!
Expand Down
260 changes: 130 additions & 130 deletions _wb/scripts.txt

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions _wb/simple_triggers.txt

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions _wb/triggers.txt

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions _wb/variable_uses.txt
Expand Up @@ -46,10 +46,10 @@
1
3
7
33
40
1
9
6
10
3
1
2
Expand Down Expand Up @@ -325,15 +325,15 @@
1
1
1
58
64
1
2
4
4
37
25
14
12
14
5
5
5
Expand All @@ -342,7 +342,7 @@
5
5
5
12
15
9
4
6
Expand Down Expand Up @@ -666,7 +666,7 @@
4
4
4
1
2
19
12
326
Expand Down
342 changes: 171 additions & 171 deletions conversation.txt

Large diffs are not rendered by default.

112 changes: 56 additions & 56 deletions menus.txt

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions quick_strings.txt
@@ -1,4 +1,4 @@
1479
1478
qstr_Gate_is_breached! Gate_is_breached!
qstr_Gate_opens..._You_ha Gate_opens..._You_have_reached_the_most_sacred_place_in_Middle_Earth!
qstr_Secret_place_discove Secret_place_discovered!
Expand Down Expand Up @@ -836,7 +836,6 @@ qstr_{s7}_Garrison_Remove {s7}_Garrison_Removed!
qstr_OFF OFF
qstr_ON ON
qstr_Raft_Men_party_enabl Raft_Men_party_enabled._They_are_down_River_Running
qstr_Moria_Book_given Moria_Book_given
qstr_Orc_Horde_Spawned! Orc_Horde_Spawned!
qstr_Vet_Archer_Spawned! Vet_Archer_Spawned!
qstr_Killer_WItcher_Spawn Killer_WItcher_Spawned,_Badass_King_Theo_added!
Expand Down
38 changes: 19 additions & 19 deletions simple_triggers.txt

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions triggers.txt

Large diffs are not rendered by default.

0 comments on commit dedf52d

Please sign in to comment.