diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2012-08-22 08:32:20 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2012-08-22 08:32:20 -0400 |
commit | c66afa06082ab249de8be9a3e9b37d7f0abb4855 (patch) | |
tree | 0edbd1ada020a62d84370786f62821aa15c23db4 | |
parent | 70ea341bf5cbe63702d02fa24f52e0268fbb3a4d (diff) | |
download | pipeworks-c66afa06082ab249de8be9a3e9b37d7f0abb4855.tar pipeworks-c66afa06082ab249de8be9a3e9b37d7f0abb4855.tar.gz pipeworks-c66afa06082ab249de8be9a3e9b37d7f0abb4855.tar.bz2 pipeworks-c66afa06082ab249de8be9a3e9b37d7f0abb4855.tar.xz pipeworks-c66afa06082ab249de8be9a3e9b37d7f0abb4855.zip |
tweak storgae tank descriptions to read "empty" on 0% full.
-rw-r--r-- | devices.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devices.lua b/devices.lua index 5964bf8..1991d10 100644 --- a/devices.lua +++ b/devices.lua @@ -330,15 +330,15 @@ minetest.register_node("pipeworks:outlet", { -- tank for fill = 0, 10 do if fill == 0 then - filldesc="" + filldesc="empty" sgroups = {snappy=3, pipe=1, tankfill=fill+1} else - filldesc=fill + filldesc=fill.."0% full" sgroups = {snappy=3, pipe=1, tankfill=fill+1, not_in_creative_inventory=1} end minetest.register_node("pipeworks:storage_tank_"..fill.."_x", { - description = "Fluid Storage Tank ("..filldesc.."0% full)", + description = "Fluid Storage Tank ("..filldesc..")", tiles = { "pipeworks_storage_tank_fittings.png", "pipeworks_storage_tank_fittings.png", @@ -367,7 +367,7 @@ for fill = 0, 10 do }) minetest.register_node("pipeworks:storage_tank_"..fill.."_z", { - description = "Fluid Storage Tank (Z axis, "..filldesc.."0% full)... You hacker, you.", + description = "Fluid Storage Tank (Z axis, "..filldesc..")... You hacker, you.", tiles = { "pipeworks_storage_tank_fittings.png", "pipeworks_storage_tank_fittings.png", |