1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 23:10:17 +01:00

Add Basic Fire Description (#2568)

This commit is contained in:
IFRFSX 2020-04-12 02:50:49 +08:00 committed by GitHub
parent 695f98f213
commit 36b2bcb5f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -61,6 +61,7 @@ local fire_node = {
-- Basic flame node -- Basic flame node
local flame_fire_node = table.copy(fire_node) local flame_fire_node = table.copy(fire_node)
flame_fire_node.description = S("Fire")
flame_fire_node.groups.not_in_creative_inventory = 1 flame_fire_node.groups.not_in_creative_inventory = 1
flame_fire_node.on_timer = function(pos) flame_fire_node.on_timer = function(pos)
if not minetest.find_node_near(pos, 1, {"group:flammable"}) then if not minetest.find_node_near(pos, 1, {"group:flammable"}) then
@ -78,7 +79,7 @@ minetest.register_node("fire:basic_flame", flame_fire_node)
-- Permanent flame node -- Permanent flame node
local permanent_fire_node = table.copy(fire_node) local permanent_fire_node = table.copy(fire_node)
permanent_fire_node.description = S("Permanent Flame") permanent_fire_node.description = S("Permanent Fire")
minetest.register_node("fire:permanent_flame", permanent_fire_node) minetest.register_node("fire:permanent_flame", permanent_fire_node)

View File

@ -1,3 +1,4 @@
# textdomain: fire # textdomain: fire
Permanent Flame=永久火焰 Permanent Fire=永久火焰
Flint and Steel=火石和钢 Flint and Steel=火石和钢
Fire=火焰

View File

@ -1,3 +1,4 @@
# textdomain: fire # textdomain: fire
Permanent Flame=永久火焰 Permanent Fire=永久火焰
Flint and Steel=火石和鋼 Flint and Steel=火石和鋼
Fire=火焰