diff options
author | pyrollo <dev@pyrollo.com> | 2017-12-10 10:46:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-10 10:46:48 +0100 |
commit | d07e0c5c134eb9a6e8b5dc097a86d642d67fa04d (patch) | |
tree | 71a53f16da091e399d40239541711a54a7e47cfe /signs_road | |
parent | 2e4d8f529c85b5de0cbc0399ca453783fd4888d6 (diff) | |
parent | 63317776bda02f413729e655b0f1e0e8c0973ccb (diff) | |
download | display_modpack-d07e0c5c134eb9a6e8b5dc097a86d642d67fa04d.tar.gz display_modpack-d07e0c5c134eb9a6e8b5dc097a86d642d67fa04d.tar.bz2 display_modpack-d07e0c5c134eb9a6e8b5dc097a86d642d67fa04d.zip |
Merge pull request #8 from gpcf/master
Compatibility with signs_lib and advtrains, new large banner signs.
Diffstat (limited to 'signs_road')
-rw-r--r-- | signs_road/crafts.lua | 9 | ||||
-rw-r--r-- | signs_road/nodes.lua | 19 | ||||
-rw-r--r-- | signs_road/textures/station_sign.png | bin | 0 -> 168 bytes |
3 files changed, 28 insertions, 0 deletions
diff --git a/signs_road/crafts.lua b/signs_road/crafts.lua index 0a0c205..6d36361 100644 --- a/signs_road/crafts.lua +++ b/signs_road/crafts.lua @@ -47,6 +47,15 @@ minetest.register_craft({ }) minetest.register_craft({ + type = "shapeless", + output = 'signs_road:large_street_sign', + recipe = {'signs_road:white_street_sign','signs_road:white_street_sign','signs_road:white_street_sign','signs_road:white_street_sign'} + +}) + + + +minetest.register_craft({ output = 'signs_road:green_street_sign 2', recipe = { {'dye:green', 'dye:white', ''}, diff --git a/signs_road/nodes.lua b/signs_road/nodes.lua index 9b7f205..d90b7c6 100644 --- a/signs_road/nodes.lua +++ b/signs_road/nodes.lua @@ -39,6 +39,25 @@ local models = { inventory_image = "signs_road_blue.png", }, }, + large_street_sign = { + depth = 1/16, + width = 64/16, + height = 12/16, + entity_fields = { + resolution = { x = 30, y = 20 }, + maxlines = 1, + color = "#000", + }, + node_fields = { + visual_scale = 1, + description = S("Large banner"), + tiles = { "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "station_sign.png" }, + inventory_image = "signs_road_white.png", + }, + }, + red_street_sign = { depth = 1/16, width = 1, diff --git a/signs_road/textures/station_sign.png b/signs_road/textures/station_sign.png Binary files differnew file mode 100644 index 0000000..c2a7872 --- /dev/null +++ b/signs_road/textures/station_sign.png |