1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-26 18:21:04 +00:00

Rename minetest.* to core.* in devtest

This commit is contained in:
Lars Müller 2024-10-28 15:57:54 +01:00 committed by GitHub
parent d849d51c2d
commit 88c7a54e08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
78 changed files with 914 additions and 914 deletions

View file

@ -1,9 +1,9 @@
-- Performance test mesh nodes
local S = minetest.get_translator("testnodes")
local S = core.get_translator("testnodes")
-- Complex mesh
minetest.register_node("testnodes:performance_mesh_clip", {
core.register_node("testnodes:performance_mesh_clip", {
description = S("Performance Test Node") .. "\n" .. S("Marble with 'clip' transparency"),
drawtype = "mesh",
mesh = "testnodes_marble_glass.obj",
@ -15,7 +15,7 @@ minetest.register_node("testnodes:performance_mesh_clip", {
})
-- Complex mesh, alpha blending
minetest.register_node("testnodes:performance_mesh_blend", {
core.register_node("testnodes:performance_mesh_blend", {
description = S("Performance Test Node") .. "\n" .. S("Marble with 'blend' transparency"),
drawtype = "mesh",
mesh = "testnodes_marble_glass.obj",
@ -27,7 +27,7 @@ minetest.register_node("testnodes:performance_mesh_blend", {
})
-- Overlay
minetest.register_node("testnodes:performance_overlay_clip", {
core.register_node("testnodes:performance_overlay_clip", {
description = S("Performance Test Node") .. "\n" .. S("Marble with overlay with 'clip' transparency") .. "\n" .. S("Palette for demonstration"),
drawtype = "mesh",
mesh = "testnodes_marble_metal.obj",
@ -43,7 +43,7 @@ minetest.register_node("testnodes:performance_overlay_clip", {
})
-- Overlay
minetest.register_node("testnodes:performance_overlay_blend", {
core.register_node("testnodes:performance_overlay_blend", {
description = S("Performance Test Node") .. "\n" .. S("Marble with overlay with 'blend' transparency") .. "\n" .. S("Palette for demonstration"),
drawtype = "mesh",
mesh = "testnodes_marble_metal.obj",