diff options
author | Xanthin <Xanthin@users.noreply.github.com> | 2014-04-15 23:23:13 +0200 |
---|---|---|
committer | Xanthin <Xanthin@users.noreply.github.com> | 2014-04-15 23:23:13 +0200 |
commit | b9ea10d76e1b58b65a85552561a15e6826287e62 (patch) | |
tree | 99eaa40e6ecf16c22266c1ac0def350e9f2c67e0 | |
parent | 6557c46ead5d3a98c4b8b8fa0536d1ee2f680299 (diff) | |
parent | afe5ec461fe580b8a6dceda37136e18b7b3464fc (diff) | |
download | roads-b9ea10d76e1b58b65a85552561a15e6826287e62.tar roads-b9ea10d76e1b58b65a85552561a15e6826287e62.tar.gz roads-b9ea10d76e1b58b65a85552561a15e6826287e62.tar.bz2 roads-b9ea10d76e1b58b65a85552561a15e6826287e62.tar.xz roads-b9ea10d76e1b58b65a85552561a15e6826287e62.zip |
Merge pull request #1 from webdesigner97/master
update to latest version
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | asphalt/init.lua | 2 | ||||
-rw-r--r-- | asphalt/textures/streets_asphalt.old.png | bin | 7120 -> 0 bytes | |||
-rw-r--r-- | asphaltstairs/init.lua | 16 | ||||
-rw-r--r-- | constructionarea/init.lua | 6 | ||||
-rw-r--r-- | delineator/init.lua | 2 | ||||
-rw-r--r-- | emergencyphone/init.lua | 2 | ||||
-rw-r--r-- | labels/init.lua | 22 | ||||
-rw-r--r-- | manholes/init.lua | 6 | ||||
-rw-r--r-- | roadsigns/pole.lua | 4 | ||||
-rw-r--r-- | roadsigns/signs.lua | 38 | ||||
-rw-r--r-- | roadsigns/workshop.lua | 2 | ||||
-rw-r--r-- | roadworks/init.lua | 24 | ||||
-rw-r--r-- | steelsupport/init.lua | 2 | ||||
-rw-r--r-- | streetlamps/init.lua | 10 | ||||
-rw-r--r-- | streetsconcrete/init.lua | 14 | ||||
-rw-r--r-- | streetshotfix/init.lua | 5 | ||||
-rw-r--r-- | streetsmod/depends.txt | 3 | ||||
-rw-r--r-- | streetsmod/init.lua | 30 | ||||
m--------- | streetsmod/libs/smartfs | 0 | ||||
-rw-r--r-- | streetsmod/locale/de.txt | 47 | ||||
-rw-r--r-- | streetsmod/locale/template.txt.txt | 47 | ||||
-rw-r--r-- | streetsmod/nodeboxes/trafficlight.nbe | 17 | ||||
-rw-r--r-- | streetsmod/textures/streets_arrow_alldirs.png (renamed from labels/textures/streets_arrow_alldirs.png) | bin | 7932 -> 7932 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_arrow_left.png (renamed from labels/textures/streets_arrow_left.png) | bin | 7662 -> 7662 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_arrow_right.png (renamed from labels/textures/streets_arrow_right.png) | bin | 7605 -> 7605 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_arrow_straight.png (renamed from labels/textures/streets_arrow_straight.png) | bin | 7564 -> 7564 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_arrow_straight_left.png (renamed from labels/textures/streets_arrow_straight_left.png) | bin | 7770 -> 7770 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_arrow_straight_right.png (renamed from labels/textures/streets_arrow_straight_right.png) | bin | 7719 -> 7719 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_asphalt.png (renamed from asphalt/textures/streets_asphalt.png) | bin | 8937 -> 8955 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_asphalt_dashed_line.png (renamed from labels/textures/streets_asphalt_dashed_line.png) | bin | 7946 -> 7946 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_asphalt_outer_edge.png (renamed from labels/textures/streets_asphalt_outer_edge.png) | bin | 4526 -> 4526 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_asphalt_side.png (renamed from labels/textures/streets_asphalt_side.png) | bin | 3821 -> 3821 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_asphalt_side_r.png (renamed from labels/textures/streets_asphalt_side_r.png) | bin | 3812 -> 3812 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_asphalt_solid_line.png (renamed from labels/textures/streets_asphalt_solid_line.png) | bin | 8003 -> 8003 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_concrete.png (renamed from streetsconcrete/textures/streets_concrete.png) | bin | 7482 -> 7482 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_delineator.png (renamed from delineator/textures/streets_delineator.png) | bin | 5674 -> 5674 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_delineator_top.png (renamed from delineator/textures/streets_delineator_top.png) | bin | 184 -> 184 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_fence_bottom.png (renamed from constructionarea/textures/streets_fence_bottom.png) | bin | 644 -> 644 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_fence_fromtop.png (renamed from constructionarea/textures/streets_fence_fromtop.png) | bin | 215 -> 215 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_fence_inv.png (renamed from constructionarea/textures/streets_fence_inv.png) | bin | 845 -> 845 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_fence_top.png (renamed from constructionarea/textures/streets_fence_top.png) | bin | 441 -> 441 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_lampcontroller_bottom.png (renamed from trafficlight/textures/streets_lampcontroller_bottom.png) | bin | 532 -> 532 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_lampcontroller_sides.png (renamed from trafficlight/textures/streets_lampcontroller_sides.png) | bin | 651 -> 651 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_lampcontroller_top.png (renamed from trafficlight/textures/streets_lampcontroller_top.png) | bin | 583 -> 583 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_lamps_basi_inv.png (renamed from streetlamps/textures/streets_lamps_basi_inv.png) | bin | 4210 -> 4210 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_lamps_basic_bottom.png (renamed from streetlamps/textures/streets_lamps_basic_bottom.png) | bin | 3121 -> 3121 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_lamps_basic_middle.png (renamed from streetlamps/textures/streets_lamps_basic_middle.png) | bin | 6634 -> 6634 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_lamps_basic_top.png (renamed from streetlamps/textures/streets_lamps_basic_top.png) | bin | 5112 -> 5112 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_lamps_basic_top_top.png (renamed from streetlamps/textures/streets_lamps_basic_top_top.png) | bin | 6359 -> 6359 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_manhole.png (renamed from manholes/textures/streets_manhole.png) | bin | 10833 -> 10833 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_manhole_advanced.png (renamed from manholes/textures/streets_manhole_advanced.png) | bin | 9205 -> 9205 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_parking.png (renamed from labels/textures/streets_parking.png) | bin | 6911 -> 6911 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_pole.png (renamed from roadsigns/textures/streets_pole.png) | bin | 2317 -> 2317 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_pole_inv.png (renamed from roadsigns/textures/streets_pole_inv.png) | bin | 767 -> 767 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_arrow_alldirs.png (renamed from roadworks/textures/streets_rw_arrow_alldirs.png) | bin | 9866 -> 9866 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_arrow_left.png (renamed from roadworks/textures/streets_rw_arrow_left.png) | bin | 8954 -> 8954 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_arrow_right.png (renamed from roadworks/textures/streets_rw_arrow_right.png) | bin | 8951 -> 8951 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_arrow_straight.png (renamed from roadworks/textures/streets_rw_arrow_straight.png) | bin | 8796 -> 8796 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_arrow_straight_left.png (renamed from roadworks/textures/streets_rw_arrow_straight_left.png) | bin | 9403 -> 9403 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_arrow_straight_right.png (renamed from roadworks/textures/streets_rw_arrow_straight_right.png) | bin | 9306 -> 9306 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_asphalt_side.png (renamed from roadworks/textures/streets_rw_asphalt_side.png) | bin | 4190 -> 4190 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_cross.png (renamed from roadworks/textures/streets_rw_cross.png) | bin | 2586 -> 2586 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_dashed_line.png (renamed from roadworks/textures/streets_rw_dashed_line.png) | bin | 7944 -> 7944 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_dashed_line_crossing.png (renamed from roadworks/textures/streets_rw_dashed_line_crossing.png) | bin | 3841 -> 3841 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_dashed_line_curve.png (renamed from roadworks/textures/streets_rw_dashed_line_curve.png) | bin | 3333 -> 3333 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_dashed_line_tjunction.png (renamed from roadworks/textures/streets_rw_dashed_line_tjunction.png) | bin | 4099 -> 4099 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_outer_edge.png (renamed from roadworks/textures/streets_rw_outer_edge.png) | bin | 5169 -> 5169 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_parking.png (renamed from roadworks/textures/streets_rw_parking.png) | bin | 8571 -> 8571 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_solid_line.png (renamed from roadworks/textures/streets_rw_solid_line.png) | bin | 8058 -> 8058 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_solid_line_crossing.png (renamed from roadworks/textures/streets_rw_solid_line_crossing.png) | bin | 4005 -> 4005 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_solid_line_curve.png (renamed from roadworks/textures/streets_rw_solid_line_curve.png) | bin | 3657 -> 3657 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_solid_line_tjunction.png (renamed from roadworks/textures/streets_rw_solid_line_tjunction.png) | bin | 3702 -> 3702 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_rw_transparent.png (renamed from roadworks/textures/streets_rw_transparent.png) | bin | 3836 -> 3836 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_sign_back.png (renamed from roadsigns/textures/streets_sign_back.png) | bin | 1808 -> 1808 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_sign_construction.png (renamed from roadsigns/textures/streets_sign_construction.png) | bin | 4007 -> 4007 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_sign_lava.png (renamed from roadsigns/textures/streets_sign_lava.png) | bin | 4453 -> 4453 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_sign_water.png (renamed from roadsigns/textures/streets_sign_water.png) | bin | 3730 -> 3730 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_signworkshop_bottom.png (renamed from roadsigns/textures/streets_signworkshop_bottom.png) | bin | 1942 -> 1942 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_signworkshop_front.png (renamed from roadsigns/textures/streets_signworkshop_front.png) | bin | 2138 -> 2138 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_signworkshop_side.png (renamed from roadsigns/textures/streets_signworkshop_side.png) | bin | 1888 -> 1888 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_signworkshop_top.png (renamed from roadsigns/textures/streets_signworkshop_top.png) | bin | 2026 -> 2026 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_sos_bottom.png (renamed from emergencyphone/textures/streets_sos_bottom.png) | bin | 1961 -> 1961 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_sos_front.png (renamed from emergencyphone/textures/streets_sos_front.png) | bin | 6989 -> 6989 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_sos_side.png (renamed from emergencyphone/textures/streets_sos_side.png) | bin | 2529 -> 2529 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_sos_top.png (renamed from emergencyphone/textures/streets_sos_top.png) | bin | 6980 -> 6980 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_support.png (renamed from steelsupport/textures/streets_support.png) | bin | 6380 -> 6380 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_tl_bg.png (renamed from trafficlight/textures/streets_tl_bg.png) | bin | 3513 -> 3513 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_tl_green.png (renamed from trafficlight/textures/streets_tl_green.png) | bin | 3290 -> 3290 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_tl_off.png (renamed from trafficlight/textures/streets_tl_off.png) | bin | 3267 -> 3267 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_tl_red.png (renamed from trafficlight/textures/streets_tl_red.png) | bin | 3295 -> 3295 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_tl_redyellow.png (renamed from trafficlight/textures/streets_tl_redyellow.png) | bin | 3318 -> 3318 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_tl_warn.png (renamed from trafficlight/textures/streets_tl_warn.png) | bin | 3699 -> 3699 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_tl_yellow.png (renamed from trafficlight/textures/streets_tl_yellow.png) | bin | 3295 -> 3295 bytes | |||
-rw-r--r-- | streetsmod/textures/streets_trafficlight_inv.png (renamed from trafficlight/textures/streets_trafficlight_inv.png) | bin | 2772 -> 2772 bytes | |||
-rw-r--r-- | trafficlight/init.lua | 18 |
96 files changed, 228 insertions, 92 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..941fd5b --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "streetsmod/libs/smartfs"] + path = streetsmod/libs/smartfs + url = https://github.com/rubenwardy/smartfs.git diff --git a/asphalt/init.lua b/asphalt/init.lua index 19fabe1..76dc607 100644 --- a/asphalt/init.lua +++ b/asphalt/init.lua @@ -2,7 +2,7 @@ Streets Mod: All kinds of asphalt ]] minetest.register_node(":streets:asphalt",{ - description = "Asphalt", + description = S(S("Asphalt")), tiles = {"streets_asphalt.png"}, groups = {cracky=3} }) diff --git a/asphalt/textures/streets_asphalt.old.png b/asphalt/textures/streets_asphalt.old.png Binary files differdeleted file mode 100644 index 3740905..0000000 --- a/asphalt/textures/streets_asphalt.old.png +++ /dev/null diff --git a/asphaltstairs/init.lua b/asphaltstairs/init.lua index a7ec32b..c035749 100644 --- a/asphaltstairs/init.lua +++ b/asphaltstairs/init.lua @@ -10,7 +10,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end -- Asphalt solid line -- Stair minetest.register_node(":streets:asphalt_solid_line_stair",{ - description = "Asphalt stair", + description = S("Asphalt stair"), tiles = {"streets_asphalt.png^streets_asphalt_solid_line.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_solid_line.png"}, groups = {cracky = 3}, paramtype = "light", @@ -42,7 +42,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end }) -- Slab minetest.register_node(":streets:asphalt_solid_line_slab",{ - description = "Asphalt slab", + description = S("Asphalt slab"), tiles = {"streets_asphalt.png^streets_asphalt_solid_line.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_solid_line.png"}, groups = {cracky = 3}, paramtype = "light", @@ -67,7 +67,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end -- Asphalt dashed line -- Stair minetest.register_node(":streets:asphalt_dashed_line_stair",{ - description = "Asphalt stair", + description = S("Asphalt stair"), tiles = {"streets_asphalt.png^streets_asphalt_dashed_line.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_dashed_line.png"}, groups = {cracky = 3}, paramtype = "light", @@ -99,7 +99,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end }) -- Slab minetest.register_node(":streets:asphalt_dashed_line_slab",{ - description = "Asphalt slab", + description = S("Asphalt slab"), tiles = {"streets_asphalt.png^streets_asphalt_dashed_line.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_dashed_line.png"}, groups = {cracky = 3}, paramtype = "light", @@ -122,7 +122,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end }) -- Asphalt outer line minetest.register_node(":streets:asphalt_side_stair_l",{ - description = "Asphalt stair", + description = S("Asphalt stair"), tiles = {"streets_asphalt.png^streets_asphalt_side.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_side.png"}, groups = {cracky = 3}, paramtype = "light", @@ -137,7 +137,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end } }) minetest.register_node(":streets:asphalt_side_stair_r",{ - description = "Asphalt stair", + description = S(S("Asphalt stair")), tiles = {"streets_asphalt.png^streets_asphalt_side_r.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_side_r.png"}, groups = {cracky = 3}, paramtype = "light", @@ -180,7 +180,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end }) --------------------------------------------------------------------- minetest.register_node(":streets:asphalt_side_slab_l",{ - description = "Asphalt slab", + description = S(S("Asphalt slab")), tiles = {"streets_asphalt.png^streets_asphalt_side.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_side.png"}, groups = {cracky = 3}, paramtype = "light", @@ -194,7 +194,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end } }) minetest.register_node(":streets:asphalt_side_slab_r",{ - description = "Asphalt slab", + description = S(S("Asphalt slab")), tiles = {"streets_asphalt.png^streets_asphalt_side_r.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_side_r.png"}, groups = {cracky = 3}, paramtype = "light", diff --git a/constructionarea/init.lua b/constructionarea/init.lua index d9e328b..b521f3e 100644 --- a/constructionarea/init.lua +++ b/constructionarea/init.lua @@ -1,5 +1,5 @@ minetest.register_node(":streets:constructionfence_bottom",{ - description = "Construction fence", + description = S("Construction fence"), tiles = {"streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_bottom.png","streets_fence_bottom.png"}, groups = {cracky = 2,}, paramtype = "light", @@ -29,13 +29,13 @@ minetest.register_node(":streets:constructionfence_bottom",{ if minetest.get_node(pos).name == "air" then minetest.add_node(pos,{name = "streets:constructionfence_top", param2 = minetest.dir_to_facedir(placer:get_look_dir())}) else - minetest.chat_send_player(placer:get_player_name("Not enough free space! A construction fence has a height of 2 blocks!")) + minetest.chat_send_player(placer:get_player_name(),"Not enough free space! A construction fence has a height of 2 blocks!") end end }) minetest.register_node(":streets:constructionfence_top",{ - description = "Construction fence", + description = S("Construction fence"), tiles = {"streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_top.png","streets_fence_top.png"}, groups = {cracky = 2, not_in_creative_inventory = 1}, paramtype = "light", diff --git a/delineator/init.lua b/delineator/init.lua index 2cf3408..09158d2 100644 --- a/delineator/init.lua +++ b/delineator/init.lua @@ -2,7 +2,7 @@ StreetsMod: Delineator ]] minetest.register_node(":streets:delineator", { - description = "Delineator", + description = S("Delineator"), tiles = {"streets_delineator_top.png","streets_delineator.png"}, drawtype = "nodebox", paramtype = "light", diff --git a/emergencyphone/init.lua b/emergencyphone/init.lua index 2dc818f..4f4d1c7 100644 --- a/emergencyphone/init.lua +++ b/emergencyphone/init.lua @@ -2,7 +2,7 @@ StreetsMod: Emergency Phone ]] minetest.register_node(":streets:emergencyphone",{ - description = "Emergency Phone", + description = S("Emergency Phone"), tiles = {"streets_sos_top.png","streets_sos_bottom.png","streets_sos_side.png","streets_sos_side.png","streets_sos_side.png","streets_sos_front.png"}, groups = {cracky = 3}, paramtype2 = "facedir", diff --git a/labels/init.lua b/labels/init.lua index 72f4eb6..e2a8606 100644 --- a/labels/init.lua +++ b/labels/init.lua @@ -2,7 +2,7 @@ StreetsMod: All kinds of asphalt with labels ]] minetest.register_node(":streets:asphalt_sideline",{ - description = "Asphalt with sideline", + description = S("Asphalt with sideline"), groups = {cracky=3}, tiles = {"streets_asphalt.png^streets_asphalt_side.png","streets_asphalt.png"}, paramtype2 = "facedir" @@ -18,7 +18,7 @@ minetest.register_craft({ }) minetest.register_node(":streets:asphalt_solid_line",{ - description = "Asphalt with solid line", + description = S("Asphalt with solid line"), groups = {cracky=3}, tiles = {"streets_asphalt.png^streets_asphalt_solid_line.png","streets_asphalt.png"}, paramtype2 = "facedir" @@ -34,7 +34,7 @@ minetest.register_craft({ }) minetest.register_node(":streets:asphalt_dashed_line",{ - description = "Asphalt with dashed line", + description = S("Asphalt with dashed line"), groups = {cracky=3}, tiles = {"streets_asphalt.png^streets_asphalt_dashed_line.png","streets_asphalt.png"}, paramtype2 = "facedir" @@ -50,7 +50,7 @@ minetest.register_craft({ }) minetest.register_node(":streets:asphalt_outer_edge",{ - description = "Asphalt with sideline (edge)", + description = S("Asphalt with sideline (edge)"), groups = {cracky=3}, tiles = {"streets_asphalt.png^streets_asphalt_outer_edge.png","streets_asphalt.png"}, paramtype2 = "facedir" @@ -66,7 +66,7 @@ minetest.register_craft({ }) minetest.register_node(":streets:asphalt_parking",{ - description = "Asphalt with parking label", + description = S("Asphalt with parking label"), groups = {cracky=3}, tiles = {"streets_asphalt.png^streets_parking.png","streets_asphalt.png"}, paramtype2 = "facedir" @@ -82,7 +82,7 @@ minetest.register_craft({ }) minetest.register_node(":streets:asphalt_arrow_straight",{ - description = "Asphalt with arrow", + description = S("Asphalt with arrow"), groups = {cracky=3}, tiles = {"streets_asphalt.png^streets_arrow_straight.png","streets_asphalt.png"}, paramtype2 = "facedir" @@ -98,7 +98,7 @@ minetest.register_craft({ }) minetest.register_node(":streets:asphalt_arrow_left",{ - description = "Asphalt with arrow", + description = S("Asphalt with arrow"), groups = {cracky=3}, tiles = {"streets_asphalt.png^streets_arrow_left.png","streets_asphalt.png"}, paramtype2 = "facedir" @@ -114,7 +114,7 @@ minetest.register_craft({ }) minetest.register_node(":streets:asphalt_arrow_right",{ - description = "Asphalt with arrow", + description = S("Asphalt with arrow"), groups = {cracky=3}, tiles = {"streets_asphalt.png^streets_arrow_right.png","streets_asphalt.png"}, paramtype2 = "facedir" @@ -130,7 +130,7 @@ minetest.register_craft({ }) minetest.register_node(":streets:asphalt_arrow_straight_left",{ - description = "Asphalt with arrow", + description = S("Asphalt with arrow"), groups = {cracky=3}, tiles = {"streets_asphalt.png^streets_arrow_straight_left.png","streets_asphalt.png"}, paramtype2 = "facedir" @@ -146,7 +146,7 @@ minetest.register_craft({ }) minetest.register_node(":streets:asphalt_arrow_straight_right",{ - description = "Asphalt with arrow", + description = S("Asphalt with arrow"), groups = {cracky=3}, tiles = {"streets_asphalt.png^streets_arrow_straight_right.png","streets_asphalt.png"}, paramtype2 = "facedir" @@ -162,7 +162,7 @@ minetest.register_craft({ }) minetest.register_node(":streets:asphalt_arrow_alldirs",{ - description = "Asphalt with arrow", + description = S("Asphalt with arrow"), groups = {cracky=3}, tiles = {"streets_asphalt.png^streets_arrow_alldirs.png","streets_asphalt.png"}, paramtype2 = "facedir" diff --git a/manholes/init.lua b/manholes/init.lua index aa95cce..bcd7d39 100644 --- a/manholes/init.lua +++ b/manholes/init.lua @@ -2,13 +2,13 @@ StreetsMod: Manholes in asphalt ]] minetest.register_node(":streets:manhole",{ - description = "Simple manhole", + description = S("Simple manhole"), tiles = {"streets_asphalt.png^streets_manhole.png","streets_asphalt.png"}, groups = {cracky=3} }) minetest.register_node(":streets:manhole_adv_closed",{ - description = "Advanced manhole", + description = S("Advanced manhole"), tiles = {"streets_asphalt.png^streets_manhole_advanced.png","streets_asphalt.png"}, groups = {cracky=3}, drawtype = "nodebox", @@ -36,7 +36,7 @@ minetest.register_node(":streets:manhole_adv_closed",{ end }) minetest.register_node(":streets:manhole_adv_open",{ - description = "Advanced manhole", + description = S("Advanced manhole"), tiles = {"streets_asphalt.png^streets_manhole_advanced.png","streets_asphalt.png"}, groups = {cracky=3,not_in_creative_inventory=1}, drawtype = "nodebox", diff --git a/roadsigns/pole.lua b/roadsigns/pole.lua index 478afb9..417ecdf 100644 --- a/roadsigns/pole.lua +++ b/roadsigns/pole.lua @@ -2,7 +2,7 @@ StreetsMod: Poles and signs ]] minetest.register_node(":streets:pole_bottom",{ - description = "Pole", + description = S("Pole"), tiles = {"streets_pole.png"}, groups = {cracky=2}, inventory_image = "streets_pole_inv.png", @@ -42,7 +42,7 @@ minetest.register_node(":streets:pole_bottom",{ }) minetest.register_node(":streets:pole_top",{ - description = "Y u no play minetest without cheating?", + description = S("Y u no play minetest without cheating?"), tiles = {"streets_pole.png"}, groups = {cracky=2,not_in_creative_inventory=1}, paramtype = "light", diff --git a/roadsigns/signs.lua b/roadsigns/signs.lua index 0992adf..d7878fd 100644 --- a/roadsigns/signs.lua +++ b/roadsigns/signs.lua @@ -1,5 +1,5 @@ minetest.register_node(":streets:sign_blank",{ - description = "Emtpy sign", + description = S("Emtpy sign"), tiles = {"streets_sign_back.png"}, inventory_image = "streets_sign_back.png", wield_image = "streets_sign_back.png", @@ -23,10 +23,15 @@ minetest.register_node(":streets:sign_blank",{ recipe = {"default:steel_ingot","","",""}, time = 3 } - } + }, + after_place_node = function(pos) + local meta = minetest.get_meta(pos) + + meta:set_string("infotext", "Empty Sign") + end }) minetest.register_node(":streets:sign_lava",{ - description = "Warning sign (lava)", + description = S("Warning sign (lava)"), tiles = {"streets_sign_lava.png"}, inventory_image = "streets_sign_lava.png", wield_image = "streets_sign_lava.png", @@ -50,11 +55,16 @@ minetest.register_node(":streets:sign_lava",{ recipe = {"streets:sign_blank","bucket:bucket_lava","",""}, time = 5 } - } + }, + after_place_node = function(pos) + local meta = minetest.get_meta(pos) + + meta:set_string("infotext", "Warning: Careful of lava") + end }) minetest.register_node(":streets:sign_water",{ - description = "Warning sign (water)", + description = S("Warning sign (water)"), tiles = {"streets_sign_water.png"}, inventory_image = "streets_sign_water.png", wield_image = "streets_sign_water.png", @@ -78,11 +88,16 @@ minetest.register_node(":streets:sign_water",{ recipe = {"streets:sign_blank","bucket:bucket_water","",""}, time = 5 } - } + }, + after_place_node = function(pos) + local meta = minetest.get_meta(pos) + + meta:set_string("infotext", "Warning: Water Nearby") + end }) minetest.register_node(":streets:sign_construction",{ - description = "Warning sign (Construction area)", + description = S("Warning sign (Construction area)"), tiles = {"streets_sign_construction.png"}, inventory_image = "streets_sign_construction.png", wield_image = "streets_sign_construction.png", @@ -106,5 +121,10 @@ minetest.register_node(":streets:sign_construction",{ recipe = {"streets:sign_blank","default:dirt","",""}, time = 5 } - } -})
\ No newline at end of file + }, + after_place_node = function(pos) + local meta = minetest.get_meta(pos) + + meta:set_string("infotext", "Warning: Construction area, possible deep excavations") + end +}) diff --git a/roadsigns/workshop.lua b/roadsigns/workshop.lua index 9c68fb7..75cbf5a 100644 --- a/roadsigns/workshop.lua +++ b/roadsigns/workshop.lua @@ -36,7 +36,7 @@ local forms = { } } minetest.register_node(":streets:signworkshop",{ - description = "Sign workshop", + description = S("Sign workshop"), tiles = {"streets_signworkshop_top.png","streets_signworkshop_bottom.png","streets_signworkshop_side.png","streets_signworkshop_side.png","streets_signworkshop_side.png","streets_signworkshop_front.png"}, groups = {cracky = 1, level = 2}, paramtype2 = "facedir", diff --git a/roadworks/init.lua b/roadworks/init.lua index 6df2e13..dfad72e 100644 --- a/roadworks/init.lua +++ b/roadworks/init.lua @@ -6,7 +6,7 @@ local box = {-0.5,-0.5,-0.5,0.5,-0.45,0.5} minetest.register_node(":streets:rw_asphalt_solid",{ - description = "Solid line (yellow)", + description = S("Solid line (yellow)"), tiles = {"streets_rw_solid_line.png","streets_rw_solid_line_curve.png","streets_rw_solid_line_tjunction.png","streets_rw_solid_line_crossing.png"}, drawtype = "raillike", paramtype = "light", @@ -23,7 +23,7 @@ minetest.register_node(":streets:rw_asphalt_solid",{ }) minetest.register_node(":streets:rw_asphalt_dashed",{ - description = "Dashed line (yellow)", + description = S("Dashed line (yellow)"), tiles = {"streets_rw_dashed_line.png","streets_rw_dashed_line_curve.png","streets_rw_dashed_line_tjunction.png","streets_rw_dashed_line_crossing.png"}, drawtype = "raillike", paramtype = "light", @@ -40,7 +40,7 @@ minetest.register_node(":streets:rw_asphalt_dashed",{ }) minetest.register_node(":streets:rw_cross",{ - description = "Cross (yellow)", + description = S("Cross (yellow)"), tiles = {"streets_rw_cross.png"}, drawtype = "signlike", paramtype = "light", @@ -56,7 +56,7 @@ minetest.register_node(":streets:rw_cross",{ }) minetest.register_node(":streets:rw_outer_edge",{ - description = "Outer edge (yellow)", + description = S("Outer edge (yellow)"), tiles = {"streets_rw_outer_edge.png","streets_rw_transparent.png"}, drawtype = "nodebox", paramtype = "light", @@ -77,7 +77,7 @@ minetest.register_node(":streets:rw_outer_edge",{ }) minetest.register_node(":streets:rw_parking",{ - description = "Parking (yellow)", + description = S("Parking (yellow)"), tiles = {"streets_rw_parking.png","streets_rw_transparent.png"}, drawtype = "nodebox", paramtype = "light", @@ -98,7 +98,7 @@ minetest.register_node(":streets:rw_parking",{ }) minetest.register_node(":streets:rw_alldirs",{ - description = "Arrow (yellow)", + description = S("Arrow (yellow)"), tiles = {"streets_rw_arrow_alldirs.png","streets_rw_transparent.png"}, drawtype = "nodebox", paramtype = "light", @@ -119,7 +119,7 @@ minetest.register_node(":streets:rw_alldirs",{ }) minetest.register_node(":streets:rw_left",{ - description = "Arrow (yellow)", + description = S("Arrow (yellow)"), tiles = {"streets_rw_arrow_left.png","streets_rw_transparent.png"}, drawtype = "nodebox", paramtype = "light", @@ -140,7 +140,7 @@ minetest.register_node(":streets:rw_left",{ }) minetest.register_node(":streets:rw_right",{ - description = "Arrow (yellow)", + description = S("Arrow (yellow)"), tiles = {"streets_rw_arrow_right.png","streets_rw_transparent.png"}, drawtype = "nodebox", paramtype = "light", @@ -161,7 +161,7 @@ minetest.register_node(":streets:rw_right",{ }) minetest.register_node(":streets:rw_straight_right",{ - description = "Arrow (yellow)", + description = S("Arrow (yellow)"), tiles = {"streets_rw_arrow_straight_right.png","streets_rw_transparent.png"}, drawtype = "nodebox", paramtype = "light", @@ -182,7 +182,7 @@ minetest.register_node(":streets:rw_straight_right",{ }) minetest.register_node(":streets:rw_straight_left",{ - description = "Arrow (yellow)", + description = S("Arrow (yellow)"), tiles = {"streets_rw_arrow_straight_left.png","streets_rw_transparent.png"}, drawtype = "nodebox", paramtype = "light", @@ -203,7 +203,7 @@ minetest.register_node(":streets:rw_straight_left",{ }) minetest.register_node(":streets:rw_straight",{ - description = "Arrow (yellow)", + description = S("Arrow (yellow)"), tiles = {"streets_rw_arrow_straight.png","streets_rw_transparent.png"}, drawtype = "nodebox", paramtype = "light", @@ -224,7 +224,7 @@ minetest.register_node(":streets:rw_straight",{ }) minetest.register_node(":streets:rw_sideline",{ - description = "Sideline (yellow)", + description = S("Sideline (yellow)"), tiles = {"streets_rw_asphalt_side.png","streets_rw_transparent.png"}, drawtype = "nodebox", paramtype = "light", diff --git a/steelsupport/init.lua b/steelsupport/init.lua index b6b6f10..6217600 100644 --- a/steelsupport/init.lua +++ b/steelsupport/init.lua @@ -2,7 +2,7 @@ StreetsMod: Steel support for hanging signs on highways etc. ]] minetest.register_node(":streets:steel_support",{ - description = "Steel support", + description = S("Steel support"), tiles = {"streets_support.png"}, groups = {cracky = 1}, drawtype = "glasslike_framed", diff --git a/streetlamps/init.lua b/streetlamps/init.lua index dedeaf4..bb80136 100644 --- a/streetlamps/init.lua +++ b/streetlamps/init.lua @@ -2,7 +2,7 @@ StreetsMod: Streetlamps ]] --[[minetest.register_node(":streets:streetlamp_basic_controller",{ - description = "Trafficlight", + description = S("Trafficlight"), tiles = {"streets_lampcontroller_top.png","streets_lampcontroller_bottom.png","streets_lampcontroller_sides.png"}, groups = {cracky = 1, not_in_creative_inventory = 1}, drawtype = "nodebox", @@ -41,7 +41,7 @@ minetest.register_node(":streets:streetlamp_basic_bottom",{ drop = "", - description = "Street lamp", + description = S("Street lamp"), tiles = {"streets_lamps_basic_bottom.png"}, inventory_image = "streets_lamps_basi_inv.png", groups = {cracky = 1}, @@ -63,7 +63,7 @@ minetest.register_node(":streets:streetlamp_basic_bottom",{ }) minetest.register_node(":streets:streetlamp_basic_middle",{ drop = "", - description = "U cheater U", + description = S("U cheater U"), groups = {cracky = 1, not_in_creative_inventory = 1}, tiles = {"streets_lamps_basic_middle.png"}, paramtype = "light", @@ -78,7 +78,7 @@ minetest.register_node(":streets:streetlamp_basic_middle",{ }) --[[minetest.register_node(":streets:streetlamp_basic_top_off",{ drop = "", - description = "U cheater U", + description = S("U cheater U"), groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", drawtype = "nodebox", @@ -93,7 +93,7 @@ minetest.register_node(":streets:streetlamp_basic_middle",{ })]] minetest.register_node(":streets:streetlamp_basic_top_on",{ drop = "streets:streetlamp_basic_bottom", - description = "U cheater U", + description = S("U cheater U"), groups = {cracky = 1, not_in_creative_inventory = 1}, tiles = {"streets_lamps_basic_top_top.png","streets_lamps_basic_top_top.png","streets_lamps_basic_top.png","streets_lamps_basic_top.png","streets_lamps_basic_top.png","streets_lamps_basic_top.png"}, paramtype = "light", diff --git a/streetsconcrete/init.lua b/streetsconcrete/init.lua index c837fa1..92820e3 100644 --- a/streetsconcrete/init.lua +++ b/streetsconcrete/init.lua @@ -5,7 +5,7 @@ if streets.extendedBy.technic == true then minetest.register_alias("streets:concrete","technic:concrete") -- Use technic's concrete block for the seperating wall minetest.register_node(":streets:concrete_wall",{ - description = "Conrete wall", + description = S("Concrete wall"), tiles = {"technic_concrete_block.png"}, groups = {cracky=2}, drawtype = "nodebox", @@ -28,7 +28,7 @@ if streets.extendedBy.technic == true then } }) minetest.register_node(":streets:concrete_wall_flat",{ - description = "Conrete wall", + description = S("Conrete wall"), tiles = {"technic_concrete_block.png"}, groups = {cracky=2}, drawtype = "nodebox", @@ -52,7 +52,7 @@ if streets.extendedBy.technic == true then elseif streets.extendedBy.prefab then minetest.register_alias("streets:concrete","prefab:concrete") minetest.register_node(":streets:concrete_wall",{ - description = "Conrete wall", + description = S("Conrete wall"), tiles = {"prefab_concrete.png"}, groups = {cracky=2}, drawtype = "nodebox", @@ -75,7 +75,7 @@ elseif streets.extendedBy.prefab then } }) minetest.register_node(":streets:concrete_wall_flat",{ - description = "Conrete wall", + description = S("Conrete wall"), tiles = {"prefab_concrete.png"}, groups = {cracky=2}, drawtype = "nodebox", @@ -99,12 +99,12 @@ elseif streets.extendedBy.prefab then else -- Register concrete block with streets' texture and then the seperating wall minetest.register_node(":streets:concrete",{ - description = "Concrete", + description = S("Concrete"), tiles = {"streets_concrete.png"}, groups = {cracky=2} }) minetest.register_node(":streets:concrete_wall",{ - description = "Conrete wall", + description = S("Conrete wall"), tiles = {"streets_concrete.png"}, groups = {cracky=2}, drawtype = "nodebox", @@ -127,7 +127,7 @@ else } }) minetest.register_node(":streets:concrete_wall_flat",{ - description = "Conrete wall", + description = S("Conrete wall"), tiles = {"streets_concrete.png"}, groups = {cracky=2}, drawtype = "nodebox", diff --git a/streetshotfix/init.lua b/streetshotfix/init.lua new file mode 100644 index 0000000..967bbbb --- /dev/null +++ b/streetshotfix/init.lua @@ -0,0 +1,5 @@ +--[[ + StreetsMod Hotfixes in order of creation, signed with date +]] +-- Hotfix #1; April 14, 2014; https://github.com/webdesigner97/streets/issues/11 +minetest.register_alias("stairs:stair_asphalt","streets:stair_asphalt")
\ No newline at end of file diff --git a/streetsmod/depends.txt b/streetsmod/depends.txt index 331d858..cad5160 100644 --- a/streetsmod/depends.txt +++ b/streetsmod/depends.txt @@ -1 +1,2 @@ -default
\ No newline at end of file +default +intllib?
\ No newline at end of file diff --git a/streetsmod/init.lua b/streetsmod/init.lua index 72f7fee..ac67614 100644 --- a/streetsmod/init.lua +++ b/streetsmod/init.lua @@ -5,10 +5,19 @@ Forum : http://bit.ly/12cPMeo Depends : default ]] +-- kaeza: intllib + -- Boilerplate to support localized strings if intllib mod is installed. + -- local S + if (minetest.get_modpath("intllib")) then + dofile(minetest.get_modpath("intllib").."/intllib.lua") + S = intllib.Getter(minetest.get_current_modname()) + else + S = function ( s ) return s end + end -- Create variables and tables - print("Streets: Creating variables and tables...") + print("Streets: " .. S("Creating variables and tables...")) streets = {} - streets.version = "1.4.3" + streets.version = "1.4.4dev" streets.modpath = minetest.get_modpath("streets") streets.extendedBy = {} streets.load = { @@ -19,45 +28,33 @@ -- Check for mods which change this mod's beahaviour print("Streets: Checking installed mods...") if minetest.get_modpath("wool") then - print("'Wool' is installed \n\t => You can craft labels for your asphalt blocks") streets.extendedBy.wool = true else - print("'Wool' not installed \n\t => You can't craft any labels") streets.extendedBy.wool = false end if minetest.get_modpath("technic") then - print("'Technic' is installed \n\t => You can use its concrete also in this mod") streets.extendedBy.technic = true else - print("'Technic' not installed \n\t => StreetsMod will register its own concrete block") streets.extendedBy.technic = false end if minetest.get_modpath("moreblocks") then - print("'Moreblocks' is installed \n\t => There will be stairs and slabs'") streets.extendedBy.moreblocks = true else - print("'Moreblocks' not installed \n\t => There won't be stairs and slabs'") streets.extendedBy.moreblocks = false end if minetest.get_modpath("mesecons") then - print("'Mesecons' is installed \n\t => Trafficlights might be available. Checking for digilines. Streetlamps available") streets.extendedBy.mesecons = true else - print("'Mesecons' not installed \n\t => No trafficlight and streetlamps, sorry.") streets.extendedBy.mesecons = false end if minetest.get_modpath("digilines") then - print("'Digilines' is installed \n\t => Trafficlights might be available") streets.extendedBy.digilines = true else - print("'Digilines' not installed \n\t => No trafficlight, sorry.") streets.extendedBy.digilines = false end if minetest.get_modpath("prefab") then - print("'Prefab concrete' is installed \n\t => Use its concrete block for streets' crafting recipes.") streets.extendedBy.prefab = true else - print("'Prefab concrete' not installed \n\t => Streets will register its own concrete block.") streets.extendedBy.prefab = false end @@ -67,7 +64,7 @@ return math.floor(num * mult + 0.5) / mult end minetest.register_chatcommand("streets",{ - description = "Check version of you installed StreetsMod and find information", + description = S("Check version of your installed StreetsMod and find information"), func = function(name,param) minetest.show_formspec(name, "streets:streetsform", table.concat({ "size[10,6]", @@ -84,6 +81,5 @@ }) -- Done - print("Streets: Setup completed, have fun with StreetsMod ".. streets.version .."!") - print("Streets: Special thanks to everyone who contributed to this mod (except myself): Immanuel_Kant and philipbenr!") + print("Streets: " .. S("Setup completed, have fun with StreetsMod") .. " " .. streets.version .. "!") streets.load.fin = os.clock()
\ No newline at end of file diff --git a/streetsmod/libs/smartfs b/streetsmod/libs/smartfs new file mode 160000 +Subproject c700a1234606a8b5341611748d70b6578cabc36 diff --git a/streetsmod/locale/de.txt b/streetsmod/locale/de.txt new file mode 100644 index 0000000..21fd9c4 --- /dev/null +++ b/streetsmod/locale/de.txt @@ -0,0 +1,47 @@ +# Translation file GERMAN +Setup completed, have fun with StreetsMod=Setup abgeschlossen, viel Spaß mit StreetsMod +Creating variables and tables...=Erstelle Variablen und Tabellen... +Checking installed mods...=Ueberpruefe installierte Mods +Check version of your installed StreetsMod and find information=Ueberpruefe die installierte StreetsMod Version und weitere Infos +Asphalt=Asphalt +Asphalt stair=Asphalt Treppe +Asphalt slab=Asphalt Platte +Construction fence=Bauzaun +Delineator=Leitpfosten +Emergency Phone=Notrufsaeule +Asphalt with sideline=Asphalt mit Seitenlinie +Asphalt with solid line=Asphalt with durchgezogener Linie +Asphalt with dashed line=Asphalt mit unterbrochener Linie +Asphalt with sideline (edge)=Asphalt mit Seitenlinie (Ecke) +Asphalt with parking label=Asphalt mit Parkplatzsymbol +Asphalt with arrow=Asphalt mit Richtungspfeil +Simple manhole=Einfacher Gulli +Advanced manhole=Gulli +Pole=Stange +Empty sign=Leeres Schild +Warning sign (lava)=Gefahrenschild Lava +Warning sign (water)=Gefahrenschild Wasser +Warning sign (Construction area)=Gefahrenschild Baustelle +Warning: Careful of lava=Achtung: Lava +Warning: Water nearby=Achtung: Wasser +Warning: Construction area, possible deep excavations=Achtung Baustelle, eventuell tiefe Graeben +Sign workshop - Create signs for your roads=Schilderworkshop - Baue Schilder fuer deine Strassen +Available signs=Verfuegbare Schilder +Needed stuff=Benoetigt +Put it here=Rohstoffe +Selected=Ausgewaehlt +Output=Ausgabe +Sign workshop=Schilderworkshop +Sign workshop idle=Schilderworkshop bereit +Sign workshop working=Schilderworkshop arbeitet +Solid line (yellow)=Durchgezogene Linie (gelb) +Dashed line (yellow)=Unterbrochene Linie (gelb) +Cross (yellow)=Kreuz (gelb) +Outer edge (yellow)=Ecklinie (gelb) +Parking (yellow)=Parkplatzsymbol (gelb) +Arrow (yellow)=Pfeil (gelb) +Steel support=Stahlrahmen +Street lamp=Strassenlampe +Concrete wall=Betonwand +Concrete=Beton +Trafficlight=Ampel
\ No newline at end of file diff --git a/streetsmod/locale/template.txt.txt b/streetsmod/locale/template.txt.txt new file mode 100644 index 0000000..d03801c --- /dev/null +++ b/streetsmod/locale/template.txt.txt @@ -0,0 +1,47 @@ +# Translation file for StreetsMod might not be up-to-date. +Setup completed, have fun with StreetsMod= +Creating variables and tables...= +Checking installed mods...= +Check version of your installed StreetsMod and find information= +Asphalt= +Asphalt stair= +Asphalt slab= +Construction fence= +Delineator= +Emergency Phone= +Asphalt with sideline= +Asphalt with solid line= +Asphalt with dashed line= +Asphalt with sideline (edge)= +Asphalt with parking label= +Asphalt with arrow= +Simple manhole= +Advanced manhole= +Pole= +Empty sign= +Warning sign (lava)= +Warning sign (water)= +Warning sign (Construction area)= +Warning: Careful of lava= +Warning: Water nearby= +Warning: Construction area, possible deep excavations= +Sign workshop - Create signs for your roads= +Available signs= +Needed stuff= +Put it here= +Selected= +Output= +Sign workshop= +Sign workshop idle= +Sign workshop working= +Solid line (yellow)= +Dashed line (yellow)= +Cross (yellow)= +Outer edge (yellow)= +Parking (yellow)= +Arrow (yellow)= +Steel support= +Street lamp= +Concrete wall= +Concrete= +Trafficlight=
\ No newline at end of file diff --git a/streetsmod/nodeboxes/trafficlight.nbe b/streetsmod/nodeboxes/trafficlight.nbe new file mode 100644 index 0000000..aa30fc6 --- /dev/null +++ b/streetsmod/nodeboxes/trafficlight.nbe @@ -0,0 +1,17 @@ +MINETEST NODEBOX EDITOR +PARSER 1 +NAME test + +NODE node1 +POSITION 0 0 0 +NODEBOX nodebox1 -0.1875 -0.5 0.5 0.1875 0.5 0.75 +NODEBOX nodebox2 -0.0625 0.375 0.32 0.0625 0.429368 0.51 +NODEBOX nodebox3 -0.0625 0.0625 0.32 0.0625 0.125 0.51 +NODEBOX nodebox4 -0.0625 -0.25 0.32 0.0625 -0.1875 0.51 +NODEBOX nodebox5 0.0512648 0.32 0.32 0.113765 0.38 0.5 +NODEBOX nodebox6 -0.131446 0.32 0.32 -0.0689464 0.38 0.5 +NODEBOX nodebox7 0.0571587 0.001 0.32 0.119659 0.06 0.53 +NODEBOX nodebox8 -0.131446 0.001 0.32 -0.0689464 0.06 0.53 +NODEBOX nodebox9 0.0571587 -0.31 0.32 0.119659 -0.25 0.539972 +NODEBOX nodebox10 -0.125553 -0.31 0.32 -0.0630526 -0.25 0.60652 +END NODE
\ No newline at end of file diff --git a/labels/textures/streets_arrow_alldirs.png b/streetsmod/textures/streets_arrow_alldirs.png Binary files differindex c31eeaa..c31eeaa 100644 --- a/labels/textures/streets_arrow_alldirs.png +++ b/streetsmod/textures/streets_arrow_alldirs.png diff --git a/labels/textures/streets_arrow_left.png b/streetsmod/textures/streets_arrow_left.png Binary files differindex d33a5eb..d33a5eb 100644 --- a/labels/textures/streets_arrow_left.png +++ b/streetsmod/textures/streets_arrow_left.png diff --git a/labels/textures/streets_arrow_right.png b/streetsmod/textures/streets_arrow_right.png Binary files differindex ae6450d..ae6450d 100644 --- a/labels/textures/streets_arrow_right.png +++ b/streetsmod/textures/streets_arrow_right.png diff --git a/labels/textures/streets_arrow_straight.png b/streetsmod/textures/streets_arrow_straight.png Binary files differindex d4899b9..d4899b9 100644 --- a/labels/textures/streets_arrow_straight.png +++ b/streetsmod/textures/streets_arrow_straight.png diff --git a/labels/textures/streets_arrow_straight_left.png b/streetsmod/textures/streets_arrow_straight_left.png Binary files differindex 2f5ddce..2f5ddce 100644 --- a/labels/textures/streets_arrow_straight_left.png +++ b/streetsmod/textures/streets_arrow_straight_left.png diff --git a/labels/textures/streets_arrow_straight_right.png b/streetsmod/textures/streets_arrow_straight_right.png Binary files differindex 661d4bf..661d4bf 100644 --- a/labels/textures/streets_arrow_straight_right.png +++ b/streetsmod/textures/streets_arrow_straight_right.png diff --git a/asphalt/textures/streets_asphalt.png b/streetsmod/textures/streets_asphalt.png Binary files differindex 6d1e996..9210759 100644 --- a/asphalt/textures/streets_asphalt.png +++ b/streetsmod/textures/streets_asphalt.png diff --git a/labels/textures/streets_asphalt_dashed_line.png b/streetsmod/textures/streets_asphalt_dashed_line.png Binary files differindex 5a13fac..5a13fac 100644 --- a/labels/textures/streets_asphalt_dashed_line.png +++ b/streetsmod/textures/streets_asphalt_dashed_line.png diff --git a/labels/textures/streets_asphalt_outer_edge.png b/streetsmod/textures/streets_asphalt_outer_edge.png Binary files differindex 53c1489..53c1489 100644 --- a/labels/textures/streets_asphalt_outer_edge.png +++ b/streetsmod/textures/streets_asphalt_outer_edge.png diff --git a/labels/textures/streets_asphalt_side.png b/streetsmod/textures/streets_asphalt_side.png Binary files differindex 9edce81..9edce81 100644 --- a/labels/textures/streets_asphalt_side.png +++ b/streetsmod/textures/streets_asphalt_side.png diff --git a/labels/textures/streets_asphalt_side_r.png b/streetsmod/textures/streets_asphalt_side_r.png Binary files differindex a067fda..a067fda 100644 --- a/labels/textures/streets_asphalt_side_r.png +++ b/streetsmod/textures/streets_asphalt_side_r.png diff --git a/labels/textures/streets_asphalt_solid_line.png b/streetsmod/textures/streets_asphalt_solid_line.png Binary files differindex 0353aed..0353aed 100644 --- a/labels/textures/streets_asphalt_solid_line.png +++ b/streetsmod/textures/streets_asphalt_solid_line.png diff --git a/streetsconcrete/textures/streets_concrete.png b/streetsmod/textures/streets_concrete.png Binary files differindex 89c7e78..89c7e78 100644 --- a/streetsconcrete/textures/streets_concrete.png +++ b/streetsmod/textures/streets_concrete.png diff --git a/delineator/textures/streets_delineator.png b/streetsmod/textures/streets_delineator.png Binary files differindex ae69f2e..ae69f2e 100644 --- a/delineator/textures/streets_delineator.png +++ b/streetsmod/textures/streets_delineator.png diff --git a/delineator/textures/streets_delineator_top.png b/streetsmod/textures/streets_delineator_top.png Binary files differindex 3551ffe..3551ffe 100644 --- a/delineator/textures/streets_delineator_top.png +++ b/streetsmod/textures/streets_delineator_top.png diff --git a/constructionarea/textures/streets_fence_bottom.png b/streetsmod/textures/streets_fence_bottom.png Binary files differindex 67e572f..67e572f 100644 --- a/constructionarea/textures/streets_fence_bottom.png +++ b/streetsmod/textures/streets_fence_bottom.png diff --git a/constructionarea/textures/streets_fence_fromtop.png b/streetsmod/textures/streets_fence_fromtop.png Binary files differindex f4c0e23..f4c0e23 100644 --- a/constructionarea/textures/streets_fence_fromtop.png +++ b/streetsmod/textures/streets_fence_fromtop.png diff --git a/constructionarea/textures/streets_fence_inv.png b/streetsmod/textures/streets_fence_inv.png Binary files differindex 0446f12..0446f12 100644 --- a/constructionarea/textures/streets_fence_inv.png +++ b/streetsmod/textures/streets_fence_inv.png diff --git a/constructionarea/textures/streets_fence_top.png b/streetsmod/textures/streets_fence_top.png Binary files differindex 43a3613..43a3613 100644 --- a/constructionarea/textures/streets_fence_top.png +++ b/streetsmod/textures/streets_fence_top.png diff --git a/trafficlight/textures/streets_lampcontroller_bottom.png b/streetsmod/textures/streets_lampcontroller_bottom.png Binary files differindex cdd5b40..cdd5b40 100644 --- a/trafficlight/textures/streets_lampcontroller_bottom.png +++ b/streetsmod/textures/streets_lampcontroller_bottom.png diff --git a/trafficlight/textures/streets_lampcontroller_sides.png b/streetsmod/textures/streets_lampcontroller_sides.png Binary files differindex 39e9960..39e9960 100644 --- a/trafficlight/textures/streets_lampcontroller_sides.png +++ b/streetsmod/textures/streets_lampcontroller_sides.png diff --git a/trafficlight/textures/streets_lampcontroller_top.png b/streetsmod/textures/streets_lampcontroller_top.png Binary files differindex cee87b3..cee87b3 100644 --- a/trafficlight/textures/streets_lampcontroller_top.png +++ b/streetsmod/textures/streets_lampcontroller_top.png diff --git a/streetlamps/textures/streets_lamps_basi_inv.png b/streetsmod/textures/streets_lamps_basi_inv.png Binary files differindex 5c31236..5c31236 100644 --- a/streetlamps/textures/streets_lamps_basi_inv.png +++ b/streetsmod/textures/streets_lamps_basi_inv.png diff --git a/streetlamps/textures/streets_lamps_basic_bottom.png b/streetsmod/textures/streets_lamps_basic_bottom.png Binary files differindex 07d123f..07d123f 100644 --- a/streetlamps/textures/streets_lamps_basic_bottom.png +++ b/streetsmod/textures/streets_lamps_basic_bottom.png diff --git a/streetlamps/textures/streets_lamps_basic_middle.png b/streetsmod/textures/streets_lamps_basic_middle.png Binary files differindex 1370765..1370765 100644 --- a/streetlamps/textures/streets_lamps_basic_middle.png +++ b/streetsmod/textures/streets_lamps_basic_middle.png diff --git a/streetlamps/textures/streets_lamps_basic_top.png b/streetsmod/textures/streets_lamps_basic_top.png Binary files differindex 355f50d..355f50d 100644 --- a/streetlamps/textures/streets_lamps_basic_top.png +++ b/streetsmod/textures/streets_lamps_basic_top.png diff --git a/streetlamps/textures/streets_lamps_basic_top_top.png b/streetsmod/textures/streets_lamps_basic_top_top.png Binary files differindex 4d6bf22..4d6bf22 100644 --- a/streetlamps/textures/streets_lamps_basic_top_top.png +++ b/streetsmod/textures/streets_lamps_basic_top_top.png diff --git a/manholes/textures/streets_manhole.png b/streetsmod/textures/streets_manhole.png Binary files differindex 13dd9ce..13dd9ce 100644 --- a/manholes/textures/streets_manhole.png +++ b/streetsmod/textures/streets_manhole.png diff --git a/manholes/textures/streets_manhole_advanced.png b/streetsmod/textures/streets_manhole_advanced.png Binary files differindex a8f876d..a8f876d 100644 --- a/manholes/textures/streets_manhole_advanced.png +++ b/streetsmod/textures/streets_manhole_advanced.png diff --git a/labels/textures/streets_parking.png b/streetsmod/textures/streets_parking.png Binary files differindex a091ef5..a091ef5 100644 --- a/labels/textures/streets_parking.png +++ b/streetsmod/textures/streets_parking.png diff --git a/roadsigns/textures/streets_pole.png b/streetsmod/textures/streets_pole.png Binary files differindex 3fbed28..3fbed28 100644 --- a/roadsigns/textures/streets_pole.png +++ b/streetsmod/textures/streets_pole.png diff --git a/roadsigns/textures/streets_pole_inv.png b/streetsmod/textures/streets_pole_inv.png Binary files differindex fce2292..fce2292 100644 --- a/roadsigns/textures/streets_pole_inv.png +++ b/streetsmod/textures/streets_pole_inv.png diff --git a/roadworks/textures/streets_rw_arrow_alldirs.png b/streetsmod/textures/streets_rw_arrow_alldirs.png Binary files differindex 532280e..532280e 100644 --- a/roadworks/textures/streets_rw_arrow_alldirs.png +++ b/streetsmod/textures/streets_rw_arrow_alldirs.png diff --git a/roadworks/textures/streets_rw_arrow_left.png b/streetsmod/textures/streets_rw_arrow_left.png Binary files differindex 6a51a51..6a51a51 100644 --- a/roadworks/textures/streets_rw_arrow_left.png +++ b/streetsmod/textures/streets_rw_arrow_left.png diff --git a/roadworks/textures/streets_rw_arrow_right.png b/streetsmod/textures/streets_rw_arrow_right.png Binary files differindex 05f503f..05f503f 100644 --- a/roadworks/textures/streets_rw_arrow_right.png +++ b/streetsmod/textures/streets_rw_arrow_right.png diff --git a/roadworks/textures/streets_rw_arrow_straight.png b/streetsmod/textures/streets_rw_arrow_straight.png Binary files differindex 0c9e613..0c9e613 100644 --- a/roadworks/textures/streets_rw_arrow_straight.png +++ b/streetsmod/textures/streets_rw_arrow_straight.png diff --git a/roadworks/textures/streets_rw_arrow_straight_left.png b/streetsmod/textures/streets_rw_arrow_straight_left.png Binary files differindex 0429c81..0429c81 100644 --- a/roadworks/textures/streets_rw_arrow_straight_left.png +++ b/streetsmod/textures/streets_rw_arrow_straight_left.png diff --git a/roadworks/textures/streets_rw_arrow_straight_right.png b/streetsmod/textures/streets_rw_arrow_straight_right.png Binary files differindex 02367d7..02367d7 100644 --- a/roadworks/textures/streets_rw_arrow_straight_right.png +++ b/streetsmod/textures/streets_rw_arrow_straight_right.png diff --git a/roadworks/textures/streets_rw_asphalt_side.png b/streetsmod/textures/streets_rw_asphalt_side.png Binary files differindex 83c8a6e..83c8a6e 100644 --- a/roadworks/textures/streets_rw_asphalt_side.png +++ b/streetsmod/textures/streets_rw_asphalt_side.png diff --git a/roadworks/textures/streets_rw_cross.png b/streetsmod/textures/streets_rw_cross.png Binary files differindex a1f34b0..a1f34b0 100644 --- a/roadworks/textures/streets_rw_cross.png +++ b/streetsmod/textures/streets_rw_cross.png diff --git a/roadworks/textures/streets_rw_dashed_line.png b/streetsmod/textures/streets_rw_dashed_line.png Binary files differindex 4eb211e..4eb211e 100644 --- a/roadworks/textures/streets_rw_dashed_line.png +++ b/streetsmod/textures/streets_rw_dashed_line.png diff --git a/roadworks/textures/streets_rw_dashed_line_crossing.png b/streetsmod/textures/streets_rw_dashed_line_crossing.png Binary files differindex bebe4c5..bebe4c5 100644 --- a/roadworks/textures/streets_rw_dashed_line_crossing.png +++ b/streetsmod/textures/streets_rw_dashed_line_crossing.png diff --git a/roadworks/textures/streets_rw_dashed_line_curve.png b/streetsmod/textures/streets_rw_dashed_line_curve.png Binary files differindex 4a59805..4a59805 100644 --- a/roadworks/textures/streets_rw_dashed_line_curve.png +++ b/streetsmod/textures/streets_rw_dashed_line_curve.png diff --git a/roadworks/textures/streets_rw_dashed_line_tjunction.png b/streetsmod/textures/streets_rw_dashed_line_tjunction.png Binary files differindex 144480b..144480b 100644 --- a/roadworks/textures/streets_rw_dashed_line_tjunction.png +++ b/streetsmod/textures/streets_rw_dashed_line_tjunction.png diff --git a/roadworks/textures/streets_rw_outer_edge.png b/streetsmod/textures/streets_rw_outer_edge.png Binary files differindex 54f16ea..54f16ea 100644 --- a/roadworks/textures/streets_rw_outer_edge.png +++ b/streetsmod/textures/streets_rw_outer_edge.png diff --git a/roadworks/textures/streets_rw_parking.png b/streetsmod/textures/streets_rw_parking.png Binary files differindex aea7fb5..aea7fb5 100644 --- a/roadworks/textures/streets_rw_parking.png +++ b/streetsmod/textures/streets_rw_parking.png diff --git a/roadworks/textures/streets_rw_solid_line.png b/streetsmod/textures/streets_rw_solid_line.png Binary files differindex 3396d63..3396d63 100644 --- a/roadworks/textures/streets_rw_solid_line.png +++ b/streetsmod/textures/streets_rw_solid_line.png diff --git a/roadworks/textures/streets_rw_solid_line_crossing.png b/streetsmod/textures/streets_rw_solid_line_crossing.png Binary files differindex 4f911ed..4f911ed 100644 --- a/roadworks/textures/streets_rw_solid_line_crossing.png +++ b/streetsmod/textures/streets_rw_solid_line_crossing.png diff --git a/roadworks/textures/streets_rw_solid_line_curve.png b/streetsmod/textures/streets_rw_solid_line_curve.png Binary files differindex 596983c..596983c 100644 --- a/roadworks/textures/streets_rw_solid_line_curve.png +++ b/streetsmod/textures/streets_rw_solid_line_curve.png diff --git a/roadworks/textures/streets_rw_solid_line_tjunction.png b/streetsmod/textures/streets_rw_solid_line_tjunction.png Binary files differindex e6d11e7..e6d11e7 100644 --- a/roadworks/textures/streets_rw_solid_line_tjunction.png +++ b/streetsmod/textures/streets_rw_solid_line_tjunction.png diff --git a/roadworks/textures/streets_rw_transparent.png b/streetsmod/textures/streets_rw_transparent.png Binary files differindex 9f466f4..9f466f4 100644 --- a/roadworks/textures/streets_rw_transparent.png +++ b/streetsmod/textures/streets_rw_transparent.png diff --git a/roadsigns/textures/streets_sign_back.png b/streetsmod/textures/streets_sign_back.png Binary files differindex 77d4210..77d4210 100644 --- a/roadsigns/textures/streets_sign_back.png +++ b/streetsmod/textures/streets_sign_back.png diff --git a/roadsigns/textures/streets_sign_construction.png b/streetsmod/textures/streets_sign_construction.png Binary files differindex f2c2455..f2c2455 100644 --- a/roadsigns/textures/streets_sign_construction.png +++ b/streetsmod/textures/streets_sign_construction.png diff --git a/roadsigns/textures/streets_sign_lava.png b/streetsmod/textures/streets_sign_lava.png Binary files differindex e80f8e2..e80f8e2 100644 --- a/roadsigns/textures/streets_sign_lava.png +++ b/streetsmod/textures/streets_sign_lava.png diff --git a/roadsigns/textures/streets_sign_water.png b/streetsmod/textures/streets_sign_water.png Binary files differindex b941817..b941817 100644 --- a/roadsigns/textures/streets_sign_water.png +++ b/streetsmod/textures/streets_sign_water.png diff --git a/roadsigns/textures/streets_signworkshop_bottom.png b/streetsmod/textures/streets_signworkshop_bottom.png Binary files differindex 022bb2c..022bb2c 100644 --- a/roadsigns/textures/streets_signworkshop_bottom.png +++ b/streetsmod/textures/streets_signworkshop_bottom.png diff --git a/roadsigns/textures/streets_signworkshop_front.png b/streetsmod/textures/streets_signworkshop_front.png Binary files differindex 83317b1..83317b1 100644 --- a/roadsigns/textures/streets_signworkshop_front.png +++ b/streetsmod/textures/streets_signworkshop_front.png diff --git a/roadsigns/textures/streets_signworkshop_side.png b/streetsmod/textures/streets_signworkshop_side.png Binary files differindex 509a3e3..509a3e3 100644 --- a/roadsigns/textures/streets_signworkshop_side.png +++ b/streetsmod/textures/streets_signworkshop_side.png diff --git a/roadsigns/textures/streets_signworkshop_top.png b/streetsmod/textures/streets_signworkshop_top.png Binary files differindex 07f4f06..07f4f06 100644 --- a/roadsigns/textures/streets_signworkshop_top.png +++ b/streetsmod/textures/streets_signworkshop_top.png diff --git a/emergencyphone/textures/streets_sos_bottom.png b/streetsmod/textures/streets_sos_bottom.png Binary files differindex 0437ef1..0437ef1 100644 --- a/emergencyphone/textures/streets_sos_bottom.png +++ b/streetsmod/textures/streets_sos_bottom.png diff --git a/emergencyphone/textures/streets_sos_front.png b/streetsmod/textures/streets_sos_front.png Binary files differindex ea524dd..ea524dd 100644 --- a/emergencyphone/textures/streets_sos_front.png +++ b/streetsmod/textures/streets_sos_front.png diff --git a/emergencyphone/textures/streets_sos_side.png b/streetsmod/textures/streets_sos_side.png Binary files differindex af83757..af83757 100644 --- a/emergencyphone/textures/streets_sos_side.png +++ b/streetsmod/textures/streets_sos_side.png diff --git a/emergencyphone/textures/streets_sos_top.png b/streetsmod/textures/streets_sos_top.png Binary files differindex 4683430..4683430 100644 --- a/emergencyphone/textures/streets_sos_top.png +++ b/streetsmod/textures/streets_sos_top.png diff --git a/steelsupport/textures/streets_support.png b/streetsmod/textures/streets_support.png Binary files differindex 610a38a..610a38a 100644 --- a/steelsupport/textures/streets_support.png +++ b/streetsmod/textures/streets_support.png diff --git a/trafficlight/textures/streets_tl_bg.png b/streetsmod/textures/streets_tl_bg.png Binary files differindex f0bba98..f0bba98 100644 --- a/trafficlight/textures/streets_tl_bg.png +++ b/streetsmod/textures/streets_tl_bg.png diff --git a/trafficlight/textures/streets_tl_green.png b/streetsmod/textures/streets_tl_green.png Binary files differindex 014b118..014b118 100644 --- a/trafficlight/textures/streets_tl_green.png +++ b/streetsmod/textures/streets_tl_green.png diff --git a/trafficlight/textures/streets_tl_off.png b/streetsmod/textures/streets_tl_off.png Binary files differindex 16621e7..16621e7 100644 --- a/trafficlight/textures/streets_tl_off.png +++ b/streetsmod/textures/streets_tl_off.png diff --git a/trafficlight/textures/streets_tl_red.png b/streetsmod/textures/streets_tl_red.png Binary files differindex 2481a86..2481a86 100644 --- a/trafficlight/textures/streets_tl_red.png +++ b/streetsmod/textures/streets_tl_red.png diff --git a/trafficlight/textures/streets_tl_redyellow.png b/streetsmod/textures/streets_tl_redyellow.png Binary files differindex 0a85622..0a85622 100644 --- a/trafficlight/textures/streets_tl_redyellow.png +++ b/streetsmod/textures/streets_tl_redyellow.png diff --git a/trafficlight/textures/streets_tl_warn.png b/streetsmod/textures/streets_tl_warn.png Binary files differindex 8b4da58..8b4da58 100644 --- a/trafficlight/textures/streets_tl_warn.png +++ b/streetsmod/textures/streets_tl_warn.png diff --git a/trafficlight/textures/streets_tl_yellow.png b/streetsmod/textures/streets_tl_yellow.png Binary files differindex 3666cae..3666cae 100644 --- a/trafficlight/textures/streets_tl_yellow.png +++ b/streetsmod/textures/streets_tl_yellow.png diff --git a/trafficlight/textures/streets_trafficlight_inv.png b/streetsmod/textures/streets_trafficlight_inv.png Binary files differindex fb76b72..fb76b72 100644 --- a/trafficlight/textures/streets_trafficlight_inv.png +++ b/streetsmod/textures/streets_trafficlight_inv.png diff --git a/trafficlight/init.lua b/trafficlight/init.lua index 3eaa43a..4704743 100644 --- a/trafficlight/init.lua +++ b/trafficlight/init.lua @@ -2,7 +2,7 @@ StreetsMod: inDev Trafficlights ]] minetest.register_node(":streets:trafficlight_bottom",{ - description = "Cheater", + description = S("Cheater"), drop = "", groups = {not_in_creative_inventory = 1}, paramtype = "light", @@ -20,7 +20,7 @@ minetest.register_node(":streets:trafficlight_bottom",{ }) minetest.register_node(":streets:trafficlight_middle",{ - description = "Cheater!", + description = S("Cheater!"), drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", @@ -37,7 +37,7 @@ minetest.register_node(":streets:trafficlight_middle",{ }) minetest.register_node(":streets:trafficlight_controller",{ - description = "Trafficlight", + description = S("Trafficlight"), inventory_image = "streets_trafficlight_inv.png", tiles = {"streets_lampcontroller_top.png","streets_lampcontroller_bottom.png","streets_lampcontroller_sides.png"}, groups = {cracky = 1}, @@ -119,7 +119,7 @@ minetest.register_node(":streets:trafficlight_controller",{ }) minetest.register_node(":streets:trafficlight_top_off",{ - description = "U cheater U", + description = S("U cheater U"), drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", @@ -137,7 +137,7 @@ minetest.register_node(":streets:trafficlight_top_off",{ }) minetest.register_node(":streets:trafficlight_top_red",{ - description = "U cheater U", + description = S("U cheater U"), drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", @@ -156,7 +156,7 @@ minetest.register_node(":streets:trafficlight_top_red",{ }) minetest.register_node(":streets:trafficlight_top_yellow",{ - description = "U cheater U", + description = S("U cheater U"), drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", @@ -175,7 +175,7 @@ minetest.register_node(":streets:trafficlight_top_yellow",{ }) minetest.register_node(":streets:trafficlight_top_redyellow",{ - description = "U cheater U", + description = S("U cheater U"), drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", @@ -194,7 +194,7 @@ minetest.register_node(":streets:trafficlight_top_redyellow",{ }) minetest.register_node(":streets:trafficlight_top_green",{ - description = "U cheater U", + description = S("U cheater U"), drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", @@ -213,7 +213,7 @@ minetest.register_node(":streets:trafficlight_top_green",{ }) minetest.register_node(":streets:trafficlight_top_warn",{ - description = "U cheater U", + description = S("U cheater U"), drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", |