diff options
author | Louis Royer <4259825-lroyer@users.noreply.gitlab.com> | 2020-02-18 17:34:52 +0000 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2020-02-18 17:34:52 +0000 |
commit | 62bc13078f4e93993ebf121cc9c74bc31a6e5d90 (patch) | |
tree | 359944bcd77a5ec36a32b1475e2818019e105956 /item_transport.lua | |
parent | 84d7104c66459d8785b95d2db5cc8f425a499d89 (diff) | |
download | pipeworks-62bc13078f4e93993ebf121cc9c74bc31a6e5d90.tar pipeworks-62bc13078f4e93993ebf121cc9c74bc31a6e5d90.tar.gz pipeworks-62bc13078f4e93993ebf121cc9c74bc31a6e5d90.tar.bz2 pipeworks-62bc13078f4e93993ebf121cc9c74bc31a6e5d90.tar.xz pipeworks-62bc13078f4e93993ebf121cc9c74bc31a6e5d90.zip |
Add translation support
- Created `locale/template.txt`
- Fixed some typos
- Replace some `print("[pipeworks]"..` with `pipeworks.logger()`
- Removed "You hacker, you" from descriptions
Diffstat (limited to 'item_transport.lua')
-rw-r--r-- | item_transport.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/item_transport.lua b/item_transport.lua index d3a13c5..7f9e241 100644 --- a/item_transport.lua +++ b/item_transport.lua @@ -61,7 +61,7 @@ local crunch_tube = function(pos, cnode, cmeta) local itemcount = tube_item_count[h] or 0 if itemcount > max_tube_limit then cmeta:set_string("the_tube_was", minetest.serialize(cnode)) - print("[Pipeworks] Warning - a tube at "..minetest.pos_to_string(pos).." broke due to too many items ("..itemcount..")") + pipeworks.logger("Warning - a tube at "..minetest.pos_to_string(pos).." broke due to too many items ("..itemcount..")") minetest.swap_node(pos, {name = "pipeworks:broken_tube_1"}) pipeworks.scan_for_tube_objects(pos) end |