diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2019-07-12 00:32:27 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2019-07-12 00:32:27 +0200 |
commit | 4a8d9ac3d7d174524f0d17892d0b4fb66183c6b1 (patch) | |
tree | 32f24669a048ab2d679bcdc38e6b85fe7392e7ba | |
parent | 68cadb6ce89cae357370efd20bea59d7ed06e354 (diff) | |
download | billboard-4a8d9ac3d7d174524f0d17892d0b4fb66183c6b1.tar.gz billboard-4a8d9ac3d7d174524f0d17892d0b4fb66183c6b1.tar.bz2 billboard-4a8d9ac3d7d174524f0d17892d0b4fb66183c6b1.zip |
add arse train lines and ph metrorail
-rw-r--r-- | init.lua | 26 | ||||
-rw-r--r-- | nodes.lua | 132 | ||||
-rw-r--r-- | textures/Screenshot.jpg | bin | 208990 -> 0 bytes | |||
-rw-r--r-- | textures/Screenshot.png | bin | 1835340 -> 0 bytes | |||
-rw-r--r-- | textures/aikido.jpg | bin | 30778 -> 0 bytes | |||
-rw-r--r-- | textures/aikido.png | bin | 142563 -> 0 bytes | |||
-rw-r--r-- | textures/army.jpg | bin | 36777 -> 0 bytes | |||
-rw-r--r-- | textures/army.png | bin | 250904 -> 0 bytes | |||
-rw-r--r-- | textures/detergen.jpg | bin | 28378 -> 0 bytes | |||
-rw-r--r-- | textures/detergen.png | bin | 192254 -> 0 bytes | |||
-rw-r--r-- | textures/mesedrink.jpg | bin | 21407 -> 0 bytes | |||
-rw-r--r-- | textures/mesedrink.png | bin | 103826 -> 0 bytes | |||
-rw-r--r-- | textures/meseforte.jpg | bin | 18280 -> 0 bytes | |||
-rw-r--r-- | textures/meseforte.png | bin | 129020 -> 0 bytes | |||
-rw-r--r-- | textures/mesewave.jpg | bin | 21277 -> 0 bytes | |||
-rw-r--r-- | textures/mesewave.png | bin | 154606 -> 0 bytes | |||
-rw-r--r-- | textures/newspaper.jpg | bin | 16501 -> 0 bytes | |||
-rw-r--r-- | textures/newspaper.png | bin | 129691 -> 0 bytes |
18 files changed, 74 insertions, 84 deletions
@@ -30,8 +30,12 @@ for i,n in ipairs(boardlist) do n.imgtyp = "png" end + if not n.name then + n.name=n.item1 .. "_" .. n.item2 .. "_" .. n.item3 + end + -- Register the Node - minetest.register_node("billboard:bb_".. n.item1 .."_"..n.item2 .."_"..n.item3, { + minetest.register_node("billboard:bb_"..n.name, { description = n.title, drawtype = "signlike", visual_scale = n.scale, @@ -53,14 +57,16 @@ for i,n in ipairs(boardlist) do }) - -- Register the Recipe for the Node - minetest.register_craft({ - output = "billboard:bb_"..n.item1.."_"..n.item2.."_"..n.item3, - recipe = { - {"group:stick", "group:stick", "group:stick"}, - {"default:"..n.item1, "wool:"..n.item2, "wool:"..n.item3}, - {"group:stick", "group:stick", "group:stick"} - } - }) + if not n.norecipe then + -- Register the Recipe for the Node + minetest.register_craft({ + output = "billboard:bb_"..n.name, + recipe = { + {"group:stick", "group:stick", "group:stick"}, + {"default:"..n.item1, "wool:"..n.item2, "wool:"..n.item3}, + {"group:stick", "group:stick", "group:stick"} + } + }) + end end @@ -33,77 +33,61 @@ --]] -boardlist = - { - - { - title = "Aikido Billboard", - item1 = "sign_wall_wood", - item2 = "white", - item3 = "white", - scale = 3.0, - filename = "aikido", - imgtyp = "jpg" - }, - - { - title = "Detergen Billboard", - item1 = "sign_wall_wood", - item2 = "yellow", - item3 = "yellow", - scale = 3.0, - filename = "detergen", - imgtyp = "jpg" - }, - - { - title = "Mesedrink Billboard", - item1 = "sign_wall_wood", - item2 = "black", - item3 = "yellow", - scale = 3.5, - filename = "mesedrink", - imgtyp = "jpg" - }, - - { - title = "Meseforte Billboard", - item1 = "sign_wall_wood", - item2 = "green", - item3 = "blue", - scale = 3.0, - filename = "meseforte", - imgtyp = "png" - }, - - { - title = "Mesewave Billboard", - item1 = "sign_wall_wood", - item2 = "blue", - item3 = "yellow", - scale = 2.0, - filename = "mesewave", - imgtyp = "jpg" - }, - - { - title = "Newspaper Billboard", - item1 = "paper", - item2 = "black", - item3 = "orange", - scale = 2.5, - filename = "newspaper", - imgtyp = "jpg" - }, - - { - title = "Army Billboard", - item1 = "paper", - item2 = "green", - item3 = "green", - scale = 2.0, - filename = "army", - imgtyp = "png" - } - - } -- bb_boardlist +boardlist = { + { + name = "swmap", + title = "Subway Map Billboard", + scale = 3.0, + norecipe = true, + filename = "index", + imgtyp = "png" + }, + { + name = "bigswmap", + title = "BIG Subway Map Billboard", + scale = 5.0, + norecipe = true, + filename = "index", + imgtyp = "png" + }, + { + name = "rowhouses", + title = "Row Houses Billboard", + scale = 3.0, + norecipe = true, + filename = "rowhouses", + imgtyp = "png" + }, + { + name = "treehouse", + title = "Treehouse Hotel Billboard", + scale = 3.0, + norecipe = true, + filename = "thotel", + imgtyp = "png" + }, + { + name="multicraft", + title="Multicraft Banner", + scale= 3.0, + norecipe=true, + filename="multicraft-texture", + imgtyp="png", + }, + { + name="atl", + title="ARSE Train lines", + scale= 3.0, + norecipe=true, + filename="arsetrainlines", + imgtyp="png", + }, + { + name="phm", + title="Personhood Metrorail", + scale= 3.0, + norecipe=true, + filename="phmetrorail", + imgtyp="png", + }, +} -- bb_boardlist diff --git a/textures/Screenshot.jpg b/textures/Screenshot.jpg Binary files differdeleted file mode 100644 index 45122d4..0000000 --- a/textures/Screenshot.jpg +++ /dev/null diff --git a/textures/Screenshot.png b/textures/Screenshot.png Binary files differdeleted file mode 100644 index 3d61866..0000000 --- a/textures/Screenshot.png +++ /dev/null diff --git a/textures/aikido.jpg b/textures/aikido.jpg Binary files differdeleted file mode 100644 index e7cc68b..0000000 --- a/textures/aikido.jpg +++ /dev/null diff --git a/textures/aikido.png b/textures/aikido.png Binary files differdeleted file mode 100644 index d10b1a8..0000000 --- a/textures/aikido.png +++ /dev/null diff --git a/textures/army.jpg b/textures/army.jpg Binary files differdeleted file mode 100644 index b437edf..0000000 --- a/textures/army.jpg +++ /dev/null diff --git a/textures/army.png b/textures/army.png Binary files differdeleted file mode 100644 index 21437ea..0000000 --- a/textures/army.png +++ /dev/null diff --git a/textures/detergen.jpg b/textures/detergen.jpg Binary files differdeleted file mode 100644 index e2cdaca..0000000 --- a/textures/detergen.jpg +++ /dev/null diff --git a/textures/detergen.png b/textures/detergen.png Binary files differdeleted file mode 100644 index 334a3c8..0000000 --- a/textures/detergen.png +++ /dev/null diff --git a/textures/mesedrink.jpg b/textures/mesedrink.jpg Binary files differdeleted file mode 100644 index e687c76..0000000 --- a/textures/mesedrink.jpg +++ /dev/null diff --git a/textures/mesedrink.png b/textures/mesedrink.png Binary files differdeleted file mode 100644 index 3467572..0000000 --- a/textures/mesedrink.png +++ /dev/null diff --git a/textures/meseforte.jpg b/textures/meseforte.jpg Binary files differdeleted file mode 100644 index 897af9a..0000000 --- a/textures/meseforte.jpg +++ /dev/null diff --git a/textures/meseforte.png b/textures/meseforte.png Binary files differdeleted file mode 100644 index 1efa759..0000000 --- a/textures/meseforte.png +++ /dev/null diff --git a/textures/mesewave.jpg b/textures/mesewave.jpg Binary files differdeleted file mode 100644 index 25ed5c3..0000000 --- a/textures/mesewave.jpg +++ /dev/null diff --git a/textures/mesewave.png b/textures/mesewave.png Binary files differdeleted file mode 100644 index a6df1ba..0000000 --- a/textures/mesewave.png +++ /dev/null diff --git a/textures/newspaper.jpg b/textures/newspaper.jpg Binary files differdeleted file mode 100644 index e89a4cb..0000000 --- a/textures/newspaper.jpg +++ /dev/null diff --git a/textures/newspaper.png b/textures/newspaper.png Binary files differdeleted file mode 100644 index 3c3149e..0000000 --- a/textures/newspaper.png +++ /dev/null |