diff --git a/mods/ITEMS/mcl_signs/characters.txt b/mods/ITEMS/mcl_signs/characters.txt index 8574b781b9..3f597b20ca 100644 --- a/mods/ITEMS/mcl_signs/characters.txt +++ b/mods/ITEMS/mcl_signs/characters.txt @@ -283,3 +283,90 @@ _co ` _gr 2 +ä +_ae +5 +ë +_ee +5 +ï +_ie +5 +ö +_oe +5 +ü +_ue +5 +Ä +_ae_ +5 +Ë +_ee_ +5 +Ï +_ie_ +5 +Ö +_oe_ +5 +Ü +_ue_ +5 +ß +_sz +5 +× +_times_cross +5 +· +_times_dot +5 +÷ +_div +5 +» +_guill_right +5 +« +_guill_left +5 +¢ +_cent +5 +¿ +_qu_inv +5 +± +_plus_minus +5 +© +_copyright +5 +® +_registered +5 +¨ +_diaresis +5 +§ +_paragraph +5 +¦ +_broken_bar +5 +¥ +_yen +5 +¤ +_currency +5 +£ +_pound +5 +µ +_mu +5 +¡ +_ex_inv +5 diff --git a/mods/ITEMS/mcl_signs/init.lua b/mods/ITEMS/mcl_signs/init.lua index d009b287cc..7567f9a77c 100644 --- a/mods/ITEMS/mcl_signs/init.lua +++ b/mods/ITEMS/mcl_signs/init.lua @@ -56,8 +56,7 @@ local string_to_line_array = function(str) current = current + 1 tab[current] = "" linechar = 1 - -- This check cuts off overlong lines - elseif linechar <= LINE_LENGTH then + else tab[current] = tab[current]..char linechar = linechar + 1 end @@ -84,7 +83,7 @@ local generate_line = function(s, ypos) local width = 0 local chars = 0 local printed_char_width = CHAR_WIDTH + 1 - while chars <= LINE_LENGTH and i <= #s do + while chars < LINE_LENGTH and i <= #s do local file = nil -- Get and render character if charmap[s:sub(i, i)] ~= nil then diff --git a/mods/ITEMS/mcl_signs/textures/_ae.png b/mods/ITEMS/mcl_signs/textures/_ae.png new file mode 100644 index 0000000000..7f199e4775 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_ae.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_ae_.png b/mods/ITEMS/mcl_signs/textures/_ae_.png new file mode 100644 index 0000000000..e19fdf1c85 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_ae_.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_broken_bar.png b/mods/ITEMS/mcl_signs/textures/_broken_bar.png new file mode 100644 index 0000000000..c733fd862b Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_broken_bar.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_cent.png b/mods/ITEMS/mcl_signs/textures/_cent.png new file mode 100644 index 0000000000..ecdb1f1d14 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_cent.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_copyright.png b/mods/ITEMS/mcl_signs/textures/_copyright.png new file mode 100644 index 0000000000..7cfdf217ea Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_copyright.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_currency.png b/mods/ITEMS/mcl_signs/textures/_currency.png new file mode 100644 index 0000000000..1264c89455 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_currency.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_diaresis.png b/mods/ITEMS/mcl_signs/textures/_diaresis.png new file mode 100644 index 0000000000..d092503a61 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_diaresis.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_div.png b/mods/ITEMS/mcl_signs/textures/_div.png new file mode 100644 index 0000000000..8083437539 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_div.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_ee.png b/mods/ITEMS/mcl_signs/textures/_ee.png new file mode 100644 index 0000000000..646c19e141 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_ee.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_ee_.png b/mods/ITEMS/mcl_signs/textures/_ee_.png new file mode 100644 index 0000000000..5db7bc66ae Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_ee_.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_ex_inv.png b/mods/ITEMS/mcl_signs/textures/_ex_inv.png new file mode 100644 index 0000000000..1e7bbfe87e Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_ex_inv.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_guill_left.png b/mods/ITEMS/mcl_signs/textures/_guill_left.png new file mode 100644 index 0000000000..32b90c3e21 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_guill_left.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_guill_right.png b/mods/ITEMS/mcl_signs/textures/_guill_right.png new file mode 100644 index 0000000000..d372e6a855 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_guill_right.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_mu.png b/mods/ITEMS/mcl_signs/textures/_mu.png new file mode 100644 index 0000000000..3d8c1b8904 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_mu.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_oe.png b/mods/ITEMS/mcl_signs/textures/_oe.png new file mode 100644 index 0000000000..9b68921555 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_oe.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_oe_.png b/mods/ITEMS/mcl_signs/textures/_oe_.png new file mode 100644 index 0000000000..73b4da80ed Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_oe_.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_paragraph.png b/mods/ITEMS/mcl_signs/textures/_paragraph.png new file mode 100644 index 0000000000..52c162120b Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_paragraph.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_plus_minus.png b/mods/ITEMS/mcl_signs/textures/_plus_minus.png new file mode 100644 index 0000000000..e7c3f12003 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_plus_minus.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_pound.png b/mods/ITEMS/mcl_signs/textures/_pound.png new file mode 100644 index 0000000000..31d38d3928 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_pound.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_qu_inv.png b/mods/ITEMS/mcl_signs/textures/_qu_inv.png new file mode 100644 index 0000000000..757bd06db7 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_qu_inv.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_registered.png b/mods/ITEMS/mcl_signs/textures/_registered.png new file mode 100644 index 0000000000..9a78dda3c2 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_registered.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_sz.png b/mods/ITEMS/mcl_signs/textures/_sz.png new file mode 100644 index 0000000000..56d2847a15 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_sz.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_times_cross.png b/mods/ITEMS/mcl_signs/textures/_times_cross.png new file mode 100644 index 0000000000..25af91b680 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_times_cross.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_times_dot.png b/mods/ITEMS/mcl_signs/textures/_times_dot.png new file mode 100644 index 0000000000..42dac52bc9 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_times_dot.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_ue.png b/mods/ITEMS/mcl_signs/textures/_ue.png new file mode 100644 index 0000000000..6249aaebb8 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_ue.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_ue_.png b/mods/ITEMS/mcl_signs/textures/_ue_.png new file mode 100644 index 0000000000..3193a94129 Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_ue_.png differ diff --git a/mods/ITEMS/mcl_signs/textures/_yen.png b/mods/ITEMS/mcl_signs/textures/_yen.png new file mode 100644 index 0000000000..ec4ad65eef Binary files /dev/null and b/mods/ITEMS/mcl_signs/textures/_yen.png differ