Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Illuna-Minetest
minetest_game
Commits
87a1e37d
Commit
87a1e37d
authored
Sep 03, 2012
by
Perttu Ahola
Browse files
Update invsize[8,9;] -> size[8,9]
parent
6ad1d56b
Changes
1
Hide whitespace changes
Inline
Side-by-side
mods/default/init.lua
View file @
87a1e37d
...
...
@@ -1169,7 +1169,7 @@ minetest.register_node("default:chest", {
on_construct
=
function
(
pos
)
local
meta
=
minetest
.
env
:
get_meta
(
pos
)
meta
:
set_string
(
"formspec"
,
"
inv
size[8,9
;
]"
..
"size[8,9]"
..
"list[current_name;main;0,0;8,4;]"
..
"list[current_player;main;0,5;8,4;]"
)
meta
:
set_string
(
"infotext"
,
"Chest"
)
...
...
@@ -1219,7 +1219,7 @@ minetest.register_node("default:chest_locked", {
on_construct
=
function
(
pos
)
local
meta
=
minetest
.
env
:
get_meta
(
pos
)
meta
:
set_string
(
"formspec"
,
"
inv
size[8,9
;
]"
..
"size[8,9]"
..
"list[current_name;main;0,0;8,4;]"
..
"list[current_player;main;0,5;8,4;]"
)
meta
:
set_string
(
"infotext"
,
"Locked Chest"
)
...
...
@@ -1280,7 +1280,7 @@ minetest.register_node("default:chest_locked", {
})
default
.
furnace_inactive_formspec
=
"
inv
size[8,9
;
]"
..
"size[8,9]"
..
"image[2,2;1,1;default_furnace_fire_bg.png]"
..
"list[current_name;fuel;2,3;1,1;]"
..
"list[current_name;src;2,1;1,1;]"
..
...
...
@@ -1419,7 +1419,7 @@ minetest.register_abm({
meta
:
set_string
(
"infotext"
,
"Furnace active: "
..
percent
..
"%"
)
hacky_swap_node
(
pos
,
"default:furnace_active"
)
meta
:
set_string
(
"formspec"
,
"
inv
size[8,9
;
]"
..
"size[8,9]"
..
"image[2,2;1,1;default_furnace_fire_bg.png^[lowpart:"
..
(
100
-
percent
)
..
":default_furnace_fire_fg.png]"
..
"list[current_name;fuel;2,3;1,1;]"
..
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment