Charakterbewegungen hinzugefügt, Deko hinzugefügt, Kochrezepte angepasst
165
mods/morelights/LICENSE
Normal file
|
@ -0,0 +1,165 @@
|
|||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
29
mods/morelights/README.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# morelights
|
||||
|
||||
[](https://content.minetest.net/packages/random_geek/morelights/)
|
||||
[](https://forum.minetest.net/viewtopic.php?f=11&t=21464)
|
||||
|
||||
Minetest mod adding additional lighting nodes.
|
||||
|
||||

|
||||
|
||||
The Morelights modpack adds over 30 lighting and accessory nodes to suit
|
||||
various styles of builds, both interior and exterior. Includes basic light
|
||||
blocks, modern and historical-style lighting, and customizable street lamps.
|
||||
|
||||
The modpack is lightweight, with only about **60 kB** of media, including 3D
|
||||
models.
|
||||
|
||||
Some nodes (ceiling lights, bar lights, poles) can be rotated to serve
|
||||
different purposes.
|
||||
|
||||
Morelights currently supports Minetest Game, MineClone 2, and Hades Revisited.
|
||||
|
||||
## Craft Recipes
|
||||
|
||||
Craft recipes for all items can be found in [crafts.md](crafts.md).
|
||||
|
||||
## Licenses
|
||||
|
||||
Source code is licensed under the LGPL v3.0 license. All other media and assets
|
||||
are licensed under the CC BY-SA 4.0 license.
|
360
mods/morelights/crafts.md
Normal file
|
@ -0,0 +1,360 @@
|
|||
# Craft recipes for Morelights items
|
||||
|
||||
Copper = copper ingot (Minetest Game, Hades Revisited) or redstone
|
||||
(MineClone 2).
|
||||
|
||||
Dye = white or dark grey dye, depending on the desired color of the item.
|
||||
For MineClone 2, use bone meal or grey dye.
|
||||
|
||||
Dark Wood = jungle wood planks (Minetest Game), spruce wood (MineClone 2), or
|
||||
tropical wood planks (Hades Revisited).
|
||||
|
||||
Glass = regular, non-stained glass block.
|
||||
|
||||
Glass Pane = regular, non-stained glass pane. For Hades Revisited, if
|
||||
`hades_extensionmods`/`hades_xpanes` is not available, use regular glass
|
||||
instead.
|
||||
|
||||
Steel = steel ingot (Minetest Game, Hades Revisited) or iron ingot
|
||||
(MineClone 2).
|
||||
|
||||
## Basic items
|
||||
|
||||
### Light Bulb
|
||||
|
||||
Used for most other recipes.
|
||||
|
||||
```
|
||||
+--------+
|
||||
| Glass |
|
||||
+--------+
|
||||
| Copper |
|
||||
+--------+
|
||||
| Steel |
|
||||
+--------+
|
||||
```
|
||||
|
||||
### Metal Pole
|
||||
|
||||
```
|
||||
+-----+-------+
|
||||
| Dye | Steel |
|
||||
+-----+-------+
|
||||
| | Steel |
|
||||
+-----+-------+
|
||||
| | Steel |
|
||||
+-----+-------+
|
||||
```
|
||||
|
||||
### Metal Chain
|
||||
|
||||
```
|
||||
+-----+-------+
|
||||
| Dye | Steel |
|
||||
+-----+-------+
|
||||
| | |
|
||||
+-----+-------+
|
||||
| | Steel |
|
||||
+-----+-------+
|
||||
```
|
||||
|
||||
## Modern
|
||||
|
||||
### Modern Light Block
|
||||
|
||||
```
|
||||
+-------+-------+-------+
|
||||
| | Steel | |
|
||||
+-------+-------+-------+
|
||||
| Glass | Bulb | Glass |
|
||||
| Pane | | Pane |
|
||||
+-------+-------+-------+
|
||||
| | Steel | |
|
||||
+-------+-------+-------+
|
||||
```
|
||||
|
||||
### Modern Light Block (small)
|
||||
|
||||
```
|
||||
+-------+-------+-------+
|
||||
| | Steel | |
|
||||
+-------+-------+-------+
|
||||
| Glass | Bulb | Glass |
|
||||
| Pane | | Pane |
|
||||
+-------+-------+-------+
|
||||
```
|
||||
|
||||
### Modern Post Light
|
||||
|
||||
```
|
||||
+-----+-------+
|
||||
| Dye | Steel |
|
||||
+-----+-------+
|
||||
| | Bulb |
|
||||
+-----+-------+
|
||||
| | Steel |
|
||||
+-----+-------+
|
||||
```
|
||||
|
||||
### Street Lamp Post
|
||||
|
||||
```
|
||||
+-----+-------+-------+
|
||||
| Dye | Steel | Steel |
|
||||
+-----+-------+-------+
|
||||
| | Steel | |
|
||||
+-----+-------+-------+
|
||||
| | Steel | |
|
||||
+-----+-------+-------+
|
||||
```
|
||||
|
||||
### Ceiling Bar Light (connecting)
|
||||
|
||||
```
|
||||
+--------+-------+--------+
|
||||
| Steel | Steel | Steel |
|
||||
+--------+-------+--------+
|
||||
| Copper | Glass | Copper |
|
||||
+--------+-------+--------+
|
||||
```
|
||||
|
||||
Also can be crafted from one straight bar light.
|
||||
|
||||
### Ceiling Bar Light (straight)
|
||||
|
||||
Craft from one connecting bar light.
|
||||
|
||||
### Modern Ceiling Light
|
||||
|
||||
```
|
||||
+-------+-------+-------+
|
||||
| Steel | Bulb | Steel |
|
||||
+-------+-------+-------+
|
||||
| | Glass | |
|
||||
| | Pane | |
|
||||
+-------+-------+-------+
|
||||
```
|
||||
|
||||
### Modern Can Light
|
||||
|
||||
```
|
||||
+-------+-------+-------+
|
||||
| Dye | Steel | |
|
||||
+-------+-------+-------+
|
||||
| Steel | Bulb | Steel |
|
||||
+-------+-------+-------+
|
||||
```
|
||||
|
||||
### Modern Wall Lamp
|
||||
|
||||
```
|
||||
+-------+-------+-------+
|
||||
| | Glass | |
|
||||
| | Pane | |
|
||||
+-------+-------+-------+
|
||||
| Glass | Bulb | Steel |
|
||||
| Pane | | |
|
||||
+-------+-------+-------+
|
||||
| | Dark | Steel |
|
||||
| | Dye | |
|
||||
+-------+-------+-------+
|
||||
```
|
||||
|
||||
### Modern Table Lamp
|
||||
|
||||
```
|
||||
+------+-------+------+
|
||||
| | Steel | |
|
||||
+------+-------+------+
|
||||
| Wool | Bulb | Wool |
|
||||
+------+-------+------+
|
||||
| | Steel | |
|
||||
+------+-------+------+
|
||||
```
|
||||
|
||||
Use light/dark grey wool.
|
||||
|
||||
### Modern Path Light
|
||||
|
||||
```
|
||||
+-----+-------+
|
||||
| Dye | Bulb |
|
||||
+-----+-------+
|
||||
| | Steel |
|
||||
+-----+-------+
|
||||
| | Steel |
|
||||
+-----+-------+
|
||||
```
|
||||
|
||||
## Vintage
|
||||
|
||||
### Brass Ingot
|
||||
|
||||
Minetest Game, Hades Revisited: Craft from one steel and one tin ingot.
|
||||
|
||||
MineClone 2: Craft from one iron ingot and one redstone.
|
||||
|
||||
If `basic_materials` is installed, its Brass Ingot will be used instead.
|
||||
|
||||
### Brass Chain
|
||||
|
||||
```
|
||||
+-------+
|
||||
| Brass |
|
||||
+-------+
|
||||
| |
|
||||
+-------+
|
||||
| Brass |
|
||||
+-------+
|
||||
```
|
||||
|
||||
### Vintage Light Block
|
||||
|
||||
```
|
||||
+-------+------+-------+
|
||||
| | Dark | |
|
||||
| | Wood | |
|
||||
+-------+------+-------+
|
||||
| Glass | Bulb | Glass |
|
||||
| Pane | | Pane |
|
||||
+-------+------+-------+
|
||||
| | Dark | |
|
||||
| | Wood | |
|
||||
+-------+------+-------+
|
||||
```
|
||||
|
||||
### Vintage Light Block (small)
|
||||
|
||||
```
|
||||
+-------+------+-------+
|
||||
| | Dark | |
|
||||
| | Wood | |
|
||||
+-------+------+-------+
|
||||
| Glass | Bulb | Glass |
|
||||
| Pane | | Pane |
|
||||
+-------+------+-------+
|
||||
```
|
||||
|
||||
### Vintage Lantern (floor, wall, or ceiling)
|
||||
|
||||
```
|
||||
+-------+-------+-------+
|
||||
| | Steel | |
|
||||
+-------+-------+-------+
|
||||
| Glass | Bulb | Glass |
|
||||
| Pane | | Pane |
|
||||
+-------+-------+-------+
|
||||
| Stick | Steel | Stick |
|
||||
+-------+-------+-------+
|
||||
```
|
||||
|
||||
### Vintage Hanging Light Bulb
|
||||
|
||||
```
|
||||
+--------+
|
||||
| Steel |
|
||||
+--------+
|
||||
| Copper |
|
||||
+--------+
|
||||
| Bulb |
|
||||
+--------+
|
||||
```
|
||||
|
||||
### Vintage Oil Lamp
|
||||
|
||||
```
|
||||
+--------+
|
||||
| Glass |
|
||||
+--------+
|
||||
| String |
|
||||
+--------+
|
||||
| Brass |
|
||||
+--------+
|
||||
```
|
||||
|
||||
### Vintage Chandelier
|
||||
|
||||
```
|
||||
+-------+-------+-------+
|
||||
| | Brass | |
|
||||
+-------+-------+-------+
|
||||
| Bulb | Brass | Bulb |
|
||||
+-------+-------+-------+
|
||||
| Steel | Brass | Steel |
|
||||
+-------+-------+-------+
|
||||
```
|
||||
|
||||
# Extras
|
||||
|
||||
### Futuristic Light Block
|
||||
|
||||
```
|
||||
+---------+-------+---------+
|
||||
| Crystal | Steel | Crystal |
|
||||
+---------+-------+---------+
|
||||
| Glass | Bulb | Glass |
|
||||
| Pane | | Pane |
|
||||
+---------+-------+---------+
|
||||
| Crystal | Steel | Crystal |
|
||||
+---------+-------+---------+
|
||||
```
|
||||
|
||||
Crystal = mese fragment (Minetest Game, Hades Revisited) or nether quartz
|
||||
(MineClone 2).
|
||||
|
||||
### Grass Light
|
||||
|
||||
```
|
||||
+-------+-------+
|
||||
| | Glass |
|
||||
| | Pane |
|
||||
+-------+-------+
|
||||
| | Bulb |
|
||||
+-------+-------+
|
||||
| Grass | Dirt |
|
||||
+-------+-------+
|
||||
```
|
||||
|
||||
Note: use regular grass, NOT a grass block.
|
||||
|
||||
### Stone Block Light
|
||||
|
||||
```
|
||||
+-------+
|
||||
| Glass |
|
||||
| Pane |
|
||||
+-------+
|
||||
| Bulb |
|
||||
+-------+
|
||||
| Stone |
|
||||
| Block |
|
||||
+-------+
|
||||
```
|
||||
|
||||
For MineClone 2, use polished stone.
|
||||
|
||||
### Sandstone Block Light
|
||||
|
||||
```
|
||||
+-----------+
|
||||
| Glass |
|
||||
| Pane |
|
||||
+-----------+
|
||||
| Bulb |
|
||||
+-----------+
|
||||
| Sandstone |
|
||||
| Block |
|
||||
+-----------+
|
||||
```
|
||||
|
||||
For MineClone 2, use cut sandstone.
|
||||
|
||||
For Hades Revisited, use fine sandstone.
|
||||
|
||||
### Stair Light
|
||||
|
||||
```
|
||||
+-------+------+-------+
|
||||
| Steel | Bulb | Steel |
|
||||
+-------+------+-------+
|
||||
```
|
6
mods/morelights/modpack.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
name = morelights
|
||||
description = A lightweight modpack providing flexible interior and exterior lighting options for different styles of builds.
|
||||
min_minetest_version = 5.4
|
||||
release = 16081
|
||||
author = random_geek
|
||||
title = Morelights
|
157
mods/morelights/morelights/init.lua
Normal file
|
@ -0,0 +1,157 @@
|
|||
morelights = {}
|
||||
|
||||
-- TODO: Change node definition based on game if groups get too unwieldy.
|
||||
|
||||
function morelights.register_variants(variants, fixedDef)
|
||||
for _, variant in ipairs(variants) do
|
||||
local name = variant.name
|
||||
local def = table.copy(fixedDef)
|
||||
|
||||
for k, v in pairs(variant) do
|
||||
if k ~= "name" then
|
||||
def[k] = v
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_node(name, def)
|
||||
end
|
||||
end
|
||||
|
||||
function morelights.on_place_hanging(itemstack, placer, pointed_thing,
|
||||
ceilingName)
|
||||
local ceiling = minetest.get_node(
|
||||
vector.add(pointed_thing.above, vector.new(0, 1, 0)))
|
||||
|
||||
if ceiling.name ~= "air"
|
||||
and minetest.get_item_group(ceiling.name, "mounted_ceiling") == 0
|
||||
and not (placer and placer:get_player_control().sneak) then
|
||||
-- Create a dummy itemstack with the ceiling variant's name.
|
||||
local fakeStack = ItemStack(itemstack)
|
||||
fakeStack:set_name(ceilingName)
|
||||
|
||||
minetest.item_place(fakeStack, placer, pointed_thing, 0)
|
||||
|
||||
-- Subtract an item from the real itemstack if a node was placed.
|
||||
itemstack:set_count(fakeStack:get_count())
|
||||
return itemstack
|
||||
end
|
||||
|
||||
minetest.item_place(itemstack, placer, pointed_thing, 0)
|
||||
return itemstack
|
||||
end
|
||||
|
||||
function morelights.rotate_and_place(itemstack, placer, pointed_thing, lookup)
|
||||
local dir = minetest.dir_to_wallmounted(
|
||||
vector.subtract(pointed_thing.under, pointed_thing.above))
|
||||
local fDirs = lookup or {[0] = 20, 0, 16, 12, 8, 4}
|
||||
minetest.item_place(itemstack, placer, pointed_thing, fDirs[dir] or 0)
|
||||
return itemstack
|
||||
end
|
||||
|
||||
|
||||
if minetest.get_modpath("mcl_core") then
|
||||
morelights.game = "mineclone2"
|
||||
elseif minetest.get_modpath("default") then
|
||||
morelights.game = "minetest_game"
|
||||
elseif minetest.get_modpath("hades_core") then
|
||||
morelights.game = "hades_revisited"
|
||||
else
|
||||
error("Morelights requires a compatible game " ..
|
||||
"(Minetest Game, MineClone 2, or Hades Revisited).")
|
||||
end
|
||||
|
||||
if morelights.game == "minetest_game" then
|
||||
morelights.sounds = {
|
||||
default = default.node_sound_defaults(),
|
||||
glass = default.node_sound_glass_defaults(),
|
||||
metal = default.node_sound_metal_defaults()
|
||||
}
|
||||
elseif morelights.game == "mineclone2" then
|
||||
morelights.sounds = {
|
||||
default = mcl_sounds.node_sound_defaults(),
|
||||
glass = mcl_sounds.node_sound_glass_defaults(),
|
||||
metal = mcl_sounds.node_sound_metal_defaults()
|
||||
}
|
||||
elseif morelights.game == "hades_revisited" then
|
||||
morelights.sounds = {
|
||||
default = hades_sounds.node_sound_defaults(),
|
||||
glass = hades_sounds.node_sound_glass_defaults(),
|
||||
metal = hades_sounds.node_sound_metal_defaults()
|
||||
}
|
||||
end
|
||||
|
||||
morelights.craft_items = {
|
||||
glass = "default:glass",
|
||||
glass_pane = "xpanes:pane_flat",
|
||||
steel = "default:steel_ingot",
|
||||
copper = "default:copper_ingot",
|
||||
tin = "default:tin_ingot",
|
||||
crystal_fragment = "default:mese_crystal_fragment",
|
||||
dye_dark = "dye:dark_grey",
|
||||
dye_light = "dye:white",
|
||||
wool_dark = "wool:dark_grey",
|
||||
wool_light = "wool:white",
|
||||
wood_dark = "default:junglewood",
|
||||
stone_block = "default:stone_block",
|
||||
sandstone_block = "default:sandstone_block",
|
||||
dirt = "default:dirt",
|
||||
grass = "default:grass_1",
|
||||
string = "farming:string",
|
||||
stick = "default:stick",
|
||||
}
|
||||
|
||||
local a = morelights.craft_items
|
||||
|
||||
if morelights.game == "mineclone2" then
|
||||
a.glass = "mcl_core:glass"
|
||||
a.glass_pane = "xpanes:pane_natural_flat"
|
||||
a.steel = "mcl_core:iron_ingot"
|
||||
-- MCL has neither copper nor tin. :(
|
||||
a.copper = "mesecons:redstone"
|
||||
a.tin = "mcl_core:iron_ingot"
|
||||
a.crystal_fragment = "mcl_nether:quartz"
|
||||
a.dye_dark = "mcl_dye:dark_grey"
|
||||
a.dye_light = "mcl_dye:white"
|
||||
a.wool_dark = "mcl_wool:grey"
|
||||
a.wool_light = "mcl_wool:white"
|
||||
a.wood_dark = "mcl_core:sprucewood"
|
||||
a.stone_block = "mcl_core:stone_smooth"
|
||||
a.sandstone_block = "mcl_core:sandstonesmooth"
|
||||
a.dirt = "mcl_core:dirt"
|
||||
a.grass = "mcl_flowers:tallgrass"
|
||||
a.string = "mcl_mobitems:string"
|
||||
a.stick = "mcl_core:stick"
|
||||
elseif morelights.game == "hades_revisited" then
|
||||
a.glass = "hades_core:glass"
|
||||
-- HR doesn't have glass panes. :(
|
||||
a.glass_pane = "hades_core:glass"
|
||||
if minetest.get_modpath("hades_xpanes") then
|
||||
a.glass_pane = "hades_xpanes:pane_flat"
|
||||
end
|
||||
|
||||
a.steel = "hades_core:steel_ingot"
|
||||
a.copper = "hades_core:copper_ingot"
|
||||
a.tin = "hades_core:tin_ingot"
|
||||
a.crystal_fragment = "hades_core:mese_crystal_fragment"
|
||||
a.dye_dark = "dye:dark_grey"
|
||||
a.dye_light = "dye:white"
|
||||
a.wool_dark = "wool:grey"
|
||||
a.wool_light = "wool:white"
|
||||
a.wood_dark = "hades_trees:jungle_wood"
|
||||
a.stone_block = "hades_core:stone_block"
|
||||
a.sandstone_block = "hades_core:sandstone"
|
||||
a.dirt = "hades_core:dirt"
|
||||
a.grass = "hades_grass:grass_1"
|
||||
a.string = "hades_farming:cotton"
|
||||
a.stick = "hades_core:stick"
|
||||
end
|
||||
|
||||
-- Use basic_materials brass if available, otherwise register our own.
|
||||
if minetest.get_modpath("basic_materials") then
|
||||
a.brass = "basic_materials:brass_ingot"
|
||||
elseif minetest.get_modpath("hades_extramaterials") then
|
||||
a.brass = "hades_extramaterials:brass_ingot"
|
||||
end
|
||||
|
||||
local path = minetest.get_modpath("morelights")
|
||||
dofile(path .. "/nodes.lua")
|
7
mods/morelights/morelights/locale/template.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
# textdomain:morelights
|
||||
|
||||
dark=
|
||||
light=
|
||||
Light Bulb=
|
||||
Metal Pole (@1)=
|
||||
Metal Chain (@1)=
|
3
mods/morelights/morelights/mod.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
name = morelights
|
||||
description = Base mod providing basic items, which the rest of the modpack depends on.
|
||||
optional_depends = default, mcl_core, hades_core
|
BIN
mods/morelights/morelights/models/chains.blend
Normal file
544
mods/morelights/morelights/models/morelights_chain.obj
Normal file
|
@ -0,0 +1,544 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T03:30:43Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.93.0 OBJ File: ''
|
||||
# www.blender.org
|
||||
|
||||
# vertices [185]
|
||||
|
||||
v 0 -0.53125 0
|
||||
v 0 -0.515625 0.015625
|
||||
v 0 -0.5 0
|
||||
v 0 -0.515625 -0.015625
|
||||
v 0.054127 -0.5 0
|
||||
v 0.040595 -0.492188 0.015625
|
||||
v 0.027063 -0.484375 0
|
||||
v 0.040595 -0.492188 -0.015625
|
||||
v 0.054127 -0.375 0
|
||||
v 0.040595 -0.382812 0.015625
|
||||
v 0.027063 -0.390625 0
|
||||
v 0.040595 -0.382812 -0.015625
|
||||
v 0 -0.34375 0
|
||||
v 0 -0.359375 0.015625
|
||||
v 0 -0.375 0
|
||||
v 0 -0.359375 -0.015625
|
||||
v -0.054127 -0.375 0
|
||||
v -0.040595 -0.382812 0.015625
|
||||
v -0.027063 -0.390625 0
|
||||
v -0.040595 -0.382812 -0.015625
|
||||
v -0.054127 -0.5 0
|
||||
v -0.040595 -0.492188 0.015625
|
||||
v -0.027063 -0.484375 0
|
||||
v -0.040595 -0.492188 -0.015625
|
||||
v 0 -0.03125 0
|
||||
v 0 -0.015625 0.015625
|
||||
v 0 -0.015625 -0.015625
|
||||
v 0.054127 0 0
|
||||
v 0.040595 0.007812 0.015625
|
||||
v 0.027063 0.015625 0
|
||||
v 0.040595 0.007812 -0.015625
|
||||
v 0.054127 0.125 0
|
||||
v 0.040595 0.117188 0.015625
|
||||
v 0.027063 0.109375 0
|
||||
v 0.040595 0.117188 -0.015625
|
||||
v 0 0.15625 0
|
||||
v 0 0.140625 0.015625
|
||||
v 0 0.125 0
|
||||
v 0 0.140625 -0.015625
|
||||
v -0.054127 0.125 0
|
||||
v -0.040595 0.117188 0.015625
|
||||
v -0.027063 0.109375 0
|
||||
v -0.040595 0.117188 -0.015625
|
||||
v -0.054127 0 0
|
||||
v -0.040595 0.007812 0.015625
|
||||
v -0.027063 0.015625 0
|
||||
v -0.040595 0.007812 -0.015625
|
||||
v 0 0.09375 0
|
||||
v -0.015625 0.109375 0
|
||||
v 0.015625 0.109375 0
|
||||
v 0 0.125 0.054127
|
||||
v -0.015625 0.132812 0.040595
|
||||
v 0 0.140625 0.027063
|
||||
v 0.015625 0.132812 0.040595
|
||||
v 0 0.25 0.054127
|
||||
v -0.015625 0.242188 0.040595
|
||||
v 0 0.234375 0.027063
|
||||
v 0.015625 0.242188 0.040595
|
||||
v 0 0.28125 0
|
||||
v -0.015625 0.265625 0
|
||||
v 0.015625 0.265625 0
|
||||
v 0 0.25 -0.054127
|
||||
v -0.015625 0.242188 -0.040595
|
||||
v 0 0.234375 -0.027063
|
||||
v 0.015625 0.242188 -0.040595
|
||||
v 0 0.125 -0.054127
|
||||
v -0.015625 0.132812 -0.040595
|
||||
v 0 0.140625 -0.027063
|
||||
v 0.015625 0.132812 -0.040595
|
||||
v 0 0.21875 0
|
||||
v 0 0.234375 0.015625
|
||||
v 0 0.25 0
|
||||
v 0 0.234375 -0.015625
|
||||
v 0.054127 0.25 0
|
||||
v 0.040595 0.257812 0.015625
|
||||
v 0.027063 0.265625 0
|
||||
v 0.040595 0.257812 -0.015625
|
||||
v 0.054127 0.375 0
|
||||
v 0.040595 0.367188 0.015625
|
||||
v 0.027063 0.359375 0
|
||||
v 0.040595 0.367188 -0.015625
|
||||
v 0 0.40625 0
|
||||
v 0 0.390625 0.015625
|
||||
v 0 0.375 0
|
||||
v 0 0.390625 -0.015625
|
||||
v -0.054127 0.375 0
|
||||
v -0.040595 0.367188 0.015625
|
||||
v -0.027063 0.359375 0
|
||||
v -0.040595 0.367188 -0.015625
|
||||
v -0.054127 0.25 0
|
||||
v -0.040595 0.257812 0.015625
|
||||
v -0.027063 0.265625 0
|
||||
v -0.040595 0.257812 -0.015625
|
||||
v 0 0.34375 0
|
||||
v -0.015625 0.359375 0
|
||||
v 0.015625 0.359375 0
|
||||
v 0 0.375 0.054127
|
||||
v -0.015625 0.382812 0.040595
|
||||
v 0 0.390625 0.027063
|
||||
v 0.015625 0.382812 0.040595
|
||||
v 0 0.5 0.054127
|
||||
v -0.015625 0.492188 0.040595
|
||||
v 0 0.484375 0.027063
|
||||
v 0.015625 0.492188 0.040595
|
||||
v 0 0.53125 0
|
||||
v -0.015625 0.515625 0
|
||||
v 0 0.5 0
|
||||
v 0.015625 0.515625 0
|
||||
v 0 0.5 -0.054127
|
||||
v -0.015625 0.492188 -0.040595
|
||||
v 0 0.484375 -0.027063
|
||||
v 0.015625 0.492188 -0.040595
|
||||
v 0 0.375 -0.054127
|
||||
v -0.015625 0.382812 -0.040595
|
||||
v 0 0.390625 -0.027063
|
||||
v 0.015625 0.382812 -0.040595
|
||||
v 0 -0.40625 0
|
||||
v -0.015625 -0.390625 0
|
||||
v 0.015625 -0.390625 0
|
||||
v 0 -0.375 0.054127
|
||||
v -0.015625 -0.367188 0.040595
|
||||
v 0 -0.359375 0.027063
|
||||
v 0.015625 -0.367188 0.040595
|
||||
v 0 -0.25 0.054127
|
||||
v -0.015625 -0.257812 0.040595
|
||||
v 0 -0.265625 0.027063
|
||||
v 0.015625 -0.257812 0.040595
|
||||
v 0 -0.21875 0
|
||||
v -0.015625 -0.234375 0
|
||||
v 0 -0.25 0
|
||||
v 0.015625 -0.234375 0
|
||||
v 0 -0.25 -0.054127
|
||||
v -0.015625 -0.257812 -0.040595
|
||||
v 0 -0.265625 -0.027063
|
||||
v 0.015625 -0.257812 -0.040595
|
||||
v 0 -0.375 -0.054127
|
||||
v -0.015625 -0.367188 -0.040595
|
||||
v 0 -0.359375 -0.027063
|
||||
v 0.015625 -0.367188 -0.040595
|
||||
v 0 -0.28125 0
|
||||
v 0 -0.265625 0.015625
|
||||
v 0 -0.265625 -0.015625
|
||||
v 0.054127 -0.25 0
|
||||
v 0.040595 -0.242188 0.015625
|
||||
v 0.027063 -0.234375 0
|
||||
v 0.040595 -0.242188 -0.015625
|
||||
v 0.054127 -0.125 0
|
||||
v 0.040595 -0.132812 0.015625
|
||||
v 0.027063 -0.140625 0
|
||||
v 0.040595 -0.132812 -0.015625
|
||||
v 0 -0.09375 0
|
||||
v 0 -0.109375 0.015625
|
||||
v 0 -0.125 0
|
||||
v 0 -0.109375 -0.015625
|
||||
v -0.054127 -0.125 0
|
||||
v -0.040595 -0.132812 0.015625
|
||||
v -0.027063 -0.140625 0
|
||||
v -0.040595 -0.132812 -0.015625
|
||||
v -0.054127 -0.25 0
|
||||
v -0.040595 -0.242188 0.015625
|
||||
v -0.027063 -0.234375 0
|
||||
v -0.040595 -0.242188 -0.015625
|
||||
v 0 -0.15625 0
|
||||
v -0.015625 -0.140625 0
|
||||
v 0.015625 -0.140625 0
|
||||
v 0 -0.125 0.054127
|
||||
v -0.015625 -0.117188 0.040595
|
||||
v 0 -0.109375 0.027063
|
||||
v 0.015625 -0.117188 0.040595
|
||||
v 0 0 0.054127
|
||||
v -0.015625 -0.007812 0.040595
|
||||
v 0 -0.015625 0.027063
|
||||
v 0.015625 -0.007812 0.040595
|
||||
v 0 0.03125 0
|
||||
v -0.015625 0.015625 0
|
||||
v 0 0 0
|
||||
v 0.015625 0.015625 0
|
||||
v 0 0 -0.054127
|
||||
v -0.015625 -0.007812 -0.040595
|
||||
v 0 -0.015625 -0.027063
|
||||
v 0.015625 -0.007812 -0.040595
|
||||
v 0 -0.125 -0.054127
|
||||
v -0.015625 -0.117188 -0.040595
|
||||
v 0 -0.109375 -0.027063
|
||||
v 0.015625 -0.117188 -0.040595
|
||||
|
||||
# normals [24]
|
||||
|
||||
vn 0.378 -0.6547 0.6547
|
||||
vn -0.378 0.6547 0.6547
|
||||
vn -0.378 0.6547 -0.6547
|
||||
vn 0.378 -0.6547 -0.6547
|
||||
vn 0.7559 0 0.6547
|
||||
vn -0.7559 0 0.6547
|
||||
vn -0.7559 0 -0.6547
|
||||
vn 0.7559 0 -0.6547
|
||||
vn 0.378 0.6547 0.6547
|
||||
vn -0.378 -0.6547 0.6547
|
||||
vn -0.378 -0.6547 -0.6547
|
||||
vn 0.378 0.6547 -0.6547
|
||||
vn -0.6547 -0.6547 0.378
|
||||
vn -0.6547 0.6547 -0.378
|
||||
vn 0.6547 0.6547 -0.378
|
||||
vn 0.6547 -0.6547 0.378
|
||||
vn -0.6547 0 0.7559
|
||||
vn -0.6547 0 -0.7559
|
||||
vn 0.6547 0 -0.7559
|
||||
vn 0.6547 0 0.7559
|
||||
vn -0.6547 0.6547 0.378
|
||||
vn -0.6547 -0.6547 -0.378
|
||||
vn 0.6547 -0.6547 -0.378
|
||||
vn 0.6547 0.6547 0.378
|
||||
|
||||
# uvs [123]
|
||||
|
||||
vt 0.5 -0.03125
|
||||
vt 0.4375 0
|
||||
vt 0.453125 0.007812
|
||||
vt 0.5 -0.015625
|
||||
vt 0.46875 0.015625
|
||||
vt 0.5 0
|
||||
vt 0.4375 0.125
|
||||
vt 0.453125 0.117188
|
||||
vt 0.46875 0.109375
|
||||
vt 0.5 0.15625
|
||||
vt 0.5 0.140625
|
||||
vt 0.5 0.125
|
||||
vt 0.5625 0.125
|
||||
vt 0.546875 0.117188
|
||||
vt 0.53125 0.109375
|
||||
vt 0.5625 0
|
||||
vt 0.546875 0.007812
|
||||
vt 0.53125 0.015625
|
||||
vt 0.5 0.46875
|
||||
vt 0.4375 0.5
|
||||
vt 0.453125 0.507812
|
||||
vt 0.5 0.484375
|
||||
vt 0.46875 0.515625
|
||||
vt 0.5 0.5
|
||||
vt 0.4375 0.625
|
||||
vt 0.453125 0.617188
|
||||
vt 0.46875 0.609375
|
||||
vt 0.5 0.65625
|
||||
vt 0.5 0.640625
|
||||
vt 0.5 0.625
|
||||
vt 0.5625 0.625
|
||||
vt 0.546875 0.617188
|
||||
vt 0.53125 0.609375
|
||||
vt 0.5625 0.5
|
||||
vt 0.546875 0.507812
|
||||
vt 0.53125 0.515625
|
||||
vt 0.5 0.59375
|
||||
vt 0.453125 0.632812
|
||||
vt 0.5 0.609375
|
||||
vt 0.46875 0.640625
|
||||
vt 0.4375 0.75
|
||||
vt 0.453125 0.742188
|
||||
vt 0.46875 0.734375
|
||||
vt 0.5 0.78125
|
||||
vt 0.5 0.765625
|
||||
vt 0.5 0.75
|
||||
vt 0.5625 0.75
|
||||
vt 0.546875 0.742188
|
||||
vt 0.53125 0.734375
|
||||
vt 0.546875 0.632812
|
||||
vt 0.53125 0.640625
|
||||
vt 0.5 0.71875
|
||||
vt 0.453125 0.757812
|
||||
vt 0.5 0.734375
|
||||
vt 0.46875 0.765625
|
||||
vt 0.4375 0.875
|
||||
vt 0.453125 0.867188
|
||||
vt 0.46875 0.859375
|
||||
vt 0.5 0.90625
|
||||
vt 0.5 0.890625
|
||||
vt 0.5 0.875
|
||||
vt 0.5625 0.875
|
||||
vt 0.546875 0.867188
|
||||
vt 0.53125 0.859375
|
||||
vt 0.546875 0.757812
|
||||
vt 0.53125 0.765625
|
||||
vt 0.5 0.84375
|
||||
vt 0.453125 0.882812
|
||||
vt 0.5 0.859375
|
||||
vt 0.46875 0.890625
|
||||
vt 0.4375 1
|
||||
vt 0.453125 0.992188
|
||||
vt 0.46875 0.984375
|
||||
vt 0.5 1.03125
|
||||
vt 0.5 1.015625
|
||||
vt 0.5 1
|
||||
vt 0.5625 1
|
||||
vt 0.546875 0.992188
|
||||
vt 0.53125 0.984375
|
||||
vt 0.546875 0.882812
|
||||
vt 0.53125 0.890625
|
||||
vt 0.5 0.09375
|
||||
vt 0.453125 0.132812
|
||||
vt 0.5 0.109375
|
||||
vt 0.46875 0.140625
|
||||
vt 0.4375 0.25
|
||||
vt 0.453125 0.242188
|
||||
vt 0.46875 0.234375
|
||||
vt 0.5 0.28125
|
||||
vt 0.5 0.265625
|
||||
vt 0.5 0.25
|
||||
vt 0.5625 0.25
|
||||
vt 0.546875 0.242188
|
||||
vt 0.53125 0.234375
|
||||
vt 0.546875 0.132812
|
||||
vt 0.53125 0.140625
|
||||
vt 0.5 0.21875
|
||||
vt 0.453125 0.257812
|
||||
vt 0.5 0.234375
|
||||
vt 0.46875 0.265625
|
||||
vt 0.4375 0.375
|
||||
vt 0.453125 0.367188
|
||||
vt 0.46875 0.359375
|
||||
vt 0.5 0.40625
|
||||
vt 0.5 0.390625
|
||||
vt 0.5 0.375
|
||||
vt 0.5625 0.375
|
||||
vt 0.546875 0.367188
|
||||
vt 0.53125 0.359375
|
||||
vt 0.546875 0.257812
|
||||
vt 0.53125 0.265625
|
||||
vt 0.5 0.34375
|
||||
vt 0.453125 0.382812
|
||||
vt 0.5 0.359375
|
||||
vt 0.46875 0.390625
|
||||
vt 0.453125 0.492188
|
||||
vt 0.46875 0.484375
|
||||
vt 0.5 0.53125
|
||||
vt 0.5 0.515625
|
||||
vt 0.546875 0.492188
|
||||
vt 0.53125 0.484375
|
||||
vt 0.546875 0.382812
|
||||
vt 0.53125 0.390625
|
||||
|
||||
# objects [1]
|
||||
|
||||
o Chain_Torus
|
||||
|
||||
s off
|
||||
f 1/1/1 5/2/1 6/3/1 2/4/1
|
||||
f 2/4/2 6/3/2 7/5/2 3/6/2
|
||||
f 3/6/3 7/5/3 8/3/3 4/4/3
|
||||
f 4/4/4 8/3/4 5/2/4 1/1/4
|
||||
f 5/2/5 9/7/5 10/8/5 6/3/5
|
||||
f 6/3/6 10/8/6 11/9/6 7/5/6
|
||||
f 7/5/7 11/9/7 12/8/7 8/3/7
|
||||
f 8/3/8 12/8/8 9/7/8 5/2/8
|
||||
f 9/7/9 13/10/9 14/11/9 10/8/9
|
||||
f 10/8/10 14/11/10 15/12/10 11/9/10
|
||||
f 11/9/11 15/12/11 16/11/11 12/8/11
|
||||
f 12/8/12 16/11/12 13/10/12 9/7/12
|
||||
f 13/10/2 17/13/2 18/14/2 14/11/2
|
||||
f 14/11/1 18/14/1 19/15/1 15/12/1
|
||||
f 15/12/4 19/15/4 20/14/4 16/11/4
|
||||
f 16/11/3 20/14/3 17/13/3 13/10/3
|
||||
f 17/13/6 21/16/6 22/17/6 18/14/6
|
||||
f 18/14/5 22/17/5 23/18/5 19/15/5
|
||||
f 19/15/8 23/18/8 24/17/8 20/14/8
|
||||
f 20/14/7 24/17/7 21/16/7 17/13/7
|
||||
f 21/16/10 1/1/10 2/4/10 22/17/10
|
||||
f 22/17/9 2/4/9 3/6/9 23/18/9
|
||||
f 23/18/12 3/6/12 4/4/12 24/17/12
|
||||
f 24/17/11 4/4/11 1/1/11 21/16/11
|
||||
f 25/19/1 28/20/1 29/21/1 26/22/1
|
||||
f 26/22/2 29/21/2 30/23/2 176/24/2
|
||||
f 176/24/3 30/23/3 31/21/3 27/22/3
|
||||
f 27/22/4 31/21/4 28/20/4 25/19/4
|
||||
f 28/20/5 32/25/5 33/26/5 29/21/5
|
||||
f 29/21/6 33/26/6 34/27/6 30/23/6
|
||||
f 30/23/7 34/27/7 35/26/7 31/21/7
|
||||
f 31/21/8 35/26/8 32/25/8 28/20/8
|
||||
f 32/25/9 36/28/9 37/29/9 33/26/9
|
||||
f 33/26/10 37/29/10 38/30/10 34/27/10
|
||||
f 34/27/11 38/30/11 39/29/11 35/26/11
|
||||
f 35/26/12 39/29/12 36/28/12 32/25/12
|
||||
f 36/28/2 40/31/2 41/32/2 37/29/2
|
||||
f 37/29/1 41/32/1 42/33/1 38/30/1
|
||||
f 38/30/4 42/33/4 43/32/4 39/29/4
|
||||
f 39/29/3 43/32/3 40/31/3 36/28/3
|
||||
f 40/31/6 44/34/6 45/35/6 41/32/6
|
||||
f 41/32/5 45/35/5 46/36/5 42/33/5
|
||||
f 42/33/8 46/36/8 47/35/8 43/32/8
|
||||
f 43/32/7 47/35/7 44/34/7 40/31/7
|
||||
f 44/34/10 25/19/10 26/22/10 45/35/10
|
||||
f 45/35/9 26/22/9 176/24/9 46/36/9
|
||||
f 46/36/12 176/24/12 27/22/12 47/35/12
|
||||
f 47/35/11 27/22/11 25/19/11 44/34/11
|
||||
f 48/37/13 51/25/13 52/38/13 49/39/13
|
||||
f 49/39/14 52/38/14 53/40/14 38/30/14
|
||||
f 38/30/15 53/40/15 54/38/15 50/39/15
|
||||
f 50/39/16 54/38/16 51/25/16 48/37/16
|
||||
f 51/25/17 55/41/17 56/42/17 52/38/17
|
||||
f 52/38/18 56/42/18 57/43/18 53/40/18
|
||||
f 53/40/19 57/43/19 58/42/19 54/38/19
|
||||
f 54/38/20 58/42/20 55/41/20 51/25/20
|
||||
f 55/41/21 59/44/21 60/45/21 56/42/21
|
||||
f 56/42/22 60/45/22 72/46/22 57/43/22
|
||||
f 57/43/23 72/46/23 61/45/23 58/42/23
|
||||
f 58/42/24 61/45/24 59/44/24 55/41/24
|
||||
f 59/44/14 62/47/14 63/48/14 60/45/14
|
||||
f 60/45/13 63/48/13 64/49/13 72/46/13
|
||||
f 72/46/16 64/49/16 65/48/16 61/45/16
|
||||
f 61/45/15 65/48/15 62/47/15 59/44/15
|
||||
f 62/47/18 66/31/18 67/50/18 63/48/18
|
||||
f 63/48/17 67/50/17 68/51/17 64/49/17
|
||||
f 64/49/20 68/51/20 69/50/20 65/48/20
|
||||
f 65/48/19 69/50/19 66/31/19 62/47/19
|
||||
f 66/31/22 48/37/22 49/39/22 67/50/22
|
||||
f 67/50/21 49/39/21 38/30/21 68/51/21
|
||||
f 68/51/24 38/30/24 50/39/24 69/50/24
|
||||
f 69/50/23 50/39/23 48/37/23 66/31/23
|
||||
f 70/52/1 74/41/1 75/53/1 71/54/1
|
||||
f 71/54/2 75/53/2 76/55/2 72/46/2
|
||||
f 72/46/3 76/55/3 77/53/3 73/54/3
|
||||
f 73/54/4 77/53/4 74/41/4 70/52/4
|
||||
f 74/41/5 78/56/5 79/57/5 75/53/5
|
||||
f 75/53/6 79/57/6 80/58/6 76/55/6
|
||||
f 76/55/7 80/58/7 81/57/7 77/53/7
|
||||
f 77/53/8 81/57/8 78/56/8 74/41/8
|
||||
f 78/56/9 82/59/9 83/60/9 79/57/9
|
||||
f 79/57/10 83/60/10 84/61/10 80/58/10
|
||||
f 80/58/11 84/61/11 85/60/11 81/57/11
|
||||
f 81/57/12 85/60/12 82/59/12 78/56/12
|
||||
f 82/59/2 86/62/2 87/63/2 83/60/2
|
||||
f 83/60/1 87/63/1 88/64/1 84/61/1
|
||||
f 84/61/4 88/64/4 89/63/4 85/60/4
|
||||
f 85/60/3 89/63/3 86/62/3 82/59/3
|
||||
f 86/62/6 90/47/6 91/65/6 87/63/6
|
||||
f 87/63/5 91/65/5 92/66/5 88/64/5
|
||||
f 88/64/8 92/66/8 93/65/8 89/63/8
|
||||
f 89/63/7 93/65/7 90/47/7 86/62/7
|
||||
f 90/47/10 70/52/10 71/54/10 91/65/10
|
||||
f 91/65/9 71/54/9 72/46/9 92/66/9
|
||||
f 92/66/12 72/46/12 73/54/12 93/65/12
|
||||
f 93/65/11 73/54/11 70/52/11 90/47/11
|
||||
f 94/67/13 97/56/13 98/68/13 95/69/13
|
||||
f 95/69/14 98/68/14 99/70/14 84/61/14
|
||||
f 84/61/15 99/70/15 100/68/15 96/69/15
|
||||
f 96/69/16 100/68/16 97/56/16 94/67/16
|
||||
f 97/56/17 101/71/17 102/72/17 98/68/17
|
||||
f 98/68/18 102/72/18 103/73/18 99/70/18
|
||||
f 99/70/19 103/73/19 104/72/19 100/68/19
|
||||
f 100/68/20 104/72/20 101/71/20 97/56/20
|
||||
f 101/71/21 105/74/21 106/75/21 102/72/21
|
||||
f 102/72/22 106/75/22 107/76/22 103/73/22
|
||||
f 103/73/23 107/76/23 108/75/23 104/72/23
|
||||
f 104/72/24 108/75/24 105/74/24 101/71/24
|
||||
f 105/74/14 109/77/14 110/78/14 106/75/14
|
||||
f 106/75/13 110/78/13 111/79/13 107/76/13
|
||||
f 107/76/16 111/79/16 112/78/16 108/75/16
|
||||
f 108/75/15 112/78/15 109/77/15 105/74/15
|
||||
f 109/77/18 113/62/18 114/80/18 110/78/18
|
||||
f 110/78/17 114/80/17 115/81/17 111/79/17
|
||||
f 111/79/20 115/81/20 116/80/20 112/78/20
|
||||
f 112/78/19 116/80/19 113/62/19 109/77/19
|
||||
f 113/62/22 94/67/22 95/69/22 114/80/22
|
||||
f 114/80/21 95/69/21 84/61/21 115/81/21
|
||||
f 115/81/24 84/61/24 96/69/24 116/80/24
|
||||
f 116/80/23 96/69/23 94/67/23 113/62/23
|
||||
f 117/82/13 120/7/13 121/83/13 118/84/13
|
||||
f 118/84/14 121/83/14 122/85/14 15/12/14
|
||||
f 15/12/15 122/85/15 123/83/15 119/84/15
|
||||
f 119/84/16 123/83/16 120/7/16 117/82/16
|
||||
f 120/7/17 124/86/17 125/87/17 121/83/17
|
||||
f 121/83/18 125/87/18 126/88/18 122/85/18
|
||||
f 122/85/19 126/88/19 127/87/19 123/83/19
|
||||
f 123/83/20 127/87/20 124/86/20 120/7/20
|
||||
f 124/86/21 128/89/21 129/90/21 125/87/21
|
||||
f 125/87/22 129/90/22 130/91/22 126/88/22
|
||||
f 126/88/23 130/91/23 131/90/23 127/87/23
|
||||
f 127/87/24 131/90/24 128/89/24 124/86/24
|
||||
f 128/89/14 132/92/14 133/93/14 129/90/14
|
||||
f 129/90/13 133/93/13 134/94/13 130/91/13
|
||||
f 130/91/16 134/94/16 135/93/16 131/90/16
|
||||
f 131/90/15 135/93/15 132/92/15 128/89/15
|
||||
f 132/92/18 136/13/18 137/95/18 133/93/18
|
||||
f 133/93/17 137/95/17 138/96/17 134/94/17
|
||||
f 134/94/20 138/96/20 139/95/20 135/93/20
|
||||
f 135/93/19 139/95/19 136/13/19 132/92/19
|
||||
f 136/13/22 117/82/22 118/84/22 137/95/22
|
||||
f 137/95/21 118/84/21 15/12/21 138/96/21
|
||||
f 138/96/24 15/12/24 119/84/24 139/95/24
|
||||
f 139/95/23 119/84/23 117/82/23 136/13/23
|
||||
f 140/97/1 143/86/1 144/98/1 141/99/1
|
||||
f 141/99/2 144/98/2 145/100/2 130/91/2
|
||||
f 130/91/3 145/100/3 146/98/3 142/99/3
|
||||
f 142/99/4 146/98/4 143/86/4 140/97/4
|
||||
f 143/86/5 147/101/5 148/102/5 144/98/5
|
||||
f 144/98/6 148/102/6 149/103/6 145/100/6
|
||||
f 145/100/7 149/103/7 150/102/7 146/98/7
|
||||
f 146/98/8 150/102/8 147/101/8 143/86/8
|
||||
f 147/101/9 151/104/9 152/105/9 148/102/9
|
||||
f 148/102/10 152/105/10 153/106/10 149/103/10
|
||||
f 149/103/11 153/106/11 154/105/11 150/102/11
|
||||
f 150/102/12 154/105/12 151/104/12 147/101/12
|
||||
f 151/104/2 155/107/2 156/108/2 152/105/2
|
||||
f 152/105/1 156/108/1 157/109/1 153/106/1
|
||||
f 153/106/4 157/109/4 158/108/4 154/105/4
|
||||
f 154/105/3 158/108/3 155/107/3 151/104/3
|
||||
f 155/107/6 159/92/6 160/110/6 156/108/6
|
||||
f 156/108/5 160/110/5 161/111/5 157/109/5
|
||||
f 157/109/8 161/111/8 162/110/8 158/108/8
|
||||
f 158/108/7 162/110/7 159/92/7 155/107/7
|
||||
f 159/92/10 140/97/10 141/99/10 160/110/10
|
||||
f 160/110/9 141/99/9 130/91/9 161/111/9
|
||||
f 161/111/12 130/91/12 142/99/12 162/110/12
|
||||
f 162/110/11 142/99/11 140/97/11 159/92/11
|
||||
f 163/112/13 166/101/13 167/113/13 164/114/13
|
||||
f 164/114/14 167/113/14 168/115/14 153/106/14
|
||||
f 153/106/15 168/115/15 169/113/15 165/114/15
|
||||
f 165/114/16 169/113/16 166/101/16 163/112/16
|
||||
f 166/101/17 170/20/17 171/116/17 167/113/17
|
||||
f 167/113/18 171/116/18 172/117/18 168/115/18
|
||||
f 168/115/19 172/117/19 173/116/19 169/113/19
|
||||
f 169/113/20 173/116/20 170/20/20 166/101/20
|
||||
f 170/20/21 174/118/21 175/119/21 171/116/21
|
||||
f 171/116/22 175/119/22 176/24/22 172/117/22
|
||||
f 172/117/23 176/24/23 177/119/23 173/116/23
|
||||
f 173/116/24 177/119/24 174/118/24 170/20/24
|
||||
f 174/118/14 178/34/14 179/120/14 175/119/14
|
||||
f 175/119/13 179/120/13 180/121/13 176/24/13
|
||||
f 176/24/16 180/121/16 181/120/16 177/119/16
|
||||
f 177/119/15 181/120/15 178/34/15 174/118/15
|
||||
f 178/34/18 182/107/18 183/122/18 179/120/18
|
||||
f 179/120/17 183/122/17 184/123/17 180/121/17
|
||||
f 180/121/20 184/123/20 185/122/20 181/120/20
|
||||
f 181/120/19 185/122/19 182/107/19 178/34/19
|
||||
f 182/107/22 163/112/22 164/114/22 183/122/22
|
||||
f 183/122/21 164/114/21 153/106/21 184/123/21
|
||||
f 184/123/24 153/106/24 165/114/24 185/122/24
|
||||
f 185/122/23 165/114/23 163/112/23 182/107/23
|
||||
|
558
mods/morelights/morelights/models/morelights_chain_ceiling.obj
Normal file
|
@ -0,0 +1,558 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T03:50:15Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.93.0 OBJ File: 'chains.blend'
|
||||
# www.blender.org
|
||||
|
||||
# vertices [189]
|
||||
|
||||
v -0.1875 0.4375 0.1875
|
||||
v -0.1875 0.5 0.1875
|
||||
v -0.1875 0.5 -0.1875
|
||||
v -0.1875 0.4375 -0.1875
|
||||
v 0.1875 0.5 -0.1875
|
||||
v 0.1875 0.4375 -0.1875
|
||||
v 0.1875 0.5 0.1875
|
||||
v 0.1875 0.4375 0.1875
|
||||
v 0 -0.53125 0
|
||||
v 0 -0.515625 0.015625
|
||||
v 0 -0.5 0
|
||||
v 0 -0.515625 -0.015625
|
||||
v 0.054127 -0.5 0
|
||||
v 0.040595 -0.492188 0.015625
|
||||
v 0.027063 -0.484375 0
|
||||
v 0.040595 -0.492188 -0.015625
|
||||
v 0.054127 -0.375 0
|
||||
v 0.040595 -0.382812 0.015625
|
||||
v 0.027063 -0.390625 0
|
||||
v 0.040595 -0.382812 -0.015625
|
||||
v 0 -0.34375 0
|
||||
v 0 -0.359375 0.015625
|
||||
v 0 -0.375 0
|
||||
v 0 -0.359375 -0.015625
|
||||
v -0.054127 -0.375 0
|
||||
v -0.040595 -0.382812 0.015625
|
||||
v -0.027063 -0.390625 0
|
||||
v -0.040595 -0.382812 -0.015625
|
||||
v -0.054127 -0.5 0
|
||||
v -0.040595 -0.492188 0.015625
|
||||
v -0.027063 -0.484375 0
|
||||
v -0.040595 -0.492188 -0.015625
|
||||
v 0 -0.03125 0
|
||||
v 0 -0.015625 0.015625
|
||||
v 0 -0.015625 -0.015625
|
||||
v 0.054127 0 0
|
||||
v 0.040595 0.007812 0.015625
|
||||
v 0.027063 0.015625 0
|
||||
v 0.040595 0.007813 -0.015625
|
||||
v 0.054127 0.125 0
|
||||
v 0.040595 0.117188 0.015625
|
||||
v 0.027063 0.109375 0
|
||||
v 0.040595 0.117188 -0.015625
|
||||
v 0 0.15625 0
|
||||
v 0 0.140625 0.015625
|
||||
v 0 0.125 0
|
||||
v 0 0.140625 -0.015625
|
||||
v -0.054127 0.125 0
|
||||
v -0.040595 0.117188 0.015625
|
||||
v -0.027063 0.109375 0
|
||||
v -0.040595 0.117188 -0.015625
|
||||
v -0.054127 0 0
|
||||
v -0.040595 0.007812 0.015625
|
||||
v -0.027063 0.015625 0
|
||||
v -0.040595 0.007813 -0.015625
|
||||
v 0 0.09375 0
|
||||
v -0.015625 0.109375 0
|
||||
v 0.015625 0.109375 0
|
||||
v 0 0.125 0.054127
|
||||
v -0.015625 0.132812 0.040595
|
||||
v 0 0.140625 0.027063
|
||||
v 0.015625 0.132812 0.040595
|
||||
v 0 0.25 0.054127
|
||||
v -0.015625 0.242188 0.040595
|
||||
v 0 0.234375 0.027063
|
||||
v 0.015625 0.242188 0.040595
|
||||
v 0 0.28125 0
|
||||
v -0.015625 0.265625 0
|
||||
v 0.015625 0.265625 0
|
||||
v 0 0.25 -0.054127
|
||||
v -0.015625 0.242188 -0.040595
|
||||
v 0 0.234375 -0.027063
|
||||
v 0.015625 0.242188 -0.040595
|
||||
v 0 0.125 -0.054127
|
||||
v -0.015625 0.132812 -0.040595
|
||||
v 0 0.140625 -0.027063
|
||||
v 0.015625 0.132812 -0.040595
|
||||
v 0 0.21875 0
|
||||
v 0 0.234375 0.015625
|
||||
v 0 0.25 0
|
||||
v 0 0.234375 -0.015625
|
||||
v 0.054127 0.25 0
|
||||
v 0.040595 0.257812 0.015625
|
||||
v 0.027063 0.265625 0
|
||||
v 0.040595 0.257812 -0.015625
|
||||
v 0.054127 0.375 0
|
||||
v 0.040595 0.367188 0.015625
|
||||
v 0.027063 0.359375 0
|
||||
v 0.040595 0.367188 -0.015625
|
||||
v 0 0.40625 0
|
||||
v 0 0.390625 0.015625
|
||||
v 0 0.375 0
|
||||
v 0 0.390625 -0.015625
|
||||
v -0.054127 0.375 0
|
||||
v -0.040595 0.367188 0.015625
|
||||
v -0.027063 0.359375 0
|
||||
v -0.040595 0.367188 -0.015625
|
||||
v -0.054127 0.25 0
|
||||
v -0.040595 0.257812 0.015625
|
||||
v -0.027063 0.265625 0
|
||||
v -0.040595 0.257812 -0.015625
|
||||
v 0 0.34375 0
|
||||
v -0.015625 0.359375 0
|
||||
v 0.015625 0.359375 0
|
||||
v 0 0.375 0.054127
|
||||
v -0.015625 0.382812 0.040595
|
||||
v 0 0.390625 0.027063
|
||||
v 0.015625 0.382812 0.040595
|
||||
v 0 0.4375 0.054127
|
||||
v -0.015625 0.4375 0.040595
|
||||
v 0 0.4375 0.027063
|
||||
v 0.015625 0.4375 0.040595
|
||||
v 0 0.4375 -0.054127
|
||||
v -0.015625 0.4375 -0.040595
|
||||
v 0 0.4375 -0.027063
|
||||
v 0.015625 0.4375 -0.040595
|
||||
v 0 0.375 -0.054127
|
||||
v -0.015625 0.382812 -0.040595
|
||||
v 0 0.390625 -0.027063
|
||||
v 0.015625 0.382812 -0.040595
|
||||
v 0 -0.40625 0
|
||||
v -0.015625 -0.390625 0
|
||||
v 0.015625 -0.390625 0
|
||||
v 0 -0.375 0.054127
|
||||
v -0.015625 -0.367188 0.040595
|
||||
v 0 -0.359375 0.027063
|
||||
v 0.015625 -0.367188 0.040595
|
||||
v 0 -0.25 0.054127
|
||||
v -0.015625 -0.257812 0.040595
|
||||
v 0 -0.265625 0.027063
|
||||
v 0.015625 -0.257812 0.040595
|
||||
v 0 -0.21875 0
|
||||
v -0.015625 -0.234375 0
|
||||
v 0 -0.25 0
|
||||
v 0.015625 -0.234375 0
|
||||
v 0 -0.25 -0.054127
|
||||
v -0.015625 -0.257812 -0.040595
|
||||
v 0 -0.265625 -0.027063
|
||||
v 0.015625 -0.257812 -0.040595
|
||||
v 0 -0.375 -0.054127
|
||||
v -0.015625 -0.367188 -0.040595
|
||||
v 0 -0.359375 -0.027063
|
||||
v 0.015625 -0.367188 -0.040595
|
||||
v 0 -0.28125 0
|
||||
v 0 -0.265625 0.015625
|
||||
v 0 -0.265625 -0.015625
|
||||
v 0.054127 -0.25 0
|
||||
v 0.040595 -0.242188 0.015625
|
||||
v 0.027063 -0.234375 0
|
||||
v 0.040595 -0.242188 -0.015625
|
||||
v 0.054127 -0.125 0
|
||||
v 0.040595 -0.132812 0.015625
|
||||
v 0.027063 -0.140625 0
|
||||
v 0.040595 -0.132812 -0.015625
|
||||
v 0 -0.09375 0
|
||||
v 0 -0.109375 0.015625
|
||||
v 0 -0.125 0
|
||||
v 0 -0.109375 -0.015625
|
||||
v -0.054127 -0.125 0
|
||||
v -0.040595 -0.132812 0.015625
|
||||
v -0.027063 -0.140625 0
|
||||
v -0.040595 -0.132812 -0.015625
|
||||
v -0.054127 -0.25 0
|
||||
v -0.040595 -0.242188 0.015625
|
||||
v -0.027063 -0.234375 0
|
||||
v -0.040595 -0.242188 -0.015625
|
||||
v 0 -0.15625 0
|
||||
v -0.015625 -0.140625 0
|
||||
v 0.015625 -0.140625 0
|
||||
v 0 -0.125 0.054127
|
||||
v -0.015625 -0.117188 0.040595
|
||||
v 0 -0.109375 0.027063
|
||||
v 0.015625 -0.117188 0.040595
|
||||
v 0 0 0.054127
|
||||
v -0.015625 -0.007813 0.040595
|
||||
v 0 -0.015625 0.027063
|
||||
v 0.015625 -0.007813 0.040595
|
||||
v 0 0.03125 0
|
||||
v -0.015625 0.015625 0
|
||||
v 0 0 0
|
||||
v 0.015625 0.015625 0
|
||||
v 0 0 -0.054127
|
||||
v -0.015625 -0.007812 -0.040595
|
||||
v 0 -0.015625 -0.027063
|
||||
v 0.015625 -0.007812 -0.040595
|
||||
v 0 -0.125 -0.054127
|
||||
v -0.015625 -0.117187 -0.040595
|
||||
v 0 -0.109375 -0.027063
|
||||
v 0.015625 -0.117187 -0.040595
|
||||
|
||||
# normals [30]
|
||||
|
||||
vn 0.378 -0.6547 0.6547
|
||||
vn -0.378 0.6547 0.6547
|
||||
vn -0.378 0.6547 -0.6547
|
||||
vn 0.378 -0.6547 -0.6547
|
||||
vn 0.7559 0 0.6547
|
||||
vn -0.7559 0 0.6547
|
||||
vn -0.7559 0 -0.6547
|
||||
vn 0.7559 0 -0.6547
|
||||
vn 0.378 0.6547 0.6547
|
||||
vn -0.378 -0.6547 0.6547
|
||||
vn -0.378 -0.6547 -0.6547
|
||||
vn 0.378 0.6547 -0.6547
|
||||
vn -0.6547 -0.6547 0.378
|
||||
vn -0.6547 0.6547 -0.378
|
||||
vn 0.6547 0.6547 -0.378
|
||||
vn 0.6547 -0.6547 0.378
|
||||
vn -0.6547 0 0.7559
|
||||
vn -0.6547 0 -0.7559
|
||||
vn 0.6547 0 -0.7559
|
||||
vn 0.6547 0 0.7559
|
||||
vn -0.6547 0.6547 0.378
|
||||
vn -0.6547 -0.6547 -0.378
|
||||
vn 0.6547 -0.6547 -0.378
|
||||
vn 0.6547 0.6547 0.378
|
||||
vn -1 0 0
|
||||
vn 0 0 -1
|
||||
vn 1 0 0
|
||||
vn 0 0 1
|
||||
vn 0 -1 0
|
||||
vn 0 1 0
|
||||
|
||||
# uvs [128]
|
||||
|
||||
vt 0.5 -0.03125
|
||||
vt 0.4375 0
|
||||
vt 0.453125 0.007812
|
||||
vt 0.5 -0.015625
|
||||
vt 0.46875 0.015625
|
||||
vt 0.5 0
|
||||
vt 0.4375 0.125
|
||||
vt 0.453125 0.117188
|
||||
vt 0.46875 0.109375
|
||||
vt 0.5 0.15625
|
||||
vt 0.5 0.140625
|
||||
vt 0.5 0.125
|
||||
vt 0.5625 0.125
|
||||
vt 0.546875 0.117188
|
||||
vt 0.53125 0.109375
|
||||
vt 0.5625 0
|
||||
vt 0.546875 0.007812
|
||||
vt 0.53125 0.015625
|
||||
vt 0.5 0.46875
|
||||
vt 0.4375 0.5
|
||||
vt 0.453125 0.507812
|
||||
vt 0.5 0.484375
|
||||
vt 0.46875 0.515625
|
||||
vt 0.5 0.5
|
||||
vt 0.4375 0.625
|
||||
vt 0.453125 0.617188
|
||||
vt 0.46875 0.609375
|
||||
vt 0.5 0.65625
|
||||
vt 0.5 0.640625
|
||||
vt 0.5 0.625
|
||||
vt 0.5625 0.625
|
||||
vt 0.546875 0.617188
|
||||
vt 0.53125 0.609375
|
||||
vt 0.5625 0.5
|
||||
vt 0.546875 0.507812
|
||||
vt 0.53125 0.515625
|
||||
vt 0.5 0.59375
|
||||
vt 0.453125 0.632812
|
||||
vt 0.5 0.609375
|
||||
vt 0.46875 0.640625
|
||||
vt 0.4375 0.75
|
||||
vt 0.453125 0.742188
|
||||
vt 0.46875 0.734375
|
||||
vt 0.5 0.78125
|
||||
vt 0.5 0.765625
|
||||
vt 0.5 0.75
|
||||
vt 0.5625 0.75
|
||||
vt 0.546875 0.742188
|
||||
vt 0.53125 0.734375
|
||||
vt 0.546875 0.632812
|
||||
vt 0.53125 0.640625
|
||||
vt 0.5 0.71875
|
||||
vt 0.453125 0.757812
|
||||
vt 0.5 0.734375
|
||||
vt 0.46875 0.765625
|
||||
vt 0.4375 0.875
|
||||
vt 0.453125 0.867188
|
||||
vt 0.46875 0.859375
|
||||
vt 0.5 0.90625
|
||||
vt 0.5 0.890625
|
||||
vt 0.5 0.875
|
||||
vt 0.5625 0.875
|
||||
vt 0.546875 0.867188
|
||||
vt 0.53125 0.859375
|
||||
vt 0.546875 0.757812
|
||||
vt 0.53125 0.765625
|
||||
vt 0.5 0.84375
|
||||
vt 0.453125 0.882812
|
||||
vt 0.5 0.859375
|
||||
vt 0.46875 0.890625
|
||||
vt 0.4375 0.9375
|
||||
vt 0.453125 0.9375
|
||||
vt 0.46875 0.9375
|
||||
vt 0.5625 0.9375
|
||||
vt 0.546875 0.882812
|
||||
vt 0.546875 0.9375
|
||||
vt 0.53125 0.890625
|
||||
vt 0.53125 0.9375
|
||||
vt 0.5 0.09375
|
||||
vt 0.453125 0.132812
|
||||
vt 0.5 0.109375
|
||||
vt 0.46875 0.140625
|
||||
vt 0.4375 0.25
|
||||
vt 0.453125 0.242188
|
||||
vt 0.46875 0.234375
|
||||
vt 0.5 0.28125
|
||||
vt 0.5 0.265625
|
||||
vt 0.5 0.25
|
||||
vt 0.5625 0.25
|
||||
vt 0.546875 0.242188
|
||||
vt 0.53125 0.234375
|
||||
vt 0.546875 0.132812
|
||||
vt 0.53125 0.140625
|
||||
vt 0.5 0.21875
|
||||
vt 0.453125 0.257812
|
||||
vt 0.5 0.234375
|
||||
vt 0.46875 0.265625
|
||||
vt 0.4375 0.375
|
||||
vt 0.453125 0.367188
|
||||
vt 0.46875 0.359375
|
||||
vt 0.5 0.40625
|
||||
vt 0.5 0.390625
|
||||
vt 0.5 0.375
|
||||
vt 0.5625 0.375
|
||||
vt 0.546875 0.367188
|
||||
vt 0.53125 0.359375
|
||||
vt 0.546875 0.257812
|
||||
vt 0.53125 0.265625
|
||||
vt 0.5 0.34375
|
||||
vt 0.453125 0.382812
|
||||
vt 0.5 0.359375
|
||||
vt 0.46875 0.390625
|
||||
vt 0.453125 0.492188
|
||||
vt 0.46875 0.484375
|
||||
vt 0.5 0.53125
|
||||
vt 0.5 0.515625
|
||||
vt 0.546875 0.492188
|
||||
vt 0.53125 0.484375
|
||||
vt 0.546875 0.382812
|
||||
vt 0.53125 0.390625
|
||||
vt 0.6875 0.9375
|
||||
vt 0.6875 1
|
||||
vt 0.3125 1
|
||||
vt 0.3125 0.9375
|
||||
vt 0.3125 0.3125
|
||||
vt 0.3125 0.6875
|
||||
vt 0.6875 0.6875
|
||||
vt 0.6875 0.3125
|
||||
|
||||
# objects [1]
|
||||
|
||||
o CeilingChain_TorusCube
|
||||
|
||||
s off
|
||||
f 9/1/1 13/2/1 14/3/1 10/4/1
|
||||
f 10/4/2 14/3/2 15/5/2 11/6/2
|
||||
f 11/6/3 15/5/3 16/3/3 12/4/3
|
||||
f 12/4/4 16/3/4 13/2/4 9/1/4
|
||||
f 13/2/5 17/7/5 18/8/5 14/3/5
|
||||
f 14/3/6 18/8/6 19/9/6 15/5/6
|
||||
f 15/5/7 19/9/7 20/8/7 16/3/7
|
||||
f 16/3/8 20/8/8 17/7/8 13/2/8
|
||||
f 17/7/9 21/10/9 22/11/9 18/8/9
|
||||
f 18/8/10 22/11/10 23/12/10 19/9/10
|
||||
f 19/9/11 23/12/11 24/11/11 20/8/11
|
||||
f 20/8/12 24/11/12 21/10/12 17/7/12
|
||||
f 21/10/2 25/13/2 26/14/2 22/11/2
|
||||
f 22/11/1 26/14/1 27/15/1 23/12/1
|
||||
f 23/12/4 27/15/4 28/14/4 24/11/4
|
||||
f 24/11/3 28/14/3 25/13/3 21/10/3
|
||||
f 25/13/6 29/16/6 30/17/6 26/14/6
|
||||
f 26/14/5 30/17/5 31/18/5 27/15/5
|
||||
f 27/15/8 31/18/8 32/17/8 28/14/8
|
||||
f 28/14/7 32/17/7 29/16/7 25/13/7
|
||||
f 29/16/10 9/1/10 10/4/10 30/17/10
|
||||
f 30/17/9 10/4/9 11/6/9 31/18/9
|
||||
f 31/18/12 11/6/12 12/4/12 32/17/12
|
||||
f 32/17/11 12/4/11 9/1/11 29/16/11
|
||||
f 33/19/1 36/20/1 37/21/1 34/22/1
|
||||
f 34/22/2 37/21/2 38/23/2 180/24/2
|
||||
f 180/24/3 38/23/3 39/21/3 35/22/3
|
||||
f 35/22/4 39/21/4 36/20/4 33/19/4
|
||||
f 36/20/5 40/25/5 41/26/5 37/21/5
|
||||
f 37/21/6 41/26/6 42/27/6 38/23/6
|
||||
f 38/23/7 42/27/7 43/26/7 39/21/7
|
||||
f 39/21/8 43/26/8 40/25/8 36/20/8
|
||||
f 40/25/9 44/28/9 45/29/9 41/26/9
|
||||
f 41/26/10 45/29/10 46/30/10 42/27/10
|
||||
f 42/27/11 46/30/11 47/29/11 43/26/11
|
||||
f 43/26/12 47/29/12 44/28/12 40/25/12
|
||||
f 44/28/2 48/31/2 49/32/2 45/29/2
|
||||
f 45/29/1 49/32/1 50/33/1 46/30/1
|
||||
f 46/30/4 50/33/4 51/32/4 47/29/4
|
||||
f 47/29/3 51/32/3 48/31/3 44/28/3
|
||||
f 48/31/6 52/34/6 53/35/6 49/32/6
|
||||
f 49/32/5 53/35/5 54/36/5 50/33/5
|
||||
f 50/33/8 54/36/8 55/35/8 51/32/8
|
||||
f 51/32/7 55/35/7 52/34/7 48/31/7
|
||||
f 52/34/10 33/19/10 34/22/10 53/35/10
|
||||
f 53/35/9 34/22/9 180/24/9 54/36/9
|
||||
f 54/36/12 180/24/12 35/22/12 55/35/12
|
||||
f 55/35/11 35/22/11 33/19/11 52/34/11
|
||||
f 56/37/13 59/25/13 60/38/13 57/39/13
|
||||
f 57/39/14 60/38/14 61/40/14 46/30/14
|
||||
f 46/30/15 61/40/15 62/38/15 58/39/15
|
||||
f 58/39/16 62/38/16 59/25/16 56/37/16
|
||||
f 59/25/17 63/41/17 64/42/17 60/38/17
|
||||
f 60/38/18 64/42/18 65/43/18 61/40/18
|
||||
f 61/40/19 65/43/19 66/42/19 62/38/19
|
||||
f 62/38/20 66/42/20 63/41/20 59/25/20
|
||||
f 63/41/21 67/44/21 68/45/21 64/42/21
|
||||
f 64/42/22 68/45/22 80/46/22 65/43/22
|
||||
f 65/43/23 80/46/23 69/45/23 66/42/23
|
||||
f 66/42/24 69/45/24 67/44/24 63/41/24
|
||||
f 67/44/14 70/47/14 71/48/14 68/45/14
|
||||
f 68/45/13 71/48/13 72/49/13 80/46/13
|
||||
f 80/46/16 72/49/16 73/48/16 69/45/16
|
||||
f 69/45/15 73/48/15 70/47/15 67/44/15
|
||||
f 70/47/18 74/31/18 75/50/18 71/48/18
|
||||
f 71/48/17 75/50/17 76/51/17 72/49/17
|
||||
f 72/49/20 76/51/20 77/50/20 73/48/20
|
||||
f 73/48/19 77/50/19 74/31/19 70/47/19
|
||||
f 74/31/22 56/37/22 57/39/22 75/50/22
|
||||
f 75/50/21 57/39/21 46/30/21 76/51/21
|
||||
f 76/51/24 46/30/24 58/39/24 77/50/24
|
||||
f 77/50/23 58/39/23 56/37/23 74/31/23
|
||||
f 78/52/1 82/41/1 83/53/1 79/54/1
|
||||
f 79/54/2 83/53/2 84/55/2 80/46/2
|
||||
f 80/46/3 84/55/3 85/53/3 81/54/3
|
||||
f 81/54/4 85/53/4 82/41/4 78/52/4
|
||||
f 82/41/5 86/56/5 87/57/5 83/53/5
|
||||
f 83/53/6 87/57/6 88/58/6 84/55/6
|
||||
f 84/55/7 88/58/7 89/57/7 85/53/7
|
||||
f 85/53/8 89/57/8 86/56/8 82/41/8
|
||||
f 86/56/9 90/59/9 91/60/9 87/57/9
|
||||
f 87/57/10 91/60/10 92/61/10 88/58/10
|
||||
f 88/58/11 92/61/11 93/60/11 89/57/11
|
||||
f 89/57/12 93/60/12 90/59/12 86/56/12
|
||||
f 90/59/2 94/62/2 95/63/2 91/60/2
|
||||
f 91/60/1 95/63/1 96/64/1 92/61/1
|
||||
f 92/61/4 96/64/4 97/63/4 93/60/4
|
||||
f 93/60/3 97/63/3 94/62/3 90/59/3
|
||||
f 94/62/6 98/47/6 99/65/6 95/63/6
|
||||
f 95/63/5 99/65/5 100/66/5 96/64/5
|
||||
f 96/64/8 100/66/8 101/65/8 97/63/8
|
||||
f 97/63/7 101/65/7 98/47/7 94/62/7
|
||||
f 98/47/10 78/52/10 79/54/10 99/65/10
|
||||
f 99/65/9 79/54/9 80/46/9 100/66/9
|
||||
f 100/66/12 80/46/12 81/54/12 101/65/12
|
||||
f 101/65/11 81/54/11 78/52/11 98/47/11
|
||||
f 102/67/13 105/56/13 106/68/13 103/69/13
|
||||
f 103/69/14 106/68/14 107/70/14 92/61/14
|
||||
f 92/61/15 107/70/15 108/68/15 104/69/15
|
||||
f 104/69/16 108/68/16 105/56/16 102/67/16
|
||||
f 105/56/17 109/71/17 110/72/17 106/68/17
|
||||
f 106/68/18 110/72/18 111/73/18 107/70/18
|
||||
f 107/70/19 111/73/19 112/72/19 108/68/19
|
||||
f 108/68/20 112/72/20 109/71/20 105/56/20
|
||||
f 113/74/18 117/62/18 118/75/18 114/76/18
|
||||
f 114/76/17 118/75/17 119/77/17 115/78/17
|
||||
f 115/78/20 119/77/20 120/75/20 116/76/20
|
||||
f 116/76/19 120/75/19 117/62/19 113/74/19
|
||||
f 117/62/22 102/67/22 103/69/22 118/75/22
|
||||
f 118/75/21 103/69/21 92/61/21 119/77/21
|
||||
f 119/77/24 92/61/24 104/69/24 120/75/24
|
||||
f 120/75/23 104/69/23 102/67/23 117/62/23
|
||||
f 121/79/13 124/7/13 125/80/13 122/81/13
|
||||
f 122/81/14 125/80/14 126/82/14 23/12/14
|
||||
f 23/12/15 126/82/15 127/80/15 123/81/15
|
||||
f 123/81/16 127/80/16 124/7/16 121/79/16
|
||||
f 124/7/17 128/83/17 129/84/17 125/80/17
|
||||
f 125/80/18 129/84/18 130/85/18 126/82/18
|
||||
f 126/82/19 130/85/19 131/84/19 127/80/19
|
||||
f 127/80/20 131/84/20 128/83/20 124/7/20
|
||||
f 128/83/21 132/86/21 133/87/21 129/84/21
|
||||
f 129/84/22 133/87/22 134/88/22 130/85/22
|
||||
f 130/85/23 134/88/23 135/87/23 131/84/23
|
||||
f 131/84/24 135/87/24 132/86/24 128/83/24
|
||||
f 132/86/14 136/89/14 137/90/14 133/87/14
|
||||
f 133/87/13 137/90/13 138/91/13 134/88/13
|
||||
f 134/88/16 138/91/16 139/90/16 135/87/16
|
||||
f 135/87/15 139/90/15 136/89/15 132/86/15
|
||||
f 136/89/18 140/13/18 141/92/18 137/90/18
|
||||
f 137/90/17 141/92/17 142/93/17 138/91/17
|
||||
f 138/91/20 142/93/20 143/92/20 139/90/20
|
||||
f 139/90/19 143/92/19 140/13/19 136/89/19
|
||||
f 140/13/22 121/79/22 122/81/22 141/92/22
|
||||
f 141/92/21 122/81/21 23/12/21 142/93/21
|
||||
f 142/93/24 23/12/24 123/81/24 143/92/24
|
||||
f 143/92/23 123/81/23 121/79/23 140/13/23
|
||||
f 144/94/1 147/83/1 148/95/1 145/96/1
|
||||
f 145/96/2 148/95/2 149/97/2 134/88/2
|
||||
f 134/88/3 149/97/3 150/95/3 146/96/3
|
||||
f 146/96/4 150/95/4 147/83/4 144/94/4
|
||||
f 147/83/5 151/98/5 152/99/5 148/95/5
|
||||
f 148/95/6 152/99/6 153/100/6 149/97/6
|
||||
f 149/97/7 153/100/7 154/99/7 150/95/7
|
||||
f 150/95/8 154/99/8 151/98/8 147/83/8
|
||||
f 151/98/9 155/101/9 156/102/9 152/99/9
|
||||
f 152/99/10 156/102/10 157/103/10 153/100/10
|
||||
f 153/100/11 157/103/11 158/102/11 154/99/11
|
||||
f 154/99/12 158/102/12 155/101/12 151/98/12
|
||||
f 155/101/2 159/104/2 160/105/2 156/102/2
|
||||
f 156/102/1 160/105/1 161/106/1 157/103/1
|
||||
f 157/103/4 161/106/4 162/105/4 158/102/4
|
||||
f 158/102/3 162/105/3 159/104/3 155/101/3
|
||||
f 159/104/6 163/89/6 164/107/6 160/105/6
|
||||
f 160/105/5 164/107/5 165/108/5 161/106/5
|
||||
f 161/106/8 165/108/8 166/107/8 162/105/8
|
||||
f 162/105/7 166/107/7 163/89/7 159/104/7
|
||||
f 163/89/10 144/94/10 145/96/10 164/107/10
|
||||
f 164/107/9 145/96/9 134/88/9 165/108/9
|
||||
f 165/108/12 134/88/12 146/96/12 166/107/12
|
||||
f 166/107/11 146/96/11 144/94/11 163/89/11
|
||||
f 167/109/13 170/98/13 171/110/13 168/111/13
|
||||
f 168/111/14 171/110/14 172/112/14 157/103/14
|
||||
f 157/103/15 172/112/15 173/110/15 169/111/15
|
||||
f 169/111/16 173/110/16 170/98/16 167/109/16
|
||||
f 170/98/17 174/20/17 175/113/17 171/110/17
|
||||
f 171/110/18 175/113/18 176/114/18 172/112/18
|
||||
f 172/112/19 176/114/19 177/113/19 173/110/19
|
||||
f 173/110/20 177/113/20 174/20/20 170/98/20
|
||||
f 174/20/21 178/115/21 179/116/21 175/113/21
|
||||
f 175/113/22 179/116/22 180/24/22 176/114/22
|
||||
f 176/114/23 180/24/23 181/116/23 177/113/23
|
||||
f 177/113/24 181/116/24 178/115/24 174/20/24
|
||||
f 178/115/14 182/34/14 183/117/14 179/116/14
|
||||
f 179/116/13 183/117/13 184/118/13 180/24/13
|
||||
f 180/24/16 184/118/16 185/117/16 181/116/16
|
||||
f 181/116/15 185/117/15 182/34/15 178/115/15
|
||||
f 182/34/18 186/104/18 187/119/18 183/117/18
|
||||
f 183/117/17 187/119/17 188/120/17 184/118/17
|
||||
f 184/118/20 188/120/20 189/119/20 185/117/20
|
||||
f 185/117/19 189/119/19 186/104/19 182/34/19
|
||||
f 186/104/22 167/109/22 168/111/22 187/119/22
|
||||
f 187/119/21 168/111/21 157/103/21 188/120/21
|
||||
f 188/120/24 157/103/24 169/111/24 189/119/24
|
||||
f 189/119/23 169/111/23 167/109/23 186/104/23
|
||||
s 1
|
||||
f 1/121/25 2/122/25 3/123/25 4/124/25
|
||||
f 4/121/26 3/122/26 5/123/26 6/124/26
|
||||
f 6/121/27 5/122/27 7/123/27 8/124/27
|
||||
f 8/121/28 7/122/28 2/123/28 1/124/28
|
||||
f 4/125/29 6/126/29 8/127/29 1/128/29
|
||||
f 5/125/30 3/128/30 2/127/30 7/126/30
|
||||
|
222
mods/morelights/morelights/nodes.lua
Normal file
|
@ -0,0 +1,222 @@
|
|||
local S = minetest.get_translator("morelights")
|
||||
|
||||
|
||||
minetest.register_craftitem("morelights:bulb", {
|
||||
description = S("Light Bulb"),
|
||||
inventory_image = "morelights_bulb.png"
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights:pole_d",
|
||||
description = S("Metal Pole (@1)", S("dark")),
|
||||
tiles = {"morelights_metal_dark_32.png"},
|
||||
inventory_image = "morelights_pole_d_inv.png",
|
||||
wield_image = "morelights_pole_d_inv.png",
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return morelights.on_place_hanging(itemstack, placer,
|
||||
pointed_thing, "morelights:pole_ceiling_d")
|
||||
end
|
||||
},
|
||||
{
|
||||
name = "morelights:pole_l",
|
||||
description = S("Metal Pole (@1)", S("light")),
|
||||
tiles = {"morelights_metal_light_32.png"},
|
||||
inventory_image = "morelights_pole_l_inv.png",
|
||||
wield_image = "morelights_pole_l_inv.png",
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return morelights.on_place_hanging(itemstack, placer,
|
||||
pointed_thing, "morelights:pole_ceiling_l")
|
||||
end
|
||||
}
|
||||
},
|
||||
{
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/32, -1/2, -1/32, 1/32, 1/2, 1/32}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1,
|
||||
mounted_ceiling = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights:pole_ceiling_d",
|
||||
tiles = {"morelights_metal_dark_32.png"},
|
||||
drop = "morelights:pole_d"
|
||||
},
|
||||
{
|
||||
name = "morelights:pole_ceiling_l",
|
||||
tiles = {"morelights_metal_light_32.png"},
|
||||
drop = "morelights:pole_l"
|
||||
}
|
||||
},
|
||||
{
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-3/16, -7/16, -3/16, 3/16, -1/2, 3/16},
|
||||
{-1/32, 1/2, -1/32, 1/32, -7/16, 1/32}
|
||||
}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-3/16, -7/16, -3/16, 3/16, -1/2, 3/16},
|
||||
{-1/16, 1/2, -1/16, 1/16, -7/16, 1/16}
|
||||
}
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1,
|
||||
mounted_ceiling = 1, not_in_creative_inventory = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights:chain_d",
|
||||
description = S("Metal Chain (@1)", S("dark")),
|
||||
tiles = {"morelights_metal_dark_32.png"},
|
||||
inventory_image = "morelights_chain_d_inv.png",
|
||||
wield_image = "morelights_chain_d_inv.png",
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return morelights.on_place_hanging(itemstack, placer,
|
||||
pointed_thing, "morelights:chain_ceiling_d")
|
||||
end
|
||||
},
|
||||
{
|
||||
name = "morelights:chain_l",
|
||||
description = S("Metal Chain (@1)", S("light")),
|
||||
tiles = {"morelights_metal_light_32.png"},
|
||||
inventory_image = "morelights_chain_l_inv.png",
|
||||
wield_image = "morelights_chain_l_inv.png",
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return morelights.on_place_hanging(itemstack, placer,
|
||||
pointed_thing, "morelights:chain_ceiling_l")
|
||||
end
|
||||
}
|
||||
},
|
||||
{
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_chain.obj",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1,
|
||||
mounted_ceiling = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights:chain_ceiling_d",
|
||||
tiles = {"morelights_metal_dark_32.png"},
|
||||
drop = "morelights:chain_d"
|
||||
},
|
||||
{
|
||||
name = "morelights:chain_ceiling_l",
|
||||
tiles = {"morelights_metal_light_32.png"},
|
||||
drop = "morelights:chain_l"
|
||||
}
|
||||
},
|
||||
{
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_chain_ceiling.obj",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-3/16, 7/16, -3/16, 3/16, 1/2, 3/16},
|
||||
{-1/16, -1/2, -1/16, 1/16, 7/16, 1/16}
|
||||
}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-3/16, 7/16, -3/16, 3/16, 1/2, 3/16},
|
||||
{-1/16, -1/2, -1/16, 1/16, 7/16, 1/16}
|
||||
}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1,
|
||||
mounted_ceiling = 1, not_in_creative_inventory = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
--
|
||||
-- Craft recipes
|
||||
--
|
||||
|
||||
local a = morelights.craft_items
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights:bulb",
|
||||
recipe = {
|
||||
{"", a.glass, ""},
|
||||
{"", a.copper, ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights:pole_d 2",
|
||||
recipe = {
|
||||
{a.dye_dark, a.steel, ""},
|
||||
{"", a.steel, ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights:pole_l 2",
|
||||
recipe = {
|
||||
{a.dye_light, a.steel, ""},
|
||||
{"", a.steel, ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights:chain_d",
|
||||
recipe = {
|
||||
{a.dye_dark, a.steel, ""},
|
||||
{"", "", ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights:chain_l",
|
||||
recipe = {
|
||||
{a.dye_light, a.steel, ""},
|
||||
{"", "", ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
BIN
mods/morelights/morelights/textures/morelights_bulb.png
Normal file
After Width: | Height: | Size: 190 B |
BIN
mods/morelights/morelights/textures/morelights_chain_d_inv.png
Normal file
After Width: | Height: | Size: 276 B |
BIN
mods/morelights/morelights/textures/morelights_chain_l_inv.png
Normal file
After Width: | Height: | Size: 274 B |
BIN
mods/morelights/morelights/textures/morelights_metal_dark.png
Normal file
After Width: | Height: | Size: 243 B |
BIN
mods/morelights/morelights/textures/morelights_metal_dark_32.png
Normal file
After Width: | Height: | Size: 634 B |
BIN
mods/morelights/morelights/textures/morelights_metal_light.png
Normal file
After Width: | Height: | Size: 272 B |
After Width: | Height: | Size: 672 B |
BIN
mods/morelights/morelights/textures/morelights_pole_d_inv.png
Normal file
After Width: | Height: | Size: 248 B |
BIN
mods/morelights/morelights/textures/morelights_pole_l_inv.png
Normal file
After Width: | Height: | Size: 272 B |
247
mods/morelights/morelights_extras/init.lua
Normal file
|
@ -0,0 +1,247 @@
|
|||
local S = minetest.get_translator("morelights_extras")
|
||||
|
||||
|
||||
minetest.register_node("morelights_extras:f_block", {
|
||||
description = S("Futuristic Light Block"),
|
||||
tiles = {"morelights_extras_f_block.png"},
|
||||
paramtype = "light",
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.3,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
|
||||
do
|
||||
local def = {
|
||||
description = S("Grass Light"),
|
||||
tiles = {
|
||||
"default_grass.png^morelights_extras_blocklight.png",
|
||||
"default_dirt.png",
|
||||
"default_dirt.png^default_grass_side.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
light_source = 12,
|
||||
groups = {
|
||||
cracky = 2,
|
||||
oddly_breakable_by_hand = 3,
|
||||
handy = 1,
|
||||
soil = 1,
|
||||
},
|
||||
_mcl_hardness = 0.3,
|
||||
sounds = morelights.sounds.glass
|
||||
}
|
||||
|
||||
if morelights.game == "mineclone2" then
|
||||
-- For MineClone 2, use node coloring to match environment.
|
||||
-- See the mcl_core:dirt_with_grass definition in
|
||||
-- ITEMS/mcl_core/nodes_base.lua.
|
||||
def.tiles = {
|
||||
"mcl_core_grass_block_top.png",
|
||||
{name = "default_dirt.png", color = "#FFFFFF"}
|
||||
}
|
||||
def.overlay_tiles = {
|
||||
{name = "morelights_extras_blocklight.png", color = "#FFFFFF"},
|
||||
"",
|
||||
{
|
||||
name = "mcl_core_grass_block_side_overlay.png",
|
||||
tileable_vertical = false
|
||||
}
|
||||
}
|
||||
def.paramtype2 = "color"
|
||||
def.palette = "mcl_core_palette_grass.png"
|
||||
def.palette_index = 0
|
||||
def.color = "#55aa60"
|
||||
def.drop = "morelights_extras:dirt_with_grass"
|
||||
|
||||
def.on_construct = function(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
if node.param2 == 0 then
|
||||
local grass_node = mcl_core.get_grass_block_type(pos)
|
||||
if grass_node.param2 ~= 0 then
|
||||
minetest.set_node(pos, {
|
||||
name = "morelights_extras:dirt_with_grass",
|
||||
param2 = grass_node.param2
|
||||
})
|
||||
end
|
||||
end
|
||||
end
|
||||
elseif morelights.game == "hades_revisited" then
|
||||
-- For Hades Revisited, grass color is seasonal.
|
||||
-- See hades_core/dirt.lua, ABM in hades_core/functions.lua.
|
||||
def.tiles = {
|
||||
"hades_core_grass_cover_colorable.png",
|
||||
{name = "default_dirt.png", color = "#FFFFFF"},
|
||||
}
|
||||
def.overlay_tiles = {
|
||||
{name = "morelights_extras_blocklight.png", color = "#FFFFFF"},
|
||||
"",
|
||||
{
|
||||
name = "hades_core_grass_side_cover_colorable.png",
|
||||
tileable_vertical = false
|
||||
},
|
||||
}
|
||||
def.paramtype2 = "color"
|
||||
def.palette = "hades_core_palette_grass.png"
|
||||
def.palette_index = 0
|
||||
def.color = "#acef6a"
|
||||
-- To enable seasonal grass coloring.
|
||||
def.groups.dirt_with_grass = 1
|
||||
-- To prevent color retention on digging.
|
||||
def.drop = "morelights_extras:dirt_with_grass"
|
||||
|
||||
def.on_place = function(itemstack, placer, pointed_thing)
|
||||
local param2 = hades_core.get_seasonal_grass_color_param2()
|
||||
return minetest.item_place(itemstack, placer, pointed_thing, param2)
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_node("morelights_extras:dirt_with_grass", def)
|
||||
end
|
||||
|
||||
do
|
||||
local tile = "default_stone_block.png"
|
||||
if morelights.game == "mineclone2" then
|
||||
tile = "mcl_stairs_stone_slab_top.png"
|
||||
end
|
||||
|
||||
minetest.register_node("morelights_extras:stone_block", {
|
||||
description = S("Stone Block Light"),
|
||||
tiles = {tile .. "^morelights_extras_blocklight.png"},
|
||||
paramtype = "light",
|
||||
light_source = 12,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.3,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
end
|
||||
|
||||
do
|
||||
local tile = "default_sandstone_block.png"
|
||||
if morelights.game == "mineclone2" then
|
||||
tile = "mcl_core_sandstone_smooth.png"
|
||||
elseif morelights.game == "hades_revisited" then
|
||||
tile = "default_sandstone.png"
|
||||
end
|
||||
|
||||
minetest.register_node("morelights_extras:sandstone_block", {
|
||||
description = S("Sandstone Block Light"),
|
||||
tiles = {tile .. "^morelights_extras_blocklight.png"},
|
||||
paramtype = "light",
|
||||
light_source = 12,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.3,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_node("morelights_extras:stairlight", {
|
||||
description = S("Stair Light (place on stairs)"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, -13/16, -1/16, 1/4, -11/16, 0}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, -13/16, -1/16, 1/4, -11/16, 0}
|
||||
},
|
||||
walkable = false,
|
||||
tiles = {"morelights_metal_dark.png"},
|
||||
overlay_tiles = {"", "morelights_extras_stairlight.png",
|
||||
"", "", "morelights_extras_stairlight.png"},
|
||||
inventory_image = "morelights_extras_stairlight_inv.png",
|
||||
wield_image = "morelights_extras_stairlight_inv.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
light_source = 10,
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1,
|
||||
attached_node = 1},
|
||||
_mcl_hardness = 0.15,
|
||||
node_placement_prediction = "",
|
||||
sounds = morelights.sounds.glass,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
if pointed_thing.type ~= "node" then
|
||||
return itemstack
|
||||
end
|
||||
|
||||
-- See builtin/game/item.lua.
|
||||
local node = minetest.get_node(pointed_thing.under)
|
||||
|
||||
if placer and not placer:get_player_control().sneak then
|
||||
local def = minetest.registered_nodes[node.name]
|
||||
if def and def.on_rightclick then
|
||||
return def.on_rightclick(pointed_thing.under, node, placer,
|
||||
itemstack, pointed_thing) or itemstack
|
||||
end
|
||||
end
|
||||
|
||||
if node.param2 < 4 and (
|
||||
node.name:match("^stairs:stair_")
|
||||
or node.name:match("^mcl_stairs:stair_")
|
||||
or node.name:match("^hades_stairs:stair_")
|
||||
or minetest.get_item_group(node.name, "morelights_supports_stairlight") ~= 0
|
||||
) then
|
||||
-- Set `above` to the node actually above the stair, since that's
|
||||
-- where the node is placed.
|
||||
pointed_thing.above =
|
||||
vector.add(pointed_thing.under, vector.new(0, 1, 0))
|
||||
return minetest.item_place_node(itemstack, placer, pointed_thing,
|
||||
node.param2)
|
||||
end
|
||||
|
||||
return itemstack
|
||||
end,
|
||||
|
||||
on_rotate = screwdriver.rotate_simple
|
||||
})
|
||||
|
||||
--
|
||||
-- Craft recipes
|
||||
--
|
||||
|
||||
local a = morelights.craft_items
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_extras:f_block",
|
||||
recipe = {
|
||||
{a.crystal_fragment, a.steel, a.crystal_fragment},
|
||||
{a.glass_pane, "morelights:bulb", a.glass_pane},
|
||||
{a.crystal_fragment, a.steel, a.crystal_fragment}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_extras:dirt_with_grass",
|
||||
recipe = {
|
||||
{"", a.glass_pane, ""},
|
||||
{"", "morelights:bulb", ""},
|
||||
{a.grass, a.dirt, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_extras:stone_block",
|
||||
recipe = {
|
||||
{"", a.glass_pane, ""},
|
||||
{"", "morelights:bulb", ""},
|
||||
{"", a.stone_block, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_extras:sandstone_block",
|
||||
recipe = {
|
||||
{"", a.glass_pane, ""},
|
||||
{"", "morelights:bulb", ""},
|
||||
{"", a.sandstone_block, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_extras:stairlight",
|
||||
recipe = {
|
||||
{a.steel, "morelights:bulb", a.steel}
|
||||
}
|
||||
})
|
7
mods/morelights/morelights_extras/locale/template.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
# textdomain:morelights_extras
|
||||
|
||||
Futuristic Light Block=
|
||||
Grass Light=
|
||||
Stone Block Light=
|
||||
Sandstone Block Light=
|
||||
Stair Light (place on stairs)=
|
3
mods/morelights/morelights_extras/mod.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
name = morelights_extras
|
||||
description = Provides miscellaneous lighting nodes.
|
||||
depends = morelights
|
After Width: | Height: | Size: 204 B |
After Width: | Height: | Size: 237 B |
After Width: | Height: | Size: 111 B |
After Width: | Height: | Size: 296 B |
465
mods/morelights/morelights_modern/init.lua
Normal file
|
@ -0,0 +1,465 @@
|
|||
local S = minetest.get_translator("morelights_modern")
|
||||
|
||||
|
||||
minetest.register_node("morelights_modern:block", {
|
||||
description = S("Modern Light Block"),
|
||||
tiles = {"morelights_metal_dark.png^morelights_modern_block.png"},
|
||||
paramtype = "light",
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.3,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_modern:smallblock", {
|
||||
description = S("Modern Light Block (small)"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, -1/2, -1/4, 1/4, 0, 1/4}
|
||||
},
|
||||
tiles = {
|
||||
"morelights_metal_dark.png^morelights_modern_smallblock.png",
|
||||
"morelights_metal_dark.png^morelights_modern_smallblock.png",
|
||||
"[combine:16x16:0,0=morelights_metal_dark.png" ..
|
||||
":0,4=morelights_modern_smallblock.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
light_source = 12,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.glass,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return morelights.rotate_and_place(itemstack, placer, pointed_thing)
|
||||
end
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights_modern:post_d",
|
||||
description = S("Modern Post Light (@1)", S("dark")),
|
||||
tiles = {
|
||||
"morelights_metal_dark.png",
|
||||
"morelights_metal_dark.png",
|
||||
"morelights_metal_dark.png^morelights_modern_post.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "morelights_modern:post_l",
|
||||
description = S("Modern Post Light (@1)", S("light")),
|
||||
tiles = {
|
||||
"morelights_metal_light.png",
|
||||
"morelights_metal_light.png",
|
||||
"morelights_metal_light.png^morelights_modern_post.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -1/2, -1/8, 1/8, 1/2, 1/8}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.3,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights_modern:streetpost_d",
|
||||
description = S("Street Lamp Post (@1) - connects to bar lights",
|
||||
S("dark")),
|
||||
tiles = {"morelights_metal_dark.png"}
|
||||
},
|
||||
{
|
||||
name = "morelights_modern:streetpost_l",
|
||||
description = S("Street Lamp Post (@1) - connects to bar lights",
|
||||
S("light")),
|
||||
tiles = {"morelights_metal_light.png"}
|
||||
}
|
||||
},
|
||||
{
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "connected",
|
||||
fixed = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16},
|
||||
connect_front = {-1/16, 3/8, -1/2, 1/16, 7/16, -1/16},
|
||||
connect_left = {-1/2, 3/8, -1/16, -1/16, 7/16, 1/16},
|
||||
connect_back = {-1/16, 3/8, 1/16, 1/16, 7/16, 1/2},
|
||||
connect_right = {1/16, 3/8, -1/16, 1/2, 7/16, 1/16},
|
||||
},
|
||||
connects_to = {
|
||||
"morelights_modern:barlight_c",
|
||||
"morelights_modern:barlight_s"
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.3,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_modern:barlight_c", {
|
||||
description = S("Ceiling Bar Light (connecting)"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "connected",
|
||||
fixed = {-1/8, 3/8, -1/8, 1/8, 1/2, 1/8},
|
||||
connect_front = {-1/8, 3/8, -1/2, 1/8, 1/2, -1/8},
|
||||
connect_left = {-1/2, 3/8, -1/8, -1/8, 1/2, 1/8},
|
||||
connect_back = {-1/8, 3/8, 1/8, 1/8, 1/2, 1/2},
|
||||
connect_right = {1/8, 3/8, -1/8, 1/2, 1/2, 1/8},
|
||||
},
|
||||
connects_to = {
|
||||
"morelights_modern:barlight_c",
|
||||
"morelights_modern:barlight_s",
|
||||
"morelights_modern:streetpost_d",
|
||||
"morelights_modern:streetpost_l"
|
||||
},
|
||||
tiles = {
|
||||
"morelights_metal_dark.png",
|
||||
"morelights_modern_barlight.png",
|
||||
"morelights_metal_dark.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1, not_blocking_trains = 1},
|
||||
_mcl_hardness = 0.15,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
|
||||
-- TODO: Determine orientation of bar lights from nearby nodes.
|
||||
minetest.register_node("morelights_modern:barlight_s", {
|
||||
description = S("Ceiling Bar Light (straight)"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/2, 3/8, -1/8, 1/2, 1/2, 1/8},
|
||||
},
|
||||
tiles = {
|
||||
"morelights_metal_dark.png",
|
||||
"morelights_modern_barlight.png",
|
||||
"morelights_metal_dark.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1, not_blocking_trains = 1},
|
||||
_mcl_hardness = 0.15,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_modern:ceilinglight", {
|
||||
description = S("Modern Ceiling Light"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, 3/8, -1/4, 1/4, 1/2, 1/4}
|
||||
},
|
||||
tiles = {
|
||||
"morelights_metal_dark.png",
|
||||
"morelights_metal_dark.png^morelights_modern_block.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1, not_blocking_trains = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.glass,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return morelights.rotate_and_place(itemstack, placer, pointed_thing,
|
||||
{[0] = 0, 20, 12, 16, 4, 8})
|
||||
end
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights_modern:canlight_d",
|
||||
description = S("Modern Can Light (@1)", S("dark")),
|
||||
tiles = {"morelights_metal_dark.png^morelights_modern_canlight.png"}
|
||||
},
|
||||
{
|
||||
name = "morelights_modern:canlight_l",
|
||||
description = S("Modern Can Light (@1)", S("light")),
|
||||
tiles = {"morelights_metal_light.png^morelights_modern_canlight.png"}
|
||||
},
|
||||
},
|
||||
{
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_modern_canlight.obj",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, 0, -1/8, 1/8, 1/2, 1/8}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, 0, -1/8, 1/8, 1/2, 1/8}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = 12,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_modern:walllamp", {
|
||||
description = S("Modern Wall Lamp"),
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_modern_walllamp.obj",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -3/8, 1/8, 1/8, 1/4, 1/2}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -3/8, 1/8, 1/8, 1/4, 1/2}
|
||||
},
|
||||
tiles = {"morelights_metal_dark_32.png^morelights_modern_walllamp.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
light_source = 12,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.glass,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return morelights.rotate_and_place(itemstack, placer, pointed_thing,
|
||||
{[0] = 6, 4, 1, 3, 0, 2})
|
||||
end
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights_modern:tablelamp_d",
|
||||
description = S("Modern Table Lamp (@1)", S("dark")),
|
||||
tiles = {
|
||||
"morelights_metal_light_32.png^morelights_modern_tablelamp_o.png",
|
||||
"morelights_modern_tablelamp_d.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "morelights_modern:tablelamp_l",
|
||||
description = S("Modern Table Lamp (@1)", S("light")),
|
||||
tiles = {
|
||||
"morelights_metal_dark_32.png^morelights_modern_tablelamp_o.png",
|
||||
"morelights_modern_tablelamp_l.png"
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_modern_tablelamp.obj",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, -1/2, -1/4, 1/4, 7/16, 1/4}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, -1/2, -1/4, 1/4, 7/16, 1/4}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = 10,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.default
|
||||
})
|
||||
|
||||
morelights.register_variants({
|
||||
{
|
||||
name = "morelights_modern:pathlight_d",
|
||||
description = S("Modern Path Light (@1)", S("dark")),
|
||||
tiles = {
|
||||
"morelights_metal_dark_32.png^morelights_modern_pathlight.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "morelights_modern:pathlight_l",
|
||||
description = S("Modern Path Light (@1)", S("light")),
|
||||
tiles = {
|
||||
"morelights_metal_light_32.png^morelights_modern_pathlight.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-1/32, -8/16, -1/32, 1/32, 1/8, 1/32},
|
||||
{-1/16, 1/8, -1/16, 1/16, 5/16, 1/16},
|
||||
{-1/8, 5/16, -1/8, 1/8, 3/8, 1/8}
|
||||
}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -1/2, -1/8, 1/8, 3/8, 1/8}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = 8,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
--
|
||||
-- Craft recipes
|
||||
--
|
||||
|
||||
local a = morelights.craft_items
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:block",
|
||||
recipe = {
|
||||
{"", a.steel, ""},
|
||||
{a.glass_pane, "morelights:bulb", a.glass_pane},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:smallblock",
|
||||
recipe = {
|
||||
{"", a.glass_pane, ""},
|
||||
{a.steel, "morelights:bulb", a.steel}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:post_d",
|
||||
recipe = {
|
||||
{a.dye_dark, a.steel, ""},
|
||||
{"", "morelights:bulb", ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:post_l",
|
||||
recipe = {
|
||||
{a.dye_light, a.steel, ""},
|
||||
{"", "morelights:bulb", ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:streetpost_d 2",
|
||||
recipe = {
|
||||
{a.dye_dark, a.steel, a.steel},
|
||||
{"", a.steel, ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:streetpost_l 2",
|
||||
recipe = {
|
||||
{a.dye_light, a.steel, a.steel},
|
||||
{"", a.steel, ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:barlight_c 4",
|
||||
recipe = {
|
||||
{a.steel, a.steel, a.steel},
|
||||
{a.copper, a.glass, a.copper}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:barlight_c",
|
||||
type = "shapeless",
|
||||
recipe = {"morelights_modern:barlight_s"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:barlight_s",
|
||||
type = "shapeless",
|
||||
recipe = {"morelights_modern:barlight_c"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:ceilinglight",
|
||||
recipe = {
|
||||
{a.steel, "morelights:bulb", a.steel},
|
||||
{"", a.glass_pane, ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:canlight_d",
|
||||
recipe = {
|
||||
{a.dye_dark, a.steel, ""},
|
||||
{a.steel, "morelights:bulb", a.steel},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:canlight_l",
|
||||
recipe = {
|
||||
{a.dye_light, a.steel, ""},
|
||||
{a.steel, "morelights:bulb", a.steel},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:walllamp",
|
||||
recipe = {
|
||||
{"", a.glass_pane, ""},
|
||||
{a.glass_pane, "morelights:bulb", a.steel},
|
||||
{"", a.dye_dark, a.steel}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:tablelamp_d",
|
||||
recipe = {
|
||||
{"", a.steel, ""},
|
||||
{a.wool_dark, "morelights:bulb", a.wool_dark},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:tablelamp_l",
|
||||
recipe = {
|
||||
{"", a.steel, ""},
|
||||
{a.wool_light, "morelights:bulb", a.wool_light},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:pathlight_d",
|
||||
recipe = {
|
||||
{a.dye_dark, "morelights:bulb", ""},
|
||||
{"", a.steel, ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_modern:pathlight_l",
|
||||
recipe = {
|
||||
{a.dye_light, "morelights:bulb", ""},
|
||||
{"", a.steel, ""},
|
||||
{"", a.steel, ""}
|
||||
}
|
||||
})
|
15
mods/morelights/morelights_modern/locale/template.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
# textdomain:morelights_modern
|
||||
|
||||
dark=
|
||||
light=
|
||||
Modern Light Block=
|
||||
Modern Light Block (small)=
|
||||
Modern Post Light (@1)=
|
||||
Street Lamp Post (@1) - connects to bar lights=
|
||||
Ceiling Bar Light (connecting)=
|
||||
Ceiling Bar Light (straight)=
|
||||
Modern Ceiling Light=
|
||||
Modern Can Light (@1)=
|
||||
Modern Wall Lamp=
|
||||
Modern Table Lamp (@1)=
|
||||
Modern Path Light (@1)=
|
3
mods/morelights/morelights_modern/mod.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
name = morelights_modern
|
||||
description = Provides modern-style lighting nodes.
|
||||
depends = morelights
|
|
@ -0,0 +1,140 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T18:42:48Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.79 (sub 0) OBJ File: 'modern_can_2.blend'
|
||||
# www.blender.org
|
||||
|
||||
# vertices [32]
|
||||
|
||||
v -0.051777 0 -0.125
|
||||
v -0.051777 0.5 -0.125
|
||||
v 0.051777 0.5 -0.125
|
||||
v 0.051777 0 -0.125
|
||||
v 0.125 0 0.051777
|
||||
v 0.051777 0 0.125
|
||||
v -0.051777 0 0.125
|
||||
v -0.125 0 0.051777
|
||||
v -0.125 0 -0.051777
|
||||
v -0.1 0 -0.041421
|
||||
v -0.1 0 0.041421
|
||||
v -0.041421 0 0.1
|
||||
v 0.041421 0 0.1
|
||||
v 0.1 0 0.041421
|
||||
v 0.125 0 -0.051777
|
||||
v 0.1 0 -0.041421
|
||||
v 0.041421 0 -0.1
|
||||
v -0.041421 0 -0.1
|
||||
v -0.125 0.5 -0.051777
|
||||
v -0.125 0.5 0.051777
|
||||
v -0.051777 0.5 0.125
|
||||
v 0.051777 0.5 0.125
|
||||
v 0.125 0.5 0.051777
|
||||
v 0.125 0.5 -0.051777
|
||||
v 0.041421 0.125 -0.1
|
||||
v -0.041421 0.125 -0.1
|
||||
v -0.1 0.125 -0.041421
|
||||
v 0.1 0.125 -0.041421
|
||||
v 0.1 0.125 0.041421
|
||||
v 0.041421 0.125 0.1
|
||||
v -0.041421 0.125 0.1
|
||||
v -0.1 0.125 0.041421
|
||||
|
||||
# normals [10]
|
||||
|
||||
vn 0 0 -1
|
||||
vn -0.7071 0 -0.7071
|
||||
vn 0 1 0
|
||||
vn 0.7071 0 -0.7071
|
||||
vn 1 0 0
|
||||
vn 0.7071 0 0.7071
|
||||
vn 0 0 1
|
||||
vn -0.7071 0 0.7071
|
||||
vn -1 0 0
|
||||
vn 0 -1 0
|
||||
|
||||
# uvs [52]
|
||||
|
||||
vt 0.375 0.5
|
||||
vt 0.375 1
|
||||
vt 0.25 1
|
||||
vt 0.25 0.5
|
||||
vt 0.5 0.5
|
||||
vt 0.5 1
|
||||
vt 0.239277 0.9375
|
||||
vt 0.135723 0.9375
|
||||
vt 0.0625 0.864257
|
||||
vt 0.0625 0.760704
|
||||
vt 0.135723 0.6875
|
||||
vt 0.239277 0.6875
|
||||
vt 0.3125 0.760704
|
||||
vt 0.3125 0.864257
|
||||
vt 0.125 1
|
||||
vt 0.125 0.5
|
||||
vt 0 1
|
||||
vt 0 0.5
|
||||
vt 1 0.5
|
||||
vt 1 1
|
||||
vt 0.875 1
|
||||
vt 0.875 0.5
|
||||
vt 0.75 1
|
||||
vt 0.75 0.5
|
||||
vt 0.625 1
|
||||
vt 0.625 0.5
|
||||
vt 0.375 0.4375
|
||||
vt 0.25 0.4375
|
||||
vt 0.25 0.3125
|
||||
vt 0.375 0.3125
|
||||
vt 0.5 0.4375
|
||||
vt 0.5 0.3125
|
||||
vt 0.176777 0
|
||||
vt 0.25 0.073223
|
||||
vt 0.25 0.176777
|
||||
vt 0.176777 0.25
|
||||
vt 0.073223 0.25
|
||||
vt 0 0.176777
|
||||
vt 0 0.073223
|
||||
vt 0.073223 0
|
||||
vt 0.125 0.4375
|
||||
vt 0.125 0.3125
|
||||
vt 0.625 0.4375
|
||||
vt 0.625 0.3125
|
||||
vt 0.75 0.4375
|
||||
vt 0.75 0.3125
|
||||
vt 0.875 0.4375
|
||||
vt 0.875 0.3125
|
||||
vt 1 0.4375
|
||||
vt 1 0.3125
|
||||
vt 0 0.4375
|
||||
vt 0 0.3125
|
||||
|
||||
# objects [1]
|
||||
|
||||
o CanLight
|
||||
|
||||
s off
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 9/5/2 19/6/2 2/2/2 1/1/2
|
||||
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
|
||||
f 4/4/4 3/3/4 24/15/4 15/16/4
|
||||
f 15/16/5 24/15/5 23/17/5 5/18/5
|
||||
f 5/19/6 23/20/6 22/21/6 6/22/6
|
||||
f 6/22/7 22/21/7 21/23/7 7/24/7
|
||||
f 7/24/8 21/23/8 20/25/8 8/26/8
|
||||
f 8/26/9 20/25/9 19/6/9 9/5/9
|
||||
f 18/27/7 17/28/7 25/29/7 26/30/7
|
||||
f 10/31/6 18/27/6 26/30/6 27/32/6
|
||||
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
|
||||
f 17/28/8 16/41/8 28/42/8 25/29/8
|
||||
f 11/43/5 10/31/5 27/32/5 32/44/5
|
||||
f 12/45/4 11/43/4 32/44/4 31/46/4
|
||||
f 13/47/1 12/45/1 31/46/1 30/48/1
|
||||
f 14/49/2 13/47/2 30/48/2 29/50/2
|
||||
f 16/41/9 14/51/9 29/52/9 28/42/9
|
||||
f 10/31/10 9/5/10 1/1/10 18/27/10
|
||||
f 1/1/10 4/4/10 17/28/10 18/27/10
|
||||
f 4/4/10 15/16/10 16/41/10 17/28/10
|
||||
f 14/51/10 16/41/10 15/16/10 5/18/10
|
||||
f 14/49/10 5/19/10 6/22/10 13/47/10
|
||||
f 13/47/10 6/22/10 7/24/10 12/45/10
|
||||
f 7/24/10 8/26/10 11/43/10 12/45/10
|
||||
f 11/43/10 8/26/10 9/5/10 10/31/10
|
||||
|
|
@ -0,0 +1,146 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T06:56:07Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.93.0 OBJ File: ''
|
||||
# www.blender.org
|
||||
|
||||
# vertices [44]
|
||||
|
||||
v -0.1875 -0.5 0.1875
|
||||
v -0.1875 -0.4375 0.1875
|
||||
v -0.1875 -0.4375 -0.1875
|
||||
v -0.1875 -0.5 -0.1875
|
||||
v 0.1875 -0.4375 -0.1875
|
||||
v 0.1875 -0.5 -0.1875
|
||||
v 0.1875 -0.4375 0.1875
|
||||
v 0.1875 -0.5 0.1875
|
||||
v 0.03125 0.3125 0.03125
|
||||
v 0.21875 0.3125 0.03125
|
||||
v 0.21875 0.34375 0
|
||||
v 0.03125 0.34375 0
|
||||
v 0.21875 0.3125 -0.03125
|
||||
v 0.03125 0.3125 -0.03125
|
||||
v -0.21875 0.3125 0.03125
|
||||
v -0.03125 0.3125 0.03125
|
||||
v -0.03125 0.34375 0
|
||||
v -0.21875 0.34375 0
|
||||
v -0.03125 0.3125 -0.03125
|
||||
v -0.21875 0.3125 -0.03125
|
||||
v -0.03125 -0.4375 0.03125
|
||||
v -0.03125 0.375 0.03125
|
||||
v -0.03125 0.375 -0.03125
|
||||
v -0.03125 -0.4375 -0.03125
|
||||
v 0.03125 0.375 -0.03125
|
||||
v 0.03125 -0.4375 -0.03125
|
||||
v 0.03125 0.375 0.03125
|
||||
v 0.03125 -0.4375 0.03125
|
||||
v -0.25 -0.0625 0.25
|
||||
v -0.25 0.4375 0.25
|
||||
v -0.25 0.4375 -0.25
|
||||
v -0.25 -0.0625 -0.25
|
||||
v 0.25 0.4375 -0.25
|
||||
v 0.25 -0.0625 -0.25
|
||||
v 0.25 0.4375 0.25
|
||||
v 0.25 -0.0625 0.25
|
||||
v -0.21875 -0.0625 -0.21875
|
||||
v -0.21875 0.4375 -0.21875
|
||||
v 0.21875 0.4375 -0.21875
|
||||
v 0.21875 -0.0625 -0.21875
|
||||
v -0.21875 -0.0625 0.21875
|
||||
v -0.21875 0.4375 0.21875
|
||||
v 0.21875 0.4375 0.21875
|
||||
v 0.21875 -0.0625 0.21875
|
||||
|
||||
# normals [8]
|
||||
|
||||
vn -1 0 0
|
||||
vn 0 0 -1
|
||||
vn 1 0 0
|
||||
vn 0 0 1
|
||||
vn 0 -1 0
|
||||
vn 0 1 0
|
||||
vn 0 0.7071 0.7071
|
||||
vn 0 0.7071 -0.7071
|
||||
|
||||
# uvs [39]
|
||||
|
||||
vt 0.3125 0.0625
|
||||
vt 0.3125 0
|
||||
vt 0.6875 0
|
||||
vt 0.6875 0.0625
|
||||
vt 0.6875 0.3125
|
||||
vt 0.6875 0.6875
|
||||
vt 0.3125 0.6875
|
||||
vt 0.3125 0.3125
|
||||
vt 0.53125 0.46875
|
||||
vt 0.71875 0.46875
|
||||
vt 0.71875 0.5
|
||||
vt 0.53125 0.5
|
||||
vt 0.71875 0.53125
|
||||
vt 0.53125 0.53125
|
||||
vt 0.28125 0.46875
|
||||
vt 0.46875 0.46875
|
||||
vt 0.46875 0.5
|
||||
vt 0.28125 0.5
|
||||
vt 0.46875 0.53125
|
||||
vt 0.28125 0.53125
|
||||
vt 0.3125 0.875
|
||||
vt 0.25 0.875
|
||||
vt 0.25 0.0625
|
||||
vt 0.3125 0.53125
|
||||
vt 0.25 0.53125
|
||||
vt 0.25 0.46875
|
||||
vt 0.3125 0.46875
|
||||
vt 0 0
|
||||
vt 0 1
|
||||
vt 1 1
|
||||
vt 1 0
|
||||
vt 0.0625 0
|
||||
vt 0.0625 1
|
||||
vt 0.9375 1
|
||||
vt 0.9375 0
|
||||
vt 0.9375 0.0625
|
||||
vt 0.0625 0.0625
|
||||
vt 0.0625 0.9375
|
||||
vt 0.9375 0.9375
|
||||
|
||||
# objects [2]
|
||||
|
||||
g LampBase
|
||||
|
||||
s 1
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 4/1/2 3/2/2 5/3/2 6/4/2
|
||||
f 6/3/3 5/4/3 7/1/3 8/2/3
|
||||
f 8/3/4 7/4/4 2/1/4 1/2/4
|
||||
f 4/5/5 6/6/5 8/7/5 1/8/5
|
||||
f 5/5/6 3/6/6 2/7/6 7/8/6
|
||||
f 9/9/7 10/10/7 11/11/7 12/12/7
|
||||
f 12/12/8 11/11/8 13/13/8 14/14/8
|
||||
f 15/15/7 16/16/7 17/17/7 18/18/7
|
||||
f 18/18/8 17/17/8 19/19/8 20/20/8
|
||||
f 21/1/1 22/21/1 23/22/1 24/23/1
|
||||
f 24/1/2 23/21/2 25/22/2 26/23/2
|
||||
f 26/1/3 25/21/3 27/22/3 28/23/3
|
||||
f 28/1/4 27/21/4 22/22/4 21/23/4
|
||||
f 25/24/6 23/25/6 22/26/6 27/27/6
|
||||
|
||||
g LampShade
|
||||
|
||||
s 1
|
||||
f 29/28/1 30/29/1 31/30/1 32/31/1
|
||||
f 32/28/2 31/29/2 33/30/2 34/31/2
|
||||
f 34/31/3 33/30/3 35/29/3 36/28/3
|
||||
f 36/31/4 35/30/4 30/29/4 29/28/4
|
||||
f 37/32/2 38/33/2 39/34/2 40/35/2
|
||||
f 41/32/1 42/33/1 38/34/1 37/35/1
|
||||
f 40/32/3 39/33/3 43/34/3 44/35/3
|
||||
f 44/32/4 43/33/4 42/34/4 41/35/4
|
||||
f 30/28/6 35/31/6 43/36/6 42/37/6
|
||||
f 31/29/6 30/28/6 42/37/6 38/38/6
|
||||
f 33/30/6 31/29/6 38/38/6 39/39/6
|
||||
f 35/31/6 33/30/6 39/39/6 43/36/6
|
||||
f 29/29/5 32/28/5 37/37/5 41/38/5
|
||||
f 32/28/5 34/31/5 40/36/5 37/37/5
|
||||
f 34/31/5 36/30/5 44/39/5 40/36/5
|
||||
f 36/30/5 29/29/5 41/38/5 44/39/5
|
||||
|
|
@ -0,0 +1,115 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T19:07:59Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.93.0 OBJ File: ''
|
||||
# www.blender.org
|
||||
|
||||
# vertices [28]
|
||||
|
||||
v 0.125 -0.25 0.375
|
||||
v 0.125 0.25 0.375
|
||||
v -0.125 0.25 0.375
|
||||
v -0.125 -0.25 0.375
|
||||
v -0.125 0.25 0.125
|
||||
v -0.125 -0.25 0.125
|
||||
v 0.125 0.25 0.125
|
||||
v 0.125 -0.25 0.125
|
||||
v -0.03125 -0.34375 0.4375
|
||||
v -0.03125 -0.28125 0.4375
|
||||
v -0.03125 -0.28125 0.28125
|
||||
v -0.03125 -0.34375 0.21875
|
||||
v -0.03125 -0.25 0.28125
|
||||
v -0.03125 -0.25 0.21875
|
||||
v 0.03125 -0.34375 0.21875
|
||||
v 0.03125 -0.28125 0.28125
|
||||
v 0.03125 -0.28125 0.4375
|
||||
v 0.03125 -0.34375 0.4375
|
||||
v 0.03125 -0.25 0.21875
|
||||
v 0.03125 -0.25 0.28125
|
||||
v 0.125 -0.375 0.5
|
||||
v 0.125 0.125 0.5
|
||||
v -0.125 0.125 0.5
|
||||
v -0.125 -0.375 0.5
|
||||
v -0.125 0.125 0.4375
|
||||
v -0.125 -0.375 0.4375
|
||||
v 0.125 0.125 0.4375
|
||||
v 0.125 -0.375 0.4375
|
||||
|
||||
# normals [6]
|
||||
|
||||
vn 0 0 1
|
||||
vn -1 0 0
|
||||
vn 0 0 -1
|
||||
vn 1 0 0
|
||||
vn 0 -1 0
|
||||
vn 0 1 0
|
||||
|
||||
# uvs [41]
|
||||
|
||||
vt 1 0.5
|
||||
vt 1 1
|
||||
vt 0.75 1
|
||||
vt 0.75 0.5
|
||||
vt 0.5 1
|
||||
vt 0.5 0.5
|
||||
vt 0.25 1
|
||||
vt 0.25 0.5
|
||||
vt 0 1
|
||||
vt 0 0.5
|
||||
vt 0 0.25
|
||||
vt 0.25 0.25
|
||||
vt 0.03125 0.0625
|
||||
vt 0.03125 0.125
|
||||
vt 0.1875 0.125
|
||||
vt 0.25 0.0625
|
||||
vt 0.1875 0.15625
|
||||
vt 0.25 0.15625
|
||||
vt 0.25 0
|
||||
vt 0.03125 0
|
||||
vt 0.1875 0.25
|
||||
vt 0.03125 0.25
|
||||
vt 0.03125 0.1875
|
||||
vt 0.1875 0.1875
|
||||
vt 0.34375 0.0625
|
||||
vt 0.34375 0
|
||||
vt 0.21875 0.1875
|
||||
vt 0.21875 0.25
|
||||
vt 0.9375 0
|
||||
vt 0.9375 0.5
|
||||
vt 0.6875 0.5
|
||||
vt 0.6875 0
|
||||
vt 0.625 0.5
|
||||
vt 0.625 0
|
||||
vt 0.375 0.5
|
||||
vt 0.375 0
|
||||
vt 0.3125 0.5
|
||||
vt 0.3125 0
|
||||
vt 0.9375 0.25
|
||||
vt 1 0.25
|
||||
vt 1 0
|
||||
|
||||
# objects [1]
|
||||
|
||||
o WallLamp
|
||||
|
||||
s 1
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 4/4/2 3/3/2 5/5/2 6/6/2
|
||||
f 6/6/3 5/5/3 7/7/3 8/8/3
|
||||
f 8/8/4 7/7/4 2/9/4 1/10/4
|
||||
f 4/8/5 6/10/5 8/11/5 1/12/5
|
||||
f 5/8/6 3/10/6 2/11/6 7/12/6
|
||||
f 9/13/2 10/14/2 11/15/2 12/16/2
|
||||
f 12/16/2 11/15/2 13/17/2 14/18/2
|
||||
f 15/16/4 16/15/4 17/14/4 18/13/4
|
||||
f 9/13/5 12/16/5 15/19/5 18/20/5
|
||||
f 11/21/6 10/22/6 17/23/6 16/24/6
|
||||
f 16/15/4 15/16/4 19/18/4 20/17/4
|
||||
f 15/19/3 12/16/3 14/25/3 19/26/3
|
||||
f 11/21/1 16/24/1 20/27/1 13/28/1
|
||||
f 21/29/1 22/30/1 23/31/1 24/32/1
|
||||
f 24/32/2 23/31/2 25/33/2 26/34/2
|
||||
f 26/34/3 25/33/3 27/35/3 28/36/3
|
||||
f 28/36/4 27/35/4 22/37/4 21/38/4
|
||||
f 24/39/5 26/40/5 28/1/5 21/30/5
|
||||
f 25/29/6 23/41/6 22/40/6 27/39/6
|
||||
|
After Width: | Height: | Size: 112 B |
After Width: | Height: | Size: 246 B |
After Width: | Height: | Size: 195 B |
After Width: | Height: | Size: 118 B |
After Width: | Height: | Size: 183 B |
After Width: | Height: | Size: 187 B |
After Width: | Height: | Size: 272 B |
After Width: | Height: | Size: 265 B |
After Width: | Height: | Size: 126 B |
After Width: | Height: | Size: 275 B |
364
mods/morelights/morelights_vintage/init.lua
Normal file
|
@ -0,0 +1,364 @@
|
|||
local S = minetest.get_translator("morelights_vintage")
|
||||
|
||||
|
||||
-- Register custom brass ingot if a suitable replacement doesn't exist.
|
||||
if morelights.craft_items.brass == nil then
|
||||
morelights.craft_items.brass = "morelights_vintage:brass_ingot"
|
||||
|
||||
minetest.register_craftitem("morelights_vintage:brass_ingot", {
|
||||
description = S("Brass Ingot"),
|
||||
inventory_image = "default_steel_ingot.png^[multiply:#FFCE69"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_vintage:brass_ingot 2",
|
||||
type = "shapeless",
|
||||
recipe = {
|
||||
morelights.craft_items.copper,
|
||||
morelights.craft_items.tin
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_node("morelights_vintage:chain_b", {
|
||||
description = S("Brass Chain"),
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_chain.obj",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/16, -8/16, -1/16, 1/16, 8/16, 1/16}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/16, -8/16, -1/16, 1/16, 8/16, 1/16}
|
||||
},
|
||||
tiles = {"morelights_vintage_brass_32.png"},
|
||||
inventory_image = "morelights_vintage_chain_b_inv.png",
|
||||
wield_image = "morelights_vintage_chain_b_inv.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1,
|
||||
mounted_ceiling = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.metal,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return morelights.on_place_hanging(itemstack, placer, pointed_thing,
|
||||
"morelights_vintage:chain_ceiling_b")
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_vintage:chain_ceiling_b", {
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_chain_ceiling.obj",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-3/16, 7/16, -3/16, 3/16, 1/2, 3/16},
|
||||
{-1/16, -1/2, -1/16, 1/16, 7/16, 1/16}
|
||||
}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-3/16, 7/16, -3/16, 3/16, 1/2, 3/16},
|
||||
{-1/16, -1/2, -1/16, 1/16, 7/16, 1/16}
|
||||
}
|
||||
},
|
||||
tiles = {"morelights_vintage_brass_32.png"},
|
||||
drop = "morelights_vintage:chain_b",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy = 1,
|
||||
mounted_ceiling = 1, mounted_ceiling = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.metal
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_vintage:block", {
|
||||
description = S("Vintage Light Block"),
|
||||
tiles = {"morelights_vintage_block_glass.png^morelights_vintage_block_frame.png"},
|
||||
paramtype = "light",
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.3,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_vintage:smallblock", {
|
||||
description = S("Vintage Light Block (small)"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/4, -1/2, -1/4, 1/4, 0, 1/4}
|
||||
},
|
||||
tiles = {
|
||||
"morelights_vintage_block_glass.png^morelights_vintage_block_frame.png",
|
||||
"morelights_vintage_block_glass.png^morelights_vintage_block_frame.png",
|
||||
"[combine:16x16:0,4=" ..
|
||||
"(morelights_vintage_block_glass.png^morelights_vintage_block_frame.png)"
|
||||
},
|
||||
use_texture_alpha = "opaque",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
light_source = 12,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.glass,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return morelights.rotate_and_place(itemstack, placer, pointed_thing)
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_vintage:lantern_f", {
|
||||
description = S("Vintage Lantern (floor, wall, or ceiling)"),
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_vintage_lantern_f.obj",
|
||||
tiles = {
|
||||
"morelights_vintage_lantern_frame.png^morelights_vintage_lantern_glass.png",
|
||||
"morelights_metal_dark_32.png"
|
||||
},
|
||||
use_texture_alpha = "opaque",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-3/16, -1/2, -3/16, 3/16, 1/16, 3/16}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-3/16, -1/2, -3/16, 3/16, 1/16, 3/16}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = 12,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.glass,
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
local wdir = minetest.dir_to_wallmounted(
|
||||
vector.subtract(pointed_thing.under, pointed_thing.above))
|
||||
local fakeStack = ItemStack(itemstack)
|
||||
|
||||
if wdir == 0 then
|
||||
fakeStack:set_name("morelights_vintage:lantern_c")
|
||||
elseif wdir == 1 then
|
||||
fakeStack:set_name("morelights_vintage:lantern_f")
|
||||
else
|
||||
fakeStack:set_name("morelights_vintage:lantern_w")
|
||||
end
|
||||
|
||||
minetest.item_place(fakeStack, placer, pointed_thing, wdir)
|
||||
itemstack:set_count(fakeStack:get_count())
|
||||
|
||||
return itemstack
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_vintage:lantern_c", {
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_vintage_lantern_c.obj",
|
||||
tiles = {
|
||||
"morelights_vintage_lantern_frame.png^morelights_vintage_lantern_glass.png",
|
||||
"morelights_metal_dark_32.png"
|
||||
},
|
||||
use_texture_alpha = "opaque",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-3/16, -1/16, -3/16, 3/16, 1/2, 3/16}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-3/16, 0, -3/16, 3/16, 1/2, 3/16}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = 12,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1,
|
||||
not_in_creative_inventory = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.glass,
|
||||
drop = "morelights_vintage:lantern_f"
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_vintage:lantern_w", {
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_vintage_lantern_w.obj",
|
||||
tiles = {
|
||||
"morelights_vintage_lantern_frame.png^morelights_vintage_lantern_glass.png",
|
||||
"morelights_metal_dark_32.png"
|
||||
},
|
||||
use_texture_alpha = "clip",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-3/16, -1/4, -5/16, 3/16, 1/8, 3/16}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-3/16, -1/4, -5/16, 3/16, 1/8, 3/16}
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
light_source = 12,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1,
|
||||
not_in_creative_inventory = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.glass,
|
||||
drop = "morelights_vintage:lantern_f"
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_vintage:hangingbulb", {
|
||||
description = S("Vintage Hanging Light Bulb"),
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_vintage_hangingbulb.obj",
|
||||
tiles = {
|
||||
"morelights_vintage_hangingbulb.png" ..
|
||||
"^[lowpart:50:morelights_metal_dark_32.png"
|
||||
},
|
||||
inventory_image = "morelights_vintage_hangingbulb_inv.png",
|
||||
wield_image = "morelights_vintage_hangingbulb_inv.png",
|
||||
use_texture_alpha = "blend",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -1/8, -1/8, 1/8, 1/2, 1/8}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -1/8, -1/8, 1/8, 1/2, 1/8}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = 10,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.15,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_vintage:oillamp", {
|
||||
description = S("Vintage Oil Lamp"),
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_vintage_oillamp.obj",
|
||||
tiles = {
|
||||
{
|
||||
name = "morelights_vintage_oil_flame.png",
|
||||
animation = {
|
||||
type = "sheet_2d",
|
||||
frames_w = 16,
|
||||
frames_h = 1,
|
||||
frame_length = 0.3
|
||||
}
|
||||
},
|
||||
"morelights_vintage_oillamp.png",
|
||||
"morelights_vintage_brass_32.png"
|
||||
},
|
||||
use_texture_alpha = "clip",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -1/2, -1/8, 1/8, 1/4, 1/8}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -1/2, -1/8, 1/8, 1/4, 1/8}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = 8,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.2,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
|
||||
minetest.register_node("morelights_vintage:chandelier", {
|
||||
description = S("Vintage Chandelier"),
|
||||
drawtype = "mesh",
|
||||
mesh = "morelights_vintage_chandelier.obj",
|
||||
tiles = {
|
||||
"morelights_vintage_chandelier.png",
|
||||
"morelights_vintage_brass_32.png^[multiply:#DFDFDF"
|
||||
},
|
||||
use_texture_alpha = "clip",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-3/8, -1/2, -3/8, 3/8, 1/2, 3/8}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-3/8, -1/2, -3/8, 3/8, 1/2, 3/8}
|
||||
},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = 10,
|
||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||
_mcl_hardness = 0.3,
|
||||
sounds = morelights.sounds.glass
|
||||
})
|
||||
|
||||
--
|
||||
-- Craft recipes
|
||||
--
|
||||
|
||||
local a = morelights.craft_items
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_vintage:chain_b",
|
||||
recipe = {
|
||||
{"", a.brass, ""},
|
||||
{"", "", ""},
|
||||
{"", a.brass, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_vintage:block",
|
||||
recipe = {
|
||||
{"", a.wood_dark, ""},
|
||||
{a.glass_pane, "morelights:bulb", a.glass_pane},
|
||||
{"", a.wood_dark, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_vintage:smallblock",
|
||||
recipe = {
|
||||
{"", a.glass_pane, ""},
|
||||
{a.wood_dark, "morelights:bulb", a.wood_dark}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_vintage:lantern_f",
|
||||
recipe = {
|
||||
{"", a.steel, ""},
|
||||
{a.glass_pane, "morelights:bulb", a.glass_pane},
|
||||
{a.stick, a.steel, a.stick}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_vintage:hangingbulb",
|
||||
recipe = {
|
||||
{"", a.steel, ""},
|
||||
{"", a.copper, ""},
|
||||
{"", "morelights:bulb", ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_vintage:oillamp",
|
||||
recipe = {
|
||||
{"", a.glass, ""},
|
||||
{"", a.string, ""},
|
||||
{"", a.brass, ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "morelights_vintage:chandelier",
|
||||
recipe = {
|
||||
{"", a.brass, ""},
|
||||
{"morelights:bulb", a.brass, "morelights:bulb"},
|
||||
{a.steel, a.brass, a.steel}
|
||||
}
|
||||
})
|
10
mods/morelights/morelights_vintage/locale/template.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
# textdomain:morelights_vintage
|
||||
|
||||
Brass Ingot=
|
||||
Brass Chain=
|
||||
Vintage Light Block=
|
||||
Vintage Light Block (small)=
|
||||
Vintage Lantern (floor, wall, or ceiling)=
|
||||
Vintage Hanging Light Bulb=
|
||||
Vintage Oil Lamp=
|
||||
Vintage Chandelier=
|
3
mods/morelights/morelights_vintage/mod.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
name = morelights_vintage
|
||||
description = Provides antique and historical-style lighting nodes.
|
||||
depends = morelights
|
|
@ -0,0 +1,86 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T19:28:47Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.93.0 OBJ File: ''
|
||||
# www.blender.org
|
||||
|
||||
# vertices [22]
|
||||
|
||||
v 0.25 -0.5 -0.433013
|
||||
v 0 -0.5 0
|
||||
v 0 0.5 0
|
||||
v 0.25 0.5 -0.433013
|
||||
v -0.25 -0.5 -0.433013
|
||||
v -0.25 0.5 -0.433013
|
||||
v 0.5 -0.5 0
|
||||
v 0.5 0.5 0
|
||||
v -0.25 -0.5 0.433013
|
||||
v -0.25 0.5 0.433013
|
||||
v 0.25 -0.5 0.433013
|
||||
v 0.25 0.5 0.433013
|
||||
v -0.5 -0.5 0
|
||||
v -0.5 0.5 0
|
||||
v 0.03125 -0.375 -0.03125
|
||||
v 0.03125 -0.375 0.03125
|
||||
v -0.03125 -0.375 0.03125
|
||||
v -0.03125 -0.375 -0.03125
|
||||
v 0.03125 0.5 -0.03125
|
||||
v -0.03125 0.5 -0.03125
|
||||
v -0.03125 0.5 0.03125
|
||||
v 0.03125 0.5 0.03125
|
||||
|
||||
# normals [8]
|
||||
|
||||
vn -0.866 0 -0.5
|
||||
vn -0.866 0 0.5
|
||||
vn 0 0 -1
|
||||
vn 0 -1 0
|
||||
vn 0 1 0
|
||||
vn 1 0 0
|
||||
vn 0 0 1
|
||||
vn -1 0 0
|
||||
|
||||
# uvs [20]
|
||||
|
||||
vt 0 0
|
||||
vt 0.5 0
|
||||
vt 0.5 1
|
||||
vt 0 1
|
||||
vt 1 0
|
||||
vt 1 1
|
||||
vt 0.4375 0.0625
|
||||
vt 0.375 0.0625
|
||||
vt 0.375 0
|
||||
vt 0.4375 0
|
||||
vt 0.4375 0.9375
|
||||
vt 0.4375 1
|
||||
vt 0.375 1
|
||||
vt 0.375 0.9375
|
||||
vt 0.625 0.0625
|
||||
vt 0.625 0.9375
|
||||
vt 0.5625 0.9375
|
||||
vt 0.5625 0.0625
|
||||
vt 0.5 0.9375
|
||||
vt 0.5 0.0625
|
||||
|
||||
# objects [2]
|
||||
|
||||
g Chandelier
|
||||
|
||||
s 1
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 5/1/2 2/2/2 3/3/2 6/4/2
|
||||
f 7/1/3 2/2/3 3/3/3 8/4/3
|
||||
f 3/3/1 2/2/1 9/5/1 10/6/1
|
||||
f 3/3/2 2/2/2 11/5/2 12/6/2
|
||||
f 3/3/3 2/2/3 13/5/3 14/6/3
|
||||
|
||||
g Pole
|
||||
|
||||
s 1
|
||||
f 15/7/4 16/8/4 17/9/4 18/10/4
|
||||
f 19/11/5 20/12/5 21/13/5 22/14/5
|
||||
f 15/7/6 19/11/6 22/14/6 16/8/6
|
||||
f 16/15/7 22/16/7 21/17/7 17/18/7
|
||||
f 17/18/8 21/17/8 20/19/8 18/20/8
|
||||
f 19/11/3 15/7/3 18/20/3 20/19/3
|
||||
|
|
@ -0,0 +1,192 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T20:35:12Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.93.0 OBJ File: ''
|
||||
# www.blender.org
|
||||
|
||||
# vertices [38]
|
||||
|
||||
v -0.03125 0.34375 -0.03125
|
||||
v -0.03125 0.09375 -0.03125
|
||||
v 0 0.09375 0
|
||||
v 0 0.34375 0
|
||||
v -0.03125 0.09375 0.03125
|
||||
v -0.03125 0.34375 0.03125
|
||||
v 0.03125 0.09375 0.03125
|
||||
v 0.03125 0.34375 0.03125
|
||||
v 0.03125 0.34375 -0.03125
|
||||
v 0.03125 0.09375 -0.03125
|
||||
v 0.0625 0.03125 0.09375
|
||||
v 0.0625 0.3125 0.09375
|
||||
v -0.0625 0.3125 0.09375
|
||||
v -0.0625 0.03125 0.09375
|
||||
v 0.09375 0.03125 -0.0625
|
||||
v 0.09375 0.3125 -0.0625
|
||||
v 0.09375 0.3125 0.0625
|
||||
v 0.09375 0.03125 0.0625
|
||||
v -0.09375 0.03125 0.0625
|
||||
v -0.09375 0.3125 0.0625
|
||||
v -0.09375 0.3125 -0.0625
|
||||
v -0.09375 0.03125 -0.0625
|
||||
v -0.0625 0.03125 -0.09375
|
||||
v -0.0625 0.3125 -0.09375
|
||||
v 0.0625 0.3125 -0.09375
|
||||
v 0.0625 0.03125 -0.09375
|
||||
v -0.0625 0 0.0625
|
||||
v -0.0625 0.34375 0.0625
|
||||
v -0.0625 0 -0.0625
|
||||
v -0.0625 0.34375 -0.0625
|
||||
v 0.0625 0 0.0625
|
||||
v 0.0625 0.34375 0.0625
|
||||
v 0.0625 0 -0.0625
|
||||
v 0.0625 0.34375 -0.0625
|
||||
v -0.0625 0.5 0.0625
|
||||
v -0.0625 0.5 -0.0625
|
||||
v 0.0625 0.5 -0.0625
|
||||
v 0.0625 0.5 0.0625
|
||||
|
||||
# normals [26]
|
||||
|
||||
vn -0.7071 0 0.7071
|
||||
vn -0.7071 0 -0.7071
|
||||
vn 0 0 1
|
||||
vn 1 0 0
|
||||
vn -1 0 0
|
||||
vn 0 0 -1
|
||||
vn -0.5774 -0.5774 0.5774
|
||||
vn -0.5774 0.5774 0.5774
|
||||
vn -0.5774 -0.5774 -0.5774
|
||||
vn -0.5774 0.5774 -0.5774
|
||||
vn 0.5774 -0.5774 0.5774
|
||||
vn 0.5774 0.5774 0.5774
|
||||
vn 0.5774 -0.5774 -0.5774
|
||||
vn 0.5774 0.5774 -0.5774
|
||||
vn -0.7071 -0.7071 0
|
||||
vn -0.7071 0.7071 0
|
||||
vn 0 -0.7071 -0.7071
|
||||
vn 0 0.7071 -0.7071
|
||||
vn 0.7071 0 -0.7071
|
||||
vn 0.7071 -0.7071 0
|
||||
vn 0.7071 0.7071 0
|
||||
vn 0.7071 0 0.7071
|
||||
vn 0 -0.7071 0.7071
|
||||
vn 0 0.7071 0.7071
|
||||
vn 0 -1 0
|
||||
vn 0 1 0
|
||||
|
||||
# uvs [65]
|
||||
|
||||
vt 0 1
|
||||
vt 0 0.75
|
||||
vt 0.03125 0.75
|
||||
vt 0.03125 1
|
||||
vt 0.0625 0.75
|
||||
vt 0.0625 1
|
||||
vt 0.4375 0.65625
|
||||
vt 0.4375 0.9375
|
||||
vt 0.3125 0.9375
|
||||
vt 0.3125 0.65625
|
||||
vt 0.625 0.65625
|
||||
vt 0.625 0.9375
|
||||
vt 0.5 0.9375
|
||||
vt 0.5 0.65625
|
||||
vt 1 0.65625
|
||||
vt 1 0.9375
|
||||
vt 0.875 0.9375
|
||||
vt 0.875 0.65625
|
||||
vt 0.8125 0.65625
|
||||
vt 0.8125 0.9375
|
||||
vt 0.6875 0.9375
|
||||
vt 0.6875 0.65625
|
||||
vt 0.28125 0.59375
|
||||
vt 0.25 0.65625
|
||||
vt 0.28125 1
|
||||
vt 0.25 0.9375
|
||||
vt 0.84375 0.59375
|
||||
vt 0.84375 1
|
||||
vt 0.46875 0.59375
|
||||
vt 0.46875 1
|
||||
vt 0.65625 0.59375
|
||||
vt 0.65625 1
|
||||
vt 0.875 0.59375
|
||||
vt 1 0.59375
|
||||
vt 1 1
|
||||
vt 0.875 1
|
||||
vt 0.6875 0.59375
|
||||
vt 0.8125 0.59375
|
||||
vt 0.8125 1
|
||||
vt 0.6875 1
|
||||
vt 0.5 0.59375
|
||||
vt 0.625 0.59375
|
||||
vt 0.625 1
|
||||
vt 0.5 1
|
||||
vt 0.3125 0.59375
|
||||
vt 0.4375 0.59375
|
||||
vt 0.4375 1
|
||||
vt 0.3125 1
|
||||
vt 0.25 1
|
||||
vt 0.125 1
|
||||
vt 0.125 0.875
|
||||
vt 0.25 0.875
|
||||
vt 0.5 0
|
||||
vt 0.5 0.15625
|
||||
vt 0.375 0.15625
|
||||
vt 0.375 0
|
||||
vt 0.25 0.15625
|
||||
vt 0.25 0
|
||||
vt 0.125 0.15625
|
||||
vt 0.125 0
|
||||
vt 0 0.15625
|
||||
vt 0 0
|
||||
vt 0.125 0.28125
|
||||
vt 0 0.28125
|
||||
vt 0.25 0.28125
|
||||
|
||||
# objects [3]
|
||||
|
||||
g Light
|
||||
|
||||
s 1
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 5/5/2 6/6/2 4/4/2 3/3/2
|
||||
f 4/4/1 3/3/1 7/2/1 8/1/1
|
||||
f 3/3/2 4/4/2 9/6/2 10/5/2
|
||||
|
||||
g Bulb
|
||||
|
||||
s 1
|
||||
f 11/7/3 12/8/3 13/9/3 14/10/3
|
||||
f 15/11/4 16/12/4 17/13/4 18/14/4
|
||||
f 19/15/5 20/16/5 21/17/5 22/18/5
|
||||
f 23/19/6 24/20/6 25/21/6 26/22/6
|
||||
f 27/23/7 14/10/7 19/24/7
|
||||
f 13/9/8 28/25/8 20/26/8
|
||||
f 29/27/9 22/18/9 23/19/9
|
||||
f 30/28/10 24/20/10 21/17/10
|
||||
f 31/29/11 18/14/11 11/7/11
|
||||
f 32/30/12 12/8/12 17/13/12
|
||||
f 33/31/13 26/22/13 15/11/13
|
||||
f 34/32/14 16/12/14 25/21/14
|
||||
f 29/33/15 27/34/15 19/15/15 22/18/15
|
||||
f 14/10/1 13/9/1 20/26/1 19/24/1
|
||||
f 28/35/16 30/36/16 21/17/16 20/16/16
|
||||
f 24/20/2 23/19/2 22/18/2 21/17/2
|
||||
f 33/37/17 29/38/17 23/19/17 26/22/17
|
||||
f 30/39/18 34/40/18 25/21/18 24/20/18
|
||||
f 16/12/19 15/11/19 26/22/19 25/21/19
|
||||
f 31/41/20 33/42/20 15/11/20 18/14/20
|
||||
f 34/43/21 32/44/21 17/13/21 16/12/21
|
||||
f 12/8/22 11/7/22 18/14/22 17/13/22
|
||||
f 27/45/23 31/46/23 11/7/23 14/10/23
|
||||
f 32/47/24 28/48/24 13/9/24 12/8/24
|
||||
f 29/49/25 33/50/25 31/51/25 27/52/25
|
||||
|
||||
g Base
|
||||
|
||||
s 1
|
||||
f 28/53/5 35/54/5 36/55/5 30/56/5
|
||||
f 30/56/6 36/55/6 37/57/6 34/58/6
|
||||
f 34/58/4 37/57/4 38/59/4 32/60/4
|
||||
f 32/60/3 38/59/3 35/61/3 28/62/3
|
||||
f 30/59/25 34/63/25 32/64/25 28/61/25
|
||||
f 37/65/26 36/63/26 35/59/26 38/57/26
|
||||
|
|
@ -0,0 +1,101 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T19:35:50Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.93.0 OBJ File: ''
|
||||
# www.blender.org
|
||||
|
||||
# vertices [24]
|
||||
|
||||
v -0.125 0 0.125
|
||||
v -0.125 0.375 0.125
|
||||
v -0.125 0.375 -0.125
|
||||
v -0.125 0 -0.125
|
||||
v 0.125 0.375 -0.125
|
||||
v 0.125 0 -0.125
|
||||
v 0.125 0.375 0.125
|
||||
v 0.125 0 0.125
|
||||
v -0.15625 0.375 0.15625
|
||||
v -0.15625 0.4375 0.15625
|
||||
v -0.15625 0.4375 -0.15625
|
||||
v -0.15625 0.375 -0.15625
|
||||
v 0.15625 0.4375 -0.15625
|
||||
v 0.15625 0.375 -0.15625
|
||||
v 0.15625 0.4375 0.15625
|
||||
v 0.15625 0.375 0.15625
|
||||
v -0.0625 0.4375 0.0625
|
||||
v -0.0625 0.5 0.0625
|
||||
v -0.0625 0.5 -0.0625
|
||||
v -0.0625 0.4375 -0.0625
|
||||
v 0.0625 0.5 -0.0625
|
||||
v 0.0625 0.4375 -0.0625
|
||||
v 0.0625 0.5 0.0625
|
||||
v 0.0625 0.4375 0.0625
|
||||
|
||||
# normals [6]
|
||||
|
||||
vn -1 0 0
|
||||
vn 0 0 -1
|
||||
vn 1 0 0
|
||||
vn 0 0 1
|
||||
vn 0 -1 0
|
||||
vn 0 1 0
|
||||
|
||||
# uvs [31]
|
||||
|
||||
vt 0.75 0.5
|
||||
vt 0.75 0.875
|
||||
vt 0.5 0.875
|
||||
vt 0.5 0.5
|
||||
vt 0.25 0.875
|
||||
vt 0.25 0.5
|
||||
vt 0 0.875
|
||||
vt 0 0.5
|
||||
vt 1 0.5
|
||||
vt 1 0.875
|
||||
vt 0.75 0.25
|
||||
vt 1 0.25
|
||||
vt 0.5 0.8125
|
||||
vt 0.8125 0.8125
|
||||
vt 0.8125 0.875
|
||||
vt 0.1875 0.875
|
||||
vt 0.1875 0.8125
|
||||
vt 0.1875 0.5
|
||||
vt 1 0.375
|
||||
vt 1 0.4375
|
||||
vt 0.875 0.4375
|
||||
vt 0.875 0.375
|
||||
vt 0.75 0.4375
|
||||
vt 0.75 0.375
|
||||
vt 0.625 0.4375
|
||||
vt 0.625 0.375
|
||||
vt 0.5 0.4375
|
||||
vt 0.5 0.375
|
||||
vt 0.625 0.625
|
||||
vt 0.5 0.625
|
||||
vt 0.625 0.5
|
||||
|
||||
# objects [2]
|
||||
|
||||
g LanternGlobe
|
||||
|
||||
s 1
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 4/4/2 3/3/2 5/5/2 6/6/2
|
||||
f 6/6/3 5/5/3 7/7/3 8/8/3
|
||||
f 8/9/4 7/10/4 2/2/4 1/1/4
|
||||
f 4/11/5 6/12/5 8/9/5 1/1/5
|
||||
|
||||
g LanternMetal
|
||||
|
||||
s 1
|
||||
f 9/3/1 10/13/1 11/14/1 12/15/1
|
||||
f 12/14/2 11/15/2 13/3/2 14/13/2
|
||||
f 14/13/3 13/3/3 15/16/3 16/17/3
|
||||
f 16/16/4 15/17/4 10/13/4 9/3/4
|
||||
f 12/13/5 14/17/5 16/18/5 9/4/5
|
||||
f 13/4/6 11/13/6 10/17/6 15/18/6
|
||||
f 17/19/1 18/20/1 19/21/1 20/22/1
|
||||
f 20/22/2 19/21/2 21/23/2 22/24/2
|
||||
f 22/24/3 21/23/3 23/25/3 24/26/3
|
||||
f 24/26/4 23/25/4 18/27/4 17/28/4
|
||||
f 21/29/6 19/30/6 18/4/6 23/31/6
|
||||
|
|
@ -0,0 +1,118 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T19:37:30Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.93.0 OBJ File: ''
|
||||
# www.blender.org
|
||||
|
||||
# vertices [32]
|
||||
|
||||
v -0.125 -0.4375 0.125
|
||||
v -0.125 -0.0625 0.125
|
||||
v -0.125 -0.0625 -0.125
|
||||
v -0.125 -0.4375 -0.125
|
||||
v 0.125 -0.0625 -0.125
|
||||
v 0.125 -0.4375 -0.125
|
||||
v 0.125 -0.0625 0.125
|
||||
v 0.125 -0.4375 0.125
|
||||
v -0.15625 -0.5 0.15625
|
||||
v -0.15625 -0.4375 0.15625
|
||||
v -0.15625 -0.4375 -0.15625
|
||||
v -0.15625 -0.5 -0.15625
|
||||
v 0.15625 -0.4375 -0.15625
|
||||
v 0.15625 -0.5 -0.15625
|
||||
v 0.15625 -0.4375 0.15625
|
||||
v 0.15625 -0.5 0.15625
|
||||
v -0.15625 -0.0625 0.15625
|
||||
v -0.15625 0 0.15625
|
||||
v -0.15625 0 -0.15625
|
||||
v -0.15625 -0.0625 -0.15625
|
||||
v 0.15625 0 -0.15625
|
||||
v 0.15625 -0.0625 -0.15625
|
||||
v 0.15625 0 0.15625
|
||||
v 0.15625 -0.0625 0.15625
|
||||
v -0.0625 0 0.0625
|
||||
v -0.0625 0.0625 0.0625
|
||||
v -0.0625 0.0625 -0.0625
|
||||
v -0.0625 0 -0.0625
|
||||
v 0.0625 0.0625 -0.0625
|
||||
v 0.0625 0 -0.0625
|
||||
v 0.0625 0.0625 0.0625
|
||||
v 0.0625 0 0.0625
|
||||
|
||||
# normals [6]
|
||||
|
||||
vn -1 0 0
|
||||
vn 0 0 -1
|
||||
vn 1 0 0
|
||||
vn 0 0 1
|
||||
vn 0 -1 0
|
||||
vn 0 1 0
|
||||
|
||||
# uvs [35]
|
||||
|
||||
vt 0.75 0.5
|
||||
vt 0.75 0.875
|
||||
vt 0.5 0.875
|
||||
vt 0.5 0.5
|
||||
vt 0.25 0.875
|
||||
vt 0.25 0.5
|
||||
vt 0 0.875
|
||||
vt 0 0.5
|
||||
vt 1 0.5
|
||||
vt 1 0.875
|
||||
vt 0.5 0.1875
|
||||
vt 0.5 0.125
|
||||
vt 0.8125 0.125
|
||||
vt 0.8125 0.1875
|
||||
vt 0.1875 0.1875
|
||||
vt 0.1875 0.125
|
||||
vt 0.1875 0.5
|
||||
vt 0.5 0.8125
|
||||
vt 0.8125 0.8125
|
||||
vt 0.8125 0.875
|
||||
vt 0.1875 0.875
|
||||
vt 0.1875 0.8125
|
||||
vt 1 0.375
|
||||
vt 1 0.4375
|
||||
vt 0.875 0.4375
|
||||
vt 0.875 0.375
|
||||
vt 0.75 0.4375
|
||||
vt 0.75 0.375
|
||||
vt 0.625 0.4375
|
||||
vt 0.625 0.375
|
||||
vt 0.5 0.4375
|
||||
vt 0.5 0.375
|
||||
vt 0.625 0.625
|
||||
vt 0.5 0.625
|
||||
vt 0.625 0.5
|
||||
|
||||
# objects [2]
|
||||
|
||||
g LanternGlobe
|
||||
|
||||
s 1
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 4/4/2 3/3/2 5/5/2 6/6/2
|
||||
f 6/6/3 5/5/3 7/7/3 8/8/3
|
||||
f 8/9/4 7/10/4 2/2/4 1/1/4
|
||||
|
||||
g LanternMetal
|
||||
|
||||
s 1
|
||||
f 9/11/1 10/12/1 11/13/1 12/14/1
|
||||
f 12/13/2 11/14/2 13/11/2 14/12/2
|
||||
f 14/12/3 13/11/3 15/15/3 16/16/3
|
||||
f 16/15/4 15/16/4 10/12/4 9/11/4
|
||||
f 12/4/5 14/17/5 16/15/5 9/11/5
|
||||
f 13/11/6 11/4/6 10/17/6 15/15/6
|
||||
f 17/3/1 18/18/1 19/19/1 20/20/1
|
||||
f 20/19/2 19/20/2 21/3/2 22/18/2
|
||||
f 22/18/3 21/3/3 23/21/3 24/22/3
|
||||
f 24/21/4 23/22/4 18/18/4 17/3/4
|
||||
f 20/18/5 22/22/5 24/17/5 17/4/5
|
||||
f 21/4/6 19/18/6 18/22/6 23/17/6
|
||||
f 25/23/1 26/24/1 27/25/1 28/26/1
|
||||
f 28/26/2 27/25/2 29/27/2 30/28/2
|
||||
f 30/28/3 29/27/3 31/29/3 32/30/3
|
||||
f 32/30/4 31/29/4 26/31/4 25/32/4
|
||||
f 29/33/6 27/34/6 26/4/6 31/35/6
|
||||
|
|
@ -0,0 +1,136 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T19:39:42Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.93.0 OBJ File: ''
|
||||
# www.blender.org
|
||||
|
||||
# vertices [36]
|
||||
|
||||
v -0.125 -0.1875 -0.3125
|
||||
v -0.125 -0.1875 0.0625
|
||||
v -0.125 0.0625 0.0625
|
||||
v -0.125 0.0625 -0.3125
|
||||
v 0.125 0.0625 0.0625
|
||||
v 0.125 0.0625 -0.3125
|
||||
v 0.125 -0.1875 0.0625
|
||||
v 0.125 -0.1875 -0.3125
|
||||
v 0 -0.4375 0.3125
|
||||
v 0 -0.4375 0.0625
|
||||
v 0 0.0625 0.0625
|
||||
v 0 0.0625 0.3125
|
||||
v -0.15625 -0.21875 0.0625
|
||||
v -0.15625 -0.21875 0.125
|
||||
v -0.15625 0.09375 0.125
|
||||
v -0.15625 0.09375 0.0625
|
||||
v 0.15625 0.09375 0.125
|
||||
v 0.15625 0.09375 0.0625
|
||||
v 0.15625 -0.21875 0.125
|
||||
v 0.15625 -0.21875 0.0625
|
||||
v -0.0625 -0.125 0.125
|
||||
v -0.0625 -0.125 0.1875
|
||||
v -0.0625 0 0.1875
|
||||
v -0.0625 0 0.125
|
||||
v 0.0625 0 0.1875
|
||||
v 0.0625 0 0.125
|
||||
v 0.0625 -0.125 0.1875
|
||||
v 0.0625 -0.125 0.125
|
||||
v 0.125 -0.5 -0.125
|
||||
v 0.125 -0.5 0.375
|
||||
v -0.125 -0.5 0.375
|
||||
v -0.125 -0.5 -0.125
|
||||
v -0.125 -0.4375 0.375
|
||||
v -0.125 -0.4375 -0.125
|
||||
v 0.125 -0.4375 0.375
|
||||
v 0.125 -0.4375 -0.125
|
||||
|
||||
# normals [6]
|
||||
|
||||
vn -1 0 0
|
||||
vn 0 1 0
|
||||
vn 1 0 0
|
||||
vn 0 -1 0
|
||||
vn 0 0 -1
|
||||
vn 0 0 1
|
||||
|
||||
# uvs [47]
|
||||
|
||||
vt 0.75 0.5
|
||||
vt 0.75 0.875
|
||||
vt 0.5 0.875
|
||||
vt 0.5 0.5
|
||||
vt 0.25 0.875
|
||||
vt 0.25 0.5
|
||||
vt 0 0.875
|
||||
vt 0 0.5
|
||||
vt 1 0.5
|
||||
vt 1 0.875
|
||||
vt 0 0.25
|
||||
vt 0.5 0.25
|
||||
vt 0.75 0.25
|
||||
vt 1 0.25
|
||||
vt 0.5 0.8125
|
||||
vt 0.8125 0.8125
|
||||
vt 0.8125 0.875
|
||||
vt 0.1875 0.875
|
||||
vt 0.1875 0.8125
|
||||
vt 0.1875 0.5
|
||||
vt 1 0.375
|
||||
vt 1 0.4375
|
||||
vt 0.875 0.4375
|
||||
vt 0.875 0.375
|
||||
vt 0.75 0.4375
|
||||
vt 0.75 0.375
|
||||
vt 0.625 0.4375
|
||||
vt 0.625 0.375
|
||||
vt 0.5 0.4375
|
||||
vt 0.5 0.375
|
||||
vt 0.625 0.625
|
||||
vt 0.5 0.625
|
||||
vt 0.625 0.5
|
||||
vt 0.9375 0.25
|
||||
vt 0.9375 0.75
|
||||
vt 0.6875 0.75
|
||||
vt 0.6875 0.25
|
||||
vt 0.625 0.75
|
||||
vt 0.625 0.25
|
||||
vt 0.375 0.75
|
||||
vt 0.375 0.25
|
||||
vt 0.3125 0.75
|
||||
vt 0.3125 0.25
|
||||
vt 0.6875 0.1875
|
||||
vt 0.9375 0.1875
|
||||
vt 0.6875 0.8125
|
||||
vt 0.9375 0.8125
|
||||
|
||||
# objects [2]
|
||||
|
||||
g Lantern
|
||||
|
||||
s 1
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 4/4/2 3/3/2 5/5/2 6/6/2
|
||||
f 6/6/3 5/5/3 7/7/3 8/8/3
|
||||
f 8/9/4 7/10/4 2/2/4 1/1/4
|
||||
f 9/8/3 10/11/3 11/12/3 12/4/3
|
||||
f 4/13/5 6/14/5 8/9/5 1/1/5
|
||||
|
||||
g LanternMetal
|
||||
|
||||
s 1
|
||||
f 13/3/1 14/15/1 15/16/1 16/17/1
|
||||
f 16/16/2 15/17/2 17/3/2 18/15/2
|
||||
f 18/15/3 17/3/3 19/18/3 20/19/3
|
||||
f 20/18/4 19/19/4 14/15/4 13/3/4
|
||||
f 16/15/5 18/19/5 20/20/5 13/4/5
|
||||
f 17/4/6 15/15/6 14/19/6 19/20/6
|
||||
f 21/21/1 22/22/1 23/23/1 24/24/1
|
||||
f 24/24/2 23/23/2 25/25/2 26/26/2
|
||||
f 26/26/3 25/25/3 27/27/3 28/28/3
|
||||
f 28/28/4 27/27/4 22/29/4 21/30/4
|
||||
f 25/31/6 23/32/6 22/4/6 27/33/6
|
||||
f 29/34/4 30/35/4 31/36/4 32/37/4
|
||||
f 32/37/1 31/36/1 33/38/1 34/39/1
|
||||
f 34/39/2 33/38/2 35/40/2 36/41/2
|
||||
f 36/41/3 35/40/3 30/42/3 29/43/3
|
||||
f 32/37/5 34/44/5 36/45/5 29/34/5
|
||||
f 33/46/6 31/36/6 30/35/6 35/47/6
|
||||
|
|
@ -0,0 +1,156 @@
|
|||
# Processed with obj-simplify v1.1 (a2f5cd9) | 2021-08-06T20:28:11Z | https://github.com/jonnenauha/obj-simplify
|
||||
|
||||
# Blender v2.93.0 OBJ File: ''
|
||||
# www.blender.org
|
||||
|
||||
# vertices [40]
|
||||
|
||||
v -0.03125 -0.46875 -0.03125
|
||||
v 0.03125 -0.46875 0.03125
|
||||
v 0.03125 0.03125 0.03125
|
||||
v -0.03125 0.03125 -0.03125
|
||||
v 0.03125 -0.46875 -0.03125
|
||||
v -0.03125 -0.46875 0.03125
|
||||
v -0.03125 0.03125 0.03125
|
||||
v 0.03125 0.03125 -0.03125
|
||||
v -0.125 -0.499 0.125
|
||||
v -0.125 -0.34375 0.125
|
||||
v -0.125 -0.34375 -0.125
|
||||
v -0.125 -0.499 -0.125
|
||||
v 0.125 -0.34375 -0.125
|
||||
v 0.125 -0.499 -0.125
|
||||
v 0.125 -0.34375 0.125
|
||||
v 0.125 -0.499 0.125
|
||||
v -0.125 -0.21875 0.125
|
||||
v -0.125 0.25 0.125
|
||||
v -0.125 0.25 -0.125
|
||||
v -0.125 -0.21875 -0.125
|
||||
v 0.125 0.25 -0.125
|
||||
v 0.125 -0.21875 -0.125
|
||||
v 0.125 0.25 0.125
|
||||
v 0.125 -0.21875 0.125
|
||||
v 0.0625 -0.3125 -0.0625
|
||||
v 0.0625 -0.25 -0.0625
|
||||
v 0.0625 -0.25 0.0625
|
||||
v 0.0625 -0.3125 0.0625
|
||||
v -0.0625 -0.25 0.0625
|
||||
v -0.0625 -0.3125 0.0625
|
||||
v -0.0625 -0.25 -0.0625
|
||||
v -0.0625 -0.3125 -0.0625
|
||||
v -0.125 -0.3125 0.125
|
||||
v -0.125 -0.3125 -0.125
|
||||
v 0.125 -0.3125 -0.125
|
||||
v 0.125 -0.3125 0.125
|
||||
v -0.125 -0.25 0.125
|
||||
v -0.125 -0.25 -0.125
|
||||
v 0.125 -0.25 -0.125
|
||||
v 0.125 -0.25 0.125
|
||||
|
||||
# normals [8]
|
||||
|
||||
vn -0.7071 0 0.7071
|
||||
vn -0.7071 0 -0.7071
|
||||
vn -1 0 0
|
||||
vn 0 0 -1
|
||||
vn 1 0 0
|
||||
vn 0 0 1
|
||||
vn 0 -1 0
|
||||
vn 0 1 0
|
||||
|
||||
# uvs [54]
|
||||
|
||||
vt 0 0
|
||||
vt 1 0
|
||||
vt 1 1
|
||||
vt 0 1
|
||||
vt 0.75 0
|
||||
vt 0.75 0.15625
|
||||
vt 0.5 0.15625
|
||||
vt 0.5 0
|
||||
vt 0.25 0.15625
|
||||
vt 0.25 0
|
||||
vt 0 0.15625
|
||||
vt 1 0.15625
|
||||
vt 0.25 0.40625
|
||||
vt 0 0.40625
|
||||
vt 0.75 0.40625
|
||||
vt 0.75 0.875
|
||||
vt 0.5 0.875
|
||||
vt 0.5 0.40625
|
||||
vt 0.25 0.875
|
||||
vt 0 0.875
|
||||
vt 1 0.40625
|
||||
vt 1 0.875
|
||||
vt 0.625 0.53125
|
||||
vt 0.625 0.46875
|
||||
vt 0.75 0.46875
|
||||
vt 0.75 0.53125
|
||||
vt 0.25 0.53125
|
||||
vt 0.25 0.46875
|
||||
vt 0.375 0.46875
|
||||
vt 0.375 0.53125
|
||||
vt 0.5 0.46875
|
||||
vt 0.5 0.53125
|
||||
vt 0.25 0.78125
|
||||
vt 0.25 0.75
|
||||
vt 0.5 0.75
|
||||
vt 0.5 0.78125
|
||||
vt 0.75 0.75
|
||||
vt 0.75 0.78125
|
||||
vt 1 0.75
|
||||
vt 1 0.78125
|
||||
vt 0 0.78125
|
||||
vt 0 0.75
|
||||
vt 0 0.5
|
||||
vt 0.25 0.5
|
||||
vt 0.25 0.25
|
||||
vt 0.25 0.21875
|
||||
vt 0.5 0.21875
|
||||
vt 0.5 0.25
|
||||
vt 0.75 0.21875
|
||||
vt 0.75 0.25
|
||||
vt 1 0.21875
|
||||
vt 1 0.25
|
||||
vt 0 0.25
|
||||
vt 0 0.21875
|
||||
|
||||
# objects [3]
|
||||
|
||||
g Wick
|
||||
|
||||
s 1
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 5/1/2 6/2/2 7/3/2 8/4/2
|
||||
|
||||
g Globe
|
||||
|
||||
s 1
|
||||
f 9/5/3 10/6/3 11/7/3 12/8/3
|
||||
f 12/8/4 11/7/4 13/9/4 14/10/4
|
||||
f 14/10/5 13/9/5 15/11/5 16/1/5
|
||||
f 16/2/6 15/12/6 10/6/6 9/5/6
|
||||
f 12/13/7 14/14/7 16/11/7 9/9/7
|
||||
f 17/15/3 18/16/3 19/17/3 20/18/3
|
||||
f 20/18/4 19/17/4 21/19/4 22/13/4
|
||||
f 22/13/5 21/19/5 23/20/5 24/14/5
|
||||
f 24/21/6 23/22/6 18/16/6 17/15/6
|
||||
f 18/18/8 23/13/8 21/9/8 19/7/8
|
||||
|
||||
g Metal
|
||||
|
||||
s 1
|
||||
f 25/23/5 26/24/5 27/25/5 28/26/5
|
||||
f 28/27/6 27/28/6 29/29/6 30/30/6
|
||||
f 30/30/3 29/29/3 31/31/3 32/32/3
|
||||
f 26/24/4 25/23/4 32/32/4 31/31/4
|
||||
f 10/33/3 33/34/3 34/35/3 11/36/3
|
||||
f 11/36/4 34/35/4 35/37/4 13/38/4
|
||||
f 13/38/5 35/37/5 36/39/5 15/40/5
|
||||
f 15/41/6 36/42/6 33/34/6 10/33/6
|
||||
f 33/34/8 36/42/8 35/43/8 34/44/8
|
||||
f 37/45/3 17/46/3 20/47/3 38/48/3
|
||||
f 38/48/4 20/47/4 22/49/4 39/50/4
|
||||
f 39/50/5 22/49/5 24/51/5 40/52/5
|
||||
f 40/53/6 24/54/6 17/46/6 37/45/6
|
||||
f 38/44/7 39/43/7 40/53/7 37/45/7
|
||||
|
After Width: | Height: | Size: 252 B |
After Width: | Height: | Size: 152 B |
After Width: | Height: | Size: 272 B |
After Width: | Height: | Size: 672 B |
After Width: | Height: | Size: 268 B |
After Width: | Height: | Size: 343 B |
After Width: | Height: | Size: 1,003 B |
After Width: | Height: | Size: 306 B |
After Width: | Height: | Size: 368 B |
After Width: | Height: | Size: 191 B |
After Width: | Height: | Size: 223 B |
After Width: | Height: | Size: 438 B |
BIN
mods/morelights/screenshot.png
Normal file
After Width: | Height: | Size: 627 KiB |