mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-01-10 02:27:28 +01:00
d4ca99f09e
- empty fireworks now have a simple boom - fireworks with generic stars have a colorful boom
14 lines
474 B
Lua
14 lines
474 B
Lua
local S = minetest.get_translator(minetest.get_current_modname())
|
|
|
|
minetest.register_craftitem("vl_fireworks:firework_star", {
|
|
description = S("Firework Star"),
|
|
_doc_items_longdesc = S("A firework star is the key component of a firework rocket which is responsible for the visible explosion."),
|
|
wield_image = "vl_fireworks_star.png",
|
|
inventory_image = "vl_fireworks_star.png",
|
|
groups = { craftitem = 1 },
|
|
stack_max = 64,
|
|
})
|
|
|
|
-- TODO tt snippets
|
|
-- TODO image handlers
|