summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-07-19 17:25:24 +0200
committerWuzzy <almikes@aol.com>2016-07-19 17:25:24 +0200
commit20b5bd94fb4e3bfe6fa8cb51f6de07baf8ea032f (patch)
tree37feb3708fd7c8c4460e6fa8c09b8e562d618c70
parent2b12f34c286504b295550c3e0fc66e3d047562fc (diff)
Add more help texts, minor bugfixes
-rw-r--r--helptexts.lua6
-rw-r--r--init.lua10
2 files changed, 9 insertions, 7 deletions
diff --git a/helptexts.lua b/helptexts.lua
index e001f19..fb07a57 100644
--- a/helptexts.lua
+++ b/helptexts.lua
@@ -95,9 +95,9 @@ help.longdesc = {
["tnt:tnt"] = "An explosive device. When it explodes, it will hurt living beings, destroy blocks around it, and set flammable blocks on fire. With a small chance, blocks may drop as an item rather than being destroyed. TNT can be ignited by explosions and fire.",
["tnt:gunpowder"] = "Gunpowder is used to craft TNT and to create gunpowder trails which can be ignited.",
- ["fire:basic_flame"] = "Fire is a damaging and destructive but short-lived kind of block. It will destroy and spread towards near flammable blocks, but fire will disappear if there is nothing to burn left. Fire will be extinguished by water and other blocks if it is next to it. A single fire block can be destroyed safely by punching it, but it is hurtful if you stand directly in fire.",
+ ["fire:basic_flame"] = "The basic flame is a damaging and destructive but short-lived kind of block. It will destroy and spread towards near flammable blocks, but fire will disappear if there is nothing to burn left. It will be extinguished by water and other blocks if it is next to it. A single basic flame block can be destroyed safely by punching it, but it is hurtful if you stand directly in it.",
+ ["fire:permanent_flame"] = "The permanent flame is a damaging and destructive block. It will create basic flames next to it if flammable blocks are nearby. Other than the basic flame, the permanent flame will not go away by time alone. Permanent flames will be extinguished by water and similar blocks if it is next to it. A single permanent flame block can be destroyed safely by punching it, but it is hurtful if you stand directly in it.",
- ["bedrock2:bedrock"] = "If you have found this block then you have reached the bottom of the world. Bedrock cannot be moved, altered or destroyed by any means.",
["doors:trapdoor"] = "A trapdoor covers a hole in the floor and can be opened manually to access the area below it. An opened trapdoor can be climbed like a ladder.",
@@ -154,6 +154,6 @@ help.usagehelp = {
}
help.generation = {
- ["default:nyancat"] = "These blocks are extremely rare. It has been said that it would take an adventurer several years to even find once of these Nyan Cats. Nyan Cats can appear anywhere, it is completely random. However, Nyan Cats are always followed by a trail of Nyan Cat Rainbows.",
+ ["default:nyancat"] = "These blocks are extremely rare. It has been said that it would take an adventurer several years to even find one of these Nyan Cats. Nyan Cats can appear anywhere, it is completely random. However, Nyan Cats are always followed by a trail of Nyan Cat Rainbows.",
["default:nyancat_rainbow"] = "These blocks are extremely rare. They only appear behind a Nyan Cat, which itself can appear randomly anywhere.",
}
diff --git a/init.lua b/init.lua
index 6169407..76b1074 100644
--- a/init.lua
+++ b/init.lua
@@ -7,10 +7,12 @@ local forced_nodes = {
"farming:soil_wet",
"farming:desert_sand_soil",
"farming:desert_sand_soil_wet",
+ "fire:basic_flame",
}
local item_name_overrides = {
["screwdriver:screwdriver"] = "Screwdriver",
+ ["fire:basic_flame"] = "Fire",
}
local groups_to_string = function(grouptable)
@@ -59,7 +61,7 @@ doc.new_category("nodes", {
if liquid then
local range, renew, viscos
if data.def.liquid_range then range = data.def.liquid_range else range = 8 end
- if data.def.liquid_renewable then range = data.def.liquid_renewable else renew = true end
+ if data.def.liquid_renewable ~= nil then renew = data.def.liquid_renewable else renew = true end
if data.def.liquid_viscosity then viscos = data.def.liquid_viscosity else viscosity = 0 end
formstring = formstring .. "Liquid range: "..range.. "\n"
formstring = formstring .. "Liquid viscosity: "..viscos.. "\n"
@@ -135,16 +137,16 @@ doc.new_category("nodes", {
local fdap = data.def.groups.fall_damage_add_percent
if fdap ~= nil then
if fdap > 0 then
- formstring = formstring .. "The fall damage is "..fdap.."% higher on this block.\n"
+ formstring = formstring .. "The fall damage on this block is increased by "..fdap.."%.\n"
elseif fdap == -100 then
formstring = formstring .. "This block negates all fall damage.\n"
else
- formstring = formstring .. "The fall damage is "..math.abs(fdap).."% lower on this block.\n"
+ formstring = formstring .. "The fall damage on this block is reduced by "..math.abs(fdap).."%.\n"
end
end
local bouncy = data.def.groups.bouncy
if bouncy ~= nil then
- formstring = formstring .. "You will bounce on this block with a bounce speed of "..bouncy.."%.\n"
+ formstring = formstring .. "This block will make you bounce off with an elasticity of "..bouncy.."%.\n"
end
formstring = formstring .. "\n"