Skip to content

Commit

Permalink
Remove code header comments in builtin files
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy2 committed Oct 28, 2024
1 parent 5b2b798 commit aad9cc1
Show file tree
Hide file tree
Showing 19 changed files with 0 additions and 35 deletions.
2 changes: 0 additions & 2 deletions builtin/client/chatcommands.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/client/chatcommands.lua

core.register_on_sending_chat_message(function(message)
if message:sub(1,2) == ".." then
return false
Expand Down
1 change: 0 additions & 1 deletion builtin/client/init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- Luanti: builtin/client/init.lua
local scriptpath = core.get_builtin_path()
local clientpath = scriptpath.."client"..DIR_DELIM
local commonpath = scriptpath.."common"..DIR_DELIM
Expand Down
2 changes: 0 additions & 2 deletions builtin/common/chatcommands.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/common/chatcommands.lua

-- For server-side translations (if INIT == "game")
-- Otherwise, use core.gettext
local S = core.get_translator("__builtin")
Expand Down
1 change: 0 additions & 1 deletion builtin/common/item_s.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- Luanti: builtin/item_s.lua
-- The distinction of what goes here is a bit tricky, basically it's everything
-- that does not (directly or indirectly) need access to ServerEnvironment,
-- Server or writable access to IGameDef on the engine side.
Expand Down
2 changes: 0 additions & 2 deletions builtin/common/misc_helpers.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/misc_helpers.lua

--------------------------------------------------------------------------------
-- Localize functions to avoid table lookups (better performance).
local string_sub, string_find = string.sub, string.find
Expand Down
2 changes: 0 additions & 2 deletions builtin/game/auth.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/auth.lua

--
-- Builtin authentication handler
--
Expand Down
2 changes: 0 additions & 2 deletions builtin/game/chat.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/game/chat.lua

local S = core.get_translator("__builtin")

-- Helper function that implements search and replace without pattern matching
Expand Down
2 changes: 0 additions & 2 deletions builtin/game/constants.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/constants.lua

--
-- Constants values for use with the Lua API
--
Expand Down
2 changes: 0 additions & 2 deletions builtin/game/deprecated.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/deprecated.lua

--
-- EnvRef
--
Expand Down
2 changes: 0 additions & 2 deletions builtin/game/detached_inventory.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/detached_inventory.lua

core.detached_inventories = {}

local create_detached_inventory_raw = core.create_detached_inventory_raw
Expand Down
2 changes: 0 additions & 2 deletions builtin/game/falling.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/item.lua

local builtin_shared = ...
local SCALE = 0.667

Expand Down
2 changes: 0 additions & 2 deletions builtin/game/features.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/features.lua

core.features = {
glasslike_framed = true,
nodebox_as_selectionbox = true,
Expand Down
2 changes: 0 additions & 2 deletions builtin/game/item.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/item.lua

local builtin_shared = ...

local function copy_pointed_thing(pointed_thing)
Expand Down
2 changes: 0 additions & 2 deletions builtin/game/item_entity.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/item_entity.lua

function core.spawn_item(pos, item)
-- Take item in any format
local stack = ItemStack(item)
Expand Down
2 changes: 0 additions & 2 deletions builtin/game/misc.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/misc.lua

local S = core.get_translator("__builtin")

--
Expand Down
1 change: 0 additions & 1 deletion builtin/game/misc_s.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- Luanti: builtin/misc_s.lua
-- The distinction of what goes here is a bit tricky, basically it's everything
-- that does not (directly or indirectly) need access to ServerEnvironment,
-- Server or writable access to IGameDef on the engine side.
Expand Down
2 changes: 0 additions & 2 deletions builtin/game/privileges.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/privileges.lua

local S = core.get_translator("__builtin")

--
Expand Down
2 changes: 0 additions & 2 deletions builtin/game/register.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/register.lua

local builtin_shared = ...
local S = core.get_translator("__builtin")

Expand Down
2 changes: 0 additions & 2 deletions builtin/game/static_spawn.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- Luanti: builtin/static_spawn.lua

local static_spawnpoint_string = core.settings:get("static_spawnpoint")
if static_spawnpoint_string and
static_spawnpoint_string ~= "" and
Expand Down

0 comments on commit aad9cc1

Please sign in to comment.