1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-25 02:47:40 +00:00

unlock_all flag

This commit is contained in:
Zeno Rogue
2024-12-01 12:43:31 +01:00
parent 2f57e5a98a
commit 6cff0839fd
4 changed files with 11 additions and 4 deletions

View File

@@ -22,6 +22,8 @@ EX bool return_false() { return false; }
EX bool use_bool_dialog;
EX bool unlock_all;
/** set to true if a parameter was changed as a consequence of changing linked parameters */
EX bool linked_consequence;
@@ -1777,6 +1779,9 @@ EX void initConfig() {
param_i(stamplen, "stamplen");
param_f(anims::period, "animperiod");
param_b(unlock_all, "unlock_all")
-> editable("allow access to all unlockable contant", 'U');
param_b(use_custom_land_list, "customland_use")->be_non_editable();
for(int i=0; i<landtypes; i++) {
custom_land_list[i] = true;