Skip to content

Commit c0fd12e

Browse files
author
web3blind
committed
Expand magical weather forecasts
1 parent 3f0568e commit c0fd12e

6 files changed

Lines changed: 321 additions & 9 deletions

File tree

app/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@
116116
<script src="js/config.js?v=20260621m"></script>
117117

118118
<!-- I18n -->
119-
<script src="js/i18n/ru.js?v=20260712c"></script>
120-
<script src="js/i18n/en.js?v=20260712c"></script>
119+
<script src="js/i18n/ru.js?v=20260712d"></script>
120+
<script src="js/i18n/en.js?v=20260712d"></script>
121121

122122
<!-- Utilities -->
123123
<script src="js/utils/helpers.js?v=20260621l"></script>
@@ -161,7 +161,7 @@
161161
<script src="js/engine/marketplace.js"></script>
162162
<script src="js/engine/checkpoint.js"></script>
163163
<script src="js/engine/block-processor.js"></script>
164-
<script src="js/engine/world-events.js?v=20260712c"></script>
164+
<script src="js/engine/world-events.js?v=20260712d"></script>
165165
<script src="js/engine/world-boss.js"></script>
166166
<script src="js/engine/quest-system.js?v=20260621e"></script>
167167
<script src="js/engine/loci.js"></script>

app/js/engine/world-events.js

