translate.google.com wrote:Hackeridze wrote:...
Пажди мы парталы падпилим, патом пасмотриш скажиш.
Pazhdi we partaly padpilim, pasmotrish skazhish stalemate.
WTF!?
translate.google.com wrote:Hackeridze wrote:...
Пажди мы парталы падпилим, патом пасмотриш скажиш.
Pazhdi we partaly padpilim, pasmotrish skazhish stalemate.
Baŝto wrote:translate.google.com wrote:Hackeridze wrote:...
Пажди мы парталы падпилим, патом пасмотриш скажиш.
Pazhdi we partaly padpilim, pasmotrish skazhish stalemate.
WTF!?
Nemo08 wrote:its uigur language!Baŝto wrote:translate.google.com wrote:Pazhdi we partaly padpilim, pasmotrish skazhish stalemate.
WTF!?
He mean: Wait, we do portals, then take a look.
cisoun wrote:'sup!
Just FYI: you should take a look at Jachoo's fork which provides portals (with acceleration support like Portal). Should be inspiring.
function split(str,sep)
local ret={}
local i=1
repeat
--skip the separator repeated at the begining of search
while str:find(sep,i,true)==i do i=i+sep:len() end
--end it if we reached the end of the string
if i>=str:len() then break end
startPos=i
endPos=str:find(sep,i,true)
if endPos then
element=str:sub(startPos,endPos-1)
i=endPos
else
element=str:sub(startPos)
end
table.insert(ret,element)
until endPos==nil
return ret
end
check_activated_portal_integrity = function(pos)
block = split(minetest.env:get_node({x = pos.x,y = pos.y-0.2,z = pos.z}).name, "_")
if block[1]~="portal:baph" then return false; end
-- poc = pos corrected
poc = {z = pos.z+(((math.floor((math.floor(block[2])-1)/3))-1)*-1),y=pos.y,x = pos.x+((math.mod((math.floor(block[2])-1),3)-1)*-1)}
local co = 1
for i=-1,1 do
for j=-1,1 do
p = {x = poc.x+j,y = poc.y-0.2,z = poc.z+i}
if minetest.env:get_node(p).name~="portal:baph_" .. co .. "_act" then return false; end
co = co +1
end
end
return true
end
cisoun wrote:'sup!
Just FYI: you should take a look at Jachoo's fork which provides portals (with acceleration support like Portal). Should be inspiring.
Users browsing this forum: No registered users and 10 guests