Which file of the module system allows me to increase the amount a player can bet in a tournament?

Users who are viewing this thread

DeletedUser

I have been trying to look for it but to no success until know.
 
Solution
Assuming you mean bet,
search for
Code:
"tournament_bet"
module_game_menus.py (should be around line 10300 in an unaltered file).
Assuming you mean bet,
search for
Code:
"tournament_bet"
module_game_menus.py (should be around line 10300 in an unaltered file).

Yeah sory for my bad english.... But thank you a lot for the help ! I found what I was looking for and it worked !
 
Upvote 0
For anyone interested in changing the bet amount in tournaments just go to module_game_menus open it in notepad and serch until you find :

(try_end),
(assign, reg5, ":min_dif_multiplier"),
(assign, reg6, ":min_dif_divisor"),
],
[
("bet_100_denars", [(store_troop_gold, ":gold", "trp_player"),
(ge, ":gold", 100)
],
"100 denars.",
[
(assign, "$temp", 100),
(jump_to_menu, "mnu_tournament_bet_confirm"),
]),
("bet_50_denars", [(store_troop_gold, ":gold", "trp_player"),
(ge, ":gold", 50)
],
"50 denars.",
[
(assign, "$temp", 50),
(jump_to_menu, "mnu_tournament_bet_confirm"),
]),
("bet_20_denars", [(store_troop_gold, ":gold", "trp_player"),
(ge, ":gold", 20)
],
"20 denars.",
[
(assign, "$temp", 20),
(jump_to_menu, "mnu_tournament_bet_confirm"),
]),
("bet_10_denars", [(store_troop_gold, ":gold", "trp_player"),
(ge, ":gold", 10)
],
"10 denars.",
[
(assign, "$temp", 10),
(jump_to_menu, "mnu_tournament_bet_confirm"),
]),
("bet_5_denars", [(store_troop_gold, ":gold", "trp_player"),
(ge, ":gold", 5)
],
"5 denars.",
[
(assign, "$temp", 5),
(jump_to_menu, "mnu_tournament_bet_confirm"),
]),
("go_back_dot", [], "Go back.",
[
(jump_to_menu, "mnu_town_tournament"),
]),
]
),

(
"tournament_bet_confirm",0,

Just change the numbers in red for the valor you wish, if you want to add more bet options just add them after :
(try_end),
(assign, reg5, ":min_dif_multiplier"),
(assign, reg6, ":min_dif_divisor"),
],
[
 
Upvote 0
Back
Top Bottom