Lines changed: 208 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,217 @@ var WorldEvents = (function() {
9191
effectKey: 'weather_quiet_stars_effect',
9292
creatureAttackMod: 950,
9393
playerDefenseMod: 1050
94+
},
95+
{
96+
id: 'forbidden_wind',
97+
icon: '\uD83C\uDF2B\uFE0F',
98+
summaryKey: 'weather_forbidden_wind',
99+
effectKey: 'weather_forbidden_wind_effect',
100+
creatureAttackMod: 1150,
101+
playerDefenseMod: 950
102+
},
103+
{
104+
id: 'dragon_shadow',
105+
icon: '\uD83D\uDC09',
106+
summaryKey: 'weather_dragon_shadow',
107+
effectKey: 'weather_dragon_shadow_effect',
108+
creatureAttackMod: 1120,
109+
playerDefenseMod: 1000
110+
},
111+
{
112+
id: 'no_looking_back',
113+
icon: '\uD83D\uDC41\uFE0F',
114+
summaryKey: 'weather_no_looking_back',
115+
effectKey: 'weather_no_looking_back_effect',
116+
creatureAttackMod: 1080,
117+
playerDefenseMod: 980
118+
},
119+
{
120+
id: 'mirror_fog',
121+
icon: '\uD83E\uDE9E',
122+
summaryKey: 'weather_mirror_fog',
123+
effectKey: 'weather_mirror_fog_effect',
124+
creatureAttackMod: 1000,
125+
playerDefenseMod: 920
126+
},
127+
{
128+
id: 'whispering_mushrooms',
129+
icon: '\uD83C\uDF44',
130+
summaryKey: 'weather_whispering_mushrooms',
131+
effectKey: 'weather_whispering_mushrooms_effect',
132+
creatureAttackMod: 960,
133+
playerDefenseMod: 1060
134+
},
135+
{
136+
id: 'iron_moon',
137+
icon: '\uD83C\uDF15',
138+
summaryKey: 'weather_iron_moon',
139+
effectKey: 'weather_iron_moon_effect',
140+
creatureAttackMod: 1030,
141+
playerDefenseMod: 1030
142+
},
143+
{
144+
id: 'singing_swamp',
145+
icon: '\uD83E\uDEB7',
146+
summaryKey: 'weather_singing_swamp',
147+
effectKey: 'weather_singing_swamp_effect',
148+
creatureAttackMod: 1060,
149+
playerDefenseMod: 960
150+
},
151+
{
152+
id: 'upward_rain',
153+
icon: '\uD83C\uDF27\uFE0F',
154+
summaryKey: 'weather_upward_rain',
155+
effectKey: 'weather_upward_rain_effect',
156+
creatureAttackMod: 970,
157+
playerDefenseMod: 1040
158+
},
159+
{
160+
id: 'glass_grass',
161+
icon: '\uD83C\uDF3F',
162+
summaryKey: 'weather_glass_grass',
163+
effectKey: 'weather_glass_grass_effect',
164+
creatureAttackMod: 1090,
165+
playerDefenseMod: 970
166+
},
167+
{
168+
id: 'sleeping_thunder',
169+
icon: '\uD83C\uDF29\uFE0F',
170+
summaryKey: 'weather_sleeping_thunder',
171+
effectKey: 'weather_sleeping_thunder_effect',
172+
creatureAttackMod: 940,
173+
playerDefenseMod: 1080
174+
},
175+
{
176+
id: 'hungry_constellations',
177+
icon: '\uD83C\uDF0C',
178+
summaryKey: 'weather_hungry_constellations',
179+
effectKey: 'weather_hungry_constellations_effect',
180+
creatureAttackMod: 1110,
181+
playerDefenseMod: 1000
182+
},
183+
{
184+
id: 'borrowed_sun',
185+
icon: '\u2600\uFE0F',
186+
summaryKey: 'weather_borrowed_sun',
187+
effectKey: 'weather_borrowed_sun_effect',
188+
creatureAttackMod: 980,
189+
playerDefenseMod: 1070
190+
},
191+
{
192+
id: 'ash_snow',
193+
icon: '\u2744\uFE0F',
194+
summaryKey: 'weather_ash_snow',
195+
effectKey: 'weather_ash_snow_effect',
196+
creatureAttackMod: 1040,
197+
playerDefenseMod: 990
198+
},
199+
{
200+
id: 'lost_names',
201+
icon: '\uD83D\uDCDC',
202+
summaryKey: 'weather_lost_names',
203+
effectKey: 'weather_lost_names_effect',
204+
creatureAttackMod: 1070,
205+
playerDefenseMod: 970
206+
},
207+
{
208+
id: 'clockwork_hail',
209+
icon: '\u23F1\uFE0F',
210+
summaryKey: 'weather_clockwork_hail',
211+
effectKey: 'weather_clockwork_hail_effect',
212+
creatureAttackMod: 1130,
213+
playerDefenseMod: 980
214+
},
215+
{
216+
id: 'polite_crows',
217+
icon: '\uD83D\uDC26\u200D\u2B1B',
218+
summaryKey: 'weather_polite_crows',
219+
effectKey: 'weather_polite_crows_effect',
220+
creatureAttackMod: 960,
221+
playerDefenseMod: 1060
222+
},
223+
{
224+
id: 'golden_dust',
225+
icon: '\u2728',
226+
summaryKey: 'weather_golden_dust',
227+
effectKey: 'weather_golden_dust_effect',
228+
creatureAttackMod: 930,
229+
playerDefenseMod: 1100
230+
},
231+
{
232+
id: 'black_rainbow',
233+
icon: '\uD83C\uDF08',
234+
summaryKey: 'weather_black_rainbow',
235+
effectKey: 'weather_black_rainbow_effect',
236+
creatureAttackMod: 1100,
237+
playerDefenseMod: 940
238+
},
239+
{
240+
id: 'wandering_doors',
241+
icon: '\uD83D\uDEAA',
242+
summaryKey: 'weather_wandering_doors',
243+
effectKey: 'weather_wandering_doors_effect',
244+
creatureAttackMod: 1050,
245+
playerDefenseMod: 970
246+
},
247+
{
248+
id: 'salt_wind',
249+
icon: '\uD83C\uDF2C\uFE0F',
250+
summaryKey: 'weather_salt_wind',
251+
effectKey: 'weather_salt_wind_effect',
252+
creatureAttackMod: 1020,
253+
playerDefenseMod: 1020
254+
},
255+
{
256+
id: 'paper_storm',
257+
icon: '\uD83D\uDCDC',
258+
summaryKey: 'weather_paper_storm',
259+
effectKey: 'weather_paper_storm_effect',
260+
creatureAttackMod: 1080,
261+
playerDefenseMod: 960
262+
},
263+
{
264+
id: 'bone_bells',
265+
icon: '\uD83D\uDD14',
266+
summaryKey: 'weather_bone_bells',
267+
effectKey: 'weather_bone_bells_effect',
268+
creatureAttackMod: 1140,
269+
playerDefenseMod: 950
270+
},
271+
{
272+
id: 'kind_darkness',
273+
icon: '\uD83C\uDF11',
274+
summaryKey: 'weather_kind_darkness',
275+
effectKey: 'weather_kind_darkness_effect',
276+
creatureAttackMod: 920,
277+
playerDefenseMod: 1120
278+
},
279+
{
280+
id: 'blue_fireflies',
281+
icon: '\uD83D\uDCA1',
282+
summaryKey: 'weather_blue_fireflies',
283+
effectKey: 'weather_blue_fireflies_effect',
284+
creatureAttackMod: 950,
285+
playerDefenseMod: 1080
286+
},
287+
{
288+
id: 'wrong_echo',
289+
icon: '\uD83D\uDD0A',
290+
summaryKey: 'weather_wrong_echo',
291+
effectKey: 'weather_wrong_echo_effect',
292+
creatureAttackMod: 1090,
293+
playerDefenseMod: 970
294+
},
295+
{
296+
id: 'crown_of_rain',
297+
icon: '\uD83D\uDC51',
298+
summaryKey: 'weather_crown_of_rain',
299+
effectKey: 'weather_crown_of_rain_effect',
300+
creatureAttackMod: 1050,
301+
playerDefenseMod: 1050
94302
}
95303
];
96304

