mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2024-12-25 02:10:37 +01:00
mineclone compatibility fixes
This commit is contained in:
parent
cf89421748
commit
c446bd66d4
@ -172,7 +172,7 @@ minetest.register_node("bubblesponge:frond", {
|
|||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
groups = {snappy=3, oddly_breakable_by_hand = 1, handy = 1, not_in_creatove_inventory=1},
|
groups = {snappy=3, oddly_breakable_by_hand = 1, handy = 1, not_in_creatove_inventory=1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = df_dependencies.sound_leaves(),
|
||||||
drop = "bubblesponge:tank",
|
drop = "bubblesponge:tank",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ local cairn_loot = function(pos, player)
|
|||||||
minetest.chat_send_player(player_name, S("You've found all of the collectible items contained in cairns like this one"))
|
minetest.chat_send_player(player_name, S("You've found all of the collectible items contained in cairns like this one"))
|
||||||
minetest.show_formspec(player_name, "collectible_lore:cairn_inventory", get_cairn_formspec(pos))
|
minetest.show_formspec(player_name, "collectible_lore:cairn_inventory", get_cairn_formspec(pos))
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
local leftover = player:get_inventory():add_item("main", "collectible_lore:satchel")
|
local leftover = player:get_inventory():add_item("main", "collectible_lore:satchel")
|
||||||
if not leftover:is_empty() then
|
if not leftover:is_empty() then
|
||||||
@ -244,7 +244,6 @@ minetest.register_craftitem("collectible_lore:satchel", {
|
|||||||
_doc_items_longdesc = S("A satchel containing various documents you've recovered in your travels."),
|
_doc_items_longdesc = S("A satchel containing various documents you've recovered in your travels."),
|
||||||
_doc_items_usagehelp = S("The documents and lore you've unlocked are not tied to a specific satchel, any satchel will let you view your personal collection."),
|
_doc_items_usagehelp = S("The documents and lore you've unlocked are not tied to a specific satchel, any satchel will let you view your personal collection."),
|
||||||
inventory_image = "collectible_lore_satchel.png",
|
inventory_image = "collectible_lore_satchel.png",
|
||||||
stack_max = 99,
|
|
||||||
on_use = function(itemstack, user, pointed_thing)
|
on_use = function(itemstack, user, pointed_thing)
|
||||||
local player_name = user:get_player_name()
|
local player_name = user:get_player_name()
|
||||||
minetest.show_formspec(player_name, "collectible_lore:formspec", get_formspec_for_player(player_name))
|
minetest.show_formspec(player_name, "collectible_lore:formspec", get_formspec_for_player(player_name))
|
||||||
|
Loading…
Reference in New Issue
Block a user