1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

remove files that aren't supposed to be on this branch

This commit is contained in:
Xeno333 2025-06-11 00:35:32 -05:00
parent 8564434954
commit c3391e4ff1
4 changed files with 0 additions and 54 deletions

View file

@ -1,23 +0,0 @@
Imported from 1042 with modifications
MIT Licesnse:
Copyright (c) 2024 Xeno333
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -1 +0,0 @@
core.register_mapgen_script(core.get_modpath("superflat") .. "/mapgen.lua")

View file

@ -1,4 +0,0 @@
name = superflat
title = Superflat
description = Example mapgen with superflat world.
author = TX_Miner/Xeno333

View file

@ -1,26 +0,0 @@
local stone = core.get_content_id("mapgen_stone")
core.register_on_generated(function(vm, minp, maxp, seed)
local emin, emax = vm:get_emerged_area()
local area = VoxelArea(emin, emax)
local data = vm:get_data()
local ly = 0
for y = minp.y, maxp.y do
ly = ly + 1
local lz = 0
for z = minp.z, maxp.z do
lz = lz + 1
local vi = area:index(minp.x, y, z)
local lx = 0
for x = minp.x, maxp.x do
if y == -1 then
data[vi] = stone
end
vi = vi + 1
end
end
end
vm:set_data(data)
end)