customize land mode

This commit is contained in:
Zeno Rogue committed 2024-03-14 19:27:08 +01:00
1 parent e840e39ba0
commit 4421143ae5
10 files changed
+183 -19

No files matched your search

+12
View File
@@ -1663,6 +1663,18 @@ EX void initConfig() {
param_i(stamplen, "stamplen");
param_f(anims::period, "animperiod");
addsaver(use_custom_land_list, "customland_use");
for(int i=0; i<landtypes; i++) {
custom_land_list[i] = true;
custom_land_treasure[i] = 100;
custom_land_difficulty[i] = 100;
custom_land_wandering[i] = 100;
addsaver(custom_land_list[i], "customland" + its(i) + "i", true);
addsaver(custom_land_treasure[i], "customland" + its(i) + "t", 100);
addsaver(custom_land_difficulty[i], "customland" + its(i) + "d", 100);
addsaver(custom_land_wandering[i], "customland" + its(i) + "w", 100);
}
}
EX bool inSpecialMode() {