From 146ce6abfb6f38bae85f75ac7643cbb3461bb848 Mon Sep 17 00:00:00 2001 From: Och Noe Date: Wed, 29 May 2019 16:53:43 +0200 Subject: [PATCH] better descriptions for the paths --- init.lua | 6 ++++-- textures/advtrains_platform_version_node.png | Bin 691 -> 718 bytes version_info | 8 +++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index 9741f61..0bfd8cd 100644 --- a/init.lua +++ b/init.lua @@ -187,12 +187,14 @@ for nr = 1,#path_names do local f = lengths[2] -- "front" in 1/10 nodes local h = string.format(":"..path_names[nr] .."path_track_%02d%02d",b,f) + local d = string.format(path_names[nr] .."path %02d-%02d",b,f) local h2 = string.format(":"..path_names[nr] .."path_track_narrow_%02d%02d",b,f) + local d2 = string.format(path_names[nr] .."path (narrow) %02d-%02d",b,f) minetest.register_node(own_name..h, { tiles = { tile_name[nr], }, - description = h, + description = d, drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -213,7 +215,7 @@ for nr = 1,#path_names do minetest.register_node(own_name..h2, { tiles = { tile_name[nr], }, - description = h2, + description = d2, drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", diff --git a/textures/advtrains_platform_version_node.png b/textures/advtrains_platform_version_node.png index 6d4de2da8205cba4b54a4f04028cf2c538d5d487..e5fc0c30d4adf334dae7e5d0492680253569bac6 100644 GIT binary patch delta 676 zcmdnYdX9C1S$(soi(^PeL0-1FAVc$cSmrDD@JC8rs&&U$iZ@`?+CrqA5JdH3WJ^Grim7XJN> z6PEKIt}oyBM&|6EXAX{?T>R}wjJ9TOt&A^ZzN| zXD9wWclGO2wCX$GAyZVbDbiz}vx?9wwJ+SEq zo1QATcD4D%r(c~#;2D*t#5zsmrtk5ayHVoU_iUR;(-Dm=raC!OIw%fLS%UNB#8ll;41ua3W2_c&%-sNTLhAvflnm5lQY^?ghAetvpowf^bX%TJ>={z+W? zcF&(FJJ)Ouueg@^*Hre5-*RycqJb<(<%|6b_cPA;XgJ@~?#31dAn* zAMUq~-{j`K-ZUU!(cN}osVf=3XBE3GTKMT!g+qx8>-Tjpeg(x-g@R-+R^z_ zE4TQi-G1qP@xs}z{n_gyMa=4xPHjrwwl;p3f2rNg!2Bz5ea2`{Z*cpEe(QkyAh6?!M2z9$hwCCVwdWS&UDA(3d~wd3*GZ zN=K9}Ek4<@Q{vQm6;JW!kLK>3v-~655iS!8rc!(JOHc0RWL#_rwQQo8EZ ziZ&jKDVcvQ*koe2<=LalkM4|2-Z|rP%#PeMmtFMICUi&rpQ2x9Q8`sA;pSKS3mVf4 zr<@l5B<*`CLQl+e%LYcrx}UQqFWJndBeeR$2M)7$Q~iF&ZvD4NV7}?8qZ5^+pDb$I z`;0L=Fx1~BY)ZH9qx1>gzczk-HlfsWwMxd6Zk2k)=9nuN@}l1LpNvi38If|*Ah*21 zxx69$OwVPF>9&!l+y3i?7ccGq9sBs{^CQW+ao-kQ{*`SNH}9N&07>9Ny>mVD>jOsJ UcM8{9F#v(5tDnm{C#HlZ0A-v)b^rhX diff --git a/version_info b/version_info index a24c2ac..30a7fd0 100755 --- a/version_info +++ b/version_info @@ -1,14 +1,16 @@ #!/bin/bash -ls -1r *.lua *.txt | head -12 >.filelist +find *.lua *.txt textures -type f | fgrep -v textures/advtrains_platform_version_node.png | head -12 >.filelist -echo "$(date --iso=m) [$(basename "$(realpath . )")]" >.datelist +echo -n "" >.datelist cat .filelist | while read line ; do echo "$(date --iso=m -r ${line}) ${line}" >>.datelist done -anytopnm .datelist >.image + + +(echo "$(date --iso=m) [$(basename "$(realpath . )")]" ; cat .datelist | sed 's/ textures/ t/' | sort -r ) | anytopnm >.image WIDTH=$(head -2 .image | tail -1 | awk '{ print $1 }') HEIGHT=$(head -2 .image | tail -1 | awk '{ print $2 }')