Commit Graph

14 Commits

Author SHA1 Message Date
Auke Kok
2743d4a1d6 Technically, fire is a required mod at this point. 2016-03-14 07:39:04 -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
fa362ba6bc Adding a screenshot for the in-game mod manager. 2016-01-30 15:55:08 -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
0ea81f5b0a List all textures. 2016-01-13 09:47:56 -08:00
Auke Kok
0c3ebb99bd Initial checkin. 2016-01-13 09:47:32 -08:00