Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ unused_args = false

globals = {
"minetest",
"core",
}

read_globals = {
Expand Down
13 changes: 7 additions & 6 deletions init.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
local S = core.get_translator("ice")

-- Ice Brick

minetest.register_node("ice:brick", {
description = "Ice Brick",
core.register_node("ice:brick", {
description = S("Ice Brick"),
tiles = {
"ice_brick_tb.png",
"ice_brick_tb.png",
Expand All @@ -15,7 +16,7 @@ minetest.register_node("ice:brick", {
sounds = default.node_sound_ice_defaults(),
})

minetest.register_craft{
core.register_craft{
output = "ice:brick",
recipe = {
{"default:ice", "default:ice"},
Expand All @@ -28,14 +29,14 @@ minetest.register_craft{

walls.register(
"ice:wall",
"Ice Brick Wall",
S("Ice Brick Wall"),
"ice_brick_sides.png",
"ice:brick",
default.node_sound_ice_defaults()
)

-- Fix groups (ice is not stone)
minetest.override_item("ice:wall", {
core.override_item("ice:wall", {
groups = {cracky = 3, cools_lava = 1, slippery = 3, wall = 1}
})

Expand All @@ -44,7 +45,7 @@ minetest.override_item("ice:wall", {

doors.register("ice:door", {
tiles = {"ice_door.png"},
description = "Ice Door",
description = S("Ice Door"),
inventory_image = "ice_door_inv.png",
groups = {cracky = 3, cools_lava = 1, slippery = 3},
sounds = default.node_sound_ice_defaults(),
Expand Down
30 changes: 30 additions & 0 deletions locale/ice.de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# German translations for ice mod.
# Copyright (C) 2026
# This file is distributed under GPL-3.0..
# Automatically generated, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-05-30 19:51-0500\n"
"PO-Revision-Date: 2026-05-30 19:51-0500\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ASCII\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: init.lua:6
msgid "Ice Brick"
msgstr "Ziegel aus Eis"

#: init.lua:32
msgid "Ice Brick Wall"
msgstr "Ziegelmauer aus Eis"

#: init.lua:48
msgid "Ice Door"
msgstr "Tuer aus Eis"
30 changes: 30 additions & 0 deletions locale/ice.es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Spanish translations for ice mod.
# Copyright (C) 2026
# This file is distributed under GPL-3.0.
# Automatically generated, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-05-30 19:51-0500\n"
"PO-Revision-Date: 2026-05-30 19:51-0500\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ASCII\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: init.lua:6
msgid "Ice Brick"
msgstr "Ladrillo de hielo"

#: init.lua:32
msgid "Ice Brick Wall"
msgstr "Muro de ladrillo de hielo"

#: init.lua:48
msgid "Ice Door"
msgstr "Puerta de hielo"
30 changes: 30 additions & 0 deletions locale/ice.fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# French translations for ice mod.
# Copyright (C) 2026
# This file is distributed under GPL-3.0.
# Automatically generated, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-05-30 19:51-0500\n"
"PO-Revision-Date: 2026-05-30 19:51-0500\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ASCII\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#: init.lua:6
msgid "Ice Brick"
msgstr "Brique de glace"

#: init.lua:32
msgid "Ice Brick Wall"
msgstr "Mur de brique de glace"

#: init.lua:48
msgid "Ice Door"
msgstr "Porte de glace"
30 changes: 30 additions & 0 deletions locale/ice.it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Italian translations for ice mod.
# Copyright (C) 2026
# This file is distributed under GPL-3.0.
# Automatically generated, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-05-30 19:51-0500\n"
"PO-Revision-Date: 2026-05-30 19:51-0500\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ASCII\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: init.lua:6
msgid "Ice Brick"
msgstr "Mattonella di ghiaccio"

#: init.lua:32
msgid "Ice Brick Wall"
msgstr "Muro di mattonella di ghiaccio"

#: init.lua:48
msgid "Ice Door"
msgstr "Porta di ghiaccio"
28 changes: 28 additions & 0 deletions locale/ice.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright (C) 2026
# This file is distributed under GPL-3.0.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-05-30 19:51-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: init.lua:6
msgid "Ice Brick"
msgstr ""

#: init.lua:32
msgid "Ice Brick Wall"
msgstr ""

#: init.lua:48
msgid "Ice Door"
msgstr ""
1 change: 1 addition & 0 deletions mod.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name = ice
description = Adds more ice nodes
depends = default, walls, doors
min_minetest_version = 5.10