From 49e7449d7fefb17ab49e52802a1b0d60e3b69f8f Mon Sep 17 00:00:00 2001 From: ancientmarinerdev Date: Sat, 2 Sep 2023 12:55:32 +0100 Subject: [PATCH] Implement feedback and add credit --- mods/ITEMS/mcl_campfires/README.md | 1 + mods/ITEMS/mcl_campfires/api.lua | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/mods/ITEMS/mcl_campfires/README.md b/mods/ITEMS/mcl_campfires/README.md index 8747aa7e3..afcf2f15b 100644 --- a/mods/ITEMS/mcl_campfires/README.md +++ b/mods/ITEMS/mcl_campfires/README.md @@ -9,6 +9,7 @@ Authors: Gerold55 - Code Start + Models? PrairieWind - Improved and Cleaned Up Code, and added the soul campfire and crafting recipes. cora - Added burning damage. +AncientMariner - Changed smoke to particle spawner and tweaked particle configuration. License of media ---------------- diff --git a/mods/ITEMS/mcl_campfires/api.lua b/mods/ITEMS/mcl_campfires/api.lua index 137fc9a0c..8b14255ce 100644 --- a/mods/ITEMS/mcl_campfires/api.lua +++ b/mods/ITEMS/mcl_campfires/api.lua @@ -187,7 +187,7 @@ local function create_smoke_partspawner (pos, constructor) if haybale then smoke_timer = 8 else - smoke_timer = 4.75 + smoke_timer = 3 end local spawner_id = minetest.add_particlespawner({ @@ -209,18 +209,18 @@ local function create_smoke_partspawner (pos, constructor) texpool = { "mcl_campfires_particle_1.png"; { name = "mcl_campfires_particle_1.png", fade = "out" }, - { name = "mcl_campfires_particle_2.png" }, - { name = "mcl_campfires_particle_3.png" }, - { name = "mcl_campfires_particle_4.png" }, - { name = "mcl_campfires_particle_5.png" }, - { name = "mcl_campfires_particle_6.png" }, - { name = "mcl_campfires_particle_7.png" }, - { name = "mcl_campfires_particle_8.png" }, - { name = "mcl_campfires_particle_9.png" }, - { name = "mcl_campfires_particle_10.png" }, - { name = "mcl_campfires_particle_11.png" }, - { name = "mcl_campfires_particle_11.png" }, - { name = "mcl_campfires_particle_12.png" }, + { name = "mcl_campfires_particle_2.png", fade = "out" }, + { name = "mcl_campfires_particle_3.png", fade = "out" }, + { name = "mcl_campfires_particle_4.png", fade = "out" }, + { name = "mcl_campfires_particle_5.png", fade = "out" }, + { name = "mcl_campfires_particle_6.png", fade = "out" }, + { name = "mcl_campfires_particle_7.png", fade = "out" }, + { name = "mcl_campfires_particle_8.png", fade = "out" }, + { name = "mcl_campfires_particle_9.png", fade = "out" }, + { name = "mcl_campfires_particle_10.png", fade = "out" }, + { name = "mcl_campfires_particle_11.png", fade = "out" }, + { name = "mcl_campfires_particle_11.png", fade = "out" }, + { name = "mcl_campfires_particle_12.png", fade = "out" }, } })