├── LICENSE ├── README.md ├── crafts.md ├── modpack.conf ├── morelights ├── init.lua ├── locale │ └── template.txt ├── mod.conf ├── models │ ├── chains.blend │ ├── morelights_chain.obj │ └── morelights_chain_ceiling.obj ├── nodes.lua └── textures │ ├── morelights_bulb.png │ ├── morelights_chain_d_inv.png │ ├── morelights_chain_l_inv.png │ ├── morelights_metal_dark.png │ ├── morelights_metal_dark_32.png │ ├── morelights_metal_light.png │ ├── morelights_metal_light_32.png │ ├── morelights_pole_d_inv.png │ └── morelights_pole_l_inv.png ├── morelights_extras ├── init.lua ├── locale │ └── template.txt ├── mod.conf └── textures │ ├── morelights_extras_blocklight.png │ ├── morelights_extras_f_block.png │ ├── morelights_extras_stairlight.png │ └── morelights_extras_stairlight_inv.png ├── morelights_modern ├── init.lua ├── locale │ └── template.txt ├── mod.conf ├── models │ ├── morelights_modern_canlight.obj │ ├── morelights_modern_tablelamp.obj │ └── morelights_modern_walllamp.obj └── textures │ ├── morelights_modern_barlight.png │ ├── morelights_modern_block.png │ ├── morelights_modern_canlight.png │ ├── morelights_modern_pathlight.png │ ├── morelights_modern_post.png │ ├── morelights_modern_smallblock.png │ ├── morelights_modern_tablelamp_d.png │ ├── morelights_modern_tablelamp_l.png │ ├── morelights_modern_tablelamp_o.png │ └── morelights_modern_walllamp.png ├── morelights_vintage ├── init.lua ├── locale │ └── template.txt ├── mod.conf ├── models │ ├── morelights_vintage_chandelier.obj │ ├── morelights_vintage_hangingbulb.obj │ ├── morelights_vintage_lantern_c.obj │ ├── morelights_vintage_lantern_f.obj │ ├── morelights_vintage_lantern_w.obj │ └── morelights_vintage_oillamp.obj └── textures │ ├── morelights_vintage_block_frame.png │ ├── morelights_vintage_block_frame.xcf │ ├── morelights_vintage_block_glass.png │ ├── morelights_vintage_brass.png │ ├── morelights_vintage_brass_32.png │ ├── morelights_vintage_chain_b_inv.png │ ├── morelights_vintage_chandelier.png │ ├── morelights_vintage_hangingbulb.png │ ├── morelights_vintage_hangingbulb_inv.png │ ├── morelights_vintage_lantern_frame.png │ ├── morelights_vintage_lantern_glass.png │ ├── morelights_vintage_oil_flame.png │ └── morelights_vintage_oillamp.png └── screenshot.png /LICENSE: -------------------------------------------------------------------------------- 1 | GNU LESSER GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | 9 | This version of the GNU Lesser General Public License incorporates 10 | the terms and conditions of version 3 of the GNU General Public 11 | License, supplemented by the additional permissions listed below. 12 | 13 | 0. Additional Definitions. 14 | 15 | As used herein, "this License" refers to version 3 of the GNU Lesser 16 | General Public License, and the "GNU GPL" refers to version 3 of the GNU 17 | General Public License. 18 | 19 | "The Library" refers to a covered work governed by this License, 20 | other than an Application or a Combined Work as defined below. 21 | 22 | An "Application" is any work that makes use of an interface provided 23 | by the Library, but which is not otherwise based on the Library. 24 | Defining a subclass of a class defined by the Library is deemed a mode 25 | of using an interface provided by the Library. 26 | 27 | A "Combined Work" is a work produced by combining or linking an 28 | Application with the Library. The particular version of the Library 29 | with which the Combined Work was made is also called the "Linked 30 | Version". 31 | 32 | The "Minimal Corresponding Source" for a Combined Work means the 33 | Corresponding Source for the Combined Work, excluding any source code 34 | for portions of the Combined Work that, considered in isolation, are 35 | based on the Application, and not on the Linked Version. 36 | 37 | The "Corresponding Application Code" for a Combined Work means the 38 | object code and/or source code for the Application, including any data 39 | and utility programs needed for reproducing the Combined Work from the 40 | Application, but excluding the System Libraries of the Combined Work. 41 | 42 | 1. Exception to Section 3 of the GNU GPL. 43 | 44 | You may convey a covered work under sections 3 and 4 of this License 45 | without being bound by section 3 of the GNU GPL. 46 | 47 | 2. Conveying Modified Versions. 48 | 49 | If you modify a copy of the Library, and, in your modifications, a 50 | facility refers to a function or data to be supplied by an Application 51 | that uses the facility (other than as an argument passed when the 52 | facility is invoked), then you may convey a copy of the modified 53 | version: 54 | 55 | a) under this License, provided that you make a good faith effort to 56 | ensure that, in the event an Application does not supply the 57 | function or data, the facility still operates, and performs 58 | whatever part of its purpose remains meaningful, or 59 | 60 | b) under the GNU GPL, with none of the additional permissions of 61 | this License applicable to that copy. 62 | 63 | 3. Object Code Incorporating Material from Library Header Files. 64 | 65 | The object code form of an Application may incorporate material from 66 | a header file that is part of the Library. You may convey such object 67 | code under terms of your choice, provided that, if the incorporated 68 | material is not limited to numerical parameters, data structure 69 | layouts and accessors, or small macros, inline functions and templates 70 | (ten or fewer lines in length), you do both of the following: 71 | 72 | a) Give prominent notice with each copy of the object code that the 73 | Library is used in it and that the Library and its use are 74 | covered by this License. 75 | 76 | b) Accompany the object code with a copy of the GNU GPL and this license 77 | document. 78 | 79 | 4. Combined Works. 80 | 81 | You may convey a Combined Work under terms of your choice that, 82 | taken together, effectively do not restrict modification of the 83 | portions of the Library contained in the Combined Work and reverse 84 | engineering for debugging such modifications, if you also do each of 85 | the following: 86 | 87 | a) Give prominent notice with each copy of the Combined Work that 88 | the Library is used in it and that the Library and its use are 89 | covered by this License. 90 | 91 | b) Accompany the Combined Work with a copy of the GNU GPL and this license 92 | document. 93 | 94 | c) For a Combined Work that displays copyright notices during 95 | execution, include the copyright notice for the Library among 96 | these notices, as well as a reference directing the user to the 97 | copies of the GNU GPL and this license document. 98 | 99 | d) Do one of the following: 100 | 101 | 0) Convey the Minimal Corresponding Source under the terms of this 102 | License, and the Corresponding Application Code in a form 103 | suitable for, and under terms that permit, the user to 104 | recombine or relink the Application with a modified version of 105 | the Linked Version to produce a modified Combined Work, in the 106 | manner specified by section 6 of the GNU GPL for conveying 107 | Corresponding Source. 108 | 109 | 1) Use a suitable shared library mechanism for linking with the 110 | Library. A suitable mechanism is one that (a) uses at run time 111 | a copy of the Library already present on the user's computer 112 | system, and (b) will operate properly with a modified version 113 | of the Library that is interface-compatible with the Linked 114 | Version. 115 | 116 | e) Provide Installation Information, but only if you would otherwise 117 | be required to provide such information under section 6 of the 118 | GNU GPL, and only to the extent that such information is 119 | necessary to install and execute a modified version of the 120 | Combined Work produced by recombining or relinking the 121 | Application with a modified version of the Linked Version. (If 122 | you use option 4d0, the Installation Information must accompany 123 | the Minimal Corresponding Source and Corresponding Application 124 | Code. If you use option 4d1, you must provide the Installation 125 | Information in the manner specified by section 6 of the GNU GPL 126 | for conveying Corresponding Source.) 127 | 128 | 5. Combined Libraries. 129 | 130 | You may place library facilities that are a work based on the 131 | Library side by side in a single library together with other library 132 | facilities that are not Applications and are not covered by this 133 | License, and convey such a combined library under terms of your 134 | choice, if you do both of the following: 135 | 136 | a) Accompany the combined library with a copy of the same work based 137 | on the Library, uncombined with any other library facilities, 138 | conveyed under the terms of this License. 139 | 140 | b) Give prominent notice with the combined library that part of it 141 | is a work based on the Library, and explaining where to find the 142 | accompanying uncombined form of the same work. 143 | 144 | 6. Revised Versions of the GNU Lesser General Public License. 145 | 146 | The Free Software Foundation may publish revised and/or new versions 147 | of the GNU Lesser General Public License from time to time. Such new 148 | versions will be similar in spirit to the present version, but may 149 | differ in detail to address new problems or concerns. 150 | 151 | Each version is given a distinguishing version number. If the 152 | Library as you received it specifies that a certain numbered version 153 | of the GNU Lesser General Public License "or any later version" 154 | applies to it, you have the option of following the terms and 155 | conditions either of that published version or of any later version 156 | published by the Free Software Foundation. If the Library as you 157 | received it does not specify a version number of the GNU Lesser 158 | General Public License, you may choose any version of the GNU Lesser 159 | General Public License ever published by the Free Software Foundation. 160 | 161 | If the Library as you received it specifies that a proxy can decide 162 | whether future versions of the GNU Lesser General Public License shall 163 | apply, that proxy's public statement of acceptance of any version is 164 | permanent authorization for you to choose that version for the 165 | Library. 166 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # morelights 2 | 3 | [![ContentDB](https://content.minetest.net/packages/random_geek/morelights/shields/downloads/)](https://content.minetest.net/packages/random_geek/morelights/) 4 | [![](https://img.shields.io/badge/Minetest%20Forums-Morelights-4E9A06)](https://forum.minetest.net/viewtopic.php?f=11&t=21464) 5 | 6 | Minetest mod adding additional lighting nodes. 7 | 8 | ![Screenshot](screenshot.png) 9 | 10 | The Morelights modpack adds over 30 lighting and accessory nodes to suit 11 | various styles of builds, both interior and exterior. Includes basic light 12 | blocks, modern and historical-style lighting, and customizable street lamps. 13 | 14 | The modpack is lightweight, with only about **60 kB** of media, including 3D 15 | models. 16 | 17 | Some nodes (ceiling lights, bar lights, poles) can be rotated to serve 18 | different purposes. 19 | 20 | Morelights currently supports Minetest Game, MineClone 2, and Hades Revisited. 21 | 22 | ## Craft Recipes 23 | 24 | Craft recipes for all items can be found in [crafts.md](crafts.md). 25 | 26 | ## Licenses 27 | 28 | Source code is licensed under the LGPL v3.0 license. All other media and assets 29 | are licensed under the CC BY-SA 4.0 license. 30 | -------------------------------------------------------------------------------- /crafts.md: -------------------------------------------------------------------------------- 1 | # Craft recipes for Morelights items 2 | 3 | Copper = copper ingot (Minetest Game, Hades Revisited) or redstone 4 | (MineClone 2). 5 | 6 | Dye = white or dark grey dye, depending on the desired color of the item. 7 | For MineClone 2, use bone meal or grey dye. 8 | 9 | Dark Wood = jungle wood planks (Minetest Game), spruce wood (MineClone 2), or 10 | tropical wood planks (Hades Revisited). 11 | 12 | Glass = regular, non-stained glass block. 13 | 14 | Glass Pane = regular, non-stained glass pane. For Hades Revisited, if 15 | `hades_extensionmods`/`hades_xpanes` is not available, use regular glass 16 | instead. 17 | 18 | Steel = steel ingot (Minetest Game, Hades Revisited) or iron ingot 19 | (MineClone 2). 20 | 21 | ## Basic items 22 | 23 | ### Light Bulb 24 | 25 | Used for most other recipes. 26 | 27 | ``` 28 | +--------+ 29 | | Glass | 30 | +--------+ 31 | | Copper | 32 | +--------+ 33 | | Steel | 34 | +--------+ 35 | ``` 36 | 37 | ### Metal Pole 38 | 39 | ``` 40 | +-----+-------+ 41 | | Dye | Steel | 42 | +-----+-------+ 43 | | | Steel | 44 | +-----+-------+ 45 | | | Steel | 46 | +-----+-------+ 47 | ``` 48 | 49 | ### Metal Chain 50 | 51 | ``` 52 | +-----+-------+ 53 | | Dye | Steel | 54 | +-----+-------+ 55 | | | | 56 | +-----+-------+ 57 | | | Steel | 58 | +-----+-------+ 59 | ``` 60 | 61 | ## Modern 62 | 63 | ### Modern Light Block 64 | 65 | ``` 66 | +-------+-------+-------+ 67 | | | Steel | | 68 | +-------+-------+-------+ 69 | | Glass | Bulb | Glass | 70 | | Pane | | Pane | 71 | +-------+-------+-------+ 72 | | | Steel | | 73 | +-------+-------+-------+ 74 | ``` 75 | 76 | ### Modern Light Block (small) 77 | 78 | ``` 79 | +-------+-------+-------+ 80 | | | Steel | | 81 | +-------+-------+-------+ 82 | | Glass | Bulb | Glass | 83 | | Pane | | Pane | 84 | +-------+-------+-------+ 85 | ``` 86 | 87 | ### Modern Post Light 88 | 89 | ``` 90 | +-----+-------+ 91 | | Dye | Steel | 92 | +-----+-------+ 93 | | | Bulb | 94 | +-----+-------+ 95 | | | Steel | 96 | +-----+-------+ 97 | ``` 98 | 99 | ### Street Lamp Post 100 | 101 | ``` 102 | +-----+-------+-------+ 103 | | Dye | Steel | Steel | 104 | +-----+-------+-------+ 105 | | | Steel | | 106 | +-----+-------+-------+ 107 | | | Steel | | 108 | +-----+-------+-------+ 109 | ``` 110 | 111 | ### Ceiling Bar Light (connecting) 112 | 113 | ``` 114 | +--------+-------+--------+ 115 | | Steel | Steel | Steel | 116 | +--------+-------+--------+ 117 | | Copper | Glass | Copper | 118 | +--------+-------+--------+ 119 | ``` 120 | 121 | Also can be crafted from one straight bar light. 122 | 123 | ### Ceiling Bar Light (straight) 124 | 125 | Craft from one connecting bar light. 126 | 127 | ### Modern Ceiling Light 128 | 129 | ``` 130 | +-------+-------+-------+ 131 | | Steel | Bulb | Steel | 132 | +-------+-------+-------+ 133 | | | Glass | | 134 | | | Pane | | 135 | +-------+-------+-------+ 136 | ``` 137 | 138 | ### Modern Can Light 139 | 140 | ``` 141 | +-------+-------+-------+ 142 | | Dye | Steel | | 143 | +-------+-------+-------+ 144 | | Steel | Bulb | Steel | 145 | +-------+-------+-------+ 146 | ``` 147 | 148 | ### Modern Wall Lamp 149 | 150 | ``` 151 | +-------+-------+-------+ 152 | | | Glass | | 153 | | | Pane | | 154 | +-------+-------+-------+ 155 | | Glass | Bulb | Steel | 156 | | Pane | | | 157 | +-------+-------+-------+ 158 | | | Dark | Steel | 159 | | | Dye | | 160 | +-------+-------+-------+ 161 | ``` 162 | 163 | ### Modern Table Lamp 164 | 165 | ``` 166 | +------+-------+------+ 167 | | | Steel | | 168 | +------+-------+------+ 169 | | Wool | Bulb | Wool | 170 | +------+-------+------+ 171 | | | Steel | | 172 | +------+-------+------+ 173 | ``` 174 | 175 | Use light/dark grey wool. 176 | 177 | ### Modern Path Light 178 | 179 | ``` 180 | +-----+-------+ 181 | | Dye | Bulb | 182 | +-----+-------+ 183 | | | Steel | 184 | +-----+-------+ 185 | | | Steel | 186 | +-----+-------+ 187 | ``` 188 | 189 | ## Vintage 190 | 191 | ### Brass Ingot 192 | 193 | Minetest Game, Hades Revisited: Craft from one steel and one tin ingot. 194 | 195 | MineClone 2: Craft from one iron ingot and one redstone. 196 | 197 | If `basic_materials` is installed, its Brass Ingot will be used instead. 198 | 199 | ### Brass Chain 200 | 201 | ``` 202 | +-------+ 203 | | Brass | 204 | +-------+ 205 | | | 206 | +-------+ 207 | | Brass | 208 | +-------+ 209 | ``` 210 | 211 | ### Vintage Light Block 212 | 213 | ``` 214 | +-------+------+-------+ 215 | | | Dark | | 216 | | | Wood | | 217 | +-------+------+-------+ 218 | | Glass | Bulb | Glass | 219 | | Pane | | Pane | 220 | +-------+------+-------+ 221 | | | Dark | | 222 | | | Wood | | 223 | +-------+------+-------+ 224 | ``` 225 | 226 | ### Vintage Light Block (small) 227 | 228 | ``` 229 | +-------+------+-------+ 230 | | | Dark | | 231 | | | Wood | | 232 | +-------+------+-------+ 233 | | Glass | Bulb | Glass | 234 | | Pane | | Pane | 235 | +-------+------+-------+ 236 | ``` 237 | 238 | ### Vintage Lantern (floor, wall, or ceiling) 239 | 240 | ``` 241 | +-------+-------+-------+ 242 | | | Steel | | 243 | +-------+-------+-------+ 244 | | Glass | Bulb | Glass | 245 | | Pane | | Pane | 246 | +-------+-------+-------+ 247 | | Stick | Steel | Stick | 248 | +-------+-------+-------+ 249 | ``` 250 | 251 | ### Vintage Hanging Light Bulb 252 | 253 | ``` 254 | +--------+ 255 | | Steel | 256 | +--------+ 257 | | Copper | 258 | +--------+ 259 | | Bulb | 260 | +--------+ 261 | ``` 262 | 263 | ### Vintage Oil Lamp 264 | 265 | ``` 266 | +--------+ 267 | | Glass | 268 | +--------+ 269 | | String | 270 | +--------+ 271 | | Brass | 272 | +--------+ 273 | ``` 274 | 275 | ### Vintage Chandelier 276 | 277 | ``` 278 | +-------+-------+-------+ 279 | | | Brass | | 280 | +-------+-------+-------+ 281 | | Bulb | Brass | Bulb | 282 | +-------+-------+-------+ 283 | | Steel | Brass | Steel | 284 | +-------+-------+-------+ 285 | ``` 286 | 287 | # Extras 288 | 289 | ### Futuristic Light Block 290 | 291 | ``` 292 | +---------+-------+---------+ 293 | | Crystal | Steel | Crystal | 294 | +---------+-------+---------+ 295 | | Glass | Bulb | Glass | 296 | | Pane | | Pane | 297 | +---------+-------+---------+ 298 | | Crystal | Steel | Crystal | 299 | +---------+-------+---------+ 300 | ``` 301 | 302 | Crystal = mese fragment (Minetest Game, Hades Revisited) or nether quartz 303 | (MineClone 2). 304 | 305 | ### Grass Light 306 | 307 | ``` 308 | +-------+-------+ 309 | | | Glass | 310 | | | Pane | 311 | +-------+-------+ 312 | | | Bulb | 313 | +-------+-------+ 314 | | Grass | Dirt | 315 | +-------+-------+ 316 | ``` 317 | 318 | Note: use regular grass, NOT a grass block. 319 | 320 | ### Stone Block Light 321 | 322 | ``` 323 | +-------+ 324 | | Glass | 325 | | Pane | 326 | +-------+ 327 | | Bulb | 328 | +-------+ 329 | | Stone | 330 | | Block | 331 | +-------+ 332 | ``` 333 | 334 | For MineClone 2, use polished stone. 335 | 336 | ### Sandstone Block Light 337 | 338 | ``` 339 | +-----------+ 340 | | Glass | 341 | | Pane | 342 | +-----------+ 343 | | Bulb | 344 | +-----------+ 345 | | Sandstone | 346 | | Block | 347 | +-----------+ 348 | ``` 349 | 350 | For MineClone 2, use cut sandstone. 351 | 352 | For Hades Revisited, use fine sandstone. 353 | 354 | ### Stair Light 355 | 356 | ``` 357 | +-------+------+-------+ 358 | | Steel | Bulb | Steel | 359 | +-------+------+-------+ 360 | ``` 361 | -------------------------------------------------------------------------------- /modpack.conf: -------------------------------------------------------------------------------- 1 | name = morelights 2 | description = A lightweight modpack providing flexible interior and exterior lighting options for different styles of builds. 3 | min_minetest_version = 5.4 4 | -------------------------------------------------------------------------------- /morelights/init.lua: -------------------------------------------------------------------------------- 1 | morelights = {} 2 | 3 | -- TODO: Change node definition based on game if groups get too unwieldy. 4 | 5 | function morelights.register_variants(variants, fixedDef) 6 | for _, variant in ipairs(variants) do 7 | local name = variant.name 8 | local def = table.copy(fixedDef) 9 | 10 | for k, v in pairs(variant) do 11 | if k ~= "name" then 12 | def[k] = v 13 | end 14 | end 15 | 16 | minetest.register_node(name, def) 17 | end 18 | end 19 | 20 | function morelights.on_place_hanging(itemstack, placer, pointed_thing, 21 | ceilingName) 22 | local ceiling = minetest.get_node( 23 | vector.add(pointed_thing.above, vector.new(0, 1, 0))) 24 | 25 | if ceiling.name ~= "air" 26 | and minetest.get_item_group(ceiling.name, "mounted_ceiling") == 0 27 | and not (placer and placer:get_player_control().sneak) then 28 | -- Create a dummy itemstack with the ceiling variant's name. 29 | local fakeStack = ItemStack(itemstack) 30 | fakeStack:set_name(ceilingName) 31 | 32 | minetest.item_place(fakeStack, placer, pointed_thing, 0) 33 | 34 | -- Subtract an item from the real itemstack if a node was placed. 35 | itemstack:set_count(fakeStack:get_count()) 36 | return itemstack 37 | end 38 | 39 | minetest.item_place(itemstack, placer, pointed_thing, 0) 40 | return itemstack 41 | end 42 | 43 | function morelights.rotate_and_place(itemstack, placer, pointed_thing, lookup) 44 | local dir = minetest.dir_to_wallmounted( 45 | vector.subtract(pointed_thing.under, pointed_thing.above)) 46 | local fDirs = lookup or {[0] = 20, 0, 16, 12, 8, 4} 47 | minetest.item_place(itemstack, placer, pointed_thing, fDirs[dir] or 0) 48 | return itemstack 49 | end 50 | 51 | 52 | if minetest.get_modpath("mcl_core") then 53 | morelights.game = "mineclone2" 54 | elseif minetest.get_modpath("default") then 55 | morelights.game = "minetest_game" 56 | elseif minetest.get_modpath("hades_core") then 57 | morelights.game = "hades_revisited" 58 | else 59 | error("Morelights requires a compatible game " .. 60 | "(Minetest Game, MineClone 2, or Hades Revisited).") 61 | end 62 | 63 | if morelights.game == "minetest_game" then 64 | morelights.sounds = { 65 | default = default.node_sound_defaults(), 66 | glass = default.node_sound_glass_defaults(), 67 | metal = default.node_sound_metal_defaults() 68 | } 69 | elseif morelights.game == "mineclone2" then 70 | morelights.sounds = { 71 | default = mcl_sounds.node_sound_defaults(), 72 | glass = mcl_sounds.node_sound_glass_defaults(), 73 | metal = mcl_sounds.node_sound_metal_defaults() 74 | } 75 | elseif morelights.game == "hades_revisited" then 76 | morelights.sounds = { 77 | default = hades_sounds.node_sound_defaults(), 78 | glass = hades_sounds.node_sound_glass_defaults(), 79 | metal = hades_sounds.node_sound_metal_defaults() 80 | } 81 | end 82 | 83 | morelights.craft_items = { 84 | glass = "default:glass", 85 | glass_pane = "xpanes:pane_flat", 86 | steel = "default:steel_ingot", 87 | copper = "default:copper_ingot", 88 | tin = "default:tin_ingot", 89 | crystal_fragment = "default:mese_crystal_fragment", 90 | dye_dark = "dye:dark_grey", 91 | dye_light = "dye:white", 92 | wool_dark = "wool:dark_grey", 93 | wool_light = "wool:white", 94 | wood_dark = "default:junglewood", 95 | stone_block = "default:stone_block", 96 | sandstone_block = "default:sandstone_block", 97 | dirt = "default:dirt", 98 | grass = "default:grass_1", 99 | string = "farming:string", 100 | stick = "default:stick", 101 | } 102 | 103 | local a = morelights.craft_items 104 | 105 | if morelights.game == "mineclone2" then 106 | a.glass = "mcl_core:glass" 107 | a.glass_pane = "xpanes:pane_natural_flat" 108 | a.steel = "mcl_core:iron_ingot" 109 | -- MCL has neither copper nor tin. :( 110 | a.copper = "mesecons:redstone" 111 | a.tin = "mcl_core:iron_ingot" 112 | a.crystal_fragment = "mcl_nether:quartz" 113 | a.dye_dark = "mcl_dye:dark_grey" 114 | a.dye_light = "mcl_dye:white" 115 | a.wool_dark = "mcl_wool:grey" 116 | a.wool_light = "mcl_wool:white" 117 | a.wood_dark = "mcl_core:sprucewood" 118 | a.stone_block = "mcl_core:stone_smooth" 119 | a.sandstone_block = "mcl_core:sandstonesmooth" 120 | a.dirt = "mcl_core:dirt" 121 | a.grass = "mcl_flowers:tallgrass" 122 | a.string = "mcl_mobitems:string" 123 | a.stick = "mcl_core:stick" 124 | elseif morelights.game == "hades_revisited" then 125 | a.glass = "hades_core:glass" 126 | -- HR doesn't have glass panes. :( 127 | a.glass_pane = "hades_core:glass" 128 | if minetest.get_modpath("hades_xpanes") then 129 | a.glass_pane = "hades_xpanes:pane_flat" 130 | end 131 | 132 | a.steel = "hades_core:steel_ingot" 133 | a.copper = "hades_core:copper_ingot" 134 | a.tin = "hades_core:tin_ingot" 135 | a.crystal_fragment = "hades_core:mese_crystal_fragment" 136 | a.dye_dark = "dye:dark_grey" 137 | a.dye_light = "dye:white" 138 | a.wool_dark = "wool:grey" 139 | a.wool_light = "wool:white" 140 | a.wood_dark = "hades_trees:jungle_wood" 141 | a.stone_block = "hades_core:stone_block" 142 | a.sandstone_block = "hades_core:sandstone" 143 | a.dirt = "hades_core:dirt" 144 | a.grass = "hades_grass:grass_1" 145 | a.string = "hades_farming:cotton" 146 | a.stick = "hades_core:stick" 147 | end 148 | 149 | -- Use basic_materials brass if available, otherwise register our own. 150 | if minetest.get_modpath("basic_materials") then 151 | a.brass = "basic_materials:brass_ingot" 152 | elseif minetest.get_modpath("hades_extramaterials") then 153 | a.brass = "hades_extramaterials:brass_ingot" 154 | end 155 | 156 | local path = minetest.get_modpath("morelights") 157 | dofile(path .. "/nodes.lua") 158 | -------------------------------------------------------------------------------- /morelights/locale/template.txt: -------------------------------------------------------------------------------- 1 | # textdomain:morelights 2 | 3 | dark= 4 | light= 5 | Light Bulb= 6 | Metal Pole (@1)= 7 | Metal Chain (@1)= 8 | -------------------------------------------------------------------------------- /morelights/mod.conf: -------------------------------------------------------------------------------- 1 | name = morelights 2 | description = Base mod providing basic items, which the rest of the modpack depends on. 3 | optional_depends = default, mcl_core, hades_core 4 | -------------------------------------------------------------------------------- /morelights/models/chains.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights/models/chains.blend -------------------------------------------------------------------------------- /morelights/models/morelights_chain.obj: -------------------------------------------------------------------------------- 1 | # Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T03:30:43Z | https://github.com/jonnenauha/obj-simplify 2 | 3 | # Blender v2.93.0 OBJ File: '' 4 | # www.blender.org 5 | 6 | # vertices [185] 7 | 8 | v 0 -0.53125 0 9 | v 0 -0.515625 0.015625 10 | v 0 -0.5 0 11 | v 0 -0.515625 -0.015625 12 | v 0.054127 -0.5 0 13 | v 0.040595 -0.492188 0.015625 14 | v 0.027063 -0.484375 0 15 | v 0.040595 -0.492188 -0.015625 16 | v 0.054127 -0.375 0 17 | v 0.040595 -0.382812 0.015625 18 | v 0.027063 -0.390625 0 19 | v 0.040595 -0.382812 -0.015625 20 | v 0 -0.34375 0 21 | v 0 -0.359375 0.015625 22 | v 0 -0.375 0 23 | v 0 -0.359375 -0.015625 24 | v -0.054127 -0.375 0 25 | v -0.040595 -0.382812 0.015625 26 | v -0.027063 -0.390625 0 27 | v -0.040595 -0.382812 -0.015625 28 | v -0.054127 -0.5 0 29 | v -0.040595 -0.492188 0.015625 30 | v -0.027063 -0.484375 0 31 | v -0.040595 -0.492188 -0.015625 32 | v 0 -0.03125 0 33 | v 0 -0.015625 0.015625 34 | v 0 -0.015625 -0.015625 35 | v 0.054127 0 0 36 | v 0.040595 0.007812 0.015625 37 | v 0.027063 0.015625 0 38 | v 0.040595 0.007812 -0.015625 39 | v 0.054127 0.125 0 40 | v 0.040595 0.117188 0.015625 41 | v 0.027063 0.109375 0 42 | v 0.040595 0.117188 -0.015625 43 | v 0 0.15625 0 44 | v 0 0.140625 0.015625 45 | v 0 0.125 0 46 | v 0 0.140625 -0.015625 47 | v -0.054127 0.125 0 48 | v -0.040595 0.117188 0.015625 49 | v -0.027063 0.109375 0 50 | v -0.040595 0.117188 -0.015625 51 | v -0.054127 0 0 52 | v -0.040595 0.007812 0.015625 53 | v -0.027063 0.015625 0 54 | v -0.040595 0.007812 -0.015625 55 | v 0 0.09375 0 56 | v -0.015625 0.109375 0 57 | v 0.015625 0.109375 0 58 | v 0 0.125 0.054127 59 | v -0.015625 0.132812 0.040595 60 | v 0 0.140625 0.027063 61 | v 0.015625 0.132812 0.040595 62 | v 0 0.25 0.054127 63 | v -0.015625 0.242188 0.040595 64 | v 0 0.234375 0.027063 65 | v 0.015625 0.242188 0.040595 66 | v 0 0.28125 0 67 | v -0.015625 0.265625 0 68 | v 0.015625 0.265625 0 69 | v 0 0.25 -0.054127 70 | v -0.015625 0.242188 -0.040595 71 | v 0 0.234375 -0.027063 72 | v 0.015625 0.242188 -0.040595 73 | v 0 0.125 -0.054127 74 | v -0.015625 0.132812 -0.040595 75 | v 0 0.140625 -0.027063 76 | v 0.015625 0.132812 -0.040595 77 | v 0 0.21875 0 78 | v 0 0.234375 0.015625 79 | v 0 0.25 0 80 | v 0 0.234375 -0.015625 81 | v 0.054127 0.25 0 82 | v 0.040595 0.257812 0.015625 83 | v 0.027063 0.265625 0 84 | v 0.040595 0.257812 -0.015625 85 | v 0.054127 0.375 0 86 | v 0.040595 0.367188 0.015625 87 | v 0.027063 0.359375 0 88 | v 0.040595 0.367188 -0.015625 89 | v 0 0.40625 0 90 | v 0 0.390625 0.015625 91 | v 0 0.375 0 92 | v 0 0.390625 -0.015625 93 | v -0.054127 0.375 0 94 | v -0.040595 0.367188 0.015625 95 | v -0.027063 0.359375 0 96 | v -0.040595 0.367188 -0.015625 97 | v -0.054127 0.25 0 98 | v -0.040595 0.257812 0.015625 99 | v -0.027063 0.265625 0 100 | v -0.040595 0.257812 -0.015625 101 | v 0 0.34375 0 102 | v -0.015625 0.359375 0 103 | v 0.015625 0.359375 0 104 | v 0 0.375 0.054127 105 | v -0.015625 0.382812 0.040595 106 | v 0 0.390625 0.027063 107 | v 0.015625 0.382812 0.040595 108 | v 0 0.5 0.054127 109 | v -0.015625 0.492188 0.040595 110 | v 0 0.484375 0.027063 111 | v 0.015625 0.492188 0.040595 112 | v 0 0.53125 0 113 | v -0.015625 0.515625 0 114 | v 0 0.5 0 115 | v 0.015625 0.515625 0 116 | v 0 0.5 -0.054127 117 | v -0.015625 0.492188 -0.040595 118 | v 0 0.484375 -0.027063 119 | v 0.015625 0.492188 -0.040595 120 | v 0 0.375 -0.054127 121 | v -0.015625 0.382812 -0.040595 122 | v 0 0.390625 -0.027063 123 | v 0.015625 0.382812 -0.040595 124 | v 0 -0.40625 0 125 | v -0.015625 -0.390625 0 126 | v 0.015625 -0.390625 0 127 | v 0 -0.375 0.054127 128 | v -0.015625 -0.367188 0.040595 129 | v 0 -0.359375 0.027063 130 | v 0.015625 -0.367188 0.040595 131 | v 0 -0.25 0.054127 132 | v -0.015625 -0.257812 0.040595 133 | v 0 -0.265625 0.027063 134 | v 0.015625 -0.257812 0.040595 135 | v 0 -0.21875 0 136 | v -0.015625 -0.234375 0 137 | v 0 -0.25 0 138 | v 0.015625 -0.234375 0 139 | v 0 -0.25 -0.054127 140 | v -0.015625 -0.257812 -0.040595 141 | v 0 -0.265625 -0.027063 142 | v 0.015625 -0.257812 -0.040595 143 | v 0 -0.375 -0.054127 144 | v -0.015625 -0.367188 -0.040595 145 | v 0 -0.359375 -0.027063 146 | v 0.015625 -0.367188 -0.040595 147 | v 0 -0.28125 0 148 | v 0 -0.265625 0.015625 149 | v 0 -0.265625 -0.015625 150 | v 0.054127 -0.25 0 151 | v 0.040595 -0.242188 0.015625 152 | v 0.027063 -0.234375 0 153 | v 0.040595 -0.242188 -0.015625 154 | v 0.054127 -0.125 0 155 | v 0.040595 -0.132812 0.015625 156 | v 0.027063 -0.140625 0 157 | v 0.040595 -0.132812 -0.015625 158 | v 0 -0.09375 0 159 | v 0 -0.109375 0.015625 160 | v 0 -0.125 0 161 | v 0 -0.109375 -0.015625 162 | v -0.054127 -0.125 0 163 | v -0.040595 -0.132812 0.015625 164 | v -0.027063 -0.140625 0 165 | v -0.040595 -0.132812 -0.015625 166 | v -0.054127 -0.25 0 167 | v -0.040595 -0.242188 0.015625 168 | v -0.027063 -0.234375 0 169 | v -0.040595 -0.242188 -0.015625 170 | v 0 -0.15625 0 171 | v -0.015625 -0.140625 0 172 | v 0.015625 -0.140625 0 173 | v 0 -0.125 0.054127 174 | v -0.015625 -0.117188 0.040595 175 | v 0 -0.109375 0.027063 176 | v 0.015625 -0.117188 0.040595 177 | v 0 0 0.054127 178 | v -0.015625 -0.007812 0.040595 179 | v 0 -0.015625 0.027063 180 | v 0.015625 -0.007812 0.040595 181 | v 0 0.03125 0 182 | v -0.015625 0.015625 0 183 | v 0 0 0 184 | v 0.015625 0.015625 0 185 | v 0 0 -0.054127 186 | v -0.015625 -0.007812 -0.040595 187 | v 0 -0.015625 -0.027063 188 | v 0.015625 -0.007812 -0.040595 189 | v 0 -0.125 -0.054127 190 | v -0.015625 -0.117188 -0.040595 191 | v 0 -0.109375 -0.027063 192 | v 0.015625 -0.117188 -0.040595 193 | 194 | # normals [24] 195 | 196 | vn 0.378 -0.6547 0.6547 197 | vn -0.378 0.6547 0.6547 198 | vn -0.378 0.6547 -0.6547 199 | vn 0.378 -0.6547 -0.6547 200 | vn 0.7559 0 0.6547 201 | vn -0.7559 0 0.6547 202 | vn -0.7559 0 -0.6547 203 | vn 0.7559 0 -0.6547 204 | vn 0.378 0.6547 0.6547 205 | vn -0.378 -0.6547 0.6547 206 | vn -0.378 -0.6547 -0.6547 207 | vn 0.378 0.6547 -0.6547 208 | vn -0.6547 -0.6547 0.378 209 | vn -0.6547 0.6547 -0.378 210 | vn 0.6547 0.6547 -0.378 211 | vn 0.6547 -0.6547 0.378 212 | vn -0.6547 0 0.7559 213 | vn -0.6547 0 -0.7559 214 | vn 0.6547 0 -0.7559 215 | vn 0.6547 0 0.7559 216 | vn -0.6547 0.6547 0.378 217 | vn -0.6547 -0.6547 -0.378 218 | vn 0.6547 -0.6547 -0.378 219 | vn 0.6547 0.6547 0.378 220 | 221 | # uvs [123] 222 | 223 | vt 0.5 -0.03125 224 | vt 0.4375 0 225 | vt 0.453125 0.007812 226 | vt 0.5 -0.015625 227 | vt 0.46875 0.015625 228 | vt 0.5 0 229 | vt 0.4375 0.125 230 | vt 0.453125 0.117188 231 | vt 0.46875 0.109375 232 | vt 0.5 0.15625 233 | vt 0.5 0.140625 234 | vt 0.5 0.125 235 | vt 0.5625 0.125 236 | vt 0.546875 0.117188 237 | vt 0.53125 0.109375 238 | vt 0.5625 0 239 | vt 0.546875 0.007812 240 | vt 0.53125 0.015625 241 | vt 0.5 0.46875 242 | vt 0.4375 0.5 243 | vt 0.453125 0.507812 244 | vt 0.5 0.484375 245 | vt 0.46875 0.515625 246 | vt 0.5 0.5 247 | vt 0.4375 0.625 248 | vt 0.453125 0.617188 249 | vt 0.46875 0.609375 250 | vt 0.5 0.65625 251 | vt 0.5 0.640625 252 | vt 0.5 0.625 253 | vt 0.5625 0.625 254 | vt 0.546875 0.617188 255 | vt 0.53125 0.609375 256 | vt 0.5625 0.5 257 | vt 0.546875 0.507812 258 | vt 0.53125 0.515625 259 | vt 0.5 0.59375 260 | vt 0.453125 0.632812 261 | vt 0.5 0.609375 262 | vt 0.46875 0.640625 263 | vt 0.4375 0.75 264 | vt 0.453125 0.742188 265 | vt 0.46875 0.734375 266 | vt 0.5 0.78125 267 | vt 0.5 0.765625 268 | vt 0.5 0.75 269 | vt 0.5625 0.75 270 | vt 0.546875 0.742188 271 | vt 0.53125 0.734375 272 | vt 0.546875 0.632812 273 | vt 0.53125 0.640625 274 | vt 0.5 0.71875 275 | vt 0.453125 0.757812 276 | vt 0.5 0.734375 277 | vt 0.46875 0.765625 278 | vt 0.4375 0.875 279 | vt 0.453125 0.867188 280 | vt 0.46875 0.859375 281 | vt 0.5 0.90625 282 | vt 0.5 0.890625 283 | vt 0.5 0.875 284 | vt 0.5625 0.875 285 | vt 0.546875 0.867188 286 | vt 0.53125 0.859375 287 | vt 0.546875 0.757812 288 | vt 0.53125 0.765625 289 | vt 0.5 0.84375 290 | vt 0.453125 0.882812 291 | vt 0.5 0.859375 292 | vt 0.46875 0.890625 293 | vt 0.4375 1 294 | vt 0.453125 0.992188 295 | vt 0.46875 0.984375 296 | vt 0.5 1.03125 297 | vt 0.5 1.015625 298 | vt 0.5 1 299 | vt 0.5625 1 300 | vt 0.546875 0.992188 301 | vt 0.53125 0.984375 302 | vt 0.546875 0.882812 303 | vt 0.53125 0.890625 304 | vt 0.5 0.09375 305 | vt 0.453125 0.132812 306 | vt 0.5 0.109375 307 | vt 0.46875 0.140625 308 | vt 0.4375 0.25 309 | vt 0.453125 0.242188 310 | vt 0.46875 0.234375 311 | vt 0.5 0.28125 312 | vt 0.5 0.265625 313 | vt 0.5 0.25 314 | vt 0.5625 0.25 315 | vt 0.546875 0.242188 316 | vt 0.53125 0.234375 317 | vt 0.546875 0.132812 318 | vt 0.53125 0.140625 319 | vt 0.5 0.21875 320 | vt 0.453125 0.257812 321 | vt 0.5 0.234375 322 | vt 0.46875 0.265625 323 | vt 0.4375 0.375 324 | vt 0.453125 0.367188 325 | vt 0.46875 0.359375 326 | vt 0.5 0.40625 327 | vt 0.5 0.390625 328 | vt 0.5 0.375 329 | vt 0.5625 0.375 330 | vt 0.546875 0.367188 331 | vt 0.53125 0.359375 332 | vt 0.546875 0.257812 333 | vt 0.53125 0.265625 334 | vt 0.5 0.34375 335 | vt 0.453125 0.382812 336 | vt 0.5 0.359375 337 | vt 0.46875 0.390625 338 | vt 0.453125 0.492188 339 | vt 0.46875 0.484375 340 | vt 0.5 0.53125 341 | vt 0.5 0.515625 342 | vt 0.546875 0.492188 343 | vt 0.53125 0.484375 344 | vt 0.546875 0.382812 345 | vt 0.53125 0.390625 346 | 347 | # objects [1] 348 | 349 | o Chain_Torus 350 | 351 | s off 352 | f 1/1/1 5/2/1 6/3/1 2/4/1 353 | f 2/4/2 6/3/2 7/5/2 3/6/2 354 | f 3/6/3 7/5/3 8/3/3 4/4/3 355 | f 4/4/4 8/3/4 5/2/4 1/1/4 356 | f 5/2/5 9/7/5 10/8/5 6/3/5 357 | f 6/3/6 10/8/6 11/9/6 7/5/6 358 | f 7/5/7 11/9/7 12/8/7 8/3/7 359 | f 8/3/8 12/8/8 9/7/8 5/2/8 360 | f 9/7/9 13/10/9 14/11/9 10/8/9 361 | f 10/8/10 14/11/10 15/12/10 11/9/10 362 | f 11/9/11 15/12/11 16/11/11 12/8/11 363 | f 12/8/12 16/11/12 13/10/12 9/7/12 364 | f 13/10/2 17/13/2 18/14/2 14/11/2 365 | f 14/11/1 18/14/1 19/15/1 15/12/1 366 | f 15/12/4 19/15/4 20/14/4 16/11/4 367 | f 16/11/3 20/14/3 17/13/3 13/10/3 368 | f 17/13/6 21/16/6 22/17/6 18/14/6 369 | f 18/14/5 22/17/5 23/18/5 19/15/5 370 | f 19/15/8 23/18/8 24/17/8 20/14/8 371 | f 20/14/7 24/17/7 21/16/7 17/13/7 372 | f 21/16/10 1/1/10 2/4/10 22/17/10 373 | f 22/17/9 2/4/9 3/6/9 23/18/9 374 | f 23/18/12 3/6/12 4/4/12 24/17/12 375 | f 24/17/11 4/4/11 1/1/11 21/16/11 376 | f 25/19/1 28/20/1 29/21/1 26/22/1 377 | f 26/22/2 29/21/2 30/23/2 176/24/2 378 | f 176/24/3 30/23/3 31/21/3 27/22/3 379 | f 27/22/4 31/21/4 28/20/4 25/19/4 380 | f 28/20/5 32/25/5 33/26/5 29/21/5 381 | f 29/21/6 33/26/6 34/27/6 30/23/6 382 | f 30/23/7 34/27/7 35/26/7 31/21/7 383 | f 31/21/8 35/26/8 32/25/8 28/20/8 384 | f 32/25/9 36/28/9 37/29/9 33/26/9 385 | f 33/26/10 37/29/10 38/30/10 34/27/10 386 | f 34/27/11 38/30/11 39/29/11 35/26/11 387 | f 35/26/12 39/29/12 36/28/12 32/25/12 388 | f 36/28/2 40/31/2 41/32/2 37/29/2 389 | f 37/29/1 41/32/1 42/33/1 38/30/1 390 | f 38/30/4 42/33/4 43/32/4 39/29/4 391 | f 39/29/3 43/32/3 40/31/3 36/28/3 392 | f 40/31/6 44/34/6 45/35/6 41/32/6 393 | f 41/32/5 45/35/5 46/36/5 42/33/5 394 | f 42/33/8 46/36/8 47/35/8 43/32/8 395 | f 43/32/7 47/35/7 44/34/7 40/31/7 396 | f 44/34/10 25/19/10 26/22/10 45/35/10 397 | f 45/35/9 26/22/9 176/24/9 46/36/9 398 | f 46/36/12 176/24/12 27/22/12 47/35/12 399 | f 47/35/11 27/22/11 25/19/11 44/34/11 400 | f 48/37/13 51/25/13 52/38/13 49/39/13 401 | f 49/39/14 52/38/14 53/40/14 38/30/14 402 | f 38/30/15 53/40/15 54/38/15 50/39/15 403 | f 50/39/16 54/38/16 51/25/16 48/37/16 404 | f 51/25/17 55/41/17 56/42/17 52/38/17 405 | f 52/38/18 56/42/18 57/43/18 53/40/18 406 | f 53/40/19 57/43/19 58/42/19 54/38/19 407 | f 54/38/20 58/42/20 55/41/20 51/25/20 408 | f 55/41/21 59/44/21 60/45/21 56/42/21 409 | f 56/42/22 60/45/22 72/46/22 57/43/22 410 | f 57/43/23 72/46/23 61/45/23 58/42/23 411 | f 58/42/24 61/45/24 59/44/24 55/41/24 412 | f 59/44/14 62/47/14 63/48/14 60/45/14 413 | f 60/45/13 63/48/13 64/49/13 72/46/13 414 | f 72/46/16 64/49/16 65/48/16 61/45/16 415 | f 61/45/15 65/48/15 62/47/15 59/44/15 416 | f 62/47/18 66/31/18 67/50/18 63/48/18 417 | f 63/48/17 67/50/17 68/51/17 64/49/17 418 | f 64/49/20 68/51/20 69/50/20 65/48/20 419 | f 65/48/19 69/50/19 66/31/19 62/47/19 420 | f 66/31/22 48/37/22 49/39/22 67/50/22 421 | f 67/50/21 49/39/21 38/30/21 68/51/21 422 | f 68/51/24 38/30/24 50/39/24 69/50/24 423 | f 69/50/23 50/39/23 48/37/23 66/31/23 424 | f 70/52/1 74/41/1 75/53/1 71/54/1 425 | f 71/54/2 75/53/2 76/55/2 72/46/2 426 | f 72/46/3 76/55/3 77/53/3 73/54/3 427 | f 73/54/4 77/53/4 74/41/4 70/52/4 428 | f 74/41/5 78/56/5 79/57/5 75/53/5 429 | f 75/53/6 79/57/6 80/58/6 76/55/6 430 | f 76/55/7 80/58/7 81/57/7 77/53/7 431 | f 77/53/8 81/57/8 78/56/8 74/41/8 432 | f 78/56/9 82/59/9 83/60/9 79/57/9 433 | f 79/57/10 83/60/10 84/61/10 80/58/10 434 | f 80/58/11 84/61/11 85/60/11 81/57/11 435 | f 81/57/12 85/60/12 82/59/12 78/56/12 436 | f 82/59/2 86/62/2 87/63/2 83/60/2 437 | f 83/60/1 87/63/1 88/64/1 84/61/1 438 | f 84/61/4 88/64/4 89/63/4 85/60/4 439 | f 85/60/3 89/63/3 86/62/3 82/59/3 440 | f 86/62/6 90/47/6 91/65/6 87/63/6 441 | f 87/63/5 91/65/5 92/66/5 88/64/5 442 | f 88/64/8 92/66/8 93/65/8 89/63/8 443 | f 89/63/7 93/65/7 90/47/7 86/62/7 444 | f 90/47/10 70/52/10 71/54/10 91/65/10 445 | f 91/65/9 71/54/9 72/46/9 92/66/9 446 | f 92/66/12 72/46/12 73/54/12 93/65/12 447 | f 93/65/11 73/54/11 70/52/11 90/47/11 448 | f 94/67/13 97/56/13 98/68/13 95/69/13 449 | f 95/69/14 98/68/14 99/70/14 84/61/14 450 | f 84/61/15 99/70/15 100/68/15 96/69/15 451 | f 96/69/16 100/68/16 97/56/16 94/67/16 452 | f 97/56/17 101/71/17 102/72/17 98/68/17 453 | f 98/68/18 102/72/18 103/73/18 99/70/18 454 | f 99/70/19 103/73/19 104/72/19 100/68/19 455 | f 100/68/20 104/72/20 101/71/20 97/56/20 456 | f 101/71/21 105/74/21 106/75/21 102/72/21 457 | f 102/72/22 106/75/22 107/76/22 103/73/22 458 | f 103/73/23 107/76/23 108/75/23 104/72/23 459 | f 104/72/24 108/75/24 105/74/24 101/71/24 460 | f 105/74/14 109/77/14 110/78/14 106/75/14 461 | f 106/75/13 110/78/13 111/79/13 107/76/13 462 | f 107/76/16 111/79/16 112/78/16 108/75/16 463 | f 108/75/15 112/78/15 109/77/15 105/74/15 464 | f 109/77/18 113/62/18 114/80/18 110/78/18 465 | f 110/78/17 114/80/17 115/81/17 111/79/17 466 | f 111/79/20 115/81/20 116/80/20 112/78/20 467 | f 112/78/19 116/80/19 113/62/19 109/77/19 468 | f 113/62/22 94/67/22 95/69/22 114/80/22 469 | f 114/80/21 95/69/21 84/61/21 115/81/21 470 | f 115/81/24 84/61/24 96/69/24 116/80/24 471 | f 116/80/23 96/69/23 94/67/23 113/62/23 472 | f 117/82/13 120/7/13 121/83/13 118/84/13 473 | f 118/84/14 121/83/14 122/85/14 15/12/14 474 | f 15/12/15 122/85/15 123/83/15 119/84/15 475 | f 119/84/16 123/83/16 120/7/16 117/82/16 476 | f 120/7/17 124/86/17 125/87/17 121/83/17 477 | f 121/83/18 125/87/18 126/88/18 122/85/18 478 | f 122/85/19 126/88/19 127/87/19 123/83/19 479 | f 123/83/20 127/87/20 124/86/20 120/7/20 480 | f 124/86/21 128/89/21 129/90/21 125/87/21 481 | f 125/87/22 129/90/22 130/91/22 126/88/22 482 | f 126/88/23 130/91/23 131/90/23 127/87/23 483 | f 127/87/24 131/90/24 128/89/24 124/86/24 484 | f 128/89/14 132/92/14 133/93/14 129/90/14 485 | f 129/90/13 133/93/13 134/94/13 130/91/13 486 | f 130/91/16 134/94/16 135/93/16 131/90/16 487 | f 131/90/15 135/93/15 132/92/15 128/89/15 488 | f 132/92/18 136/13/18 137/95/18 133/93/18 489 | f 133/93/17 137/95/17 138/96/17 134/94/17 490 | f 134/94/20 138/96/20 139/95/20 135/93/20 491 | f 135/93/19 139/95/19 136/13/19 132/92/19 492 | f 136/13/22 117/82/22 118/84/22 137/95/22 493 | f 137/95/21 118/84/21 15/12/21 138/96/21 494 | f 138/96/24 15/12/24 119/84/24 139/95/24 495 | f 139/95/23 119/84/23 117/82/23 136/13/23 496 | f 140/97/1 143/86/1 144/98/1 141/99/1 497 | f 141/99/2 144/98/2 145/100/2 130/91/2 498 | f 130/91/3 145/100/3 146/98/3 142/99/3 499 | f 142/99/4 146/98/4 143/86/4 140/97/4 500 | f 143/86/5 147/101/5 148/102/5 144/98/5 501 | f 144/98/6 148/102/6 149/103/6 145/100/6 502 | f 145/100/7 149/103/7 150/102/7 146/98/7 503 | f 146/98/8 150/102/8 147/101/8 143/86/8 504 | f 147/101/9 151/104/9 152/105/9 148/102/9 505 | f 148/102/10 152/105/10 153/106/10 149/103/10 506 | f 149/103/11 153/106/11 154/105/11 150/102/11 507 | f 150/102/12 154/105/12 151/104/12 147/101/12 508 | f 151/104/2 155/107/2 156/108/2 152/105/2 509 | f 152/105/1 156/108/1 157/109/1 153/106/1 510 | f 153/106/4 157/109/4 158/108/4 154/105/4 511 | f 154/105/3 158/108/3 155/107/3 151/104/3 512 | f 155/107/6 159/92/6 160/110/6 156/108/6 513 | f 156/108/5 160/110/5 161/111/5 157/109/5 514 | f 157/109/8 161/111/8 162/110/8 158/108/8 515 | f 158/108/7 162/110/7 159/92/7 155/107/7 516 | f 159/92/10 140/97/10 141/99/10 160/110/10 517 | f 160/110/9 141/99/9 130/91/9 161/111/9 518 | f 161/111/12 130/91/12 142/99/12 162/110/12 519 | f 162/110/11 142/99/11 140/97/11 159/92/11 520 | f 163/112/13 166/101/13 167/113/13 164/114/13 521 | f 164/114/14 167/113/14 168/115/14 153/106/14 522 | f 153/106/15 168/115/15 169/113/15 165/114/15 523 | f 165/114/16 169/113/16 166/101/16 163/112/16 524 | f 166/101/17 170/20/17 171/116/17 167/113/17 525 | f 167/113/18 171/116/18 172/117/18 168/115/18 526 | f 168/115/19 172/117/19 173/116/19 169/113/19 527 | f 169/113/20 173/116/20 170/20/20 166/101/20 528 | f 170/20/21 174/118/21 175/119/21 171/116/21 529 | f 171/116/22 175/119/22 176/24/22 172/117/22 530 | f 172/117/23 176/24/23 177/119/23 173/116/23 531 | f 173/116/24 177/119/24 174/118/24 170/20/24 532 | f 174/118/14 178/34/14 179/120/14 175/119/14 533 | f 175/119/13 179/120/13 180/121/13 176/24/13 534 | f 176/24/16 180/121/16 181/120/16 177/119/16 535 | f 177/119/15 181/120/15 178/34/15 174/118/15 536 | f 178/34/18 182/107/18 183/122/18 179/120/18 537 | f 179/120/17 183/122/17 184/123/17 180/121/17 538 | f 180/121/20 184/123/20 185/122/20 181/120/20 539 | f 181/120/19 185/122/19 182/107/19 178/34/19 540 | f 182/107/22 163/112/22 164/114/22 183/122/22 541 | f 183/122/21 164/114/21 153/106/21 184/123/21 542 | f 184/123/24 153/106/24 165/114/24 185/122/24 543 | f 185/122/23 165/114/23 163/112/23 182/107/23 544 | 545 | -------------------------------------------------------------------------------- /morelights/models/morelights_chain_ceiling.obj: -------------------------------------------------------------------------------- 1 | # Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T03:50:15Z | https://github.com/jonnenauha/obj-simplify 2 | 3 | # Blender v2.93.0 OBJ File: 'chains.blend' 4 | # www.blender.org 5 | 6 | # vertices [189] 7 | 8 | v -0.1875 0.4375 0.1875 9 | v -0.1875 0.5 0.1875 10 | v -0.1875 0.5 -0.1875 11 | v -0.1875 0.4375 -0.1875 12 | v 0.1875 0.5 -0.1875 13 | v 0.1875 0.4375 -0.1875 14 | v 0.1875 0.5 0.1875 15 | v 0.1875 0.4375 0.1875 16 | v 0 -0.53125 0 17 | v 0 -0.515625 0.015625 18 | v 0 -0.5 0 19 | v 0 -0.515625 -0.015625 20 | v 0.054127 -0.5 0 21 | v 0.040595 -0.492188 0.015625 22 | v 0.027063 -0.484375 0 23 | v 0.040595 -0.492188 -0.015625 24 | v 0.054127 -0.375 0 25 | v 0.040595 -0.382812 0.015625 26 | v 0.027063 -0.390625 0 27 | v 0.040595 -0.382812 -0.015625 28 | v 0 -0.34375 0 29 | v 0 -0.359375 0.015625 30 | v 0 -0.375 0 31 | v 0 -0.359375 -0.015625 32 | v -0.054127 -0.375 0 33 | v -0.040595 -0.382812 0.015625 34 | v -0.027063 -0.390625 0 35 | v -0.040595 -0.382812 -0.015625 36 | v -0.054127 -0.5 0 37 | v -0.040595 -0.492188 0.015625 38 | v -0.027063 -0.484375 0 39 | v -0.040595 -0.492188 -0.015625 40 | v 0 -0.03125 0 41 | v 0 -0.015625 0.015625 42 | v 0 -0.015625 -0.015625 43 | v 0.054127 0 0 44 | v 0.040595 0.007812 0.015625 45 | v 0.027063 0.015625 0 46 | v 0.040595 0.007813 -0.015625 47 | v 0.054127 0.125 0 48 | v 0.040595 0.117188 0.015625 49 | v 0.027063 0.109375 0 50 | v 0.040595 0.117188 -0.015625 51 | v 0 0.15625 0 52 | v 0 0.140625 0.015625 53 | v 0 0.125 0 54 | v 0 0.140625 -0.015625 55 | v -0.054127 0.125 0 56 | v -0.040595 0.117188 0.015625 57 | v -0.027063 0.109375 0 58 | v -0.040595 0.117188 -0.015625 59 | v -0.054127 0 0 60 | v -0.040595 0.007812 0.015625 61 | v -0.027063 0.015625 0 62 | v -0.040595 0.007813 -0.015625 63 | v 0 0.09375 0 64 | v -0.015625 0.109375 0 65 | v 0.015625 0.109375 0 66 | v 0 0.125 0.054127 67 | v -0.015625 0.132812 0.040595 68 | v 0 0.140625 0.027063 69 | v 0.015625 0.132812 0.040595 70 | v 0 0.25 0.054127 71 | v -0.015625 0.242188 0.040595 72 | v 0 0.234375 0.027063 73 | v 0.015625 0.242188 0.040595 74 | v 0 0.28125 0 75 | v -0.015625 0.265625 0 76 | v 0.015625 0.265625 0 77 | v 0 0.25 -0.054127 78 | v -0.015625 0.242188 -0.040595 79 | v 0 0.234375 -0.027063 80 | v 0.015625 0.242188 -0.040595 81 | v 0 0.125 -0.054127 82 | v -0.015625 0.132812 -0.040595 83 | v 0 0.140625 -0.027063 84 | v 0.015625 0.132812 -0.040595 85 | v 0 0.21875 0 86 | v 0 0.234375 0.015625 87 | v 0 0.25 0 88 | v 0 0.234375 -0.015625 89 | v 0.054127 0.25 0 90 | v 0.040595 0.257812 0.015625 91 | v 0.027063 0.265625 0 92 | v 0.040595 0.257812 -0.015625 93 | v 0.054127 0.375 0 94 | v 0.040595 0.367188 0.015625 95 | v 0.027063 0.359375 0 96 | v 0.040595 0.367188 -0.015625 97 | v 0 0.40625 0 98 | v 0 0.390625 0.015625 99 | v 0 0.375 0 100 | v 0 0.390625 -0.015625 101 | v -0.054127 0.375 0 102 | v -0.040595 0.367188 0.015625 103 | v -0.027063 0.359375 0 104 | v -0.040595 0.367188 -0.015625 105 | v -0.054127 0.25 0 106 | v -0.040595 0.257812 0.015625 107 | v -0.027063 0.265625 0 108 | v -0.040595 0.257812 -0.015625 109 | v 0 0.34375 0 110 | v -0.015625 0.359375 0 111 | v 0.015625 0.359375 0 112 | v 0 0.375 0.054127 113 | v -0.015625 0.382812 0.040595 114 | v 0 0.390625 0.027063 115 | v 0.015625 0.382812 0.040595 116 | v 0 0.4375 0.054127 117 | v -0.015625 0.4375 0.040595 118 | v 0 0.4375 0.027063 119 | v 0.015625 0.4375 0.040595 120 | v 0 0.4375 -0.054127 121 | v -0.015625 0.4375 -0.040595 122 | v 0 0.4375 -0.027063 123 | v 0.015625 0.4375 -0.040595 124 | v 0 0.375 -0.054127 125 | v -0.015625 0.382812 -0.040595 126 | v 0 0.390625 -0.027063 127 | v 0.015625 0.382812 -0.040595 128 | v 0 -0.40625 0 129 | v -0.015625 -0.390625 0 130 | v 0.015625 -0.390625 0 131 | v 0 -0.375 0.054127 132 | v -0.015625 -0.367188 0.040595 133 | v 0 -0.359375 0.027063 134 | v 0.015625 -0.367188 0.040595 135 | v 0 -0.25 0.054127 136 | v -0.015625 -0.257812 0.040595 137 | v 0 -0.265625 0.027063 138 | v 0.015625 -0.257812 0.040595 139 | v 0 -0.21875 0 140 | v -0.015625 -0.234375 0 141 | v 0 -0.25 0 142 | v 0.015625 -0.234375 0 143 | v 0 -0.25 -0.054127 144 | v -0.015625 -0.257812 -0.040595 145 | v 0 -0.265625 -0.027063 146 | v 0.015625 -0.257812 -0.040595 147 | v 0 -0.375 -0.054127 148 | v -0.015625 -0.367188 -0.040595 149 | v 0 -0.359375 -0.027063 150 | v 0.015625 -0.367188 -0.040595 151 | v 0 -0.28125 0 152 | v 0 -0.265625 0.015625 153 | v 0 -0.265625 -0.015625 154 | v 0.054127 -0.25 0 155 | v 0.040595 -0.242188 0.015625 156 | v 0.027063 -0.234375 0 157 | v 0.040595 -0.242188 -0.015625 158 | v 0.054127 -0.125 0 159 | v 0.040595 -0.132812 0.015625 160 | v 0.027063 -0.140625 0 161 | v 0.040595 -0.132812 -0.015625 162 | v 0 -0.09375 0 163 | v 0 -0.109375 0.015625 164 | v 0 -0.125 0 165 | v 0 -0.109375 -0.015625 166 | v -0.054127 -0.125 0 167 | v -0.040595 -0.132812 0.015625 168 | v -0.027063 -0.140625 0 169 | v -0.040595 -0.132812 -0.015625 170 | v -0.054127 -0.25 0 171 | v -0.040595 -0.242188 0.015625 172 | v -0.027063 -0.234375 0 173 | v -0.040595 -0.242188 -0.015625 174 | v 0 -0.15625 0 175 | v -0.015625 -0.140625 0 176 | v 0.015625 -0.140625 0 177 | v 0 -0.125 0.054127 178 | v -0.015625 -0.117188 0.040595 179 | v 0 -0.109375 0.027063 180 | v 0.015625 -0.117188 0.040595 181 | v 0 0 0.054127 182 | v -0.015625 -0.007813 0.040595 183 | v 0 -0.015625 0.027063 184 | v 0.015625 -0.007813 0.040595 185 | v 0 0.03125 0 186 | v -0.015625 0.015625 0 187 | v 0 0 0 188 | v 0.015625 0.015625 0 189 | v 0 0 -0.054127 190 | v -0.015625 -0.007812 -0.040595 191 | v 0 -0.015625 -0.027063 192 | v 0.015625 -0.007812 -0.040595 193 | v 0 -0.125 -0.054127 194 | v -0.015625 -0.117187 -0.040595 195 | v 0 -0.109375 -0.027063 196 | v 0.015625 -0.117187 -0.040595 197 | 198 | # normals [30] 199 | 200 | vn 0.378 -0.6547 0.6547 201 | vn -0.378 0.6547 0.6547 202 | vn -0.378 0.6547 -0.6547 203 | vn 0.378 -0.6547 -0.6547 204 | vn 0.7559 0 0.6547 205 | vn -0.7559 0 0.6547 206 | vn -0.7559 0 -0.6547 207 | vn 0.7559 0 -0.6547 208 | vn 0.378 0.6547 0.6547 209 | vn -0.378 -0.6547 0.6547 210 | vn -0.378 -0.6547 -0.6547 211 | vn 0.378 0.6547 -0.6547 212 | vn -0.6547 -0.6547 0.378 213 | vn -0.6547 0.6547 -0.378 214 | vn 0.6547 0.6547 -0.378 215 | vn 0.6547 -0.6547 0.378 216 | vn -0.6547 0 0.7559 217 | vn -0.6547 0 -0.7559 218 | vn 0.6547 0 -0.7559 219 | vn 0.6547 0 0.7559 220 | vn -0.6547 0.6547 0.378 221 | vn -0.6547 -0.6547 -0.378 222 | vn 0.6547 -0.6547 -0.378 223 | vn 0.6547 0.6547 0.378 224 | vn -1 0 0 225 | vn 0 0 -1 226 | vn 1 0 0 227 | vn 0 0 1 228 | vn 0 -1 0 229 | vn 0 1 0 230 | 231 | # uvs [128] 232 | 233 | vt 0.5 -0.03125 234 | vt 0.4375 0 235 | vt 0.453125 0.007812 236 | vt 0.5 -0.015625 237 | vt 0.46875 0.015625 238 | vt 0.5 0 239 | vt 0.4375 0.125 240 | vt 0.453125 0.117188 241 | vt 0.46875 0.109375 242 | vt 0.5 0.15625 243 | vt 0.5 0.140625 244 | vt 0.5 0.125 245 | vt 0.5625 0.125 246 | vt 0.546875 0.117188 247 | vt 0.53125 0.109375 248 | vt 0.5625 0 249 | vt 0.546875 0.007812 250 | vt 0.53125 0.015625 251 | vt 0.5 0.46875 252 | vt 0.4375 0.5 253 | vt 0.453125 0.507812 254 | vt 0.5 0.484375 255 | vt 0.46875 0.515625 256 | vt 0.5 0.5 257 | vt 0.4375 0.625 258 | vt 0.453125 0.617188 259 | vt 0.46875 0.609375 260 | vt 0.5 0.65625 261 | vt 0.5 0.640625 262 | vt 0.5 0.625 263 | vt 0.5625 0.625 264 | vt 0.546875 0.617188 265 | vt 0.53125 0.609375 266 | vt 0.5625 0.5 267 | vt 0.546875 0.507812 268 | vt 0.53125 0.515625 269 | vt 0.5 0.59375 270 | vt 0.453125 0.632812 271 | vt 0.5 0.609375 272 | vt 0.46875 0.640625 273 | vt 0.4375 0.75 274 | vt 0.453125 0.742188 275 | vt 0.46875 0.734375 276 | vt 0.5 0.78125 277 | vt 0.5 0.765625 278 | vt 0.5 0.75 279 | vt 0.5625 0.75 280 | vt 0.546875 0.742188 281 | vt 0.53125 0.734375 282 | vt 0.546875 0.632812 283 | vt 0.53125 0.640625 284 | vt 0.5 0.71875 285 | vt 0.453125 0.757812 286 | vt 0.5 0.734375 287 | vt 0.46875 0.765625 288 | vt 0.4375 0.875 289 | vt 0.453125 0.867188 290 | vt 0.46875 0.859375 291 | vt 0.5 0.90625 292 | vt 0.5 0.890625 293 | vt 0.5 0.875 294 | vt 0.5625 0.875 295 | vt 0.546875 0.867188 296 | vt 0.53125 0.859375 297 | vt 0.546875 0.757812 298 | vt 0.53125 0.765625 299 | vt 0.5 0.84375 300 | vt 0.453125 0.882812 301 | vt 0.5 0.859375 302 | vt 0.46875 0.890625 303 | vt 0.4375 0.9375 304 | vt 0.453125 0.9375 305 | vt 0.46875 0.9375 306 | vt 0.5625 0.9375 307 | vt 0.546875 0.882812 308 | vt 0.546875 0.9375 309 | vt 0.53125 0.890625 310 | vt 0.53125 0.9375 311 | vt 0.5 0.09375 312 | vt 0.453125 0.132812 313 | vt 0.5 0.109375 314 | vt 0.46875 0.140625 315 | vt 0.4375 0.25 316 | vt 0.453125 0.242188 317 | vt 0.46875 0.234375 318 | vt 0.5 0.28125 319 | vt 0.5 0.265625 320 | vt 0.5 0.25 321 | vt 0.5625 0.25 322 | vt 0.546875 0.242188 323 | vt 0.53125 0.234375 324 | vt 0.546875 0.132812 325 | vt 0.53125 0.140625 326 | vt 0.5 0.21875 327 | vt 0.453125 0.257812 328 | vt 0.5 0.234375 329 | vt 0.46875 0.265625 330 | vt 0.4375 0.375 331 | vt 0.453125 0.367188 332 | vt 0.46875 0.359375 333 | vt 0.5 0.40625 334 | vt 0.5 0.390625 335 | vt 0.5 0.375 336 | vt 0.5625 0.375 337 | vt 0.546875 0.367188 338 | vt 0.53125 0.359375 339 | vt 0.546875 0.257812 340 | vt 0.53125 0.265625 341 | vt 0.5 0.34375 342 | vt 0.453125 0.382812 343 | vt 0.5 0.359375 344 | vt 0.46875 0.390625 345 | vt 0.453125 0.492188 346 | vt 0.46875 0.484375 347 | vt 0.5 0.53125 348 | vt 0.5 0.515625 349 | vt 0.546875 0.492188 350 | vt 0.53125 0.484375 351 | vt 0.546875 0.382812 352 | vt 0.53125 0.390625 353 | vt 0.6875 0.9375 354 | vt 0.6875 1 355 | vt 0.3125 1 356 | vt 0.3125 0.9375 357 | vt 0.3125 0.3125 358 | vt 0.3125 0.6875 359 | vt 0.6875 0.6875 360 | vt 0.6875 0.3125 361 | 362 | # objects [1] 363 | 364 | o CeilingChain_TorusCube 365 | 366 | s off 367 | f 9/1/1 13/2/1 14/3/1 10/4/1 368 | f 10/4/2 14/3/2 15/5/2 11/6/2 369 | f 11/6/3 15/5/3 16/3/3 12/4/3 370 | f 12/4/4 16/3/4 13/2/4 9/1/4 371 | f 13/2/5 17/7/5 18/8/5 14/3/5 372 | f 14/3/6 18/8/6 19/9/6 15/5/6 373 | f 15/5/7 19/9/7 20/8/7 16/3/7 374 | f 16/3/8 20/8/8 17/7/8 13/2/8 375 | f 17/7/9 21/10/9 22/11/9 18/8/9 376 | f 18/8/10 22/11/10 23/12/10 19/9/10 377 | f 19/9/11 23/12/11 24/11/11 20/8/11 378 | f 20/8/12 24/11/12 21/10/12 17/7/12 379 | f 21/10/2 25/13/2 26/14/2 22/11/2 380 | f 22/11/1 26/14/1 27/15/1 23/12/1 381 | f 23/12/4 27/15/4 28/14/4 24/11/4 382 | f 24/11/3 28/14/3 25/13/3 21/10/3 383 | f 25/13/6 29/16/6 30/17/6 26/14/6 384 | f 26/14/5 30/17/5 31/18/5 27/15/5 385 | f 27/15/8 31/18/8 32/17/8 28/14/8 386 | f 28/14/7 32/17/7 29/16/7 25/13/7 387 | f 29/16/10 9/1/10 10/4/10 30/17/10 388 | f 30/17/9 10/4/9 11/6/9 31/18/9 389 | f 31/18/12 11/6/12 12/4/12 32/17/12 390 | f 32/17/11 12/4/11 9/1/11 29/16/11 391 | f 33/19/1 36/20/1 37/21/1 34/22/1 392 | f 34/22/2 37/21/2 38/23/2 180/24/2 393 | f 180/24/3 38/23/3 39/21/3 35/22/3 394 | f 35/22/4 39/21/4 36/20/4 33/19/4 395 | f 36/20/5 40/25/5 41/26/5 37/21/5 396 | f 37/21/6 41/26/6 42/27/6 38/23/6 397 | f 38/23/7 42/27/7 43/26/7 39/21/7 398 | f 39/21/8 43/26/8 40/25/8 36/20/8 399 | f 40/25/9 44/28/9 45/29/9 41/26/9 400 | f 41/26/10 45/29/10 46/30/10 42/27/10 401 | f 42/27/11 46/30/11 47/29/11 43/26/11 402 | f 43/26/12 47/29/12 44/28/12 40/25/12 403 | f 44/28/2 48/31/2 49/32/2 45/29/2 404 | f 45/29/1 49/32/1 50/33/1 46/30/1 405 | f 46/30/4 50/33/4 51/32/4 47/29/4 406 | f 47/29/3 51/32/3 48/31/3 44/28/3 407 | f 48/31/6 52/34/6 53/35/6 49/32/6 408 | f 49/32/5 53/35/5 54/36/5 50/33/5 409 | f 50/33/8 54/36/8 55/35/8 51/32/8 410 | f 51/32/7 55/35/7 52/34/7 48/31/7 411 | f 52/34/10 33/19/10 34/22/10 53/35/10 412 | f 53/35/9 34/22/9 180/24/9 54/36/9 413 | f 54/36/12 180/24/12 35/22/12 55/35/12 414 | f 55/35/11 35/22/11 33/19/11 52/34/11 415 | f 56/37/13 59/25/13 60/38/13 57/39/13 416 | f 57/39/14 60/38/14 61/40/14 46/30/14 417 | f 46/30/15 61/40/15 62/38/15 58/39/15 418 | f 58/39/16 62/38/16 59/25/16 56/37/16 419 | f 59/25/17 63/41/17 64/42/17 60/38/17 420 | f 60/38/18 64/42/18 65/43/18 61/40/18 421 | f 61/40/19 65/43/19 66/42/19 62/38/19 422 | f 62/38/20 66/42/20 63/41/20 59/25/20 423 | f 63/41/21 67/44/21 68/45/21 64/42/21 424 | f 64/42/22 68/45/22 80/46/22 65/43/22 425 | f 65/43/23 80/46/23 69/45/23 66/42/23 426 | f 66/42/24 69/45/24 67/44/24 63/41/24 427 | f 67/44/14 70/47/14 71/48/14 68/45/14 428 | f 68/45/13 71/48/13 72/49/13 80/46/13 429 | f 80/46/16 72/49/16 73/48/16 69/45/16 430 | f 69/45/15 73/48/15 70/47/15 67/44/15 431 | f 70/47/18 74/31/18 75/50/18 71/48/18 432 | f 71/48/17 75/50/17 76/51/17 72/49/17 433 | f 72/49/20 76/51/20 77/50/20 73/48/20 434 | f 73/48/19 77/50/19 74/31/19 70/47/19 435 | f 74/31/22 56/37/22 57/39/22 75/50/22 436 | f 75/50/21 57/39/21 46/30/21 76/51/21 437 | f 76/51/24 46/30/24 58/39/24 77/50/24 438 | f 77/50/23 58/39/23 56/37/23 74/31/23 439 | f 78/52/1 82/41/1 83/53/1 79/54/1 440 | f 79/54/2 83/53/2 84/55/2 80/46/2 441 | f 80/46/3 84/55/3 85/53/3 81/54/3 442 | f 81/54/4 85/53/4 82/41/4 78/52/4 443 | f 82/41/5 86/56/5 87/57/5 83/53/5 444 | f 83/53/6 87/57/6 88/58/6 84/55/6 445 | f 84/55/7 88/58/7 89/57/7 85/53/7 446 | f 85/53/8 89/57/8 86/56/8 82/41/8 447 | f 86/56/9 90/59/9 91/60/9 87/57/9 448 | f 87/57/10 91/60/10 92/61/10 88/58/10 449 | f 88/58/11 92/61/11 93/60/11 89/57/11 450 | f 89/57/12 93/60/12 90/59/12 86/56/12 451 | f 90/59/2 94/62/2 95/63/2 91/60/2 452 | f 91/60/1 95/63/1 96/64/1 92/61/1 453 | f 92/61/4 96/64/4 97/63/4 93/60/4 454 | f 93/60/3 97/63/3 94/62/3 90/59/3 455 | f 94/62/6 98/47/6 99/65/6 95/63/6 456 | f 95/63/5 99/65/5 100/66/5 96/64/5 457 | f 96/64/8 100/66/8 101/65/8 97/63/8 458 | f 97/63/7 101/65/7 98/47/7 94/62/7 459 | f 98/47/10 78/52/10 79/54/10 99/65/10 460 | f 99/65/9 79/54/9 80/46/9 100/66/9 461 | f 100/66/12 80/46/12 81/54/12 101/65/12 462 | f 101/65/11 81/54/11 78/52/11 98/47/11 463 | f 102/67/13 105/56/13 106/68/13 103/69/13 464 | f 103/69/14 106/68/14 107/70/14 92/61/14 465 | f 92/61/15 107/70/15 108/68/15 104/69/15 466 | f 104/69/16 108/68/16 105/56/16 102/67/16 467 | f 105/56/17 109/71/17 110/72/17 106/68/17 468 | f 106/68/18 110/72/18 111/73/18 107/70/18 469 | f 107/70/19 111/73/19 112/72/19 108/68/19 470 | f 108/68/20 112/72/20 109/71/20 105/56/20 471 | f 113/74/18 117/62/18 118/75/18 114/76/18 472 | f 114/76/17 118/75/17 119/77/17 115/78/17 473 | f 115/78/20 119/77/20 120/75/20 116/76/20 474 | f 116/76/19 120/75/19 117/62/19 113/74/19 475 | f 117/62/22 102/67/22 103/69/22 118/75/22 476 | f 118/75/21 103/69/21 92/61/21 119/77/21 477 | f 119/77/24 92/61/24 104/69/24 120/75/24 478 | f 120/75/23 104/69/23 102/67/23 117/62/23 479 | f 121/79/13 124/7/13 125/80/13 122/81/13 480 | f 122/81/14 125/80/14 126/82/14 23/12/14 481 | f 23/12/15 126/82/15 127/80/15 123/81/15 482 | f 123/81/16 127/80/16 124/7/16 121/79/16 483 | f 124/7/17 128/83/17 129/84/17 125/80/17 484 | f 125/80/18 129/84/18 130/85/18 126/82/18 485 | f 126/82/19 130/85/19 131/84/19 127/80/19 486 | f 127/80/20 131/84/20 128/83/20 124/7/20 487 | f 128/83/21 132/86/21 133/87/21 129/84/21 488 | f 129/84/22 133/87/22 134/88/22 130/85/22 489 | f 130/85/23 134/88/23 135/87/23 131/84/23 490 | f 131/84/24 135/87/24 132/86/24 128/83/24 491 | f 132/86/14 136/89/14 137/90/14 133/87/14 492 | f 133/87/13 137/90/13 138/91/13 134/88/13 493 | f 134/88/16 138/91/16 139/90/16 135/87/16 494 | f 135/87/15 139/90/15 136/89/15 132/86/15 495 | f 136/89/18 140/13/18 141/92/18 137/90/18 496 | f 137/90/17 141/92/17 142/93/17 138/91/17 497 | f 138/91/20 142/93/20 143/92/20 139/90/20 498 | f 139/90/19 143/92/19 140/13/19 136/89/19 499 | f 140/13/22 121/79/22 122/81/22 141/92/22 500 | f 141/92/21 122/81/21 23/12/21 142/93/21 501 | f 142/93/24 23/12/24 123/81/24 143/92/24 502 | f 143/92/23 123/81/23 121/79/23 140/13/23 503 | f 144/94/1 147/83/1 148/95/1 145/96/1 504 | f 145/96/2 148/95/2 149/97/2 134/88/2 505 | f 134/88/3 149/97/3 150/95/3 146/96/3 506 | f 146/96/4 150/95/4 147/83/4 144/94/4 507 | f 147/83/5 151/98/5 152/99/5 148/95/5 508 | f 148/95/6 152/99/6 153/100/6 149/97/6 509 | f 149/97/7 153/100/7 154/99/7 150/95/7 510 | f 150/95/8 154/99/8 151/98/8 147/83/8 511 | f 151/98/9 155/101/9 156/102/9 152/99/9 512 | f 152/99/10 156/102/10 157/103/10 153/100/10 513 | f 153/100/11 157/103/11 158/102/11 154/99/11 514 | f 154/99/12 158/102/12 155/101/12 151/98/12 515 | f 155/101/2 159/104/2 160/105/2 156/102/2 516 | f 156/102/1 160/105/1 161/106/1 157/103/1 517 | f 157/103/4 161/106/4 162/105/4 158/102/4 518 | f 158/102/3 162/105/3 159/104/3 155/101/3 519 | f 159/104/6 163/89/6 164/107/6 160/105/6 520 | f 160/105/5 164/107/5 165/108/5 161/106/5 521 | f 161/106/8 165/108/8 166/107/8 162/105/8 522 | f 162/105/7 166/107/7 163/89/7 159/104/7 523 | f 163/89/10 144/94/10 145/96/10 164/107/10 524 | f 164/107/9 145/96/9 134/88/9 165/108/9 525 | f 165/108/12 134/88/12 146/96/12 166/107/12 526 | f 166/107/11 146/96/11 144/94/11 163/89/11 527 | f 167/109/13 170/98/13 171/110/13 168/111/13 528 | f 168/111/14 171/110/14 172/112/14 157/103/14 529 | f 157/103/15 172/112/15 173/110/15 169/111/15 530 | f 169/111/16 173/110/16 170/98/16 167/109/16 531 | f 170/98/17 174/20/17 175/113/17 171/110/17 532 | f 171/110/18 175/113/18 176/114/18 172/112/18 533 | f 172/112/19 176/114/19 177/113/19 173/110/19 534 | f 173/110/20 177/113/20 174/20/20 170/98/20 535 | f 174/20/21 178/115/21 179/116/21 175/113/21 536 | f 175/113/22 179/116/22 180/24/22 176/114/22 537 | f 176/114/23 180/24/23 181/116/23 177/113/23 538 | f 177/113/24 181/116/24 178/115/24 174/20/24 539 | f 178/115/14 182/34/14 183/117/14 179/116/14 540 | f 179/116/13 183/117/13 184/118/13 180/24/13 541 | f 180/24/16 184/118/16 185/117/16 181/116/16 542 | f 181/116/15 185/117/15 182/34/15 178/115/15 543 | f 182/34/18 186/104/18 187/119/18 183/117/18 544 | f 183/117/17 187/119/17 188/120/17 184/118/17 545 | f 184/118/20 188/120/20 189/119/20 185/117/20 546 | f 185/117/19 189/119/19 186/104/19 182/34/19 547 | f 186/104/22 167/109/22 168/111/22 187/119/22 548 | f 187/119/21 168/111/21 157/103/21 188/120/21 549 | f 188/120/24 157/103/24 169/111/24 189/119/24 550 | f 189/119/23 169/111/23 167/109/23 186/104/23 551 | s 1 552 | f 1/121/25 2/122/25 3/123/25 4/124/25 553 | f 4/121/26 3/122/26 5/123/26 6/124/26 554 | f 6/121/27 5/122/27 7/123/27 8/124/27 555 | f 8/121/28 7/122/28 2/123/28 1/124/28 556 | f 4/125/29 6/126/29 8/127/29 1/128/29 557 | f 5/125/30 3/128/30 2/127/30 7/126/30 558 | 559 | -------------------------------------------------------------------------------- /morelights/nodes.lua: -------------------------------------------------------------------------------- 1 | local S = minetest.get_translator("morelights") 2 | 3 | 4 | minetest.register_craftitem("morelights:bulb", { 5 | description = S("Light Bulb"), 6 | inventory_image = "morelights_bulb.png" 7 | }) 8 | 9 | morelights.register_variants({ 10 | { 11 | name = "morelights:pole_d", 12 | description = S("Metal Pole (@1)", S("dark")), 13 | tiles = {"morelights_metal_dark_32.png"}, 14 | inventory_image = "morelights_pole_d_inv.png", 15 | wield_image = "morelights_pole_d_inv.png", 16 | 17 | on_place = function(itemstack, placer, pointed_thing) 18 | return morelights.on_place_hanging(itemstack, placer, 19 | pointed_thing, "morelights:pole_ceiling_d") 20 | end 21 | }, 22 | { 23 | name = "morelights:pole_l", 24 | description = S("Metal Pole (@1)", S("light")), 25 | tiles = {"morelights_metal_light_32.png"}, 26 | inventory_image = "morelights_pole_l_inv.png", 27 | wield_image = "morelights_pole_l_inv.png", 28 | 29 | on_place = function(itemstack, placer, pointed_thing) 30 | return morelights.on_place_hanging(itemstack, placer, 31 | pointed_thing, "morelights:pole_ceiling_l") 32 | end 33 | } 34 | }, 35 | { 36 | drawtype = "nodebox", 37 | node_box = { 38 | type = "fixed", 39 | fixed = {-1/32, -1/2, -1/32, 1/32, 1/2, 1/32} 40 | }, 41 | selection_box = { 42 | type = "fixed", 43 | fixed = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16} 44 | }, 45 | paramtype = "light", 46 | paramtype2 = "wallmounted", 47 | sunlight_propagates = true, 48 | groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1, 49 | mounted_ceiling = 1}, 50 | _mcl_hardness = 0.2, 51 | sounds = morelights.sounds.metal 52 | }) 53 | 54 | morelights.register_variants({ 55 | { 56 | name = "morelights:pole_ceiling_d", 57 | tiles = {"morelights_metal_dark_32.png"}, 58 | drop = "morelights:pole_d" 59 | }, 60 | { 61 | name = "morelights:pole_ceiling_l", 62 | tiles = {"morelights_metal_light_32.png"}, 63 | drop = "morelights:pole_l" 64 | } 65 | }, 66 | { 67 | drawtype = "nodebox", 68 | node_box = { 69 | type = "fixed", 70 | fixed = { 71 | {-3/16, -7/16, -3/16, 3/16, -1/2, 3/16}, 72 | {-1/32, 1/2, -1/32, 1/32, -7/16, 1/32} 73 | } 74 | }, 75 | selection_box = { 76 | type = "fixed", 77 | fixed = { 78 | {-3/16, -7/16, -3/16, 3/16, -1/2, 3/16}, 79 | {-1/16, 1/2, -1/16, 1/16, -7/16, 1/16} 80 | } 81 | }, 82 | paramtype = "light", 83 | paramtype2 = "wallmounted", 84 | sunlight_propagates = true, 85 | groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1, 86 | mounted_ceiling = 1, not_in_creative_inventory = 1}, 87 | _mcl_hardness = 0.2, 88 | sounds = morelights.sounds.metal 89 | }) 90 | 91 | morelights.register_variants({ 92 | { 93 | name = "morelights:chain_d", 94 | description = S("Metal Chain (@1)", S("dark")), 95 | tiles = {"morelights_metal_dark_32.png"}, 96 | inventory_image = "morelights_chain_d_inv.png", 97 | wield_image = "morelights_chain_d_inv.png", 98 | 99 | on_place = function(itemstack, placer, pointed_thing) 100 | return morelights.on_place_hanging(itemstack, placer, 101 | pointed_thing, "morelights:chain_ceiling_d") 102 | end 103 | }, 104 | { 105 | name = "morelights:chain_l", 106 | description = S("Metal Chain (@1)", S("light")), 107 | tiles = {"morelights_metal_light_32.png"}, 108 | inventory_image = "morelights_chain_l_inv.png", 109 | wield_image = "morelights_chain_l_inv.png", 110 | 111 | on_place = function(itemstack, placer, pointed_thing) 112 | return morelights.on_place_hanging(itemstack, placer, 113 | pointed_thing, "morelights:chain_ceiling_l") 114 | end 115 | } 116 | }, 117 | { 118 | drawtype = "mesh", 119 | mesh = "morelights_chain.obj", 120 | collision_box = { 121 | type = "fixed", 122 | fixed = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16} 123 | }, 124 | selection_box = { 125 | type = "fixed", 126 | fixed = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16} 127 | }, 128 | paramtype = "light", 129 | sunlight_propagates = true, 130 | groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1, 131 | mounted_ceiling = 1}, 132 | _mcl_hardness = 0.2, 133 | sounds = morelights.sounds.metal 134 | }) 135 | 136 | morelights.register_variants({ 137 | { 138 | name = "morelights:chain_ceiling_d", 139 | tiles = {"morelights_metal_dark_32.png"}, 140 | drop = "morelights:chain_d" 141 | }, 142 | { 143 | name = "morelights:chain_ceiling_l", 144 | tiles = {"morelights_metal_light_32.png"}, 145 | drop = "morelights:chain_l" 146 | } 147 | }, 148 | { 149 | drawtype = "mesh", 150 | mesh = "morelights_chain_ceiling.obj", 151 | collision_box = { 152 | type = "fixed", 153 | fixed = { 154 | {-3/16, 7/16, -3/16, 3/16, 1/2, 3/16}, 155 | {-1/16, -1/2, -1/16, 1/16, 7/16, 1/16} 156 | } 157 | }, 158 | selection_box = { 159 | type = "fixed", 160 | fixed = { 161 | {-3/16, 7/16, -3/16, 3/16, 1/2, 3/16}, 162 | {-1/16, -1/2, -1/16, 1/16, 7/16, 1/16} 163 | } 164 | }, 165 | paramtype = "light", 166 | sunlight_propagates = true, 167 | groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1, 168 | mounted_ceiling = 1, not_in_creative_inventory = 1}, 169 | _mcl_hardness = 0.2, 170 | sounds = morelights.sounds.metal 171 | }) 172 | 173 | -- 174 | -- Craft recipes 175 | -- 176 | 177 | local a = morelights.craft_items 178 | 179 | minetest.register_craft({ 180 | output = "morelights:bulb", 181 | recipe = { 182 | {"", a.glass, ""}, 183 | {"", a.copper, ""}, 184 | {"", a.steel, ""} 185 | } 186 | }) 187 | 188 | minetest.register_craft({ 189 | output = "morelights:pole_d 2", 190 | recipe = { 191 | {a.dye_dark, a.steel, ""}, 192 | {"", a.steel, ""}, 193 | {"", a.steel, ""} 194 | } 195 | }) 196 | 197 | minetest.register_craft({ 198 | output = "morelights:pole_l 2", 199 | recipe = { 200 | {a.dye_light, a.steel, ""}, 201 | {"", a.steel, ""}, 202 | {"", a.steel, ""} 203 | } 204 | }) 205 | 206 | minetest.register_craft({ 207 | output = "morelights:chain_d", 208 | recipe = { 209 | {a.dye_dark, a.steel, ""}, 210 | {"", "", ""}, 211 | {"", a.steel, ""} 212 | } 213 | }) 214 | 215 | minetest.register_craft({ 216 | output = "morelights:chain_l", 217 | recipe = { 218 | {a.dye_light, a.steel, ""}, 219 | {"", "", ""}, 220 | {"", a.steel, ""} 221 | } 222 | }) 223 | -------------------------------------------------------------------------------- /morelights/textures/morelights_bulb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights/textures/morelights_bulb.png -------------------------------------------------------------------------------- /morelights/textures/morelights_chain_d_inv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights/textures/morelights_chain_d_inv.png -------------------------------------------------------------------------------- /morelights/textures/morelights_chain_l_inv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights/textures/morelights_chain_l_inv.png -------------------------------------------------------------------------------- /morelights/textures/morelights_metal_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights/textures/morelights_metal_dark.png -------------------------------------------------------------------------------- /morelights/textures/morelights_metal_dark_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights/textures/morelights_metal_dark_32.png -------------------------------------------------------------------------------- /morelights/textures/morelights_metal_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights/textures/morelights_metal_light.png -------------------------------------------------------------------------------- /morelights/textures/morelights_metal_light_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights/textures/morelights_metal_light_32.png -------------------------------------------------------------------------------- /morelights/textures/morelights_pole_d_inv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights/textures/morelights_pole_d_inv.png -------------------------------------------------------------------------------- /morelights/textures/morelights_pole_l_inv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights/textures/morelights_pole_l_inv.png -------------------------------------------------------------------------------- /morelights_extras/init.lua: -------------------------------------------------------------------------------- 1 | local S = minetest.get_translator("morelights_extras") 2 | 3 | 4 | minetest.register_node("morelights_extras:f_block", { 5 | description = S("Futuristic Light Block"), 6 | tiles = {"morelights_extras_f_block.png"}, 7 | paramtype = "light", 8 | light_source = minetest.LIGHT_MAX, 9 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 10 | _mcl_hardness = 0.3, 11 | sounds = morelights.sounds.glass 12 | }) 13 | 14 | do 15 | local def = { 16 | description = S("Grass Light"), 17 | tiles = { 18 | "default_grass.png^morelights_extras_blocklight.png", 19 | "default_dirt.png", 20 | "default_dirt.png^default_grass_side.png" 21 | }, 22 | paramtype = "light", 23 | light_source = 12, 24 | groups = { 25 | cracky = 2, 26 | oddly_breakable_by_hand = 3, 27 | handy = 1, 28 | soil = 1, 29 | }, 30 | _mcl_hardness = 0.3, 31 | sounds = morelights.sounds.glass 32 | } 33 | 34 | if morelights.game == "mineclone2" then 35 | -- For MineClone 2, use node coloring to match environment. 36 | -- See the mcl_core:dirt_with_grass definition in 37 | -- ITEMS/mcl_core/nodes_base.lua. 38 | def.tiles = { 39 | "mcl_core_grass_block_top.png", 40 | {name = "default_dirt.png", color = "#FFFFFF"} 41 | } 42 | def.overlay_tiles = { 43 | {name = "morelights_extras_blocklight.png", color = "#FFFFFF"}, 44 | "", 45 | { 46 | name = "mcl_core_grass_block_side_overlay.png", 47 | tileable_vertical = false 48 | } 49 | } 50 | def.paramtype2 = "color" 51 | def.palette = "mcl_core_palette_grass.png" 52 | def.palette_index = 0 53 | def.color = "#55aa60" 54 | def.drop = "morelights_extras:dirt_with_grass" 55 | 56 | def.on_construct = function(pos) 57 | local node = minetest.get_node(pos) 58 | if node.param2 == 0 then 59 | local grass_node = mcl_core.get_grass_block_type(pos) 60 | if grass_node.param2 ~= 0 then 61 | minetest.set_node(pos, { 62 | name = "morelights_extras:dirt_with_grass", 63 | param2 = grass_node.param2 64 | }) 65 | end 66 | end 67 | end 68 | elseif morelights.game == "hades_revisited" then 69 | -- For Hades Revisited, grass color is seasonal. 70 | -- See hades_core/dirt.lua, ABM in hades_core/functions.lua. 71 | def.tiles = { 72 | "hades_core_grass_cover_colorable.png", 73 | {name = "default_dirt.png", color = "#FFFFFF"}, 74 | } 75 | def.overlay_tiles = { 76 | {name = "morelights_extras_blocklight.png", color = "#FFFFFF"}, 77 | "", 78 | { 79 | name = "hades_core_grass_side_cover_colorable.png", 80 | tileable_vertical = false 81 | }, 82 | } 83 | def.paramtype2 = "color" 84 | def.palette = "hades_core_palette_grass.png" 85 | def.palette_index = 0 86 | def.color = "#acef6a" 87 | -- To enable seasonal grass coloring. 88 | def.groups.dirt_with_grass = 1 89 | -- To prevent color retention on digging. 90 | def.drop = "morelights_extras:dirt_with_grass" 91 | 92 | def.on_place = function(itemstack, placer, pointed_thing) 93 | local param2 = hades_core.get_seasonal_grass_color_param2() 94 | return minetest.item_place(itemstack, placer, pointed_thing, param2) 95 | end 96 | end 97 | 98 | minetest.register_node("morelights_extras:dirt_with_grass", def) 99 | end 100 | 101 | do 102 | local tile = "default_stone_block.png" 103 | if morelights.game == "mineclone2" then 104 | tile = "mcl_stairs_stone_slab_top.png" 105 | end 106 | 107 | minetest.register_node("morelights_extras:stone_block", { 108 | description = S("Stone Block Light"), 109 | tiles = {tile .. "^morelights_extras_blocklight.png"}, 110 | paramtype = "light", 111 | light_source = 12, 112 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 113 | _mcl_hardness = 0.3, 114 | sounds = morelights.sounds.glass 115 | }) 116 | end 117 | 118 | do 119 | local tile = "default_sandstone_block.png" 120 | if morelights.game == "mineclone2" then 121 | tile = "mcl_core_sandstone_smooth.png" 122 | elseif morelights.game == "hades_revisited" then 123 | tile = "default_sandstone.png" 124 | end 125 | 126 | minetest.register_node("morelights_extras:sandstone_block", { 127 | description = S("Sandstone Block Light"), 128 | tiles = {tile .. "^morelights_extras_blocklight.png"}, 129 | paramtype = "light", 130 | light_source = 12, 131 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 132 | _mcl_hardness = 0.3, 133 | sounds = morelights.sounds.glass 134 | }) 135 | end 136 | 137 | minetest.register_node("morelights_extras:stairlight", { 138 | description = S("Stair Light (place on stairs)"), 139 | drawtype = "nodebox", 140 | node_box = { 141 | type = "fixed", 142 | fixed = {-1/4, -13/16, -1/16, 1/4, -11/16, 0} 143 | }, 144 | selection_box = { 145 | type = "fixed", 146 | fixed = {-1/4, -13/16, -1/16, 1/4, -11/16, 0} 147 | }, 148 | walkable = false, 149 | tiles = {"morelights_metal_dark.png"}, 150 | overlay_tiles = {"", "morelights_extras_stairlight.png", 151 | "", "", "morelights_extras_stairlight.png"}, 152 | inventory_image = "morelights_extras_stairlight_inv.png", 153 | wield_image = "morelights_extras_stairlight_inv.png", 154 | paramtype = "light", 155 | paramtype2 = "facedir", 156 | light_source = 10, 157 | sunlight_propagates = true, 158 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1, 159 | attached_node = 1}, 160 | _mcl_hardness = 0.15, 161 | node_placement_prediction = "", 162 | sounds = morelights.sounds.glass, 163 | 164 | on_place = function(itemstack, placer, pointed_thing) 165 | if pointed_thing.type ~= "node" then 166 | return itemstack 167 | end 168 | 169 | -- See builtin/game/item.lua. 170 | local node = minetest.get_node(pointed_thing.under) 171 | 172 | if placer and not placer:get_player_control().sneak then 173 | local def = minetest.registered_nodes[node.name] 174 | if def and def.on_rightclick then 175 | return def.on_rightclick(pointed_thing.under, node, placer, 176 | itemstack, pointed_thing) or itemstack 177 | end 178 | end 179 | 180 | if node.param2 < 4 and ( 181 | node.name:match("^stairs:stair_") 182 | or node.name:match("^mcl_stairs:stair_") 183 | or node.name:match("^hades_stairs:stair_") 184 | or minetest.get_item_group(node.name, "morelights_supports_stairlight") ~= 0 185 | ) then 186 | -- Set `above` to the node actually above the stair, since that's 187 | -- where the node is placed. 188 | pointed_thing.above = 189 | vector.add(pointed_thing.under, vector.new(0, 1, 0)) 190 | return minetest.item_place_node(itemstack, placer, pointed_thing, 191 | node.param2) 192 | end 193 | 194 | return itemstack 195 | end, 196 | 197 | on_rotate = screwdriver.rotate_simple 198 | }) 199 | 200 | -- 201 | -- Craft recipes 202 | -- 203 | 204 | local a = morelights.craft_items 205 | 206 | minetest.register_craft({ 207 | output = "morelights_extras:f_block", 208 | recipe = { 209 | {a.crystal_fragment, a.steel, a.crystal_fragment}, 210 | {a.glass_pane, "morelights:bulb", a.glass_pane}, 211 | {a.crystal_fragment, a.steel, a.crystal_fragment} 212 | } 213 | }) 214 | 215 | minetest.register_craft({ 216 | output = "morelights_extras:dirt_with_grass", 217 | recipe = { 218 | {"", a.glass_pane, ""}, 219 | {"", "morelights:bulb", ""}, 220 | {a.grass, a.dirt, ""} 221 | } 222 | }) 223 | 224 | minetest.register_craft({ 225 | output = "morelights_extras:stone_block", 226 | recipe = { 227 | {"", a.glass_pane, ""}, 228 | {"", "morelights:bulb", ""}, 229 | {"", a.stone_block, ""} 230 | } 231 | }) 232 | 233 | minetest.register_craft({ 234 | output = "morelights_extras:sandstone_block", 235 | recipe = { 236 | {"", a.glass_pane, ""}, 237 | {"", "morelights:bulb", ""}, 238 | {"", a.sandstone_block, ""} 239 | } 240 | }) 241 | 242 | minetest.register_craft({ 243 | output = "morelights_extras:stairlight", 244 | recipe = { 245 | {a.steel, "morelights:bulb", a.steel} 246 | } 247 | }) 248 | -------------------------------------------------------------------------------- /morelights_extras/locale/template.txt: -------------------------------------------------------------------------------- 1 | # textdomain:morelights_extras 2 | 3 | Futuristic Light Block= 4 | Grass Light= 5 | Stone Block Light= 6 | Sandstone Block Light= 7 | Stair Light (place on stairs)= 8 | -------------------------------------------------------------------------------- /morelights_extras/mod.conf: -------------------------------------------------------------------------------- 1 | name = morelights_extras 2 | description = Provides miscellaneous lighting nodes. 3 | depends = morelights 4 | -------------------------------------------------------------------------------- /morelights_extras/textures/morelights_extras_blocklight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_extras/textures/morelights_extras_blocklight.png -------------------------------------------------------------------------------- /morelights_extras/textures/morelights_extras_f_block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_extras/textures/morelights_extras_f_block.png -------------------------------------------------------------------------------- /morelights_extras/textures/morelights_extras_stairlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_extras/textures/morelights_extras_stairlight.png -------------------------------------------------------------------------------- /morelights_extras/textures/morelights_extras_stairlight_inv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_extras/textures/morelights_extras_stairlight_inv.png -------------------------------------------------------------------------------- /morelights_modern/init.lua: -------------------------------------------------------------------------------- 1 | local S = minetest.get_translator("morelights_modern") 2 | 3 | 4 | minetest.register_node("morelights_modern:block", { 5 | description = S("Modern Light Block"), 6 | tiles = {"morelights_metal_dark.png^morelights_modern_block.png"}, 7 | paramtype = "light", 8 | light_source = minetest.LIGHT_MAX, 9 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 10 | _mcl_hardness = 0.3, 11 | sounds = morelights.sounds.glass 12 | }) 13 | 14 | minetest.register_node("morelights_modern:smallblock", { 15 | description = S("Modern Light Block (small)"), 16 | drawtype = "nodebox", 17 | node_box = { 18 | type = "fixed", 19 | fixed = {-1/4, -1/2, -1/4, 1/4, 0, 1/4} 20 | }, 21 | tiles = { 22 | "morelights_metal_dark.png^morelights_modern_smallblock.png", 23 | "morelights_metal_dark.png^morelights_modern_smallblock.png", 24 | "[combine:16x16:0,0=morelights_metal_dark.png" .. 25 | ":0,4=morelights_modern_smallblock.png" 26 | }, 27 | paramtype = "light", 28 | paramtype2 = "facedir", 29 | sunlight_propagates = true, 30 | light_source = 12, 31 | groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1}, 32 | _mcl_hardness = 0.2, 33 | sounds = morelights.sounds.glass, 34 | 35 | on_place = function(itemstack, placer, pointed_thing) 36 | return morelights.rotate_and_place(itemstack, placer, pointed_thing) 37 | end 38 | }) 39 | 40 | morelights.register_variants({ 41 | { 42 | name = "morelights_modern:post_d", 43 | description = S("Modern Post Light (@1)", S("dark")), 44 | tiles = { 45 | "morelights_metal_dark.png", 46 | "morelights_metal_dark.png", 47 | "morelights_metal_dark.png^morelights_modern_post.png" 48 | } 49 | }, 50 | { 51 | name = "morelights_modern:post_l", 52 | description = S("Modern Post Light (@1)", S("light")), 53 | tiles = { 54 | "morelights_metal_light.png", 55 | "morelights_metal_light.png", 56 | "morelights_metal_light.png^morelights_modern_post.png" 57 | } 58 | } 59 | }, 60 | { 61 | drawtype = "nodebox", 62 | node_box = { 63 | type = "fixed", 64 | fixed = {-1/8, -1/2, -1/8, 1/8, 1/2, 1/8} 65 | }, 66 | paramtype = "light", 67 | sunlight_propagates = true, 68 | light_source = minetest.LIGHT_MAX, 69 | groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1}, 70 | _mcl_hardness = 0.3, 71 | sounds = morelights.sounds.metal 72 | }) 73 | 74 | morelights.register_variants({ 75 | { 76 | name = "morelights_modern:streetpost_d", 77 | description = S("Street Lamp Post (@1) - connects to bar lights", 78 | S("dark")), 79 | tiles = {"morelights_metal_dark.png"} 80 | }, 81 | { 82 | name = "morelights_modern:streetpost_l", 83 | description = S("Street Lamp Post (@1) - connects to bar lights", 84 | S("light")), 85 | tiles = {"morelights_metal_light.png"} 86 | } 87 | }, 88 | { 89 | drawtype = "nodebox", 90 | node_box = { 91 | type = "connected", 92 | fixed = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}, 93 | connect_front = {-1/16, 3/8, -1/2, 1/16, 7/16, -1/16}, 94 | connect_left = {-1/2, 3/8, -1/16, -1/16, 7/16, 1/16}, 95 | connect_back = {-1/16, 3/8, 1/16, 1/16, 7/16, 1/2}, 96 | connect_right = {1/16, 3/8, -1/16, 1/2, 7/16, 1/16}, 97 | }, 98 | connects_to = { 99 | "morelights_modern:barlight_c", 100 | "morelights_modern:barlight_s" 101 | }, 102 | paramtype = "light", 103 | sunlight_propagates = true, 104 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 105 | _mcl_hardness = 0.3, 106 | sounds = morelights.sounds.metal 107 | }) 108 | 109 | minetest.register_node("morelights_modern:barlight_c", { 110 | description = S("Ceiling Bar Light (connecting)"), 111 | drawtype = "nodebox", 112 | node_box = { 113 | type = "connected", 114 | fixed = {-1/8, 3/8, -1/8, 1/8, 1/2, 1/8}, 115 | connect_front = {-1/8, 3/8, -1/2, 1/8, 1/2, -1/8}, 116 | connect_left = {-1/2, 3/8, -1/8, -1/8, 1/2, 1/8}, 117 | connect_back = {-1/8, 3/8, 1/8, 1/8, 1/2, 1/2}, 118 | connect_right = {1/8, 3/8, -1/8, 1/2, 1/2, 1/8}, 119 | }, 120 | connects_to = { 121 | "morelights_modern:barlight_c", 122 | "morelights_modern:barlight_s", 123 | "morelights_modern:streetpost_d", 124 | "morelights_modern:streetpost_l" 125 | }, 126 | tiles = { 127 | "morelights_metal_dark.png", 128 | "morelights_modern_barlight.png", 129 | "morelights_metal_dark.png" 130 | }, 131 | paramtype = "light", 132 | sunlight_propagates = true, 133 | light_source = minetest.LIGHT_MAX, 134 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1, not_blocking_trains = 1}, 135 | _mcl_hardness = 0.15, 136 | sounds = morelights.sounds.glass 137 | }) 138 | 139 | -- TODO: Determine orientation of bar lights from nearby nodes. 140 | minetest.register_node("morelights_modern:barlight_s", { 141 | description = S("Ceiling Bar Light (straight)"), 142 | drawtype = "nodebox", 143 | node_box = { 144 | type = "fixed", 145 | fixed = {-1/2, 3/8, -1/8, 1/2, 1/2, 1/8}, 146 | }, 147 | tiles = { 148 | "morelights_metal_dark.png", 149 | "morelights_modern_barlight.png", 150 | "morelights_metal_dark.png" 151 | }, 152 | paramtype = "light", 153 | paramtype2 = "facedir", 154 | sunlight_propagates = true, 155 | light_source = minetest.LIGHT_MAX, 156 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1, not_blocking_trains = 1}, 157 | _mcl_hardness = 0.15, 158 | sounds = morelights.sounds.glass 159 | }) 160 | 161 | minetest.register_node("morelights_modern:ceilinglight", { 162 | description = S("Modern Ceiling Light"), 163 | drawtype = "nodebox", 164 | node_box = { 165 | type = "fixed", 166 | fixed = {-1/4, 3/8, -1/4, 1/4, 1/2, 1/4} 167 | }, 168 | tiles = { 169 | "morelights_metal_dark.png", 170 | "morelights_metal_dark.png^morelights_modern_block.png" 171 | }, 172 | paramtype = "light", 173 | paramtype2 = "facedir", 174 | sunlight_propagates = true, 175 | light_source = minetest.LIGHT_MAX, 176 | groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1, not_blocking_trains = 1}, 177 | _mcl_hardness = 0.2, 178 | sounds = morelights.sounds.glass, 179 | 180 | on_place = function(itemstack, placer, pointed_thing) 181 | return morelights.rotate_and_place(itemstack, placer, pointed_thing, 182 | {[0] = 0, 20, 12, 16, 4, 8}) 183 | end 184 | }) 185 | 186 | morelights.register_variants({ 187 | { 188 | name = "morelights_modern:canlight_d", 189 | description = S("Modern Can Light (@1)", S("dark")), 190 | tiles = {"morelights_metal_dark.png^morelights_modern_canlight.png"} 191 | }, 192 | { 193 | name = "morelights_modern:canlight_l", 194 | description = S("Modern Can Light (@1)", S("light")), 195 | tiles = {"morelights_metal_light.png^morelights_modern_canlight.png"} 196 | }, 197 | }, 198 | { 199 | drawtype = "mesh", 200 | mesh = "morelights_modern_canlight.obj", 201 | collision_box = { 202 | type = "fixed", 203 | fixed = {-1/8, 0, -1/8, 1/8, 1/2, 1/8} 204 | }, 205 | selection_box = { 206 | type = "fixed", 207 | fixed = {-1/8, 0, -1/8, 1/8, 1/2, 1/8} 208 | }, 209 | paramtype = "light", 210 | sunlight_propagates = true, 211 | light_source = 12, 212 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 213 | _mcl_hardness = 0.2, 214 | sounds = morelights.sounds.metal 215 | }) 216 | 217 | minetest.register_node("morelights_modern:walllamp", { 218 | description = S("Modern Wall Lamp"), 219 | drawtype = "mesh", 220 | mesh = "morelights_modern_walllamp.obj", 221 | collision_box = { 222 | type = "fixed", 223 | fixed = {-1/8, -3/8, 1/8, 1/8, 1/4, 1/2} 224 | }, 225 | selection_box = { 226 | type = "fixed", 227 | fixed = {-1/8, -3/8, 1/8, 1/8, 1/4, 1/2} 228 | }, 229 | tiles = {"morelights_metal_dark_32.png^morelights_modern_walllamp.png"}, 230 | paramtype = "light", 231 | paramtype2 = "facedir", 232 | sunlight_propagates = true, 233 | light_source = 12, 234 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 235 | _mcl_hardness = 0.2, 236 | sounds = morelights.sounds.glass, 237 | 238 | on_place = function(itemstack, placer, pointed_thing) 239 | return morelights.rotate_and_place(itemstack, placer, pointed_thing, 240 | {[0] = 6, 4, 1, 3, 0, 2}) 241 | end 242 | }) 243 | 244 | morelights.register_variants({ 245 | { 246 | name = "morelights_modern:tablelamp_d", 247 | description = S("Modern Table Lamp (@1)", S("dark")), 248 | tiles = { 249 | "morelights_metal_light_32.png^morelights_modern_tablelamp_o.png", 250 | "morelights_modern_tablelamp_d.png" 251 | } 252 | }, 253 | { 254 | name = "morelights_modern:tablelamp_l", 255 | description = S("Modern Table Lamp (@1)", S("light")), 256 | tiles = { 257 | "morelights_metal_dark_32.png^morelights_modern_tablelamp_o.png", 258 | "morelights_modern_tablelamp_l.png" 259 | } 260 | }, 261 | }, 262 | { 263 | drawtype = "mesh", 264 | mesh = "morelights_modern_tablelamp.obj", 265 | collision_box = { 266 | type = "fixed", 267 | fixed = {-1/4, -1/2, -1/4, 1/4, 7/16, 1/4} 268 | }, 269 | selection_box = { 270 | type = "fixed", 271 | fixed = {-1/4, -1/2, -1/4, 1/4, 7/16, 1/4} 272 | }, 273 | paramtype = "light", 274 | sunlight_propagates = true, 275 | light_source = 10, 276 | groups = {choppy = 2, oddly_breakable_by_hand = 3, handy = 1}, 277 | _mcl_hardness = 0.2, 278 | sounds = morelights.sounds.default 279 | }) 280 | 281 | morelights.register_variants({ 282 | { 283 | name = "morelights_modern:pathlight_d", 284 | description = S("Modern Path Light (@1)", S("dark")), 285 | tiles = { 286 | "morelights_metal_dark_32.png^morelights_modern_pathlight.png" 287 | } 288 | }, 289 | { 290 | name = "morelights_modern:pathlight_l", 291 | description = S("Modern Path Light (@1)", S("light")), 292 | tiles = { 293 | "morelights_metal_light_32.png^morelights_modern_pathlight.png" 294 | } 295 | } 296 | }, 297 | { 298 | drawtype = "nodebox", 299 | node_box = { 300 | type = "fixed", 301 | fixed = { 302 | {-1/32, -8/16, -1/32, 1/32, 1/8, 1/32}, 303 | {-1/16, 1/8, -1/16, 1/16, 5/16, 1/16}, 304 | {-1/8, 5/16, -1/8, 1/8, 3/8, 1/8} 305 | } 306 | }, 307 | selection_box = { 308 | type = "fixed", 309 | fixed = {-1/8, -1/2, -1/8, 1/8, 3/8, 1/8} 310 | }, 311 | paramtype = "light", 312 | sunlight_propagates = true, 313 | light_source = 8, 314 | groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1}, 315 | _mcl_hardness = 0.2, 316 | sounds = morelights.sounds.metal 317 | }) 318 | 319 | -- 320 | -- Craft recipes 321 | -- 322 | 323 | local a = morelights.craft_items 324 | 325 | minetest.register_craft({ 326 | output = "morelights_modern:block", 327 | recipe = { 328 | {"", a.steel, ""}, 329 | {a.glass_pane, "morelights:bulb", a.glass_pane}, 330 | {"", a.steel, ""} 331 | } 332 | }) 333 | 334 | minetest.register_craft({ 335 | output = "morelights_modern:smallblock", 336 | recipe = { 337 | {"", a.glass_pane, ""}, 338 | {a.steel, "morelights:bulb", a.steel} 339 | } 340 | }) 341 | 342 | minetest.register_craft({ 343 | output = "morelights_modern:post_d", 344 | recipe = { 345 | {a.dye_dark, a.steel, ""}, 346 | {"", "morelights:bulb", ""}, 347 | {"", a.steel, ""} 348 | } 349 | }) 350 | 351 | minetest.register_craft({ 352 | output = "morelights_modern:post_l", 353 | recipe = { 354 | {a.dye_light, a.steel, ""}, 355 | {"", "morelights:bulb", ""}, 356 | {"", a.steel, ""} 357 | } 358 | }) 359 | 360 | minetest.register_craft({ 361 | output = "morelights_modern:streetpost_d 2", 362 | recipe = { 363 | {a.dye_dark, a.steel, a.steel}, 364 | {"", a.steel, ""}, 365 | {"", a.steel, ""} 366 | } 367 | }) 368 | 369 | minetest.register_craft({ 370 | output = "morelights_modern:streetpost_l 2", 371 | recipe = { 372 | {a.dye_light, a.steel, a.steel}, 373 | {"", a.steel, ""}, 374 | {"", a.steel, ""} 375 | } 376 | }) 377 | 378 | minetest.register_craft({ 379 | output = "morelights_modern:barlight_c 4", 380 | recipe = { 381 | {a.steel, a.steel, a.steel}, 382 | {a.copper, a.glass, a.copper} 383 | } 384 | }) 385 | 386 | minetest.register_craft({ 387 | output = "morelights_modern:barlight_c", 388 | type = "shapeless", 389 | recipe = {"morelights_modern:barlight_s"} 390 | }) 391 | 392 | minetest.register_craft({ 393 | output = "morelights_modern:barlight_s", 394 | type = "shapeless", 395 | recipe = {"morelights_modern:barlight_c"} 396 | }) 397 | 398 | minetest.register_craft({ 399 | output = "morelights_modern:ceilinglight", 400 | recipe = { 401 | {a.steel, "morelights:bulb", a.steel}, 402 | {"", a.glass_pane, ""}, 403 | } 404 | }) 405 | 406 | minetest.register_craft({ 407 | output = "morelights_modern:canlight_d", 408 | recipe = { 409 | {a.dye_dark, a.steel, ""}, 410 | {a.steel, "morelights:bulb", a.steel}, 411 | } 412 | }) 413 | 414 | minetest.register_craft({ 415 | output = "morelights_modern:canlight_l", 416 | recipe = { 417 | {a.dye_light, a.steel, ""}, 418 | {a.steel, "morelights:bulb", a.steel}, 419 | } 420 | }) 421 | 422 | minetest.register_craft({ 423 | output = "morelights_modern:walllamp", 424 | recipe = { 425 | {"", a.glass_pane, ""}, 426 | {a.glass_pane, "morelights:bulb", a.steel}, 427 | {"", a.dye_dark, a.steel} 428 | } 429 | }) 430 | 431 | minetest.register_craft({ 432 | output = "morelights_modern:tablelamp_d", 433 | recipe = { 434 | {"", a.steel, ""}, 435 | {a.wool_dark, "morelights:bulb", a.wool_dark}, 436 | {"", a.steel, ""} 437 | } 438 | }) 439 | 440 | minetest.register_craft({ 441 | output = "morelights_modern:tablelamp_l", 442 | recipe = { 443 | {"", a.steel, ""}, 444 | {a.wool_light, "morelights:bulb", a.wool_light}, 445 | {"", a.steel, ""} 446 | } 447 | }) 448 | 449 | minetest.register_craft({ 450 | output = "morelights_modern:pathlight_d", 451 | recipe = { 452 | {a.dye_dark, "morelights:bulb", ""}, 453 | {"", a.steel, ""}, 454 | {"", a.steel, ""} 455 | } 456 | }) 457 | 458 | minetest.register_craft({ 459 | output = "morelights_modern:pathlight_l", 460 | recipe = { 461 | {a.dye_light, "morelights:bulb", ""}, 462 | {"", a.steel, ""}, 463 | {"", a.steel, ""} 464 | } 465 | }) 466 | -------------------------------------------------------------------------------- /morelights_modern/locale/template.txt: -------------------------------------------------------------------------------- 1 | # textdomain:morelights_modern 2 | 3 | dark= 4 | light= 5 | Modern Light Block= 6 | Modern Light Block (small)= 7 | Modern Post Light (@1)= 8 | Street Lamp Post (@1) - connects to bar lights= 9 | Ceiling Bar Light (connecting)= 10 | Ceiling Bar Light (straight)= 11 | Modern Ceiling Light= 12 | Modern Can Light (@1)= 13 | Modern Wall Lamp= 14 | Modern Table Lamp (@1)= 15 | Modern Path Light (@1)= 16 | -------------------------------------------------------------------------------- /morelights_modern/mod.conf: -------------------------------------------------------------------------------- 1 | name = morelights_modern 2 | description = Provides modern-style lighting nodes. 3 | depends = morelights 4 | -------------------------------------------------------------------------------- /morelights_modern/models/morelights_modern_canlight.obj: -------------------------------------------------------------------------------- 1 | # Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T18:42:48Z | https://github.com/jonnenauha/obj-simplify 2 | 3 | # Blender v2.79 (sub 0) OBJ File: 'modern_can_2.blend' 4 | # www.blender.org 5 | 6 | # vertices [32] 7 | 8 | v -0.051777 0 -0.125 9 | v -0.051777 0.5 -0.125 10 | v 0.051777 0.5 -0.125 11 | v 0.051777 0 -0.125 12 | v 0.125 0 0.051777 13 | v 0.051777 0 0.125 14 | v -0.051777 0 0.125 15 | v -0.125 0 0.051777 16 | v -0.125 0 -0.051777 17 | v -0.1 0 -0.041421 18 | v -0.1 0 0.041421 19 | v -0.041421 0 0.1 20 | v 0.041421 0 0.1 21 | v 0.1 0 0.041421 22 | v 0.125 0 -0.051777 23 | v 0.1 0 -0.041421 24 | v 0.041421 0 -0.1 25 | v -0.041421 0 -0.1 26 | v -0.125 0.5 -0.051777 27 | v -0.125 0.5 0.051777 28 | v -0.051777 0.5 0.125 29 | v 0.051777 0.5 0.125 30 | v 0.125 0.5 0.051777 31 | v 0.125 0.5 -0.051777 32 | v 0.041421 0.125 -0.1 33 | v -0.041421 0.125 -0.1 34 | v -0.1 0.125 -0.041421 35 | v 0.1 0.125 -0.041421 36 | v 0.1 0.125 0.041421 37 | v 0.041421 0.125 0.1 38 | v -0.041421 0.125 0.1 39 | v -0.1 0.125 0.041421 40 | 41 | # normals [10] 42 | 43 | vn 0 0 -1 44 | vn -0.7071 0 -0.7071 45 | vn 0 1 0 46 | vn 0.7071 0 -0.7071 47 | vn 1 0 0 48 | vn 0.7071 0 0.7071 49 | vn 0 0 1 50 | vn -0.7071 0 0.7071 51 | vn -1 0 0 52 | vn 0 -1 0 53 | 54 | # uvs [52] 55 | 56 | vt 0.375 0.5 57 | vt 0.375 1 58 | vt 0.25 1 59 | vt 0.25 0.5 60 | vt 0.5 0.5 61 | vt 0.5 1 62 | vt 0.239277 0.9375 63 | vt 0.135723 0.9375 64 | vt 0.0625 0.864257 65 | vt 0.0625 0.760704 66 | vt 0.135723 0.6875 67 | vt 0.239277 0.6875 68 | vt 0.3125 0.760704 69 | vt 0.3125 0.864257 70 | vt 0.125 1 71 | vt 0.125 0.5 72 | vt 0 1 73 | vt 0 0.5 74 | vt 1 0.5 75 | vt 1 1 76 | vt 0.875 1 77 | vt 0.875 0.5 78 | vt 0.75 1 79 | vt 0.75 0.5 80 | vt 0.625 1 81 | vt 0.625 0.5 82 | vt 0.375 0.4375 83 | vt 0.25 0.4375 84 | vt 0.25 0.3125 85 | vt 0.375 0.3125 86 | vt 0.5 0.4375 87 | vt 0.5 0.3125 88 | vt 0.176777 0 89 | vt 0.25 0.073223 90 | vt 0.25 0.176777 91 | vt 0.176777 0.25 92 | vt 0.073223 0.25 93 | vt 0 0.176777 94 | vt 0 0.073223 95 | vt 0.073223 0 96 | vt 0.125 0.4375 97 | vt 0.125 0.3125 98 | vt 0.625 0.4375 99 | vt 0.625 0.3125 100 | vt 0.75 0.4375 101 | vt 0.75 0.3125 102 | vt 0.875 0.4375 103 | vt 0.875 0.3125 104 | vt 1 0.4375 105 | vt 1 0.3125 106 | vt 0 0.4375 107 | vt 0 0.3125 108 | 109 | # objects [1] 110 | 111 | o CanLight 112 | 113 | s off 114 | f 1/1/1 2/2/1 3/3/1 4/4/1 115 | f 9/5/2 19/6/2 2/2/2 1/1/2 116 | f 3/7/3 2/8/3 19/9/3 20/10/3 21/11/3 22/12/3 23/13/3 24/14/3 117 | f 4/4/4 3/3/4 24/15/4 15/16/4 118 | f 15/16/5 24/15/5 23/17/5 5/18/5 119 | f 5/19/6 23/20/6 22/21/6 6/22/6 120 | f 6/22/7 22/21/7 21/23/7 7/24/7 121 | f 7/24/8 21/23/8 20/25/8 8/26/8 122 | f 8/26/9 20/25/9 19/6/9 9/5/9 123 | f 18/27/7 17/28/7 25/29/7 26/30/7 124 | f 10/31/6 18/27/6 26/30/6 27/32/6 125 | f 25/33/10 28/34/10 29/35/10 30/36/10 31/37/10 32/38/10 27/39/10 26/40/10 126 | f 17/28/8 16/41/8 28/42/8 25/29/8 127 | f 11/43/5 10/31/5 27/32/5 32/44/5 128 | f 12/45/4 11/43/4 32/44/4 31/46/4 129 | f 13/47/1 12/45/1 31/46/1 30/48/1 130 | f 14/49/2 13/47/2 30/48/2 29/50/2 131 | f 16/41/9 14/51/9 29/52/9 28/42/9 132 | f 10/31/10 9/5/10 1/1/10 18/27/10 133 | f 1/1/10 4/4/10 17/28/10 18/27/10 134 | f 4/4/10 15/16/10 16/41/10 17/28/10 135 | f 14/51/10 16/41/10 15/16/10 5/18/10 136 | f 14/49/10 5/19/10 6/22/10 13/47/10 137 | f 13/47/10 6/22/10 7/24/10 12/45/10 138 | f 7/24/10 8/26/10 11/43/10 12/45/10 139 | f 11/43/10 8/26/10 9/5/10 10/31/10 140 | 141 | -------------------------------------------------------------------------------- /morelights_modern/models/morelights_modern_tablelamp.obj: -------------------------------------------------------------------------------- 1 | # Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T06:56:07Z | https://github.com/jonnenauha/obj-simplify 2 | 3 | # Blender v2.93.0 OBJ File: '' 4 | # www.blender.org 5 | 6 | # vertices [44] 7 | 8 | v -0.1875 -0.5 0.1875 9 | v -0.1875 -0.4375 0.1875 10 | v -0.1875 -0.4375 -0.1875 11 | v -0.1875 -0.5 -0.1875 12 | v 0.1875 -0.4375 -0.1875 13 | v 0.1875 -0.5 -0.1875 14 | v 0.1875 -0.4375 0.1875 15 | v 0.1875 -0.5 0.1875 16 | v 0.03125 0.3125 0.03125 17 | v 0.21875 0.3125 0.03125 18 | v 0.21875 0.34375 0 19 | v 0.03125 0.34375 0 20 | v 0.21875 0.3125 -0.03125 21 | v 0.03125 0.3125 -0.03125 22 | v -0.21875 0.3125 0.03125 23 | v -0.03125 0.3125 0.03125 24 | v -0.03125 0.34375 0 25 | v -0.21875 0.34375 0 26 | v -0.03125 0.3125 -0.03125 27 | v -0.21875 0.3125 -0.03125 28 | v -0.03125 -0.4375 0.03125 29 | v -0.03125 0.375 0.03125 30 | v -0.03125 0.375 -0.03125 31 | v -0.03125 -0.4375 -0.03125 32 | v 0.03125 0.375 -0.03125 33 | v 0.03125 -0.4375 -0.03125 34 | v 0.03125 0.375 0.03125 35 | v 0.03125 -0.4375 0.03125 36 | v -0.25 -0.0625 0.25 37 | v -0.25 0.4375 0.25 38 | v -0.25 0.4375 -0.25 39 | v -0.25 -0.0625 -0.25 40 | v 0.25 0.4375 -0.25 41 | v 0.25 -0.0625 -0.25 42 | v 0.25 0.4375 0.25 43 | v 0.25 -0.0625 0.25 44 | v -0.21875 -0.0625 -0.21875 45 | v -0.21875 0.4375 -0.21875 46 | v 0.21875 0.4375 -0.21875 47 | v 0.21875 -0.0625 -0.21875 48 | v -0.21875 -0.0625 0.21875 49 | v -0.21875 0.4375 0.21875 50 | v 0.21875 0.4375 0.21875 51 | v 0.21875 -0.0625 0.21875 52 | 53 | # normals [8] 54 | 55 | vn -1 0 0 56 | vn 0 0 -1 57 | vn 1 0 0 58 | vn 0 0 1 59 | vn 0 -1 0 60 | vn 0 1 0 61 | vn 0 0.7071 0.7071 62 | vn 0 0.7071 -0.7071 63 | 64 | # uvs [39] 65 | 66 | vt 0.3125 0.0625 67 | vt 0.3125 0 68 | vt 0.6875 0 69 | vt 0.6875 0.0625 70 | vt 0.6875 0.3125 71 | vt 0.6875 0.6875 72 | vt 0.3125 0.6875 73 | vt 0.3125 0.3125 74 | vt 0.53125 0.46875 75 | vt 0.71875 0.46875 76 | vt 0.71875 0.5 77 | vt 0.53125 0.5 78 | vt 0.71875 0.53125 79 | vt 0.53125 0.53125 80 | vt 0.28125 0.46875 81 | vt 0.46875 0.46875 82 | vt 0.46875 0.5 83 | vt 0.28125 0.5 84 | vt 0.46875 0.53125 85 | vt 0.28125 0.53125 86 | vt 0.3125 0.875 87 | vt 0.25 0.875 88 | vt 0.25 0.0625 89 | vt 0.3125 0.53125 90 | vt 0.25 0.53125 91 | vt 0.25 0.46875 92 | vt 0.3125 0.46875 93 | vt 0 0 94 | vt 0 1 95 | vt 1 1 96 | vt 1 0 97 | vt 0.0625 0 98 | vt 0.0625 1 99 | vt 0.9375 1 100 | vt 0.9375 0 101 | vt 0.9375 0.0625 102 | vt 0.0625 0.0625 103 | vt 0.0625 0.9375 104 | vt 0.9375 0.9375 105 | 106 | # objects [2] 107 | 108 | g LampBase 109 | 110 | s 1 111 | f 1/1/1 2/2/1 3/3/1 4/4/1 112 | f 4/1/2 3/2/2 5/3/2 6/4/2 113 | f 6/3/3 5/4/3 7/1/3 8/2/3 114 | f 8/3/4 7/4/4 2/1/4 1/2/4 115 | f 4/5/5 6/6/5 8/7/5 1/8/5 116 | f 5/5/6 3/6/6 2/7/6 7/8/6 117 | f 9/9/7 10/10/7 11/11/7 12/12/7 118 | f 12/12/8 11/11/8 13/13/8 14/14/8 119 | f 15/15/7 16/16/7 17/17/7 18/18/7 120 | f 18/18/8 17/17/8 19/19/8 20/20/8 121 | f 21/1/1 22/21/1 23/22/1 24/23/1 122 | f 24/1/2 23/21/2 25/22/2 26/23/2 123 | f 26/1/3 25/21/3 27/22/3 28/23/3 124 | f 28/1/4 27/21/4 22/22/4 21/23/4 125 | f 25/24/6 23/25/6 22/26/6 27/27/6 126 | 127 | g LampShade 128 | 129 | s 1 130 | f 29/28/1 30/29/1 31/30/1 32/31/1 131 | f 32/28/2 31/29/2 33/30/2 34/31/2 132 | f 34/31/3 33/30/3 35/29/3 36/28/3 133 | f 36/31/4 35/30/4 30/29/4 29/28/4 134 | f 37/32/2 38/33/2 39/34/2 40/35/2 135 | f 41/32/1 42/33/1 38/34/1 37/35/1 136 | f 40/32/3 39/33/3 43/34/3 44/35/3 137 | f 44/32/4 43/33/4 42/34/4 41/35/4 138 | f 30/28/6 35/31/6 43/36/6 42/37/6 139 | f 31/29/6 30/28/6 42/37/6 38/38/6 140 | f 33/30/6 31/29/6 38/38/6 39/39/6 141 | f 35/31/6 33/30/6 39/39/6 43/36/6 142 | f 29/29/5 32/28/5 37/37/5 41/38/5 143 | f 32/28/5 34/31/5 40/36/5 37/37/5 144 | f 34/31/5 36/30/5 44/39/5 40/36/5 145 | f 36/30/5 29/29/5 41/38/5 44/39/5 146 | 147 | -------------------------------------------------------------------------------- /morelights_modern/models/morelights_modern_walllamp.obj: -------------------------------------------------------------------------------- 1 | # Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T19:07:59Z | https://github.com/jonnenauha/obj-simplify 2 | 3 | # Blender v2.93.0 OBJ File: '' 4 | # www.blender.org 5 | 6 | # vertices [28] 7 | 8 | v 0.125 -0.25 0.375 9 | v 0.125 0.25 0.375 10 | v -0.125 0.25 0.375 11 | v -0.125 -0.25 0.375 12 | v -0.125 0.25 0.125 13 | v -0.125 -0.25 0.125 14 | v 0.125 0.25 0.125 15 | v 0.125 -0.25 0.125 16 | v -0.03125 -0.34375 0.4375 17 | v -0.03125 -0.28125 0.4375 18 | v -0.03125 -0.28125 0.28125 19 | v -0.03125 -0.34375 0.21875 20 | v -0.03125 -0.25 0.28125 21 | v -0.03125 -0.25 0.21875 22 | v 0.03125 -0.34375 0.21875 23 | v 0.03125 -0.28125 0.28125 24 | v 0.03125 -0.28125 0.4375 25 | v 0.03125 -0.34375 0.4375 26 | v 0.03125 -0.25 0.21875 27 | v 0.03125 -0.25 0.28125 28 | v 0.125 -0.375 0.5 29 | v 0.125 0.125 0.5 30 | v -0.125 0.125 0.5 31 | v -0.125 -0.375 0.5 32 | v -0.125 0.125 0.4375 33 | v -0.125 -0.375 0.4375 34 | v 0.125 0.125 0.4375 35 | v 0.125 -0.375 0.4375 36 | 37 | # normals [6] 38 | 39 | vn 0 0 1 40 | vn -1 0 0 41 | vn 0 0 -1 42 | vn 1 0 0 43 | vn 0 -1 0 44 | vn 0 1 0 45 | 46 | # uvs [41] 47 | 48 | vt 1 0.5 49 | vt 1 1 50 | vt 0.75 1 51 | vt 0.75 0.5 52 | vt 0.5 1 53 | vt 0.5 0.5 54 | vt 0.25 1 55 | vt 0.25 0.5 56 | vt 0 1 57 | vt 0 0.5 58 | vt 0 0.25 59 | vt 0.25 0.25 60 | vt 0.03125 0.0625 61 | vt 0.03125 0.125 62 | vt 0.1875 0.125 63 | vt 0.25 0.0625 64 | vt 0.1875 0.15625 65 | vt 0.25 0.15625 66 | vt 0.25 0 67 | vt 0.03125 0 68 | vt 0.1875 0.25 69 | vt 0.03125 0.25 70 | vt 0.03125 0.1875 71 | vt 0.1875 0.1875 72 | vt 0.34375 0.0625 73 | vt 0.34375 0 74 | vt 0.21875 0.1875 75 | vt 0.21875 0.25 76 | vt 0.9375 0 77 | vt 0.9375 0.5 78 | vt 0.6875 0.5 79 | vt 0.6875 0 80 | vt 0.625 0.5 81 | vt 0.625 0 82 | vt 0.375 0.5 83 | vt 0.375 0 84 | vt 0.3125 0.5 85 | vt 0.3125 0 86 | vt 0.9375 0.25 87 | vt 1 0.25 88 | vt 1 0 89 | 90 | # objects [1] 91 | 92 | o WallLamp 93 | 94 | s 1 95 | f 1/1/1 2/2/1 3/3/1 4/4/1 96 | f 4/4/2 3/3/2 5/5/2 6/6/2 97 | f 6/6/3 5/5/3 7/7/3 8/8/3 98 | f 8/8/4 7/7/4 2/9/4 1/10/4 99 | f 4/8/5 6/10/5 8/11/5 1/12/5 100 | f 5/8/6 3/10/6 2/11/6 7/12/6 101 | f 9/13/2 10/14/2 11/15/2 12/16/2 102 | f 12/16/2 11/15/2 13/17/2 14/18/2 103 | f 15/16/4 16/15/4 17/14/4 18/13/4 104 | f 9/13/5 12/16/5 15/19/5 18/20/5 105 | f 11/21/6 10/22/6 17/23/6 16/24/6 106 | f 16/15/4 15/16/4 19/18/4 20/17/4 107 | f 15/19/3 12/16/3 14/25/3 19/26/3 108 | f 11/21/1 16/24/1 20/27/1 13/28/1 109 | f 21/29/1 22/30/1 23/31/1 24/32/1 110 | f 24/32/2 23/31/2 25/33/2 26/34/2 111 | f 26/34/3 25/33/3 27/35/3 28/36/3 112 | f 28/36/4 27/35/4 22/37/4 21/38/4 113 | f 24/39/5 26/40/5 28/1/5 21/30/5 114 | f 25/29/6 23/41/6 22/40/6 27/39/6 115 | 116 | -------------------------------------------------------------------------------- /morelights_modern/textures/morelights_modern_barlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_modern/textures/morelights_modern_barlight.png -------------------------------------------------------------------------------- /morelights_modern/textures/morelights_modern_block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_modern/textures/morelights_modern_block.png -------------------------------------------------------------------------------- /morelights_modern/textures/morelights_modern_canlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_modern/textures/morelights_modern_canlight.png -------------------------------------------------------------------------------- /morelights_modern/textures/morelights_modern_pathlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_modern/textures/morelights_modern_pathlight.png -------------------------------------------------------------------------------- /morelights_modern/textures/morelights_modern_post.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_modern/textures/morelights_modern_post.png -------------------------------------------------------------------------------- /morelights_modern/textures/morelights_modern_smallblock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_modern/textures/morelights_modern_smallblock.png -------------------------------------------------------------------------------- /morelights_modern/textures/morelights_modern_tablelamp_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_modern/textures/morelights_modern_tablelamp_d.png -------------------------------------------------------------------------------- /morelights_modern/textures/morelights_modern_tablelamp_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_modern/textures/morelights_modern_tablelamp_l.png -------------------------------------------------------------------------------- /morelights_modern/textures/morelights_modern_tablelamp_o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_modern/textures/morelights_modern_tablelamp_o.png -------------------------------------------------------------------------------- /morelights_modern/textures/morelights_modern_walllamp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_modern/textures/morelights_modern_walllamp.png -------------------------------------------------------------------------------- /morelights_vintage/init.lua: -------------------------------------------------------------------------------- 1 | local S = minetest.get_translator("morelights_vintage") 2 | 3 | 4 | -- Register custom brass ingot if a suitable replacement doesn't exist. 5 | if morelights.craft_items.brass == nil then 6 | morelights.craft_items.brass = "morelights_vintage:brass_ingot" 7 | 8 | minetest.register_craftitem("morelights_vintage:brass_ingot", { 9 | description = S("Brass Ingot"), 10 | inventory_image = "default_steel_ingot.png^[multiply:#FFCE69" 11 | }) 12 | 13 | minetest.register_craft({ 14 | output = "morelights_vintage:brass_ingot 2", 15 | type = "shapeless", 16 | recipe = { 17 | morelights.craft_items.copper, 18 | morelights.craft_items.tin 19 | } 20 | }) 21 | end 22 | 23 | minetest.register_node("morelights_vintage:chain_b", { 24 | description = S("Brass Chain"), 25 | drawtype = "mesh", 26 | mesh = "morelights_chain.obj", 27 | collision_box = { 28 | type = "fixed", 29 | fixed = {-1/16, -8/16, -1/16, 1/16, 8/16, 1/16} 30 | }, 31 | selection_box = { 32 | type = "fixed", 33 | fixed = {-1/16, -8/16, -1/16, 1/16, 8/16, 1/16} 34 | }, 35 | tiles = {"morelights_vintage_brass_32.png"}, 36 | inventory_image = "morelights_vintage_chain_b_inv.png", 37 | wield_image = "morelights_vintage_chain_b_inv.png", 38 | paramtype = "light", 39 | sunlight_propagates = true, 40 | groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1, 41 | mounted_ceiling = 1}, 42 | _mcl_hardness = 0.2, 43 | sounds = morelights.sounds.metal, 44 | 45 | on_place = function(itemstack, placer, pointed_thing) 46 | return morelights.on_place_hanging(itemstack, placer, pointed_thing, 47 | "morelights_vintage:chain_ceiling_b") 48 | end 49 | }) 50 | 51 | minetest.register_node("morelights_vintage:chain_ceiling_b", { 52 | drawtype = "mesh", 53 | mesh = "morelights_chain_ceiling.obj", 54 | collision_box = { 55 | type = "fixed", 56 | fixed = { 57 | {-3/16, 7/16, -3/16, 3/16, 1/2, 3/16}, 58 | {-1/16, -1/2, -1/16, 1/16, 7/16, 1/16} 59 | } 60 | }, 61 | selection_box = { 62 | type = "fixed", 63 | fixed = { 64 | {-3/16, 7/16, -3/16, 3/16, 1/2, 3/16}, 65 | {-1/16, -1/2, -1/16, 1/16, 7/16, 1/16} 66 | } 67 | }, 68 | tiles = {"morelights_vintage_brass_32.png"}, 69 | drop = "morelights_vintage:chain_b", 70 | paramtype = "light", 71 | sunlight_propagates = true, 72 | groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1, 73 | mounted_ceiling = 1, mounted_ceiling = 1}, 74 | _mcl_hardness = 0.2, 75 | sounds = morelights.sounds.metal 76 | }) 77 | 78 | minetest.register_node("morelights_vintage:block", { 79 | description = S("Vintage Light Block"), 80 | tiles = {"morelights_vintage_block_glass.png^morelights_vintage_block_frame.png"}, 81 | paramtype = "light", 82 | light_source = minetest.LIGHT_MAX, 83 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 84 | _mcl_hardness = 0.3, 85 | sounds = morelights.sounds.glass 86 | }) 87 | 88 | minetest.register_node("morelights_vintage:smallblock", { 89 | description = S("Vintage Light Block (small)"), 90 | drawtype = "nodebox", 91 | node_box = { 92 | type = "fixed", 93 | fixed = {-1/4, -1/2, -1/4, 1/4, 0, 1/4} 94 | }, 95 | tiles = { 96 | "morelights_vintage_block_glass.png^morelights_vintage_block_frame.png", 97 | "morelights_vintage_block_glass.png^morelights_vintage_block_frame.png", 98 | "[combine:16x16:0,4=" .. 99 | "(morelights_vintage_block_glass.png^morelights_vintage_block_frame.png)" 100 | }, 101 | use_texture_alpha = "opaque", 102 | paramtype = "light", 103 | paramtype2 = "facedir", 104 | sunlight_propagates = true, 105 | light_source = 12, 106 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 107 | _mcl_hardness = 0.2, 108 | sounds = morelights.sounds.glass, 109 | 110 | on_place = function(itemstack, placer, pointed_thing) 111 | return morelights.rotate_and_place(itemstack, placer, pointed_thing) 112 | end 113 | }) 114 | 115 | minetest.register_node("morelights_vintage:lantern_f", { 116 | description = S("Vintage Lantern (floor, wall, or ceiling)"), 117 | drawtype = "mesh", 118 | mesh = "morelights_vintage_lantern_f.obj", 119 | tiles = { 120 | "morelights_vintage_lantern_frame.png^morelights_vintage_lantern_glass.png", 121 | "morelights_metal_dark_32.png" 122 | }, 123 | use_texture_alpha = "opaque", 124 | collision_box = { 125 | type = "fixed", 126 | fixed = {-3/16, -1/2, -3/16, 3/16, 1/16, 3/16} 127 | }, 128 | selection_box = { 129 | type = "fixed", 130 | fixed = {-3/16, -1/2, -3/16, 3/16, 1/16, 3/16} 131 | }, 132 | paramtype = "light", 133 | sunlight_propagates = true, 134 | light_source = 12, 135 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 136 | _mcl_hardness = 0.2, 137 | sounds = morelights.sounds.glass, 138 | 139 | on_place = function(itemstack, placer, pointed_thing) 140 | local wdir = minetest.dir_to_wallmounted( 141 | vector.subtract(pointed_thing.under, pointed_thing.above)) 142 | local fakeStack = ItemStack(itemstack) 143 | 144 | if wdir == 0 then 145 | fakeStack:set_name("morelights_vintage:lantern_c") 146 | elseif wdir == 1 then 147 | fakeStack:set_name("morelights_vintage:lantern_f") 148 | else 149 | fakeStack:set_name("morelights_vintage:lantern_w") 150 | end 151 | 152 | minetest.item_place(fakeStack, placer, pointed_thing, wdir) 153 | itemstack:set_count(fakeStack:get_count()) 154 | 155 | return itemstack 156 | end 157 | }) 158 | 159 | minetest.register_node("morelights_vintage:lantern_c", { 160 | drawtype = "mesh", 161 | mesh = "morelights_vintage_lantern_c.obj", 162 | tiles = { 163 | "morelights_vintage_lantern_frame.png^morelights_vintage_lantern_glass.png", 164 | "morelights_metal_dark_32.png" 165 | }, 166 | use_texture_alpha = "opaque", 167 | collision_box = { 168 | type = "fixed", 169 | fixed = {-3/16, -1/16, -3/16, 3/16, 1/2, 3/16} 170 | }, 171 | selection_box = { 172 | type = "fixed", 173 | fixed = {-3/16, 0, -3/16, 3/16, 1/2, 3/16} 174 | }, 175 | paramtype = "light", 176 | sunlight_propagates = true, 177 | light_source = 12, 178 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1, 179 | not_in_creative_inventory = 1}, 180 | _mcl_hardness = 0.2, 181 | sounds = morelights.sounds.glass, 182 | drop = "morelights_vintage:lantern_f" 183 | }) 184 | 185 | minetest.register_node("morelights_vintage:lantern_w", { 186 | drawtype = "mesh", 187 | mesh = "morelights_vintage_lantern_w.obj", 188 | tiles = { 189 | "morelights_vintage_lantern_frame.png^morelights_vintage_lantern_glass.png", 190 | "morelights_metal_dark_32.png" 191 | }, 192 | use_texture_alpha = "clip", 193 | collision_box = { 194 | type = "fixed", 195 | fixed = {-3/16, -1/4, -5/16, 3/16, 1/8, 3/16} 196 | }, 197 | selection_box = { 198 | type = "fixed", 199 | fixed = {-3/16, -1/4, -5/16, 3/16, 1/8, 3/16} 200 | }, 201 | paramtype = "light", 202 | paramtype2 = "wallmounted", 203 | sunlight_propagates = true, 204 | light_source = 12, 205 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1, 206 | not_in_creative_inventory = 1}, 207 | _mcl_hardness = 0.2, 208 | sounds = morelights.sounds.glass, 209 | drop = "morelights_vintage:lantern_f" 210 | }) 211 | 212 | minetest.register_node("morelights_vintage:hangingbulb", { 213 | description = S("Vintage Hanging Light Bulb"), 214 | drawtype = "mesh", 215 | mesh = "morelights_vintage_hangingbulb.obj", 216 | tiles = { 217 | "morelights_vintage_hangingbulb.png" .. 218 | "^[lowpart:50:morelights_metal_dark_32.png" 219 | }, 220 | inventory_image = "morelights_vintage_hangingbulb_inv.png", 221 | wield_image = "morelights_vintage_hangingbulb_inv.png", 222 | use_texture_alpha = "blend", 223 | collision_box = { 224 | type = "fixed", 225 | fixed = {-1/8, -1/8, -1/8, 1/8, 1/2, 1/8} 226 | }, 227 | selection_box = { 228 | type = "fixed", 229 | fixed = {-1/8, -1/8, -1/8, 1/8, 1/2, 1/8} 230 | }, 231 | paramtype = "light", 232 | sunlight_propagates = true, 233 | light_source = 10, 234 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 235 | _mcl_hardness = 0.15, 236 | sounds = morelights.sounds.glass 237 | }) 238 | 239 | minetest.register_node("morelights_vintage:oillamp", { 240 | description = S("Vintage Oil Lamp"), 241 | drawtype = "mesh", 242 | mesh = "morelights_vintage_oillamp.obj", 243 | tiles = { 244 | { 245 | name = "morelights_vintage_oil_flame.png", 246 | animation = { 247 | type = "sheet_2d", 248 | frames_w = 16, 249 | frames_h = 1, 250 | frame_length = 0.3 251 | } 252 | }, 253 | "morelights_vintage_oillamp.png", 254 | "morelights_vintage_brass_32.png" 255 | }, 256 | use_texture_alpha = "clip", 257 | collision_box = { 258 | type = "fixed", 259 | fixed = {-1/8, -1/2, -1/8, 1/8, 1/4, 1/8} 260 | }, 261 | selection_box = { 262 | type = "fixed", 263 | fixed = {-1/8, -1/2, -1/8, 1/8, 1/4, 1/8} 264 | }, 265 | paramtype = "light", 266 | sunlight_propagates = true, 267 | light_source = 8, 268 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 269 | _mcl_hardness = 0.2, 270 | sounds = morelights.sounds.glass 271 | }) 272 | 273 | minetest.register_node("morelights_vintage:chandelier", { 274 | description = S("Vintage Chandelier"), 275 | drawtype = "mesh", 276 | mesh = "morelights_vintage_chandelier.obj", 277 | tiles = { 278 | "morelights_vintage_chandelier.png", 279 | "morelights_vintage_brass_32.png^[multiply:#DFDFDF" 280 | }, 281 | use_texture_alpha = "clip", 282 | collision_box = { 283 | type = "fixed", 284 | fixed = {-3/8, -1/2, -3/8, 3/8, 1/2, 3/8} 285 | }, 286 | selection_box = { 287 | type = "fixed", 288 | fixed = {-3/8, -1/2, -3/8, 3/8, 1/2, 3/8} 289 | }, 290 | paramtype = "light", 291 | sunlight_propagates = true, 292 | light_source = 10, 293 | groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1}, 294 | _mcl_hardness = 0.3, 295 | sounds = morelights.sounds.glass 296 | }) 297 | 298 | -- 299 | -- Craft recipes 300 | -- 301 | 302 | local a = morelights.craft_items 303 | 304 | minetest.register_craft({ 305 | output = "morelights_vintage:chain_b", 306 | recipe = { 307 | {"", a.brass, ""}, 308 | {"", "", ""}, 309 | {"", a.brass, ""} 310 | } 311 | }) 312 | 313 | minetest.register_craft({ 314 | output = "morelights_vintage:block", 315 | recipe = { 316 | {"", a.wood_dark, ""}, 317 | {a.glass_pane, "morelights:bulb", a.glass_pane}, 318 | {"", a.wood_dark, ""} 319 | } 320 | }) 321 | 322 | minetest.register_craft({ 323 | output = "morelights_vintage:smallblock", 324 | recipe = { 325 | {"", a.glass_pane, ""}, 326 | {a.wood_dark, "morelights:bulb", a.wood_dark} 327 | } 328 | }) 329 | 330 | minetest.register_craft({ 331 | output = "morelights_vintage:lantern_f", 332 | recipe = { 333 | {"", a.steel, ""}, 334 | {a.glass_pane, "morelights:bulb", a.glass_pane}, 335 | {a.stick, a.steel, a.stick} 336 | } 337 | }) 338 | 339 | minetest.register_craft({ 340 | output = "morelights_vintage:hangingbulb", 341 | recipe = { 342 | {"", a.steel, ""}, 343 | {"", a.copper, ""}, 344 | {"", "morelights:bulb", ""} 345 | } 346 | }) 347 | 348 | minetest.register_craft({ 349 | output = "morelights_vintage:oillamp", 350 | recipe = { 351 | {"", a.glass, ""}, 352 | {"", a.string, ""}, 353 | {"", a.brass, ""} 354 | } 355 | }) 356 | 357 | minetest.register_craft({ 358 | output = "morelights_vintage:chandelier", 359 | recipe = { 360 | {"", a.brass, ""}, 361 | {"morelights:bulb", a.brass, "morelights:bulb"}, 362 | {a.steel, a.brass, a.steel} 363 | } 364 | }) 365 | -------------------------------------------------------------------------------- /morelights_vintage/locale/template.txt: -------------------------------------------------------------------------------- 1 | # textdomain:morelights_vintage 2 | 3 | Brass Ingot= 4 | Brass Chain= 5 | Vintage Light Block= 6 | Vintage Light Block (small)= 7 | Vintage Lantern (floor, wall, or ceiling)= 8 | Vintage Hanging Light Bulb= 9 | Vintage Oil Lamp= 10 | Vintage Chandelier= 11 | -------------------------------------------------------------------------------- /morelights_vintage/mod.conf: -------------------------------------------------------------------------------- 1 | name = morelights_vintage 2 | description = Provides antique and historical-style lighting nodes. 3 | depends = morelights 4 | -------------------------------------------------------------------------------- /morelights_vintage/models/morelights_vintage_chandelier.obj: -------------------------------------------------------------------------------- 1 | # Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T19:28:47Z | https://github.com/jonnenauha/obj-simplify 2 | 3 | # Blender v2.93.0 OBJ File: '' 4 | # www.blender.org 5 | 6 | # vertices [22] 7 | 8 | v 0.25 -0.5 -0.433013 9 | v 0 -0.5 0 10 | v 0 0.5 0 11 | v 0.25 0.5 -0.433013 12 | v -0.25 -0.5 -0.433013 13 | v -0.25 0.5 -0.433013 14 | v 0.5 -0.5 0 15 | v 0.5 0.5 0 16 | v -0.25 -0.5 0.433013 17 | v -0.25 0.5 0.433013 18 | v 0.25 -0.5 0.433013 19 | v 0.25 0.5 0.433013 20 | v -0.5 -0.5 0 21 | v -0.5 0.5 0 22 | v 0.03125 -0.375 -0.03125 23 | v 0.03125 -0.375 0.03125 24 | v -0.03125 -0.375 0.03125 25 | v -0.03125 -0.375 -0.03125 26 | v 0.03125 0.5 -0.03125 27 | v -0.03125 0.5 -0.03125 28 | v -0.03125 0.5 0.03125 29 | v 0.03125 0.5 0.03125 30 | 31 | # normals [8] 32 | 33 | vn -0.866 0 -0.5 34 | vn -0.866 0 0.5 35 | vn 0 0 -1 36 | vn 0 -1 0 37 | vn 0 1 0 38 | vn 1 0 0 39 | vn 0 0 1 40 | vn -1 0 0 41 | 42 | # uvs [20] 43 | 44 | vt 0 0 45 | vt 0.5 0 46 | vt 0.5 1 47 | vt 0 1 48 | vt 1 0 49 | vt 1 1 50 | vt 0.4375 0.0625 51 | vt 0.375 0.0625 52 | vt 0.375 0 53 | vt 0.4375 0 54 | vt 0.4375 0.9375 55 | vt 0.4375 1 56 | vt 0.375 1 57 | vt 0.375 0.9375 58 | vt 0.625 0.0625 59 | vt 0.625 0.9375 60 | vt 0.5625 0.9375 61 | vt 0.5625 0.0625 62 | vt 0.5 0.9375 63 | vt 0.5 0.0625 64 | 65 | # objects [2] 66 | 67 | g Chandelier 68 | 69 | s 1 70 | f 1/1/1 2/2/1 3/3/1 4/4/1 71 | f 5/1/2 2/2/2 3/3/2 6/4/2 72 | f 7/1/3 2/2/3 3/3/3 8/4/3 73 | f 3/3/1 2/2/1 9/5/1 10/6/1 74 | f 3/3/2 2/2/2 11/5/2 12/6/2 75 | f 3/3/3 2/2/3 13/5/3 14/6/3 76 | 77 | g Pole 78 | 79 | s 1 80 | f 15/7/4 16/8/4 17/9/4 18/10/4 81 | f 19/11/5 20/12/5 21/13/5 22/14/5 82 | f 15/7/6 19/11/6 22/14/6 16/8/6 83 | f 16/15/7 22/16/7 21/17/7 17/18/7 84 | f 17/18/8 21/17/8 20/19/8 18/20/8 85 | f 19/11/3 15/7/3 18/20/3 20/19/3 86 | 87 | -------------------------------------------------------------------------------- /morelights_vintage/models/morelights_vintage_hangingbulb.obj: -------------------------------------------------------------------------------- 1 | # Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T20:35:12Z | https://github.com/jonnenauha/obj-simplify 2 | 3 | # Blender v2.93.0 OBJ File: '' 4 | # www.blender.org 5 | 6 | # vertices [38] 7 | 8 | v -0.03125 0.34375 -0.03125 9 | v -0.03125 0.09375 -0.03125 10 | v 0 0.09375 0 11 | v 0 0.34375 0 12 | v -0.03125 0.09375 0.03125 13 | v -0.03125 0.34375 0.03125 14 | v 0.03125 0.09375 0.03125 15 | v 0.03125 0.34375 0.03125 16 | v 0.03125 0.34375 -0.03125 17 | v 0.03125 0.09375 -0.03125 18 | v 0.0625 0.03125 0.09375 19 | v 0.0625 0.3125 0.09375 20 | v -0.0625 0.3125 0.09375 21 | v -0.0625 0.03125 0.09375 22 | v 0.09375 0.03125 -0.0625 23 | v 0.09375 0.3125 -0.0625 24 | v 0.09375 0.3125 0.0625 25 | v 0.09375 0.03125 0.0625 26 | v -0.09375 0.03125 0.0625 27 | v -0.09375 0.3125 0.0625 28 | v -0.09375 0.3125 -0.0625 29 | v -0.09375 0.03125 -0.0625 30 | v -0.0625 0.03125 -0.09375 31 | v -0.0625 0.3125 -0.09375 32 | v 0.0625 0.3125 -0.09375 33 | v 0.0625 0.03125 -0.09375 34 | v -0.0625 0 0.0625 35 | v -0.0625 0.34375 0.0625 36 | v -0.0625 0 -0.0625 37 | v -0.0625 0.34375 -0.0625 38 | v 0.0625 0 0.0625 39 | v 0.0625 0.34375 0.0625 40 | v 0.0625 0 -0.0625 41 | v 0.0625 0.34375 -0.0625 42 | v -0.0625 0.5 0.0625 43 | v -0.0625 0.5 -0.0625 44 | v 0.0625 0.5 -0.0625 45 | v 0.0625 0.5 0.0625 46 | 47 | # normals [26] 48 | 49 | vn -0.7071 0 0.7071 50 | vn -0.7071 0 -0.7071 51 | vn 0 0 1 52 | vn 1 0 0 53 | vn -1 0 0 54 | vn 0 0 -1 55 | vn -0.5774 -0.5774 0.5774 56 | vn -0.5774 0.5774 0.5774 57 | vn -0.5774 -0.5774 -0.5774 58 | vn -0.5774 0.5774 -0.5774 59 | vn 0.5774 -0.5774 0.5774 60 | vn 0.5774 0.5774 0.5774 61 | vn 0.5774 -0.5774 -0.5774 62 | vn 0.5774 0.5774 -0.5774 63 | vn -0.7071 -0.7071 0 64 | vn -0.7071 0.7071 0 65 | vn 0 -0.7071 -0.7071 66 | vn 0 0.7071 -0.7071 67 | vn 0.7071 0 -0.7071 68 | vn 0.7071 -0.7071 0 69 | vn 0.7071 0.7071 0 70 | vn 0.7071 0 0.7071 71 | vn 0 -0.7071 0.7071 72 | vn 0 0.7071 0.7071 73 | vn 0 -1 0 74 | vn 0 1 0 75 | 76 | # uvs [65] 77 | 78 | vt 0 1 79 | vt 0 0.75 80 | vt 0.03125 0.75 81 | vt 0.03125 1 82 | vt 0.0625 0.75 83 | vt 0.0625 1 84 | vt 0.4375 0.65625 85 | vt 0.4375 0.9375 86 | vt 0.3125 0.9375 87 | vt 0.3125 0.65625 88 | vt 0.625 0.65625 89 | vt 0.625 0.9375 90 | vt 0.5 0.9375 91 | vt 0.5 0.65625 92 | vt 1 0.65625 93 | vt 1 0.9375 94 | vt 0.875 0.9375 95 | vt 0.875 0.65625 96 | vt 0.8125 0.65625 97 | vt 0.8125 0.9375 98 | vt 0.6875 0.9375 99 | vt 0.6875 0.65625 100 | vt 0.28125 0.59375 101 | vt 0.25 0.65625 102 | vt 0.28125 1 103 | vt 0.25 0.9375 104 | vt 0.84375 0.59375 105 | vt 0.84375 1 106 | vt 0.46875 0.59375 107 | vt 0.46875 1 108 | vt 0.65625 0.59375 109 | vt 0.65625 1 110 | vt 0.875 0.59375 111 | vt 1 0.59375 112 | vt 1 1 113 | vt 0.875 1 114 | vt 0.6875 0.59375 115 | vt 0.8125 0.59375 116 | vt 0.8125 1 117 | vt 0.6875 1 118 | vt 0.5 0.59375 119 | vt 0.625 0.59375 120 | vt 0.625 1 121 | vt 0.5 1 122 | vt 0.3125 0.59375 123 | vt 0.4375 0.59375 124 | vt 0.4375 1 125 | vt 0.3125 1 126 | vt 0.25 1 127 | vt 0.125 1 128 | vt 0.125 0.875 129 | vt 0.25 0.875 130 | vt 0.5 0 131 | vt 0.5 0.15625 132 | vt 0.375 0.15625 133 | vt 0.375 0 134 | vt 0.25 0.15625 135 | vt 0.25 0 136 | vt 0.125 0.15625 137 | vt 0.125 0 138 | vt 0 0.15625 139 | vt 0 0 140 | vt 0.125 0.28125 141 | vt 0 0.28125 142 | vt 0.25 0.28125 143 | 144 | # objects [3] 145 | 146 | g Light 147 | 148 | s 1 149 | f 1/1/1 2/2/1 3/3/1 4/4/1 150 | f 5/5/2 6/6/2 4/4/2 3/3/2 151 | f 4/4/1 3/3/1 7/2/1 8/1/1 152 | f 3/3/2 4/4/2 9/6/2 10/5/2 153 | 154 | g Bulb 155 | 156 | s 1 157 | f 11/7/3 12/8/3 13/9/3 14/10/3 158 | f 15/11/4 16/12/4 17/13/4 18/14/4 159 | f 19/15/5 20/16/5 21/17/5 22/18/5 160 | f 23/19/6 24/20/6 25/21/6 26/22/6 161 | f 27/23/7 14/10/7 19/24/7 162 | f 13/9/8 28/25/8 20/26/8 163 | f 29/27/9 22/18/9 23/19/9 164 | f 30/28/10 24/20/10 21/17/10 165 | f 31/29/11 18/14/11 11/7/11 166 | f 32/30/12 12/8/12 17/13/12 167 | f 33/31/13 26/22/13 15/11/13 168 | f 34/32/14 16/12/14 25/21/14 169 | f 29/33/15 27/34/15 19/15/15 22/18/15 170 | f 14/10/1 13/9/1 20/26/1 19/24/1 171 | f 28/35/16 30/36/16 21/17/16 20/16/16 172 | f 24/20/2 23/19/2 22/18/2 21/17/2 173 | f 33/37/17 29/38/17 23/19/17 26/22/17 174 | f 30/39/18 34/40/18 25/21/18 24/20/18 175 | f 16/12/19 15/11/19 26/22/19 25/21/19 176 | f 31/41/20 33/42/20 15/11/20 18/14/20 177 | f 34/43/21 32/44/21 17/13/21 16/12/21 178 | f 12/8/22 11/7/22 18/14/22 17/13/22 179 | f 27/45/23 31/46/23 11/7/23 14/10/23 180 | f 32/47/24 28/48/24 13/9/24 12/8/24 181 | f 29/49/25 33/50/25 31/51/25 27/52/25 182 | 183 | g Base 184 | 185 | s 1 186 | f 28/53/5 35/54/5 36/55/5 30/56/5 187 | f 30/56/6 36/55/6 37/57/6 34/58/6 188 | f 34/58/4 37/57/4 38/59/4 32/60/4 189 | f 32/60/3 38/59/3 35/61/3 28/62/3 190 | f 30/59/25 34/63/25 32/64/25 28/61/25 191 | f 37/65/26 36/63/26 35/59/26 38/57/26 192 | 193 | -------------------------------------------------------------------------------- /morelights_vintage/models/morelights_vintage_lantern_c.obj: -------------------------------------------------------------------------------- 1 | # Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T19:35:50Z | https://github.com/jonnenauha/obj-simplify 2 | 3 | # Blender v2.93.0 OBJ File: '' 4 | # www.blender.org 5 | 6 | # vertices [24] 7 | 8 | v -0.125 0 0.125 9 | v -0.125 0.375 0.125 10 | v -0.125 0.375 -0.125 11 | v -0.125 0 -0.125 12 | v 0.125 0.375 -0.125 13 | v 0.125 0 -0.125 14 | v 0.125 0.375 0.125 15 | v 0.125 0 0.125 16 | v -0.15625 0.375 0.15625 17 | v -0.15625 0.4375 0.15625 18 | v -0.15625 0.4375 -0.15625 19 | v -0.15625 0.375 -0.15625 20 | v 0.15625 0.4375 -0.15625 21 | v 0.15625 0.375 -0.15625 22 | v 0.15625 0.4375 0.15625 23 | v 0.15625 0.375 0.15625 24 | v -0.0625 0.4375 0.0625 25 | v -0.0625 0.5 0.0625 26 | v -0.0625 0.5 -0.0625 27 | v -0.0625 0.4375 -0.0625 28 | v 0.0625 0.5 -0.0625 29 | v 0.0625 0.4375 -0.0625 30 | v 0.0625 0.5 0.0625 31 | v 0.0625 0.4375 0.0625 32 | 33 | # normals [6] 34 | 35 | vn -1 0 0 36 | vn 0 0 -1 37 | vn 1 0 0 38 | vn 0 0 1 39 | vn 0 -1 0 40 | vn 0 1 0 41 | 42 | # uvs [31] 43 | 44 | vt 0.75 0.5 45 | vt 0.75 0.875 46 | vt 0.5 0.875 47 | vt 0.5 0.5 48 | vt 0.25 0.875 49 | vt 0.25 0.5 50 | vt 0 0.875 51 | vt 0 0.5 52 | vt 1 0.5 53 | vt 1 0.875 54 | vt 0.75 0.25 55 | vt 1 0.25 56 | vt 0.5 0.8125 57 | vt 0.8125 0.8125 58 | vt 0.8125 0.875 59 | vt 0.1875 0.875 60 | vt 0.1875 0.8125 61 | vt 0.1875 0.5 62 | vt 1 0.375 63 | vt 1 0.4375 64 | vt 0.875 0.4375 65 | vt 0.875 0.375 66 | vt 0.75 0.4375 67 | vt 0.75 0.375 68 | vt 0.625 0.4375 69 | vt 0.625 0.375 70 | vt 0.5 0.4375 71 | vt 0.5 0.375 72 | vt 0.625 0.625 73 | vt 0.5 0.625 74 | vt 0.625 0.5 75 | 76 | # objects [2] 77 | 78 | g LanternGlobe 79 | 80 | s 1 81 | f 1/1/1 2/2/1 3/3/1 4/4/1 82 | f 4/4/2 3/3/2 5/5/2 6/6/2 83 | f 6/6/3 5/5/3 7/7/3 8/8/3 84 | f 8/9/4 7/10/4 2/2/4 1/1/4 85 | f 4/11/5 6/12/5 8/9/5 1/1/5 86 | 87 | g LanternMetal 88 | 89 | s 1 90 | f 9/3/1 10/13/1 11/14/1 12/15/1 91 | f 12/14/2 11/15/2 13/3/2 14/13/2 92 | f 14/13/3 13/3/3 15/16/3 16/17/3 93 | f 16/16/4 15/17/4 10/13/4 9/3/4 94 | f 12/13/5 14/17/5 16/18/5 9/4/5 95 | f 13/4/6 11/13/6 10/17/6 15/18/6 96 | f 17/19/1 18/20/1 19/21/1 20/22/1 97 | f 20/22/2 19/21/2 21/23/2 22/24/2 98 | f 22/24/3 21/23/3 23/25/3 24/26/3 99 | f 24/26/4 23/25/4 18/27/4 17/28/4 100 | f 21/29/6 19/30/6 18/4/6 23/31/6 101 | 102 | -------------------------------------------------------------------------------- /morelights_vintage/models/morelights_vintage_lantern_f.obj: -------------------------------------------------------------------------------- 1 | # Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T19:37:30Z | https://github.com/jonnenauha/obj-simplify 2 | 3 | # Blender v2.93.0 OBJ File: '' 4 | # www.blender.org 5 | 6 | # vertices [32] 7 | 8 | v -0.125 -0.4375 0.125 9 | v -0.125 -0.0625 0.125 10 | v -0.125 -0.0625 -0.125 11 | v -0.125 -0.4375 -0.125 12 | v 0.125 -0.0625 -0.125 13 | v 0.125 -0.4375 -0.125 14 | v 0.125 -0.0625 0.125 15 | v 0.125 -0.4375 0.125 16 | v -0.15625 -0.5 0.15625 17 | v -0.15625 -0.4375 0.15625 18 | v -0.15625 -0.4375 -0.15625 19 | v -0.15625 -0.5 -0.15625 20 | v 0.15625 -0.4375 -0.15625 21 | v 0.15625 -0.5 -0.15625 22 | v 0.15625 -0.4375 0.15625 23 | v 0.15625 -0.5 0.15625 24 | v -0.15625 -0.0625 0.15625 25 | v -0.15625 0 0.15625 26 | v -0.15625 0 -0.15625 27 | v -0.15625 -0.0625 -0.15625 28 | v 0.15625 0 -0.15625 29 | v 0.15625 -0.0625 -0.15625 30 | v 0.15625 0 0.15625 31 | v 0.15625 -0.0625 0.15625 32 | v -0.0625 0 0.0625 33 | v -0.0625 0.0625 0.0625 34 | v -0.0625 0.0625 -0.0625 35 | v -0.0625 0 -0.0625 36 | v 0.0625 0.0625 -0.0625 37 | v 0.0625 0 -0.0625 38 | v 0.0625 0.0625 0.0625 39 | v 0.0625 0 0.0625 40 | 41 | # normals [6] 42 | 43 | vn -1 0 0 44 | vn 0 0 -1 45 | vn 1 0 0 46 | vn 0 0 1 47 | vn 0 -1 0 48 | vn 0 1 0 49 | 50 | # uvs [35] 51 | 52 | vt 0.75 0.5 53 | vt 0.75 0.875 54 | vt 0.5 0.875 55 | vt 0.5 0.5 56 | vt 0.25 0.875 57 | vt 0.25 0.5 58 | vt 0 0.875 59 | vt 0 0.5 60 | vt 1 0.5 61 | vt 1 0.875 62 | vt 0.5 0.1875 63 | vt 0.5 0.125 64 | vt 0.8125 0.125 65 | vt 0.8125 0.1875 66 | vt 0.1875 0.1875 67 | vt 0.1875 0.125 68 | vt 0.1875 0.5 69 | vt 0.5 0.8125 70 | vt 0.8125 0.8125 71 | vt 0.8125 0.875 72 | vt 0.1875 0.875 73 | vt 0.1875 0.8125 74 | vt 1 0.375 75 | vt 1 0.4375 76 | vt 0.875 0.4375 77 | vt 0.875 0.375 78 | vt 0.75 0.4375 79 | vt 0.75 0.375 80 | vt 0.625 0.4375 81 | vt 0.625 0.375 82 | vt 0.5 0.4375 83 | vt 0.5 0.375 84 | vt 0.625 0.625 85 | vt 0.5 0.625 86 | vt 0.625 0.5 87 | 88 | # objects [2] 89 | 90 | g LanternGlobe 91 | 92 | s 1 93 | f 1/1/1 2/2/1 3/3/1 4/4/1 94 | f 4/4/2 3/3/2 5/5/2 6/6/2 95 | f 6/6/3 5/5/3 7/7/3 8/8/3 96 | f 8/9/4 7/10/4 2/2/4 1/1/4 97 | 98 | g LanternMetal 99 | 100 | s 1 101 | f 9/11/1 10/12/1 11/13/1 12/14/1 102 | f 12/13/2 11/14/2 13/11/2 14/12/2 103 | f 14/12/3 13/11/3 15/15/3 16/16/3 104 | f 16/15/4 15/16/4 10/12/4 9/11/4 105 | f 12/4/5 14/17/5 16/15/5 9/11/5 106 | f 13/11/6 11/4/6 10/17/6 15/15/6 107 | f 17/3/1 18/18/1 19/19/1 20/20/1 108 | f 20/19/2 19/20/2 21/3/2 22/18/2 109 | f 22/18/3 21/3/3 23/21/3 24/22/3 110 | f 24/21/4 23/22/4 18/18/4 17/3/4 111 | f 20/18/5 22/22/5 24/17/5 17/4/5 112 | f 21/4/6 19/18/6 18/22/6 23/17/6 113 | f 25/23/1 26/24/1 27/25/1 28/26/1 114 | f 28/26/2 27/25/2 29/27/2 30/28/2 115 | f 30/28/3 29/27/3 31/29/3 32/30/3 116 | f 32/30/4 31/29/4 26/31/4 25/32/4 117 | f 29/33/6 27/34/6 26/4/6 31/35/6 118 | 119 | -------------------------------------------------------------------------------- /morelights_vintage/models/morelights_vintage_lantern_w.obj: -------------------------------------------------------------------------------- 1 | # Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T19:39:42Z | https://github.com/jonnenauha/obj-simplify 2 | 3 | # Blender v2.93.0 OBJ File: '' 4 | # www.blender.org 5 | 6 | # vertices [36] 7 | 8 | v -0.125 -0.1875 -0.3125 9 | v -0.125 -0.1875 0.0625 10 | v -0.125 0.0625 0.0625 11 | v -0.125 0.0625 -0.3125 12 | v 0.125 0.0625 0.0625 13 | v 0.125 0.0625 -0.3125 14 | v 0.125 -0.1875 0.0625 15 | v 0.125 -0.1875 -0.3125 16 | v 0 -0.4375 0.3125 17 | v 0 -0.4375 0.0625 18 | v 0 0.0625 0.0625 19 | v 0 0.0625 0.3125 20 | v -0.15625 -0.21875 0.0625 21 | v -0.15625 -0.21875 0.125 22 | v -0.15625 0.09375 0.125 23 | v -0.15625 0.09375 0.0625 24 | v 0.15625 0.09375 0.125 25 | v 0.15625 0.09375 0.0625 26 | v 0.15625 -0.21875 0.125 27 | v 0.15625 -0.21875 0.0625 28 | v -0.0625 -0.125 0.125 29 | v -0.0625 -0.125 0.1875 30 | v -0.0625 0 0.1875 31 | v -0.0625 0 0.125 32 | v 0.0625 0 0.1875 33 | v 0.0625 0 0.125 34 | v 0.0625 -0.125 0.1875 35 | v 0.0625 -0.125 0.125 36 | v 0.125 -0.5 -0.125 37 | v 0.125 -0.5 0.375 38 | v -0.125 -0.5 0.375 39 | v -0.125 -0.5 -0.125 40 | v -0.125 -0.4375 0.375 41 | v -0.125 -0.4375 -0.125 42 | v 0.125 -0.4375 0.375 43 | v 0.125 -0.4375 -0.125 44 | 45 | # normals [6] 46 | 47 | vn -1 0 0 48 | vn 0 1 0 49 | vn 1 0 0 50 | vn 0 -1 0 51 | vn 0 0 -1 52 | vn 0 0 1 53 | 54 | # uvs [47] 55 | 56 | vt 0.75 0.5 57 | vt 0.75 0.875 58 | vt 0.5 0.875 59 | vt 0.5 0.5 60 | vt 0.25 0.875 61 | vt 0.25 0.5 62 | vt 0 0.875 63 | vt 0 0.5 64 | vt 1 0.5 65 | vt 1 0.875 66 | vt 0 0.25 67 | vt 0.5 0.25 68 | vt 0.75 0.25 69 | vt 1 0.25 70 | vt 0.5 0.8125 71 | vt 0.8125 0.8125 72 | vt 0.8125 0.875 73 | vt 0.1875 0.875 74 | vt 0.1875 0.8125 75 | vt 0.1875 0.5 76 | vt 1 0.375 77 | vt 1 0.4375 78 | vt 0.875 0.4375 79 | vt 0.875 0.375 80 | vt 0.75 0.4375 81 | vt 0.75 0.375 82 | vt 0.625 0.4375 83 | vt 0.625 0.375 84 | vt 0.5 0.4375 85 | vt 0.5 0.375 86 | vt 0.625 0.625 87 | vt 0.5 0.625 88 | vt 0.625 0.5 89 | vt 0.9375 0.25 90 | vt 0.9375 0.75 91 | vt 0.6875 0.75 92 | vt 0.6875 0.25 93 | vt 0.625 0.75 94 | vt 0.625 0.25 95 | vt 0.375 0.75 96 | vt 0.375 0.25 97 | vt 0.3125 0.75 98 | vt 0.3125 0.25 99 | vt 0.6875 0.1875 100 | vt 0.9375 0.1875 101 | vt 0.6875 0.8125 102 | vt 0.9375 0.8125 103 | 104 | # objects [2] 105 | 106 | g Lantern 107 | 108 | s 1 109 | f 1/1/1 2/2/1 3/3/1 4/4/1 110 | f 4/4/2 3/3/2 5/5/2 6/6/2 111 | f 6/6/3 5/5/3 7/7/3 8/8/3 112 | f 8/9/4 7/10/4 2/2/4 1/1/4 113 | f 9/8/3 10/11/3 11/12/3 12/4/3 114 | f 4/13/5 6/14/5 8/9/5 1/1/5 115 | 116 | g LanternMetal 117 | 118 | s 1 119 | f 13/3/1 14/15/1 15/16/1 16/17/1 120 | f 16/16/2 15/17/2 17/3/2 18/15/2 121 | f 18/15/3 17/3/3 19/18/3 20/19/3 122 | f 20/18/4 19/19/4 14/15/4 13/3/4 123 | f 16/15/5 18/19/5 20/20/5 13/4/5 124 | f 17/4/6 15/15/6 14/19/6 19/20/6 125 | f 21/21/1 22/22/1 23/23/1 24/24/1 126 | f 24/24/2 23/23/2 25/25/2 26/26/2 127 | f 26/26/3 25/25/3 27/27/3 28/28/3 128 | f 28/28/4 27/27/4 22/29/4 21/30/4 129 | f 25/31/6 23/32/6 22/4/6 27/33/6 130 | f 29/34/4 30/35/4 31/36/4 32/37/4 131 | f 32/37/1 31/36/1 33/38/1 34/39/1 132 | f 34/39/2 33/38/2 35/40/2 36/41/2 133 | f 36/41/3 35/40/3 30/42/3 29/43/3 134 | f 32/37/5 34/44/5 36/45/5 29/34/5 135 | f 33/46/6 31/36/6 30/35/6 35/47/6 136 | 137 | -------------------------------------------------------------------------------- /morelights_vintage/models/morelights_vintage_oillamp.obj: -------------------------------------------------------------------------------- 1 | # Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T20:28:11Z | https://github.com/jonnenauha/obj-simplify 2 | 3 | # Blender v2.93.0 OBJ File: '' 4 | # www.blender.org 5 | 6 | # vertices [40] 7 | 8 | v -0.03125 -0.46875 -0.03125 9 | v 0.03125 -0.46875 0.03125 10 | v 0.03125 0.03125 0.03125 11 | v -0.03125 0.03125 -0.03125 12 | v 0.03125 -0.46875 -0.03125 13 | v -0.03125 -0.46875 0.03125 14 | v -0.03125 0.03125 0.03125 15 | v 0.03125 0.03125 -0.03125 16 | v -0.125 -0.499 0.125 17 | v -0.125 -0.34375 0.125 18 | v -0.125 -0.34375 -0.125 19 | v -0.125 -0.499 -0.125 20 | v 0.125 -0.34375 -0.125 21 | v 0.125 -0.499 -0.125 22 | v 0.125 -0.34375 0.125 23 | v 0.125 -0.499 0.125 24 | v -0.125 -0.21875 0.125 25 | v -0.125 0.25 0.125 26 | v -0.125 0.25 -0.125 27 | v -0.125 -0.21875 -0.125 28 | v 0.125 0.25 -0.125 29 | v 0.125 -0.21875 -0.125 30 | v 0.125 0.25 0.125 31 | v 0.125 -0.21875 0.125 32 | v 0.0625 -0.3125 -0.0625 33 | v 0.0625 -0.25 -0.0625 34 | v 0.0625 -0.25 0.0625 35 | v 0.0625 -0.3125 0.0625 36 | v -0.0625 -0.25 0.0625 37 | v -0.0625 -0.3125 0.0625 38 | v -0.0625 -0.25 -0.0625 39 | v -0.0625 -0.3125 -0.0625 40 | v -0.125 -0.3125 0.125 41 | v -0.125 -0.3125 -0.125 42 | v 0.125 -0.3125 -0.125 43 | v 0.125 -0.3125 0.125 44 | v -0.125 -0.25 0.125 45 | v -0.125 -0.25 -0.125 46 | v 0.125 -0.25 -0.125 47 | v 0.125 -0.25 0.125 48 | 49 | # normals [8] 50 | 51 | vn -0.7071 0 0.7071 52 | vn -0.7071 0 -0.7071 53 | vn -1 0 0 54 | vn 0 0 -1 55 | vn 1 0 0 56 | vn 0 0 1 57 | vn 0 -1 0 58 | vn 0 1 0 59 | 60 | # uvs [54] 61 | 62 | vt 0 0 63 | vt 1 0 64 | vt 1 1 65 | vt 0 1 66 | vt 0.75 0 67 | vt 0.75 0.15625 68 | vt 0.5 0.15625 69 | vt 0.5 0 70 | vt 0.25 0.15625 71 | vt 0.25 0 72 | vt 0 0.15625 73 | vt 1 0.15625 74 | vt 0.25 0.40625 75 | vt 0 0.40625 76 | vt 0.75 0.40625 77 | vt 0.75 0.875 78 | vt 0.5 0.875 79 | vt 0.5 0.40625 80 | vt 0.25 0.875 81 | vt 0 0.875 82 | vt 1 0.40625 83 | vt 1 0.875 84 | vt 0.625 0.53125 85 | vt 0.625 0.46875 86 | vt 0.75 0.46875 87 | vt 0.75 0.53125 88 | vt 0.25 0.53125 89 | vt 0.25 0.46875 90 | vt 0.375 0.46875 91 | vt 0.375 0.53125 92 | vt 0.5 0.46875 93 | vt 0.5 0.53125 94 | vt 0.25 0.78125 95 | vt 0.25 0.75 96 | vt 0.5 0.75 97 | vt 0.5 0.78125 98 | vt 0.75 0.75 99 | vt 0.75 0.78125 100 | vt 1 0.75 101 | vt 1 0.78125 102 | vt 0 0.78125 103 | vt 0 0.75 104 | vt 0 0.5 105 | vt 0.25 0.5 106 | vt 0.25 0.25 107 | vt 0.25 0.21875 108 | vt 0.5 0.21875 109 | vt 0.5 0.25 110 | vt 0.75 0.21875 111 | vt 0.75 0.25 112 | vt 1 0.21875 113 | vt 1 0.25 114 | vt 0 0.25 115 | vt 0 0.21875 116 | 117 | # objects [3] 118 | 119 | g Wick 120 | 121 | s 1 122 | f 1/1/1 2/2/1 3/3/1 4/4/1 123 | f 5/1/2 6/2/2 7/3/2 8/4/2 124 | 125 | g Globe 126 | 127 | s 1 128 | f 9/5/3 10/6/3 11/7/3 12/8/3 129 | f 12/8/4 11/7/4 13/9/4 14/10/4 130 | f 14/10/5 13/9/5 15/11/5 16/1/5 131 | f 16/2/6 15/12/6 10/6/6 9/5/6 132 | f 12/13/7 14/14/7 16/11/7 9/9/7 133 | f 17/15/3 18/16/3 19/17/3 20/18/3 134 | f 20/18/4 19/17/4 21/19/4 22/13/4 135 | f 22/13/5 21/19/5 23/20/5 24/14/5 136 | f 24/21/6 23/22/6 18/16/6 17/15/6 137 | f 18/18/8 23/13/8 21/9/8 19/7/8 138 | 139 | g Metal 140 | 141 | s 1 142 | f 25/23/5 26/24/5 27/25/5 28/26/5 143 | f 28/27/6 27/28/6 29/29/6 30/30/6 144 | f 30/30/3 29/29/3 31/31/3 32/32/3 145 | f 26/24/4 25/23/4 32/32/4 31/31/4 146 | f 10/33/3 33/34/3 34/35/3 11/36/3 147 | f 11/36/4 34/35/4 35/37/4 13/38/4 148 | f 13/38/5 35/37/5 36/39/5 15/40/5 149 | f 15/41/6 36/42/6 33/34/6 10/33/6 150 | f 33/34/8 36/42/8 35/43/8 34/44/8 151 | f 37/45/3 17/46/3 20/47/3 38/48/3 152 | f 38/48/4 20/47/4 22/49/4 39/50/4 153 | f 39/50/5 22/49/5 24/51/5 40/52/5 154 | f 40/53/6 24/54/6 17/46/6 37/45/6 155 | f 38/44/7 39/43/7 40/53/7 37/45/7 156 | 157 | -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_block_frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_block_frame.png -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_block_frame.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_block_frame.xcf -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_block_glass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_block_glass.png -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_brass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_brass.png -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_brass_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_brass_32.png -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_chain_b_inv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_chain_b_inv.png -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_chandelier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_chandelier.png -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_hangingbulb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_hangingbulb.png -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_hangingbulb_inv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_hangingbulb_inv.png -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_lantern_frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_lantern_frame.png -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_lantern_glass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_lantern_glass.png -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_oil_flame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_oil_flame.png -------------------------------------------------------------------------------- /morelights_vintage/textures/morelights_vintage_oillamp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/morelights_vintage/textures/morelights_vintage_oillamp.png -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/random-geek/morelights/f4aa82a31e8d479b3b16ad6766d15370c1fec729/screenshot.png --------------------------------------------------------------------------------