Add files via upload

master
AiTechEye 2022-07-13 18:36:54 +02:00 committed by GitHub
parent 2118d7eb7e
commit 62234d75d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 7 deletions

View File

@ -287,8 +287,8 @@ minetest.register_entity("map:map",{
local rad = 5
local s = 0.8
local ds = rad*2
local i = 0
for x=-rad,rad do
for z=-rad,rad do
table.insert(self.parts,{lpos={x=-x*s,y=-z*s,z=-0.01},pos={x=self.pos.x+(x*ds),y=self.pos.y,z=self.pos.z+(z*ds)}})
@ -394,12 +394,6 @@ minetest.register_entity("map:map",{
end
})
--minetest.register_chatcommand("t", { --using while testing
-- func = function(name, param)
-- map.t=tonumber(param)
-- end
--})
map.generate_texture=function(rad,pos,maxram)
pos=vector.round(pos)