mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-19 05:24:11 +02:00
Change stack size for snowballs and eggs (#4312)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4312 Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land> Co-authored-by: JoseDouglas26 <josedouglas20002014@gmail.com> Co-committed-by: JoseDouglas26 <josedouglas20002014@gmail.com>
This commit is contained in:
parent
add9cbe3bc
commit
067ad7b78b
@ -293,7 +293,7 @@ minetest.register_craftitem("mcl_throwing:snowball", {
|
|||||||
_doc_items_longdesc = S("Snowballs can be thrown or launched from a dispenser for fun. Hitting something with a snowball does nothing."),
|
_doc_items_longdesc = S("Snowballs can be thrown or launched from a dispenser for fun. Hitting something with a snowball does nothing."),
|
||||||
_doc_items_usagehelp = how_to_throw,
|
_doc_items_usagehelp = how_to_throw,
|
||||||
inventory_image = "mcl_throwing_snowball.png",
|
inventory_image = "mcl_throwing_snowball.png",
|
||||||
stack_max = 16,
|
stack_max = 64,
|
||||||
groups = { weapon_ranged = 1 },
|
groups = { weapon_ranged = 1 },
|
||||||
on_use = mcl_throwing.get_player_throw_function("mcl_throwing:snowball_entity"),
|
on_use = mcl_throwing.get_player_throw_function("mcl_throwing:snowball_entity"),
|
||||||
_on_dispense = mcl_throwing.dispense_function,
|
_on_dispense = mcl_throwing.dispense_function,
|
||||||
@ -306,7 +306,7 @@ minetest.register_craftitem("mcl_throwing:egg", {
|
|||||||
_doc_items_longdesc = S("Eggs can be thrown or launched from a dispenser and breaks on impact. There is a small chance that 1 or even 4 chicks will pop out of the egg."),
|
_doc_items_longdesc = S("Eggs can be thrown or launched from a dispenser and breaks on impact. There is a small chance that 1 or even 4 chicks will pop out of the egg."),
|
||||||
_doc_items_usagehelp = how_to_throw,
|
_doc_items_usagehelp = how_to_throw,
|
||||||
inventory_image = "mcl_throwing_egg.png",
|
inventory_image = "mcl_throwing_egg.png",
|
||||||
stack_max = 16,
|
stack_max = 64,
|
||||||
on_use = mcl_throwing.get_player_throw_function("mcl_throwing:egg_entity"),
|
on_use = mcl_throwing.get_player_throw_function("mcl_throwing:egg_entity"),
|
||||||
_on_dispense = mcl_throwing.dispense_function,
|
_on_dispense = mcl_throwing.dispense_function,
|
||||||
groups = { craftitem = 1 },
|
groups = { craftitem = 1 },
|
||||||
|
Loading…
Reference in New Issue
Block a user