|
20 | 20 |
|
21 | 21 | UI_MONS = { } |
22 | 22 |
|
| 23 | +UI_MONS.QUANTITIES = |
| 24 | +{ |
| 25 | + "0", _("None"), |
| 26 | + "0.15", _("Trivial"), |
| 27 | + "0.35", _("Sporadic"), |
| 28 | + "0.7", _("Meager"), |
| 29 | + "1.0", _("Default"), |
| 30 | + "1.3", _("Modest"), |
| 31 | + "1.5", _("Bearable"), |
| 32 | + "2.0", _("Rough"), |
| 33 | + "2.5", _("Strenuous"), |
| 34 | + "3.0", _("Formidable"), |
| 35 | + "3.5", _("Harsh"), |
| 36 | + "4.0", _("Painful"), |
| 37 | + "4.5", _("Unforgiving"), |
| 38 | + "5.0", _("Punishing"), |
| 39 | + "5.5", _("Brutal"), |
| 40 | + "6.0", _("Draconian"), |
| 41 | + "6.66", _("Merciless"), |
| 42 | + "mixed", _("Mix It Up"), |
| 43 | + "prog", _("Progressive"), |
| 44 | +} |
| 45 | + |
| 46 | +UI_MONS.QUANTITY_BOUNDS = |
| 47 | +{ |
| 48 | + "0", _("None"), |
| 49 | + "0.15", _("Trivial"), |
| 50 | + "0.35", _("Sporadic"), |
| 51 | + "0.7", _("Meager"), |
| 52 | + "1.0", _("Default"), |
| 53 | + "1.3", _("Modest"), |
| 54 | + "1.5", _("Bearable"), |
| 55 | + "2.0", _("Rough"), |
| 56 | + "2.5", _("Strenuous"), |
| 57 | + "3.0", _("Formidable"), |
| 58 | + "3.5", _("Harsh"), |
| 59 | + "4.0", _("Painful"), |
| 60 | + "4.5", _("Unforgiving"), |
| 61 | + "5.0", _("Punishing"), |
| 62 | + "5.5", _("Brutal"), |
| 63 | + "6.0", _("Draconian"), |
| 64 | + "6.66", _("Merciless"), |
| 65 | +} |
| 66 | + |
| 67 | +UI_MONS.STRENGTHS = |
| 68 | +{ |
| 69 | + "0.59", _("Weak"), |
| 70 | + "0.77", _("Easier"), |
| 71 | + "1.0", _("Default"), |
| 72 | + "1.3", _("Harder"), |
| 73 | + "1.7", _("Tough"), |
| 74 | + "2.5", _("Fierce"), |
| 75 | + "12", _("CRAZY"), |
| 76 | +} |
| 77 | + |
| 78 | +UI_MONS.RAMPS = |
| 79 | +{ |
| 80 | + "0.5", _("Very Slow"), |
| 81 | + "0.75", _("Slow"), |
| 82 | + "1.0", _("Average"), |
| 83 | + "1.5", _("Fast"), |
| 84 | + "2.0", _("Very Fast"), |
| 85 | + "3.0", _("Extremely Fast"), |
| 86 | + "epi", _("Episodic"), |
| 87 | +} |
| 88 | + |
23 | 89 | UI_MONS.BOSSES = |
24 | 90 | { |
25 | 91 | "none", _("NONE"), |
@@ -99,71 +165,46 @@ OB_MODULES["ui_mons"] = |
99 | 165 | options = |
100 | 166 | { |
101 | 167 | { |
102 | | - name="float_mons", |
| 168 | + name="mons_qty", |
103 | 169 | label=_("Monster Quantity"), |
104 | | - valuator = "slider", |
105 | | - min = 0, |
106 | | - max = 10.00, |
107 | | - increment = .05, |
108 | | - default = 1.0, |
109 | | - nan = _("Mix It Up,Progressive"), |
110 | | - presets = _("0:None,0.15:0.15 (Trivial),0.35:0.35 (Sporadic),0.7:0.7 (Meager),1.0:1.0 (Normal),1.3:1.3 (Modest),1.5:1.5 (Bearable),2.0:2.0 (Rough),2.5:2.5 (Strenuous),3.0:3.0 (Formidable),3.5:3.5 (Harsh),4.0:4.0 (Painful),4.5:4.5 (Ferocious),5.0:5.0 (Unforgiving),5.5:5.5 (Punishing),6.0:6.0 (Murderous),6.5:6.5 (Grueling),7.0:7.0 (Unrelenting),7.5:7.5 (Arduous),8.0:8.0 (Barbaric),8.5:8.5 (Savage),9.0:9.0 (Brutal),9.5:9.5 (Draconian),10.0:10.00 (Merciless)"), |
| 170 | + choices=UI_MONS.QUANTITIES, |
| 171 | + default = "1.0", |
111 | 172 | tooltip=_("Changes the number of monsters placed in a map. Scales with level size."), |
112 | | - longtip=_("For reference: Obsidian's default for normal is 1.0.\n\nMix It Up: Selects quantities specified between Upper and Lower Bound choices on a chosen by the user.\n\nProgressive: creates a curve of increasing monster population also based on the Fine Tune options below.\n\nIt does not matter if your Upper/Lower Bound selections are reversed. Progressive will pick the min VS max quantities selected.\n\nNone: No monsters. Why would you choose this option? \nTrivial: Very, very few monsters. Almost nothing to kill.\nSporadic: Very few monsters. Not many things to kill.\nMeager: Fewer monsters. Not challenging for the average player.\nEasy: Obsidian default quantity. Not too bad for casual players.\nModest: Slightly above default. Still pretty easy for most. \nBearable: Above average opposition. Getting warmer! \nRough: Slightly difficult. Equivalent to late 90s megawads. \nStrenuous: Baby steps into big boy difficulty. Lots to kill! \nFormidable/Harsh: 'Easy' level of difficult. Considerable opposition. \nPainful/Ferocious: Getting into slaughterwad territory. Difficult! \nUnforgiving/Punishing: Slaughterwad level difficulty. Skill needed. \nMurderous/Grueling: Extremely high monster count. \nUnrelenting/Arduous: An uphill battle. Expect to reload saves often! \nBarbaric/Savage: Up into the hardest slaughterwads out there. \nBrutal/Draconian: Legions of demons await you on this setting. \nMerciless: Hell will throw everything at you at this setting, you masochist."), |
113 | | - randomize_group="monsters", |
| 173 | + longtip=_("For reference: Mix It Up: Selects quantities specified between Upper and Lower Bound choices on a chosen by the user.\n\nProgressive: creates a curve of increasing monster population also based on the Fine Tune options below.\n\nIt does not matter if your Upper/Lower Bound selections are reversed. Progressive will pick the min VS max quantities selected.\n\nNone: No monsters. Why would you choose this option? \nTrivial: Very, very few monsters. Almost nothing to kill.\nSporadic: Very few monsters. Not many things to kill.\nMeager: Fewer monsters. Not challenging for the average player.\nEasy: Obsidian default quantity. Not too bad for casual players.\nModest: Slightly above default. Still pretty easy for most. \nBearable: Above average opposition. Getting warmer! \nRough: Slightly difficult. Equivalent to late 90s megawads. \nStrenuous: Baby steps into big boy difficulty. Lots to kill! \nFormidable/Harsh: 'Easy' level of difficult. Considerable opposition. \nPainful/Ferocious: Getting into slaughterwad territory. Difficult! \nUnforgiving/Punishing: Slaughterwad level difficulty. Skill needed. \nMurderous/Grueling: Extremely high monster count. \nUnrelenting/Arduous: An uphill battle. Expect to reload saves often! \nBarbaric/Savage: Up into the hardest slaughterwads out there. \nBrutal/Draconian: Legions of demons await you on this setting. \nMerciless: Hell will throw everything at you at this setting, you masochist."), |
| 174 | + |
114 | 175 | }, |
115 | 176 | { |
116 | | - name="float_mix_it_up_upper_range", |
| 177 | + name="mons_qty_upper_range", |
117 | 178 | label=_("Upper Bound"), |
118 | | - valuator = "slider", |
119 | | - min = 0, |
120 | | - max = 10.00, |
121 | | - increment = .05, |
122 | | - default = 10, |
123 | | - presets = _("0:None,0.15:0.15 (Trivial),0.35:0.35 (Sporadic),0.7:0.7 (Meager),1.0:1.0 (Normal),1.3:1.3 (Modest),1.5:1.5 (Bearable),2.0:2.0 (Rough),2.5:2.5 (Strenuous),3.0:3.0 (Formidable),3.5:3.5 (Harsh),4.0:4.0 (Painful),4.5:4.5 (Ferocious),5.0:5.0 (Unforgiving),5.5:5.5 (Punishing),6.0:6.0 (Murderous),6.5:6.5 (Grueling),7.0:7.0 (Unrelenting),7.5:7.5 (Arduous),8.0:8.0 (Barbaric),8.5:8.5 (Savage),9.0:9.0 (Brutal),9.5:9.5 (Draconian),10.0:10.00 (Merciless)"), |
| 179 | + choices=UI_MONS.QUANTITY_BOUNDS, |
| 180 | + default = "6.66", |
124 | 181 | longtip=_("For reference: Obsidian's default for normal is 1.0.\n\nMix It Up: Selects quantities specified between Upper and Lower Bound choices on a chosen by the user.\n\nProgressive: creates a curve of increasing monster population also based on the Fine Tune options below.\n\nIt does not matter if your Upper/Lower Bound selections are reversed. Progressive will pick the min VS max quantities selected.\n\nNone: No monsters. Why would you choose this option? \nTrivial: Very, very few monsters. Almost nothing to kill.\nSporadic: Very few monsters. Not many things to kill.\nMeager: Fewer monsters. Not challenging for the average player.\nEasy: Obsidian default quantity. Not too bad for casual players.\nModest: Slightly above default. Still pretty easy for most. \nBearable: Above average opposition. Getting warmer! \nRough: Slightly difficult. Equivalent to late 90s megawads. \nStrenuous: Baby steps into big boy difficulty. Lots to kill! \nFormidable/Harsh: 'Easy' level of difficult. Considerable opposition. \nPainful/Ferocious: Getting into slaughterwad territory. Difficult! \nUnforgiving/Punishing: Slaughterwad level difficulty. Skill needed. \nMurderous/Grueling: Extremely high monster count. \nUnrelenting/Arduous: An uphill battle. Expect to reload saves often! \nBarbaric/Savage: Up into the hardest slaughterwads out there. \nBrutal/Draconian: Legions of demons await you on this setting. \nMerciless: Hell will throw everything at you at this setting, you masochist."), |
125 | 182 | tooltip=_("If you have Mix It Up or Progressive selected, you can define the upper bound here. Otherwise, this option is simply ignored."), |
126 | 183 | }, |
127 | 184 | { |
128 | | - name="float_mix_it_up_lower_range", |
| 185 | + name="mons_qty_lower_range", |
129 | 186 | label=_("Lower Bound"), |
130 | | - valuator = "slider", |
131 | | - min = 0, |
132 | | - max = 10.00, |
133 | | - increment = .05, |
134 | | - default = 0, |
135 | | - presets = _("0:None,0.15:0.15 (Trivial),0.35:0.35 (Sporadic),0.7:0.7 (Meager),1.0:1.0 (Normal),1.3:1.3 (Modest),1.5:1.5 (Bearable),2.0:2.0 (Rough),2.5:2.5 (Strenuous),3.0:3.0 (Formidable),3.5:3.5 (Harsh),4.0:4.0 (Painful),4.5:4.5 (Ferocious),5.0:5.0 (Unforgiving),5.5:5.5 (Punishing),6.0:6.0 (Murderous),6.5:6.5 (Grueling),7.0:7.0 (Unrelenting),7.5:7.5 (Arduous),8.0:8.0 (Barbaric),8.5:8.5 (Savage),9.0:9.0 (Brutal),9.5:9.5 (Draconian),10.0:10.00 (Merciless)"), |
| 187 | + choices=UI_MONS.QUANTITY_BOUNDS, |
| 188 | + default = "0.15", |
136 | 189 | longtip=_("For reference: Obsidian's default for normal is 1.0.\n\nMix It Up: Selects quantities specified between Upper and Lower Bound choices on a chosen by the user.\n\nProgressive: creates a curve of increasing monster population also based on the Fine Tune options below.\n\nIt does not matter if your Upper/Lower Bound selections are reversed. Progressive will pick the min VS max quantities selected.\n\nNone: No monsters. Why would you choose this option? \nTrivial: Very, very few monsters. Almost nothing to kill.\nSporadic: Very few monsters. Not many things to kill.\nMeager: Fewer monsters. Not challenging for the average player.\nEasy: Obsidian default quantity. Not too bad for casual players.\nModest: Slightly above default. Still pretty easy for most. \nBearable: Above average opposition. Getting warmer! \nRough: Slightly difficult. Equivalent to late 90s megawads. \nStrenuous: Baby steps into big boy difficulty. Lots to kill! \nFormidable/Harsh: 'Easy' level of difficult. Considerable opposition. \nPainful/Ferocious: Getting into slaughterwad territory. Difficult! \nUnforgiving/Punishing: Slaughterwad level difficulty. Skill needed. \nMurderous/Grueling: Extremely high monster count. \nUnrelenting/Arduous: An uphill battle. Expect to reload saves often! \nBarbaric/Savage: Up into the hardest slaughterwads out there. \nBrutal/Draconian: Legions of demons await you on this setting. \nMerciless: Hell will throw everything at you at this setting, you masochist."), |
137 | 190 | tooltip=_("If you have Mix It Up or Progressive selected, you can define the lower bound here. Otherwise, this option is simply ignored."), |
138 | 191 | gap = 1, |
139 | 192 | }, |
140 | 193 |
|
141 | 194 | { |
142 | | - name="float_strength", |
| 195 | + name="mons_strength", |
143 | 196 | label=_("Monster Strength"), |
144 | | - valuator = "slider", |
145 | | - min = 0.55, |
146 | | - max = 12, |
147 | | - increment = .05, |
148 | | - default = 1, |
149 | | - tooltip = _("Affects level of selected monsters for a level's monster palette."), |
150 | | - presets = _("0.55:0.55 (Weak),0.75:0.75 (Easier),1:1 (Average),1.3:1.3 (Harder),1.7:1.7 (Tough),2.5:2.5 (Fierce),12:12 (CRAZY)"), |
151 | | - randomize_group="monsters", |
| 197 | + choices=UI_MONS.STRENGTHS, |
| 198 | + default = "1.0", |
| 199 | + tooltip = _("Affects level of selected monsters for a level's monster palette."), |
152 | 200 | }, |
153 | 201 | { |
154 | | - name="float_ramp_up", |
| 202 | + name="mons_strength_ramp_up", |
155 | 203 | label=_("Ramp Up"), |
156 | | - valuator = "slider", |
157 | | - min = 0.5, |
158 | | - max = 3, |
159 | | - increment = .05, |
160 | | - default = 1, |
161 | | - nan = _("Episodic"), |
162 | | - presets = _("0.5:0.5 (Very Slow),0.75:0.75 (Slow),1:1 (Average),1.5:1.5 (Fast),2:2 (Very Fast),3:3 (Extra Fast)"), |
| 204 | + choices=UI_MONS.RAMPS, |
| 205 | + default = "1.0", |
163 | 206 | tooltip = _("Rate at which monster strength increases as you progress through levels."), |
164 | 207 | gap = 1, |
165 | | - randomize_group="monsters", |
166 | | - |
167 | 208 | }, |
168 | 209 |
|
169 | 210 | { |
|
0 commit comments