Merge pull request #1 from webdesigner97/master

update to latest version
master
Xanthin 2014-04-15 23:23:13 +02:00
commit b9ea10d76e
96 changed files with 229 additions and 92 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "streetsmod/libs/smartfs"]
path = streetsmod/libs/smartfs
url = https://github.com/rubenwardy/smartfs.git

View File

@ -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}
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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"

View File

@ -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",

View File

@ -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",

View File

@ -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
}
}
})
},
after_place_node = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("infotext", "Warning: Construction area, possible deep excavations")
end
})

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

5
streetshotfix/init.lua Normal file
View File

@ -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")

View File

@ -1 +1,2 @@
default
default
intllib?

View File

@ -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()

@ -0,0 +1 @@
Subproject commit c700a1234606a8b5341611748d70b6578cabc367

47
streetsmod/locale/de.txt Normal file
View File

@ -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

View File

@ -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=

View File

@ -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

View File

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

Before

Width:  |  Height:  |  Size: 184 B

After

Width:  |  Height:  |  Size: 184 B

View File

Before

Width:  |  Height:  |  Size: 644 B

After

Width:  |  Height:  |  Size: 644 B

View File

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

View File

Before

Width:  |  Height:  |  Size: 845 B

After

Width:  |  Height:  |  Size: 845 B

View File

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 441 B

View File

Before

Width:  |  Height:  |  Size: 532 B

After

Width:  |  Height:  |  Size: 532 B

View File

Before

Width:  |  Height:  |  Size: 651 B

After

Width:  |  Height:  |  Size: 651 B

View File

Before

Width:  |  Height:  |  Size: 583 B

After

Width:  |  Height:  |  Size: 583 B

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 767 B

After

Width:  |  Height:  |  Size: 767 B

View File

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -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",