Sign in
creature

The Gloam

by Potluck · version 1 · Checked for all ages

The Gloam, a great beast of the dark that drinks the light, sleeps in a hollow under the moonsilver vaults: open a vault's moon seal and a stair behind its coffer goes down to it. Make a Moon bell at a workbench from moonsilver and what the night's creatures leave, ring it at the altar and the Gloam wakes. It slams, then snuffs the lamps and sends its shades (light them again to reach it), then rages. Beat it for its heart, a dawn cloak and a dawn stone on the Green. Never on Peaceful.

1name = "The Gloam"
2by = "Potluck"
3kind = "creature"
4about = "The Gloam, a great beast of the dark that drinks the light, sleeps in a hollow under the moonsilver vaults: open a vault's moon seal and a stair behind its coffer goes down to it. Make a Moon bell at a workbench from moonsilver and what the night's creatures leave, ring it at the altar and the Gloam wakes. It slams, then snuffs the lamps and sends its shades (light them again to reach it), then rages. Beat it for its heart, a dawn cloak and a dawn stone on the Green. Never on Peaceful."
5main = "main.luau"
6version = 1
7license = "CC-BY-4.0"
8
9[needs]
10world = "0.33"
11tweak = "0.1"
12store = "0.1"
13ui = "0.2"
14sound = "0.2"
15
16# The hollow's floor and walls: dark stone with violet veins no pickaxe cuts.
17[blocks.gloamstone]
18name = "Gloamstone"
19kind = "hard"
20hardness = 20
21glow = "v"
22colors = { a = "#1e1a28", b = "#262134", c = "#2e283e", v = "#7a58c8", k = "#141018" }
23picture = """
24bbbbbbbbkbbbbbbb
25bacbbbbbkbbbcbbb
26bbbbvbbbkbbbbbab
27bbbbvvbbkbbbbbbb
28bbcbbvbbkkkkkkkk
29bbbbbvvbbbbbbbbb
30kkkkkkvkbbbcbbbb
31bbbbbbvkbbbbbabb
32babbbbbvbbbbbbbb
33bbbbcbbvvbbbcbbb
34bbbbbbbbvbbbbbbb
35bbabbbbbkvbbbbab
36kkkkkkkkkvvkkkkk
37bbbcbbbbbbvbbbbb
38bbbbbbabbbvvbbcb
39bbbbbbbbbbbvbbbb
40"""
41
42# Where the Moon bell rings: moonstone with a bell-shaped hollow.
43[blocks.gloam_altar]
44name = "Gloam altar"
45kind = "hard"
46hardness = 20
47glow = "m"
48colors = { d = "#8a8fa2", b = "#b8bccb", s = "#e9ecf4", m = "#9ff0ec", k = "#3a3f52" }
49top = """
50dddddddddddddddd
51dbbbbbbbbbbbbbbd
52dbsbbbbbbbbbbsbd
53dbbbbbmmmmbbbbbd
54dbbbbmkkkkmbbbbd
55dbbbmkkkkkkmbbbd
56dbbbmkkkkkkmbbbd
57dbbmkkkkkkkkmbbd
58dbbmkkkkkkkkmbbd
59dbbbmkkkkkkmbbbd
60dbbbmkkkkkkmbbbd
61dbbbbmkkkkmbbbbd
62dbbbbbmmmmbbbbbd
63dbsbbbbbbbbbbsbd
64dbbbbbbbbbbbbbbd
65dddddddddddddddd
66"""
67side = """
68dddddddddddddddd
69dssssssssssssssd
70dbbbbbbbbbbbbbbd
71dbbbbbbmmbbbbbbd
72dbbbbbmkkmbbbbbd
73dbbbbbmkkmbbbbbd
74dbbbbmkkkkmbbbbd
75dbbbbmkkkkmbbbbd
76dbbbmkkkkkkmbbbd
77dbbbmmmmmmmmbbbd
78dbbbbbbbbbbbbbbd
79dddddddddddddddd
80dbbbbbbbbbbbbbbd
81dbbsbbbbbbbbsbbd
82dbbbbbbbbbbbbbbd
83dddddddddddddddd
84"""
85bottom = """
86dddddddddddddddd
87dbbbbbbbbbbbbbbd
88dbbbbbbbbbbbbbbd
89dbbbbbbbbbbbbbbd
90dbbbbbbbbbbbbbbd
91dbbbbbbbbbbbbbbd
92dbbbbbbbbbbbbbbd
93dbbbbbbbbbbbbbbd
94dbbbbbbbbbbbbbbd
95dbbbbbbbbbbbbbbd
96dbbbbbbbbbbbbbbd
97dbbbbbbbbbbbbbbd
98dbbbbbbbbbbbbbbd
99dbbbbbbbbbbbbbbd
100dbbbbbbbbbbbbbbd
101dddddddddddddddd
102"""
103
104# The hollow's lamps: a moonsilver cage round a pale light.
105[blocks.moon_lamp]
106name = "Moon lamp"
107kind = "hard"
108hardness = 20
109light = true
110glow = "lw"
111colors = { k = "#2a2d3a", m = "#8a90a8", l = "#c8f8f4", w = "#f4ffff" }
112picture = """
113kkkkkkkkkkkkkkkk
114kmmmmmmmmmmmmmmk
115kmllllllllllllmk
116kmllllwwwwllllmk
117kmlllwwwwwwlllmk
118kmllwwwwwwwwllmk
119kmkkkkkkkkkkkkmk
120kmllwwwwwwwwllmk
121kmllwwwwwwwwllmk
122kmkkkkkkkkkkkkmk
123kmllwwwwwwwwllmk
124kmlllwwwwwwlllmk
125kmllllwwwwllllmk
126kmllllllllllllmk
127kmmmmmmmmmmmmmmk
128kkkkkkkkkkkkkkkk
129"""
130
131# A moon lamp the Gloam has drunk the light from: use it to light it again.
132[blocks.snuffed_moon_lamp]
133name = "Snuffed moon lamp"
134kind = "hard"
135hardness = 20
136colors = { k = "#1a1c24", m = "#4a4e5e", l = "#2e3040", w = "#3a3e50" }
137picture = """
138kkkkkkkkkkkkkkkk
139kmmmmmmmmmmmmmmk
140kmllllllllllllmk
141kmllllwwwwllllmk
142kmlllwwwwwwlllmk
143kmllwwwwwwwwllmk
144kmkkkkkkkkkkkkmk
145kmllwwwwwwwwllmk
146kmllwwwwwwwwllmk
147kmkkkkkkkkkkkkmk
148kmllwwwwwwwwllmk
149kmlllwwwwwwlllmk
150kmllllwwwwllllmk
151kmllllllllllllmk
152kmmmmmmmmmmmmmmk
153kkkkkkkkkkkkkkkk
154"""
155
156# Rung at the altar, it wakes the Gloam: made from moonsilver and what the
157# night's creatures leave.
158[items.moon_bell]
159name = "Moon bell"
160stack = 1
161recipe = { "Moonsilver ingot" = 3, "Frost shard" = 1, "Snapper shell" = 1, "Dusk wax" = 1, "Fen glow" = 1, "Dangler lure" = 1 }
162colors = { k = "#2a2d3a", m = "#9ff0ec", s = "#e6fffd", b = "#7ab8c0", h = "#c8a040" }
163picture = """
164................
165.......hh.......
166......h..h......
167.......kk.......
168......kmmk......
169.....kmsmmk.....
170.....kmsmmk.....
171....kmsmmmbk....
172....kmsmmmbk....
173....kmmmmmbk....
174...kmsmmmmmbk...
175...kmmmmmmmbk...
176..kkkkkkkkkkkk..
177.......kk.......
178.......mm.......
179................
180"""
181
182# What a beaten Gloam leaves: a relic for the Curator.
183[items.gloam_heart]
184name = "Gloam's heart"
185stack = 1
186relic = "A cold stone the size of a fist, dark as a moonless night. Hold it near a lamp and the light bends toward it, as if it's still thirsty."
187colors = { k = "#141018", a = "#262134", v = "#7a58c8", w = "#c8b0ff" }
188picture = """
189................
190................
191....kkk..kkk....
192...kavvk.kvvk...
193..kavwvvkvvvak..
194..kavvvvvvvvak..
195..kavvvvvvvvak..
196..kaavvvvvvaak..
197...kaavvvvaak...
198....kaavvaak....
199.....kaaaak.....
200......kaak......
201.......kk.......
202................
203................
204................
205"""
206
207# The best coat there is: woven from the dawn light the Gloam drank.
208[items.dawn_cloak]
209name = "Dawn cloak"
210kind = "armor"
211slot = "body"
212guard = 9
213warm = true
214colors = { k = "#3a2a20", a = "#f0b060", b = "#f8d890", c = "#e08040", s = "#fff4d8" }
215picture = """
216................
217.....kk..kk.....
218....kbbkkbbk....
219...kbsbbbbsbk...
220..kbbbbbbbbbbk..
221..kabbbssbbbak..
222..kabbbbbbbbak..
223..kaabbbbbbaak..
224..kcaabbbbaack..
225..kcaabbbbaack..
226..kccaabbaacck..
227..kccaabbaacck..
228..kcccaaaaccck..
229..kkkkkkkkkkkk..
230................
231................
232"""
233
234# the bell ringing
235[sounds.bell]
236caption = "A moon bell rings"
237wave = "sine"
238pitch = 523
239length = 2.6
240attack = 0.005
241decay = 1.2
242
243[[sounds.bell.layers]]
244wave = "sine"
245pitch = 1308
246length = 2
247gain = 0.4
248
249[[sounds.bell.layers]]
250wave = "sine"
251pitch = 784
252length = 2.4
253gain = 0.5
254
255# the Gloam's roar
256[sounds.roar]
257caption = "The Gloam roars"
258wave = "saw"
259pitch = [80, 55]
260length = 2.2
261attack = 0.2
262decay = 1.0
263wobble = [5, 6]
264lowpass = 600
265
266[[sounds.roar.layers]]
267wave = "noise"
268pitch = 420
269length = 1.8
270gain = 0.6
271lowpass = 500
272
273# rearing up for a slam
274[sounds.rumble]
275caption = "The Gloam rears up"
276wave = "noise"
277pitch = 220
278length = 1.0
279attack = 0.4
280decay = 0.4
281lowpass = 400
282
283# the slam landing
284[sounds.slam]
285caption = "The Gloam slams down"
286wave = "sine"
287pitch = [70, 30]
288length = 0.8
289attack = 0.003
290decay = 0.3
291
292[[sounds.slam.layers]]
293wave = "noise"
294pitch = 1600
295length = 0.3
296gain = 0.7
297lowpass = 1800
298
299# a swipe of its claws
300[sounds.swipe]
301caption = "The Gloam swipes"
302wave = "noise"
303pitch = [2400, 600]
304length = 0.35
305attack = 0.02
306decay = 0.12
307lowpass = 3000
308
309# the lamps going out
310[sounds.snuff]
311caption = "The lamps go out"
312wave = "noise"
313pitch = [3000, 200]
314length = 1.6
315attack = 0.05
316decay = 0.8
317lowpass = 2000
318
319[[sounds.snuff.layers]]
320wave = "sine"
321pitch = [600, 150]
322length = 1.4
323gain = 0.4
324
325# a lamp lit again
326[sounds.relight]
327caption = "A moon lamp lights"
328wave = "sine"
329notes = [784, 1047, 1319]
330each = 0.08
331attack = 0.004
332decay = 0.12
333
334# a shade's whisper
335[sounds.whisper]
336caption = "A shade whispers"
337wave = "noise"
338pitch = 3400
339length = 0.9
340attack = 0.3
341decay = 0.4
342pulse = [6, 0.6]
343highpass = 1200
344lowpass = 5000
345
346# the Gloam's breath as it sleeps
347[sounds.breath]
348caption = "Something vast breathes"
349wave = "noise"
350pitch = 260
351length = 2.4
352attack = 1.0
353decay = 1.0
354lowpass = 350
355
356# beaten: the dark breaking into light
357[sounds.dawn]
358caption = "The Gloam breaks into light"
359wave = "triangle"
360notes = ["C4", "G4", "C5", "E5", "G5", "C6"]
361each = 0.22
362attack = 0.02
363decay = 0.4
364
365[[sounds.dawn.layers]]
366wave = "noise"
367pitch = 600
368length = 1.4
369gain = 0.4
370lowpass = 900