Skip to content

Commit

Permalink
Fix Particle errors #81
Browse files Browse the repository at this point in the history
Unfortunately [fill is only available from v5.8 onwards

ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "")
ERROR[Main]: generateImagePart(): baseime == NUL for part_of_name="[colorize:#FB0:255", cancelling.
ERROR[Main]: generateImage(): Failed to generate "[colorize:#FB09:255"
ERROR[Main]: part of texture "^[colorize:#FB0:255"
ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "^[colorize:#FB0:255")
  • Loading branch information
Treer committed Dec 7, 2024
1 parent bd28f97 commit 685761b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions mod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ name = nether
description = Adds a deep underground realm with different mapgen that you can reach with obsidian portals.
depends = stairs, default
optional_depends = toolranks, moreblocks, mesecons, loot, dungeon_loot, doc_basics, fire, climate_api, ethereal, xpanes, walls
min_minetest_version = 5.8
8 changes: 4 additions & 4 deletions nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -668,11 +668,11 @@ local function smash_lava_crust(pos, playsound)
maxexptime = 1,
minsize = .2,
maxsize = .8,
texture = "^[colorize:#A00:255",
texture = "[fill:1x1:#A00",
glow = 8
}
minetest.add_particlespawner(lava_particlespawn_def)
lava_particlespawn_def.texture = "^[colorize:#FB0:255"
lava_particlespawn_def.texture = "[fill:1x1:#FB0"
lava_particlespawn_def.maxvel.y = 3
lava_particlespawn_def.glow = 12
minetest.add_particlespawner(lava_particlespawn_def)
Expand Down Expand Up @@ -874,11 +874,11 @@ local function fumarole_onTimer(pos, elapsed)
maxexptime = 1.4,
minsize = .2,
maxsize = .8,
texture = "^[colorize:#A00:255",
texture = "[fill:1x1:#A00",
glow = 8
}
minetest.add_particlespawner(embers_particlespawn_def)
embers_particlespawn_def.texture = "^[colorize:#A50:255"
embers_particlespawn_def.texture = "[fill:1x1:#A50"
embers_particlespawn_def.maxvel.y = 3
embers_particlespawn_def.glow = 12
minetest.add_particlespawner(embers_particlespawn_def)
Expand Down

0 comments on commit 685761b

Please sign in to comment.