97-
98305
/**
99306
* Get the current season based on block number.
100307
* @param {number} blockNum

app/js/i18n/en.js

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,58 @@ var LangEN = {
752752
weather_singing_lightning_effect: 'Character defense in hunts is 5% lower.',
753753
weather_quiet_stars: 'Quiet stars and an even Weave. A good time to hunt without heroic stupidity.',
754754
weather_quiet_stars_effect: 'Creatures hit 5% softer, character defense is 5% higher.',
755+
weather_forbidden_wind: 'The wind has frozen in a forbidden region. Entry is lethal; exit is not promised.',
756+
weather_forbidden_wind_effect: 'Creatures hit 15% harder, character defense is 5% lower.',
757+
weather_dragon_shadow: 'Do not stay long in the shade. The Dragon is hunting and considers shadows its property.',
758+
weather_dragon_shadow_effect: 'Creatures hit 12% harder.',
759+
weather_no_looking_back: 'Do not look back. The thing behind you is pretending to be your own thought.',
760+
weather_no_looking_back_effect: 'Creatures hit 8% harder, character defense is 2% lower.',
761+
weather_mirror_fog: 'Mirror fog. Everyone sees themselves victorious; only the quick come out.',
762+
weather_mirror_fog_effect: 'Character defense is 8% lower.',
763+
weather_whispering_mushrooms: 'Mushrooms whisper enemy plans. Some plans are mushroom plans, but still useful.',
764+
weather_whispering_mushrooms_effect: 'Creatures hit 4% softer, character defense is 6% higher.',
765+
weather_iron_moon: 'An iron moon hangs low. Spells ring like jailer keys.',
766+
weather_iron_moon_effect: 'Creatures and character defense are 3% stronger.',
767+
weather_singing_swamp: 'The swamp sings a lullaby. Do not sleep: it only sings off-key above prey.',
768+
weather_singing_swamp_effect: 'Creatures hit 6% harder, character defense is 4% lower.',
769+
weather_upward_rain: 'Rain falls upward. If your boots are wet, the sky is below today.',
770+
weather_upward_rain_effect: 'Creatures hit 3% softer, character defense is 4% higher.',
771+
weather_glass_grass: 'Glass grass cuts each step. Walking is allowed; arguing with the meadow is not.',
772+
weather_glass_grass_effect: 'Creatures hit 9% harder, character defense is 3% lower.',
773+
weather_sleeping_thunder: 'Thunder sleeps underground. Speak softly: it wakes to overconfidence.',
774+
weather_sleeping_thunder_effect: 'Creatures hit 6% softer, character defense is 8% higher.',
775+
weather_hungry_constellations: 'Hungry constellations are counting mages. Do not become a pretty point in the sky.',
776+
weather_hungry_constellations_effect: 'Creatures hit 11% harder.',
777+
weather_borrowed_sun: 'The sun is borrowed today. It will be returned with interest and sparks.',
778+
weather_borrowed_sun_effect: 'Creatures hit 2% softer, character defense is 7% higher.',
779+
weather_ash_snow: 'Ash snow settles on names. Footprints remain, but forget their owner.',
780+
weather_ash_snow_effect: 'Creatures hit 4% harder, character defense is 1% lower.',
781+
weather_lost_names: 'Lost names rustle in the grass. Do not pick up a stranger’s; it may fit.',
782+
weather_lost_names_effect: 'Creatures hit 7% harder, character defense is 3% lower.',
783+
weather_clockwork_hail: 'Clockwork hail falls on schedule. Latecomers receive a second helping.',
784+
weather_clockwork_hail_effect: 'Creatures hit 13% harder, character defense is 2% lower.',
785+
weather_polite_crows: 'Polite crows wish you luck. Troubling, but pleasant.',
786+
weather_polite_crows_effect: 'Creatures hit 4% softer, character defense is 6% higher.',
787+
weather_golden_dust: 'Golden dust settles on shoulders. The world pretends it is kind today.',
788+
weather_golden_dust_effect: 'Creatures hit 7% softer, character defense is 10% higher.',
789+
weather_black_rainbow: 'A black rainbow hangs over the path. Beautiful, if you ignore the fine print.',
790+
weather_black_rainbow_effect: 'Creatures hit 10% harder, character defense is 6% lower.',
791+
weather_wandering_doors: 'Wandering doors slam in the forest. Not every one leads out; not every one leads in.',
792+
weather_wandering_doors_effect: 'Creatures hit 5% harder, character defense is 3% lower.',
793+
weather_salt_wind: 'Salt wind dries spells mid-flight. At least fears become crunchy.',
794+
weather_salt_wind_effect: 'Creatures and character defense are 2% stronger.',
795+
weather_paper_storm: 'A paper storm carries old prophecies. Most are offended they were never fulfilled.',
796+
weather_paper_storm_effect: 'Creatures hit 8% harder, character defense is 4% lower.',
797+
weather_bone_bells: 'Bone bells ring without wind. Whoever hears the third toll is already involved.',
798+
weather_bone_bells_effect: 'Creatures hit 14% harder, character defense is 5% lower.',
799+
weather_kind_darkness: 'Kind darkness shelters travelers. Best not ask what it eats.',
800+
weather_kind_darkness_effect: 'Creatures hit 8% softer, character defense is 12% higher.',
801+
weather_blue_fireflies: 'Blue fireflies mark safe trails. Sometimes out of humor.',
802+
weather_blue_fireflies_effect: 'Creatures hit 5% softer, character defense is 8% higher.',
803+
weather_wrong_echo: 'Wrong echo answers before the question. If it guesses right, change route.',
804+
weather_wrong_echo_effect: 'Creatures hit 9% harder, character defense is 3% lower.',
805+
weather_crown_of_rain: 'A crown of rain hangs over the road. Today even puddles demand a title.',
806+
weather_crown_of_rain_effect: 'Creatures and character defense are 5% stronger.',
755807

756808
// World Events
757809
event_weave_surge: 'Weave Surge',

0 commit comments

Comments
 (0)