1
0
mirror of https://github.com/t-affeldt/regional_weather.git synced 2025-07-24 03:10:21 +02:00

Implement ABM system and damage effect

This commit is contained in:
Till Affeldt
2020-04-16 19:13:14 +02:00
parent 6d3e33bf9f
commit 9084bdf4b2
17 changed files with 328 additions and 18 deletions

View File

@ -2,7 +2,7 @@ local name = "regional_weather:deep_cave"
local conditions = {
max_light = 14,
--max_height = -100
max_height = -100
}
local effects = {}

View File

@ -11,9 +11,7 @@ local conditions = {
local effects = {}
effects["regional_weather:spawn_puddles"] = true
effects["regional_weather:lightning"] = true
effects["climate_api:damage"] = 1
effects["regional_weather:damage"] = 1
effects["climate_api:sound"] = {
name = "weather_hail",

View File

@ -10,8 +10,6 @@ local conditions = {
}
local effects = {}
effects["regional_weather:spawn_puddles"] = true
effects["regional_weather:wetten_farmland"] = true
effects["climate_api:sound"] = {
name = "weather_rain"

View File

@ -10,10 +10,6 @@ local conditions = {
local effects = {}
effects["regional_weather:spawn_puddles"] = true
effects["regional_weather:wetten_farmland"] = true
effects["regional_weather:lightning"] = true
effects["climate_api:sound"] = {
name = "weather_rain",
gain = 1

View File

@ -11,8 +11,6 @@ local conditions = {
local effects = {}
effects["regional_weather:spawn_snow"] = true
effects["climate_api:particles"] = {
min_pos = {x=-20, y= 3, z=-20},
max_pos = {x= 20, y=12, z= 20},