1
0
mirror of https://github.com/minetest-mods/lightning.git synced 2025-05-02 07:40:23 +02:00

Use mod.conf for dependencies and description

This commit is contained in:
Panquesito7 2019-10-15 19:59:50 -05:00 committed by sofar
parent 2183978c6f
commit 01f2b9c89d
4 changed files with 4 additions and 5 deletions

@ -1,2 +0,0 @@
default?
fire?

@ -1 +0,0 @@
A mod that adds thunder and lightning effects.

@ -63,7 +63,7 @@ local function choose_pos(pos)
local r = rng:next(1, playercount) local r = rng:next(1, playercount)
local randomplayer = playerlist[r] local randomplayer = playerlist[r]
pos = randomplayer:getpos() pos = randomplayer:get_pos()
-- avoid striking underground -- avoid striking underground
if pos.y < -20 then if pos.y < -20 then

@ -1 +1,3 @@
name = lightning name = lightning
optional_depends = default, fire
description = A mod that adds thunder and lightning effects.