Differences From
Artifact [a8ee2829a5]:
- File
leylines.lua
— part of check-in
[15f176a7fe]
at
2020-10-31 19:49:49
on branch trunk
— add background noise for condensers (temporary hack, need to write a proper environment sound framework as the fucking env_sounds module is completely impossible to extend), fix a couple of really stupid bugs, make higher-quality phials increase the chance of getting good runes so it's not a complete waste to burn iridium or levitanium powder on making them, add targeted disjunction and some other amulet spells
(user:
lexi,
size: 27257)
[annotate]
[blame]
[check-ins using]
376 376 name = 'Condenser sound effects';
377 377 nodenames = {'sorcery:condenser'};
378 378 neighbors = {'group:sorcery_ley_device'};
379 379 interval = 5.6, chance = 1, catch_up = false;
380 380 action = function(pos)
381 381 local force = sorcery.ley.estimate(pos).force
382 382 minetest.sound_play('sorcery_condenser_bg', {
383 - pos = pos, max_hear_distance = 5 + 8*force, gain = force*0.3;
383 + pos = pos, max_hear_distance = 5 + 4*force, gain = force*0.3;
384 384 })
385 385 end;
386 386 }
387 387 end
388 388
389 389 minetest.register_craft {
390 390 output = 'sorcery:condenser';