[currency] Update to Git patch d88f59a:
https://github.com/AntumDeluge/mtmod-currency/tree/d88f59amaster
parent
edb690d3f0
commit
438859c2b3
|
@ -500,7 +500,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
|||
[patch.craftguide]: https://github.com/AntumDeluge/mtmod-craftguide/tree/44c2e03
|
||||
[patch.creeper]: https://github.com/AntumDeluge/mtmod-creeper/tree/dc9ffbe
|
||||
[patch.crops]: https://github.com/AntumDeluge/mtmod-crops/tree/f8b33ae
|
||||
[patch.currency]: https://github.com/AntumDeluge/mtmod-currency/tree/29f4eda
|
||||
[patch.currency]: https://github.com/AntumDeluge/mtmod-currency/tree/d88f59a
|
||||
[patch.drawers]: https://github.com/AntumDeluge/mtmod-drawers/tree/3887c5b
|
||||
[patch.ethereal]: https://github.com/AntumDeluge/mtmod-ethereal/tree/4be06f0
|
||||
[patch.farming_plus]: https://github.com/AntumDeluge/mtmod-farming_plus/tree/c9c3a3a
|
||||
|
|
|
@ -33,6 +33,8 @@ default.shop.formspec = {
|
|||
end,
|
||||
}
|
||||
|
||||
local have_pipeworks = minetest.global_exists("pipeworks")
|
||||
|
||||
default.shop.check_privilege = function(listname,playername,meta)
|
||||
--[[if listname == "pl1" then
|
||||
if playername ~= meta:get_string("pl1") then
|
||||
|
@ -104,9 +106,9 @@ minetest.register_node("currency:shop", {
|
|||
inv:set_size("stock", 3*2)
|
||||
inv:set_size("owner_wants", 3*2)
|
||||
inv:set_size("owner_gives", 3*2)
|
||||
if minetest.get_modpath("pipeworks") then pipeworks.after_place(pos) end
|
||||
if have_pipeworks then pipeworks.after_place(pos) end
|
||||
end,
|
||||
after_dig_node = (pipeworks and pipeworks.after_dig),
|
||||
after_dig_node = (have_pipeworks and pipeworks and pipeworks.after_dig),
|
||||
tube = {
|
||||
insert_object = function(pos, node, stack, direction)
|
||||
local meta = minetest.get_meta(pos)
|
||||
|
|
Loading…
Reference in New Issue