orbea
1059546344
Add a setting to disable the random fire chance. ( #18 )
2020-06-04 20:46:16 +02:00
Panquesito7
01f2b9c89d
Use mod.conf for dependencies and description
2019-10-16 09:18:50 -07:00
Thomas Rudin
134f1e6371
add lightning.effect_range setting for audio and visuals range limiting
2019-10-16 09:17:52 -07:00
BuckarooBanzay
883a8484b5
fix stored player object, use name instead
2019-10-11 20:20:03 +02:00
BuckarooBanzay
3136adbe00
add .luacheckrc and fix common errors
2019-10-11 20:20:03 +02:00
Auke Kok
39bd36cc17
Use particle glow to brighten up the lightning.
2017-02-20 10:49:08 -08:00
Auke Kok
d426c601b4
This should make default optional as well
2017-02-20 10:37:13 -08:00
Auke Kok
0f157571a5
This should make fire optional
2017-02-20 10:34:22 -08:00
Auke Kok
4c27fe79b7
Remove flame from creative inventory.
2017-02-20 10:30:08 -08:00
brittm3
1d9dfaa785
Fix player sky race.
...
Fixes a bug that would leave the player's sky permanently white after
two lightning strikes occur in rapid succession.
2016-11-23 16:43:54 -08:00
Auke Kok
846079370f
Fire: omit sounds if sound API not supported by lame fire mods :)
...
tenplus1's version of the fire mod removes all sound support. This
code makes this mod work if people are using his version of the
fire mod.
2016-03-14 23:16:58 -07:00
Auke Kok
065598e92d
Damage nearby players.
...
8 damage will be dealt to any living object (mob or player) in a
radius of 5 nodes of where the lightning strikes.
2016-03-10 17:25:09 -08:00
Auke Kok
7ba1adae2b
Don't trigger lightning if mods disable auto at init.
2016-03-10 16:10:16 -08:00
Auke Kok
0cdcb34d6b
Fix calculation of pos2.
...
This needs to always be done, even if passed a pos.
2016-03-10 15:27:22 -08:00
Auke Kok
e79965e3e8
Export our API handle "lightning"
2016-03-10 15:03:35 -08:00
Auke Kok
b8724822b6
Make the flame with a nodetimer instead.
...
This is more robust, and won't remove other nodes placed
at the same pos accidentally.
2016-03-10 15:03:35 -08:00
Auke Kok
9bdcdafae2
Allow mods to strike with our code, optionally at a certain pos.
2016-03-10 15:03:35 -08:00
Auke Kok
3c4c9d0e75
Allow random striking to be disabled run-time
2016-03-10 12:02:11 -08:00
Auke Kok
75ad945534
Change flame effect to a temporary flame.
...
- reduce chance of actual fire by 10.
- reduce chance of nodes getting modified
- adds a "dying flame" node that does not ignite
- lightning by default places the "dying flame"
- "dying flame" node destroys itself within a short period
2016-02-21 15:13:42 -08:00
Auke Kok
a18847751a
Light up the sky when lightning strikes.
...
This may delay or not be seen - expected jitter.
2016-01-16 11:55:51 -08:00
Auke Kok
6eb4914dd1
Tweak some stuff, now it's somewhat behaving.
2016-01-13 20:43:28 -08:00
Auke Kok
0c3ebb99bd
Initial checkin.
2016-01-13 09:47:32 -08:00