Add vertical variants of the two rectangular wall lights, add new modern_ish_roads mod that adds new and faded asphalt.

master
Thomas Leathers 2020-12-12 13:06:04 -05:00
parent f500145052
commit 342b40d454
10 changed files with 66 additions and 3 deletions

View File

@ -225,4 +225,4 @@ dofile(modpathis.."/plants.lua")
dofile(modpathis.."/furniture.lua")
dofile(modpathis.."/wallitems.lua")
dofile(modpathis.."/ceiltiles.lua")
dofile(modpathis.."/util.lua")
dofile(modpathis.."/util.lua")

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -15,6 +15,22 @@ minetest.register_node("modern_ish:light_minilamp", {
type = "wallmounted",
},
})
minetest.register_node("modern_ish:light_minilamp_90", {
tiles = {"modern_ish_light_minilamp_90.png"},
inventory_image = "modern_ish_light_minilamp_90.png",
groups = {snappy=1, choppy=2},
paramtype = "light",
light_source = 14,
walkable = false,
drawtype = "signlike",
sunlight_propagates = true,
paramtype2 = "wallmounted",
description = "a small wall-mounted light (rotated 90 Degrees)",
is_ground_content = false,
selection_box = {
type = "wallmounted",
},
})
minetest.register_node("modern_ish:light_minilamp_2", {
tiles = {"modern_ish_light_minilamp_2.png"},
inventory_image = "modern_ish_light_minilamp_2.png",
@ -49,7 +65,38 @@ minetest.register_node("modern_ish:light_minilamp_3", {
},
})
minetest.register_node("modern_ish:light_minilamp_3_90", {
tiles = {"modern_ish_light_minilamp_3_90.png"},
inventory_image = "modern_ish_light_minilamp_3_90.png",
groups = {snappy=1, choppy=2},
paramtype = "light",
light_source = 14,
walkable = false,
drawtype = "signlike",
sunlight_propagates = true,
paramtype2 = "wallmounted",
description = "a small, wall-mounted florescent lamp (rotated 90 degrees)",
is_ground_content = false,
selection_box = {
type = "wallmounted",
},
})
minetest.register_node("modern_ish:light_minilamp_4", {
tiles = {"modern_ish_light_minilamp_4.png"},
inventory_image = "modern_ish_light_minilamp_4.png",
groups = {snappy=1, choppy=2},
paramtype = "light",
light_source = 14,
walkable = false,
drawtype = "signlike",
sunlight_propagates = true,
paramtype2 = "wallmounted",
description = "a small, wall-mounted florescent lamp",
is_ground_content = false,
selection_box = {
type = "wallmounted",
},
})
--Other wallmounted things
minetest.register_node("modern_ish:wi_phone", {

16
modern_ish_roads/init.lua Normal file
View File

@ -0,0 +1,16 @@
modern_ish_roads = {}
minetest.register_node("modern_ish_roads:asphalt", {
tiles = {"modern_ish_asphalt.png"},
groups = {snappy=1, choppy=2},
description = "Recently tarred asphalt..",
is_ground_content = false,
})
minetest.register_node("modern_ish_roads:faded_asphalt", {
tiles = {"modern_ish_asphalt_faded.png"},
groups = {snappy=1, choppy=2},
description = "Faded ashalt.",
is_ground_content = false,
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,7 +1,7 @@
modern_ish
a 'modern-ish' modpack for minetest
Copyright (c) 2016-2019 Thomas Leathers and contributors
Copyright (c) 2016-2020 Thomas Leathers and contributors
modern_ish is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 KiB

After

Width:  |  Height:  |  Size: 336 KiB