Minor fixes code and license

This commit is contained in:
MoNTE48 2019-08-24 23:49:14 +02:00 committed by MoNTE48
parent f58d264d98
commit 3f498eabf1
8 changed files with 23 additions and 5 deletions

View File

@ -133,7 +133,7 @@ local craft_ingreds = {
steel = "default:steel_ingot",
gold = "default:gold_ingot",
diamond = "default:diamond",
chain = "fire:fire"
chain = "fire:basic_flame"
}
for k, v in pairs(craft_ingreds) do

View File

@ -24,7 +24,7 @@ local function pp_on_timer(pos, elapsed)
mesecon.receptor_off(pos, mesecon.rules.pplate)
elseif node.name == basename .. "_off" then
for k, obj in pairs(objs) do
local objpos = obj:getpos()
local objpos = obj:get_pos()
if objpos.y > pos.y-1 and objpos.y < pos.y then
minetest.set_node(pos, {name = basename .. "_on"})
mesecon.receptor_on(pos, mesecon.rules.pplate )

View File

@ -0,0 +1,9 @@
MultiCraft Game mod: bonusbox
=============================
License of source code and textures:
------------------------------------
Copyright (C) MultiCraft Development Team
This mod (code and graphics) is NOT free and can only be used as part of the official MultiCraft build.
Allowed to be used in non-official builds ONLY for personal use.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -234,6 +234,11 @@ Bedside Table = Прикроватный Стол
End Table = Тумбочка
Coffee Table = Кофейный Столик
Birch = Берёзов.
Pine = Соснов.
Acacia = Акациев.
Wooden = Яблочн.
Jungle Wood = Джунгли
#itemframe
Item frame = Рамка
@ -290,6 +295,10 @@ Sponge = Губка
Wet Sponge = Влажная Губка
#player_api
Your last coordinates: = Ваши последние координаты:
#throwing
Bow = Лук
Bow with arrow = Лук со Стрелой

View File

@ -34,7 +34,7 @@ mobs:register_mob("mobs_animal:wolf", {
on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 2, false, true) then
if self.food == 0 then
local mob = minetest.add_entity(self.object:getpos(), "mobs_animal:dog")
local mob = minetest.add_entity(self.object:get_pos(), "mobs_animal:dog")
local ent = mob:get_luaentity()
ent.owner = clicker:get_player_name()
ent.following = clicker

View File

@ -17,7 +17,7 @@ function return_empty_bottle(potiondef, user, itemstack)
if inventory:room_for_item("main", "vessels:glass_bottle") then
inventory:add_item("main", "vessels:glass_bottle")
else
minetest.add_item(user:getpos(), empty_vessel)
minetest.add_item(user:get_pos(), empty_vessel)
end
end
return itemstack
@ -101,7 +101,7 @@ function pep.moledig(playername)
-- TODO: Remove this code as soon as Minetest fixes this.
yaw = yaw - math.pi/2
local pos = vector.round(player:getpos())
local pos = vector.round(player:get_pos())
local v = pep.yaw_to_vector(yaw)