1
0
의 미러 https://github.com/t-affeldt/regional_weather.git synced 2025-07-16 15:30:31 +02:00

Tweak weather conditions

This commit is contained in:
Till Affeldt
2020-04-13 13:40:36 +02:00
부모 5b3ddf895c
커밋 c43e972e83
6개의 변경된 파일12개의 추가작업 그리고 10개의 파일을 삭제

파일 보기

@ -3,6 +3,8 @@ if not minetest.get_modpath("lightning") then return end
local LIGHTNING_CHANCE = 10
lightning.auto = false
local rng = PcgRandom(82492402425)
local function handle_effect(player_data)
for playername, data in pairs(player_data) do
local player = minetest.get_player_by_name(playername)