Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
minetest_game
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
minetest_game
Commits
90f24e31
Commit
90f24e31
authored
8 years ago
by
paramat
Browse files
Options
Downloads
Patches
Plain Diff
Default: Remove unnecessary infotexts for chests and signs
parent
e7a55734
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mods/default/nodes.lua
+0
-3
0 additions, 3 deletions
mods/default/nodes.lua
with
0 additions
and
3 deletions
mods/default/nodes.lua
+
0
−
3
View file @
90f24e31
...
...
@@ -1447,7 +1447,6 @@ minetest.register_node("default:chest", {
on_construct
=
function
(
pos
)
local
meta
=
minetest
.
get_meta
(
pos
)
meta
:
set_string
(
"formspec"
,
chest_formspec
)
meta
:
set_string
(
"infotext"
,
"Chest"
)
local
inv
=
meta
:
get_inventory
()
inv
:
set_size
(
"main"
,
8
*
4
)
end
,
...
...
@@ -1498,7 +1497,6 @@ minetest.register_node("default:chest_locked", {
end
,
on_construct
=
function
(
pos
)
local
meta
=
minetest
.
get_meta
(
pos
)
meta
:
set_string
(
"infotext"
,
"Locked Chest"
)
meta
:
set_string
(
"owner"
,
""
)
local
inv
=
meta
:
get_inventory
()
inv
:
set_size
(
"main"
,
8
*
4
)
...
...
@@ -1636,7 +1634,6 @@ local function register_sign(material, desc, def)
--local n = minetest.get_node(pos)
local
meta
=
minetest
.
get_meta
(
pos
)
meta
:
set_string
(
"formspec"
,
"field[text;;${text}]"
)
meta
:
set_string
(
"infotext"
,
"
\"\"
"
)
end
,
on_receive_fields
=
function
(
pos
,
formname
,
fields
,
sender
)
--print("Sign at "..minetest.pos_to_string(pos).." got "..dump(fields))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment