Compare commits
5 Commits
1528c1f964
...
8cd81a9b10
Author | SHA1 | Date |
---|---|---|
Nathan Salapat | 8cd81a9b10 | |
Nathan Salapat | 07c2a32c17 | |
Nathan Salapat | a28fe1e48b | |
Nathan Salapat | 116047ccdf | |
Nathan Salapat | 9380a5a460 |
|
@ -3,6 +3,7 @@ Thanks for your interest in contributing to the project. In an attempt to keep t
|
|||
Code/Media
|
||||
1. This isn't a resource collecting game, and there is no crafting, so recipes and craft items aren't needed.
|
||||
2. Textures should be 32PX, please use global textures where possible. (check out lobby/nodes_passive.lua if you aren't sure what that looks like.)
|
||||
2.5 GUI textures should be set to 32px per inventory slot. So a 10x10 formspec would use a 320x320 texture for the background.
|
||||
3. 95% of all content will be in levels. This will hold all the building blocks save for the ones used in the lobby mod.
|
||||
4. Task related content will go in the tasks mod.
|
||||
5. Lighting nodes go in the lights mod.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
name = Traitor
|
||||
title = Traitor
|
||||
author = Nathan Salapat
|
||||
description = Amongst us ripoff.
|
||||
|
|
|
@ -6,42 +6,26 @@ Many commands also have shorter names that can be typed faster. For example, if
|
|||
|
||||
| Short Name | Original Name |
|
||||
|:-----------|:-------------------|
|
||||
| `//i` | `//inspect` |
|
||||
| `//rst` | `//reset` |
|
||||
| `//mk` | `//mark` |
|
||||
| `//umk` | `//unmark` |
|
||||
| `//1` | `//pos1` |
|
||||
| `//2` | `//pos2` |
|
||||
| `//c` | `//copy` |
|
||||
| `//clro` | `//clearobjects` |
|
||||
| `//cyl` | `//cylinder` |
|
||||
| `//do` | `//dome` |
|
||||
| `//fl` | `//flip` |
|
||||
| `//fp` | `//fixedpos` |
|
||||
| `//hcube` | `//hollowcube` |
|
||||
| `//hcyl` | `//hollowcylinder` |
|
||||
| `//hdo` | `//hollowdome` |
|
||||
| `//hi` | `//hide` |
|
||||
| `//hlt` | `//highlight` |
|
||||
| `//hpyr` | `//hollowpyramid` |
|
||||
| `//hspr` | `//hollowsphere` |
|
||||
| `//i` | `//inspect` |
|
||||
| `//l` | `//lua` |
|
||||
| `//lt` | `//luatransform` |
|
||||
| `//mk` | `//mark` |
|
||||
| `//m` | `//move` |
|
||||
| `//ort` | `//orient` |
|
||||
| `//pyr` | `//pyramid` |
|
||||
| `//ri` | `//replaceinverse` |
|
||||
| `//rot` | `//rotate` |
|
||||
| `//r` | `//replace` |
|
||||
| `//rsr` | `//restore` |
|
||||
| `//rst` | `//reset` |
|
||||
| `//sch` | `//stretch` |
|
||||
| `//spl` | `//spiral` |
|
||||
| `//spr` | `//sphere` |
|
||||
| `//s` | `//set` |
|
||||
| `//stk` | `//stack` |
|
||||
| `//sup` | `//suppress` |
|
||||
| `//tps` | `//transpose` |
|
||||
| `//umk` | `//unmark` |
|
||||
| `//v` | `//volume` |
|
||||
| `//s` | `//set` |
|
||||
| `//r` | `//replace` |
|
||||
| `//ri` | `//replaceinverse` |
|
||||
| `//hcube` | `//hollowcube` |
|
||||
| `//hspr` | `//hollowsphere` |
|
||||
| `//spr` | `//sphere` |
|
||||
| `//hdo` | `//hollowdome` |
|
||||
| `//do` | `//dome` |
|
||||
| `//hcyl` | `//hollowcylinder` |
|
||||
| `//cyl` | `//cylinder` |
|
||||
| `//hpyr` | `//hollowpyramid` |
|
||||
| `//pyr` | `//pyramid` |
|
||||
|
||||
### `//about`
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
WorldEdit v1.2
|
||||
WorldEdit v1.3
|
||||
==============
|
||||
The ultimate in-game world editing tool for [Minetest](http://minetest.net/)! Tons of functionality to help with building, fixing, and more.
|
||||
|
||||
|
@ -11,37 +11,40 @@ For more information, see the [forum topic](https://forum.minetest.net/viewtopic
|
|||
Installing
|
||||
----------
|
||||
|
||||
If you are using Windows, consider installing this mod using [MODSTER](https://forum.minetest.net/viewtopic.php?id=6497), a super simple mod installer that will take care of everything for you. If you are using MODSTER, skip directly to step 6 in the instructions below.
|
||||
|
||||
There is a nice installation guide over at the [Minetest Wiki](http://wiki.minetest.com/wiki/Installing_mods). Here is a short summary:
|
||||
|
||||
1. Download the mod from the [official releases page](https://github.com/Uberi/Minetest-WorldEdit/releases). The download links are labelled "Source Code". If you are using Windows, you will probably want to download the ZIP version.
|
||||
2. You should have a file named `SOMETHING.zip` or `SOMETHING.tar.gz`.
|
||||
1. Download the mod from the [official releases page](https://github.com/Uberi/Minetest-WorldEdit/releases). The download links are labelled "Source Code". If you are using Windows, you'll want to download the ZIP version.
|
||||
2. You should have a file named `Minetest-WorldEdit-x.x.zip`.
|
||||
3. Extract this file using your archiver of choice. If you are using Windows, open the ZIP file and move the folder inside to a safe place outside of the ZIP file.
|
||||
4. Make sure that you now have a folder with a file named README.md inside it. If you just have another folder inside this folder, use this nested folder instead.
|
||||
4. Make sure that you now have a folder with a file named README.md inside it. If you just have another folder inside this folder, use the nested folder instead.
|
||||
5. Move this folder into the `MINETEST_FOLDER/mods` folder, where `MINETEST_FOLDER` is the folder Minetest is located in.
|
||||
6. Open Minetest to a world selection screen.
|
||||
7. Select a world you want to use WorldEdit in by left clicking on it once, and press the **Configure** button.
|
||||
8. You should have a mod selection screen. Select the one named something like `Minetest-WorldEdit` by left clicking once and press the **Enable MP** button.
|
||||
7. Select a world you want to use WorldEdit in by left clicking on it once and press the **Configure** button.
|
||||
8. You should have a mod selection screen. Select the one named something like `Minetest-WorldEdit` by left clicking once and press the **Enable Modpack** button.
|
||||
9. Press the **Save** button. You can now use WorldEdit in that world. Repeat steps 7 to 9 to enable WorldEdit for other worlds too.
|
||||
|
||||
If you are having trouble, try asking for help in the [IRC channel](http://webchat.freenode.net/?channels=#minetest) (faster but may not always have helpers online) or ask on the [forum topic](https://forum.minetest.net/viewtopic.php?id=572) (slower but more likely to get help).
|
||||
If you are having trouble, try asking for help in the [IRC channel](https://web.libera.chat/#minetest) (faster but may not always have helpers online)
|
||||
or ask on the [forum topic](https://forum.minetest.net/viewtopic.php?id=572) (slower but more likely to get help).
|
||||
|
||||
Usage
|
||||
-----
|
||||
WorldEdit works primarily through the WorldEdit GUI and chat commands. Depending on your key bindings, you can invoke chat entry with the "t" key, and open the chat console with the "F10" key.
|
||||
WorldEdit works primarily through the WorldEdit GUI and chat commands. Depending on your key bindings, you can invoke chat entry with the "T" key and open the chat console with the "F10" key.
|
||||
|
||||
WorldEdit has a huge potential for abuse by untrusted players. Therefore, users will not be able to use WorldEdit unless they have the `worldedit` privelege. This is available by default in single player, but in multiplayer the permission must be explicitly given by someone with the right credentials, using the follwoing chat command: `/grant <player name> worldedit`. This privelege can later be removed using the following chat command: `/revoke <player name> worldedit`.
|
||||
WorldEdit has a huge potential for abuse by untrusted players. Therefore, users will not be able to use WorldEdit unless they have the `worldedit` privilege.
|
||||
This is available by default in singleplayer, but in multiplayer the permission must be explicitly given by someone with the right credentials,
|
||||
using the following chat command: `/grant <player name> worldedit`. This privilege can later be removed using the following chat command: `/revoke <player name> worldedit`.
|
||||
|
||||
Certain functions/commands such as WorldEdit `//lua` and `//luatransform` chat commands additionally require the `server` privilege. This is because it is extremely dangerous to give access to these commands to untrusted players, since they essentially are able to control the computer the server is running on. Give this privilege only to people you trust with your computer.
|
||||
Certain functions/commands such as WorldEdit `//lua` and `//luatransform` chat commands additionally require the `server` privilege.
|
||||
This is because it is extremely dangerous to give access to these commands to untrusted players, since they essentially are able to control the computer the server is running on.
|
||||
Give this privilege only to people you trust with your computer.
|
||||
|
||||
For in-game information about these commands, type `/help <command name>` in the chat. For example, to learn more about the `//copy` command, simply type `/help /copy` to display information relevant to copying a region.
|
||||
For in-game information about these commands, type `//help <command name>` in the chat. For example, to learn more about the `//copy` command, simply type `//help copy` to display information relevant to copying a region.
|
||||
|
||||
Interface
|
||||
---------
|
||||
WorldEdit is accessed in-game in two main ways.
|
||||
|
||||
The GUI adds a screen to each player's inventory that gives access to various WorldEdit functions. The [tutorial](Tutorial.md) and the [Chat Commands Reference](ChatCommands.md) may be helpful in learning to use it.
|
||||
The GUI adds a screen to each player's inventory that gives access to various WorldEdit functions. The [tutorial](Tutorial.md) may be helpful in learning to use it.
|
||||
|
||||
The chat interface adds many chat commands that perform various WorldEdit powered tasks. It is documented in the [Chat Commands Reference](ChatCommands.md).
|
||||
|
||||
|
@ -49,9 +52,11 @@ Compatibility
|
|||
-------------
|
||||
This mod supports Minetest versions 5.0 and newer. Older versions of WorldEdit may work with older versions of Minetest, but are not recommended or supported.
|
||||
|
||||
WorldEdit works quite well with other mods, and does not have any known mod conflicts.
|
||||
WorldEdit works quite well with other mods and does not have any known mod conflicts.
|
||||
|
||||
WorldEdit GUI requires one of [sfinv](https://github.com/minetest/minetest_game/tree/master/mods/sfinv) (included in minetest_game), [Unified Inventory](https://forum.minetest.net/viewtopic.php?t=12767) or [Inventory++](https://forum.minetest.net/viewtopic.php?id=6204) or [Smart Inventory](https://forum.minetest.net/viewtopic.php?t=16597).
|
||||
WorldEdit GUI requires one of [sfinv](https://github.com/minetest/minetest_game/tree/master/mods/sfinv) (included in minetest_game),
|
||||
[Unified Inventory](https://forum.minetest.net/viewtopic.php?t=12767),
|
||||
[Inventory++](https://forum.minetest.net/viewtopic.php?id=6204) or [Smart Inventory](https://forum.minetest.net/viewtopic.php?t=16597).
|
||||
|
||||
If you use any other inventory manager mods, note that they may conflict with the WorldEdit GUI. If this is the case, it may be necessary to disable them.
|
||||
|
||||
|
@ -59,7 +64,7 @@ WorldEdit API
|
|||
-------------
|
||||
WorldEdit exposes all significant functionality in a simple Lua interface.
|
||||
|
||||
Adding WorldEdit as a dependency to your mod gives you access to all of the `worldedit` functions. The API is useful for tasks such as high-performance node manipulation, alternative interfaces, and map creation.
|
||||
Adding WorldEdit as a dependency to your mod gives you access to all of the `worldedit` functions. The API is useful for tasks such as high-performance node manipulation, alternative interfaces and map creation.
|
||||
|
||||
AGPLv3 compatible mods may further include WorldEdit files in their own mods. This can be useful if a modder wishes to completely avoid any dependency on WorldEdit. Note that it is required to give credit to the authors in this case.
|
||||
|
||||
|
@ -79,13 +84,16 @@ Nodes
|
|||
-----
|
||||
Node names are required for many types of commands that identify or modify specific types of nodes. They can be specified in a number of ways.
|
||||
|
||||
First, by description - the tooltip that appears when hovering over the item in an inventory. This is case insensitive and includes values such as "Cobblestone" and "bronze block". Note that certain commands (namely, `//replace` and `//replaceinverse`) do not support descriptions that contain spaces in the `<searchnode>` field.
|
||||
First, by description - the tooltip that appears when hovering over the item in an inventory. This is case insensitive and includes values such as "Cobblestone" and "bronze block".
|
||||
Note that certain commands (namely, `//replace` and `//replaceinverse`) do not support descriptions that contain spaces in the `<searchnode>` field.
|
||||
|
||||
Second, by name - the node name that is defined by code, but without the mod name prefix. This is case sensitive and includes values such as "piston_normal_off" and "cactus". Nodes defined in the `default` mod always take precedence over other nodes when searching for the correct one, and if there are multiple possible nodes (such as "a:celery" and "b:celery"), one is chosen in no particular order.
|
||||
Second, by name - the node name that is defined by code, but without the mod name prefix. This is case sensitive and includes values such as "piston_normal_off" and "cactus".
|
||||
If there are multiple possible nodes (such as "a:celery" and "b:celery"), one is chosen in no particular order.
|
||||
|
||||
Finally, by full name - the unambiguous identifier of the node, prefixes and all. This is case sensitive and includes values such as "default:stone" and "mesecons:wire_00000000_off".
|
||||
|
||||
The node name "air" can be used anywhere a normal node name can, and acts as a blank node. This is useful for clearing or removing nodes. For example, `//set air` would remove all the nodes in the current WorldEdit region. Similarly, `//sphere 10 air`, when WorldEdit position 1 underground, would dig a large sphere out of the ground.
|
||||
The node name "air" can be used anywhere a normal node name can and acts as a blank node. This is useful for clearing or removing nodes.
|
||||
For example, `//set air` would remove all the nodes in the current WorldEdit region. Similarly, `//sphere 10 air`, when WorldEdit position 1 underground, would dig a large sphere out of the ground.
|
||||
|
||||
Regions
|
||||
-------
|
||||
|
@ -93,11 +101,11 @@ Most WorldEdit commands operate on regions. Regions are a set of two positions t
|
|||
|
||||
Each positions together define two opposing corners of the cube. With two opposing corners it is possible to determine both the location and dimensions of the region.
|
||||
|
||||
Regions are not saved between server restarts. They start off as empty regions, and cannot be used with most WorldEdit commands until they are set to valid values.
|
||||
Regions are not saved between server restarts. They start off as empty regions and cannot be used with most WorldEdit commands until they are set to valid values.
|
||||
|
||||
Markers
|
||||
-------
|
||||
Entities are used to mark the location of the WorldEdit regions. They appear as boxes containing the number 1 or 2, and represent position 1 and 2 of the WorldEdit region, respectively.
|
||||
Entities are used to mark the location of the WorldEdit regions. They appear as boxes containing the number 1 or 2 and represent the first and second position of the WorldEdit region, respectively.
|
||||
|
||||
To remove the entities, simply punch them. This does not reset the positions themselves.
|
||||
|
||||
|
@ -105,9 +113,11 @@ Schematics
|
|||
----------
|
||||
WorldEdit supports two different types of schematics.
|
||||
|
||||
The first is the WorldEdit Schematic format, with the file extension ".we", and in some older versions, ".wem". There have been several previous versions of the WorldEdit Schematic format, but WorldEdit is capable of loading any past versions, and will always support them - there is no need to worry about schematics becoming obselete.
|
||||
The first is the WorldEdit Schematic format, with the file extension ".we", and in some older versions, ".wem".
|
||||
There have been several previous versions of the WorldEdit Schematic format, but WorldEdit is capable of loading any past versions, and will always support them - there is no need to worry about schematics becoming obsolete.
|
||||
|
||||
As of version 5, WorldEdit schematics include a header. The header is seperated from the content by a colon (`:`). It contains fields seperated by commas (`,`). Currently only one field is used, which contains the version in ASCII decimal.
|
||||
As of version 5, WorldEdit schematics include a header. The header is seperated from the content by a colon (`:`). It may contain fields seperated by commas (`,`).
|
||||
Currently only one field is used, which contains the version as an ASCII decimal.
|
||||
|
||||
The current version of the WorldEdit Schematic format is essentially an array of node data tables in Lua 5.1 table syntax preceded by a header.
|
||||
Specifically it looks like this:
|
||||
|
@ -130,13 +140,15 @@ The ordering of the values and minor aspects of the syntax, such as trailing com
|
|||
|
||||
The WorldEdit Schematic format is accessed via the WorldEdit API, or WorldEdit serialization chat commands such as `//serialize` and `//deserialize`.
|
||||
|
||||
The second is the Minetest Schematic format (MTS). The details of this format may be found in the Minetest documentation and are out of the scope of this document. Access to this format is done via specialized MTS commands such as `//mtschemcreate` and `//mtschemplace`.
|
||||
The second is the Minetest Schematic format (MTS). The details of this format may be found in the Minetest documentation and are out of the scope of this document.
|
||||
Access to this format is done via specialized MTS commands such as `//mtschemcreate` and `//mtschemplace`.
|
||||
|
||||
Authors
|
||||
-------
|
||||
WorldEdit would not be possible without the contributions of many developers and designers. Below, they are listed alphabetically:
|
||||
|
||||
Alexander Weber
|
||||
ANAND
|
||||
beyondlimits
|
||||
Carter Kolwey
|
||||
cornernote
|
||||
|
@ -145,6 +157,7 @@ WorldEdit would not be possible without the contributions of many developers and
|
|||
electricface
|
||||
est31
|
||||
Eugen Wesseloh
|
||||
h3ndrik
|
||||
HybridDog
|
||||
Isidor Zeuner
|
||||
Jean-Patrick Guerrero
|
||||
|
@ -171,9 +184,9 @@ WorldEdit would not be possible without the contributions of many developers and
|
|||
|
||||
License
|
||||
-------
|
||||
Copyright 2013 sfan5, Anthony Zhang (Uberi/Temperest), and Brett O'Donnell (cornernote).
|
||||
Copyright (c) 2012 sfan5, Anthony Zhang (Uberi/Temperest), and Brett O'Donnell (cornernote).
|
||||
|
||||
This mod is licensed under the [GNU Affero General Public License](http://www.gnu.org/licenses/agpl-3.0.html).
|
||||
This mod is licensed under the [GNU Affero General Public License](https://www.gnu.org/licenses/agpl-3.0.html).
|
||||
|
||||
Basically, this means everyone is free to use, modify, and distribute the files, as long as these modifications are also licensed the same way.
|
||||
Most importantly, the Affero variant of the GPL requires you to publish your modifications in source form, even if the mod is run only on the server, and not distributed.
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
WorldEdit Tutorial
|
||||
==================
|
||||
This is a step-by-step tutorial outlining the basic usage of WorldEdit. For more information, see the [README](README.md).
|
||||
This is a step-by-step tutorial outlining the basic usage of WorldEdit.
|
||||
|
||||
Let's start with a few assumptions:
|
||||
|
||||
* You have a compatible version of Minetest working.
|
||||
* See the [README](README.md) for compatibility information.
|
||||
* You have a compatible version of Minetest working, that is 5.0 or later.
|
||||
* You have WorldEdit installed as a mod.
|
||||
* If using Windows, [MODSTER](https://forum.minetest.net/viewtopic.php?pid=101463) makes installing mods totally painless.
|
||||
* Simply download the file, extract the archive, and move it to the correct mod folder for Minetest.
|
||||
* See the installation instructions in [README](README.md) if you need more details.
|
||||
* You are familiar with the basics of the game.
|
||||
|
@ -59,7 +57,7 @@ Look at the place between the two markers: it is now filled with MESE blocks!
|
|||
|
||||
The `//set <node>` command fills the region with whatever node you want. It is a region-oriented command, which means it works inside the WorldEdit region only.
|
||||
|
||||
Now, try a few different variations, such as `//set torch`, `//set cobble`, and `//set water`.
|
||||
Now, try a few different variations, such as `//set torch`, `//set cobble`, and `//set water source`.
|
||||
|
||||
### WorldEdit GUI
|
||||
|
||||
|
@ -75,7 +73,7 @@ Look at the place between the two markers: it is now filled with MESE blocks!
|
|||
|
||||
The "Set Nodes" function fills the region with whatever node you want. It is a region-oriented command, which means it works inside the WorldEdit region only.
|
||||
|
||||
Now, try a few different variations on the node name, such as "torch", "cobble", and "water".
|
||||
Now, try a few different variations on the node name, such as "torch", "cobble", and "water source".
|
||||
|
||||
Step 3: Position commands
|
||||
-------------------------
|
||||
|
@ -117,4 +115,4 @@ A very useful command to check out is the `//save <schematic>` command, which ca
|
|||
|
||||
This only scratches the surface of what WorldEdit is capable of. Most of the functions in the WorldEdit GUI correspond to chat commands, and so the [Chat Commands Reference](ChatCommands.md) may be useful if you get stuck.
|
||||
|
||||
It is helpful to explore the various buttons in the interface and check out what they do. Learning the chat command interface is also useful if you use WorldEdit intensively - an experienced chat command user can usually work faster than an experienced WorldEdit GUI user.
|
||||
It is helpful to explore the various buttons in the interface and check out what they do. Learning the chat command interface is also useful if you use WorldEdit intensively - an experienced chat command user can usually work faster than an experienced WorldEdit GUI user.
|
||||
|
|
|
@ -38,3 +38,7 @@ if minetest.settings:get_bool("log_mods") then
|
|||
print("[WorldEdit] Loaded!")
|
||||
end
|
||||
|
||||
if minetest.settings:get_bool("worldedit_run_tests") then
|
||||
dofile(path .. "/test.lua")
|
||||
minetest.after(0, worldedit.run_tests)
|
||||
end
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
--- Worldedit.
|
||||
-- @module worldedit
|
||||
-- @release 1.2
|
||||
-- @copyright 2013 sfan5, Anthony Zhang (Uberi/Temperest), and Brett O'Donnell (cornernote).
|
||||
-- @license GNU Affero General Public License version 3 (AGPLv3)
|
||||
-- @author sfan5
|
||||
-- @author Anthony Zang (Uberi/Temperest)
|
||||
-- @author Bret O'Donnel (cornernote)
|
||||
-- @author ShadowNinja
|
||||
|
||||
|
||||
worldedit = {}
|
||||
|
||||
local ver = {major=1, minor=2}
|
||||
worldedit.version = ver
|
||||
worldedit.version_string = string.format("%d.%d", ver.major, ver.minor)
|
||||
|
||||
local path = minetest.get_modpath(minetest.get_current_modname())
|
||||
|
||||
local function load_module(path)
|
||||
local file = io.open(path, "r")
|
||||
if not file then return end
|
||||
file:close()
|
||||
return dofile(path)
|
||||
end
|
||||
|
||||
dofile(path .. "/common.lua")
|
||||
load_module(path .. "/manipulations.lua")
|
||||
load_module(path .. "/primitives.lua")
|
||||
load_module(path .. "/visualization.lua")
|
||||
load_module(path .. "/serialization.lua")
|
||||
load_module(path .. "/code.lua")
|
||||
load_module(path .. "/compatibility.lua")
|
||||
load_module(path .. "/cuboid.lua")
|
||||
|
||||
|
||||
if minetest.settings:get_bool("log_mods") then
|
||||
print("[WorldEdit] Loaded!")
|
||||
end
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
local mh = worldedit.manip_helpers
|
||||
|
||||
|
||||
--- Sets a region to `node_names`.
|
||||
-- @param pos1
|
||||
-- @param pos2
|
||||
|
@ -61,33 +62,6 @@ function worldedit.set_param2(pos1, pos2, param2)
|
|||
return worldedit.volume(pos1, pos2)
|
||||
end
|
||||
|
||||
--- Changes param2 by a constant value for each node in a region.
|
||||
-- @param pos1
|
||||
-- @param pos2
|
||||
-- @param delta Param2 value to add to each node
|
||||
-- @return The number of nodes set.
|
||||
function worldedit.add_param2(pos1, pos2, delta)
|
||||
pos1, pos2 = worldedit.sort_pos(pos1, pos2)
|
||||
|
||||
local manip, area = mh.init(pos1, pos2)
|
||||
local param2_data = manip:get_param2_data()
|
||||
local new_p2 = 0
|
||||
|
||||
-- Add delta to every node
|
||||
for i in area:iterp(pos1, pos2) do
|
||||
new_p2 = (param2_data[i] + delta) % 256
|
||||
if new_p2 < 0 then new_p2 = new_p2 + 256 end
|
||||
param2_data[i] = new_p2
|
||||
end
|
||||
|
||||
-- Update map
|
||||
manip:set_param2_data(param2_data)
|
||||
manip:write_to_map()
|
||||
manip:update_map()
|
||||
|
||||
return worldedit.volume(pos1, pos2)
|
||||
end
|
||||
|
||||
--- Replaces all instances of `search_node` with `replace_node` in a region.
|
||||
-- When `inverse` is `true`, replaces all instances that are NOT `search_node`.
|
||||
-- @return The number of nodes replaced.
|
||||
|
@ -666,10 +640,34 @@ function worldedit.clear_objects(pos1, pos2)
|
|||
|
||||
worldedit.keep_loaded(pos1, pos2)
|
||||
|
||||
local function should_delete(obj)
|
||||
-- Avoid players and WorldEdit entities
|
||||
if obj:is_player() then
|
||||
return false
|
||||
end
|
||||
local entity = obj:get_luaentity()
|
||||
return not entity or not entity.name:find("^worldedit:")
|
||||
end
|
||||
|
||||
-- Offset positions to include full nodes (positions are in the center of nodes)
|
||||
local pos1x, pos1y, pos1z = pos1.x - 0.5, pos1.y - 0.5, pos1.z - 0.5
|
||||
local pos2x, pos2y, pos2z = pos2.x + 0.5, pos2.y + 0.5, pos2.z + 0.5
|
||||
|
||||
local count = 0
|
||||
if minetest.get_objects_in_area then
|
||||
local objects = minetest.get_objects_in_area({x=pos1x, y=pos1y, z=pos1z},
|
||||
{x=pos2x, y=pos2y, z=pos2z})
|
||||
|
||||
for _, obj in pairs(objects) do
|
||||
if should_delete(obj) then
|
||||
obj:remove()
|
||||
count = count + 1
|
||||
end
|
||||
end
|
||||
return count
|
||||
end
|
||||
|
||||
-- Fallback implementation via get_objects_inside_radius
|
||||
-- Center of region
|
||||
local center = {
|
||||
x = pos1x + ((pos2x - pos1x) / 2),
|
||||
|
@ -681,12 +679,8 @@ function worldedit.clear_objects(pos1, pos2)
|
|||
(center.x - pos1x) ^ 2 +
|
||||
(center.y - pos1y) ^ 2 +
|
||||
(center.z - pos1z) ^ 2)
|
||||
local count = 0
|
||||
for _, obj in pairs(minetest.get_objects_inside_radius(center, radius)) do
|
||||
local entity = obj:get_luaentity()
|
||||
-- Avoid players and WorldEdit entities
|
||||
if not obj:is_player() and (not entity or
|
||||
not entity.name:find("^worldedit:")) then
|
||||
if should_delete(obj) then
|
||||
local pos = obj:get_pos()
|
||||
if pos.x >= pos1x and pos.x <= pos2x and
|
||||
pos.y >= pos1y and pos.y <= pos2y and
|
||||
|
|
|
@ -114,11 +114,14 @@ function worldedit.serialize(pos1, pos2)
|
|||
return LATEST_SERIALIZATION_HEADER .. result, count
|
||||
end
|
||||
|
||||
-- Contains code based on [table.save/table.load](http://lua-users.org/wiki/SaveTableToFile)
|
||||
-- by ChillCode, available under the MIT license.
|
||||
local function deserialize_workaround(content)
|
||||
local nodes
|
||||
if not jit then
|
||||
if not minetest.global_exists("jit") then
|
||||
nodes = minetest.deserialize(content, true)
|
||||
elseif not content:match("^%s*return%s*{") then
|
||||
-- The data doesn't look like we expect it to so we can't apply the workaround.
|
||||
-- hope for the best
|
||||
minetest.log("warning", "WorldEdit: deserializing data but can't apply LuaJIT workaround")
|
||||
nodes = minetest.deserialize(content, true)
|
||||
else
|
||||
-- XXX: This is a filthy hack that works surprisingly well
|
||||
|
@ -130,7 +133,7 @@ local function deserialize_workaround(content)
|
|||
local startpos, startpos1 = 1, 1
|
||||
local endpos
|
||||
while true do -- go through each individual node entry (except the last)
|
||||
startpos, endpos = escaped:find("},%s*{", startpos)
|
||||
startpos, endpos = escaped:find("}%s*,%s*{", startpos)
|
||||
if not startpos then
|
||||
break
|
||||
end
|
||||
|
|
|
@ -0,0 +1,448 @@
|
|||
---------------------
|
||||
-- Helpers
|
||||
---------------------
|
||||
|
||||
local vec = vector.new
|
||||
local vecw = function(axis, n, base)
|
||||
local ret = vec(base)
|
||||
ret[axis] = n
|
||||
return ret
|
||||
end
|
||||
local pos2str = minetest.pos_to_string
|
||||
local get_node = minetest.get_node
|
||||
local set_node = minetest.set_node
|
||||
|
||||
---------------------
|
||||
-- Nodes
|
||||
---------------------
|
||||
local air = "air"
|
||||
local testnode1
|
||||
local testnode2
|
||||
local testnode3
|
||||
-- Loads nodenames to use for tests
|
||||
local function init_nodes()
|
||||
testnode1 = minetest.registered_aliases["mapgen_stone"]
|
||||
testnode2 = minetest.registered_aliases["mapgen_dirt"]
|
||||
testnode3 = minetest.registered_aliases["mapgen_cobble"] or minetest.registered_aliases["mapgen_dirt_with_grass"]
|
||||
assert(testnode1 and testnode2 and testnode3)
|
||||
end
|
||||
-- Writes repeating pattern into given area
|
||||
local function place_pattern(pos1, pos2, pattern)
|
||||
local pos = vec()
|
||||
local node = {name=""}
|
||||
local i = 1
|
||||
for z = pos1.z, pos2.z do
|
||||
pos.z = z
|
||||
for y = pos1.y, pos2.y do
|
||||
pos.y = y
|
||||
for x = pos1.x, pos2.x do
|
||||
pos.x = x
|
||||
node.name = pattern[i]
|
||||
set_node(pos, node)
|
||||
i = i % #pattern + 1
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
---------------------
|
||||
-- Area management
|
||||
---------------------
|
||||
assert(minetest.get_mapgen_setting("mg_name") == "singlenode")
|
||||
local area = {}
|
||||
do
|
||||
local areamin, areamax
|
||||
local off
|
||||
local c_air = minetest.get_content_id(air)
|
||||
local vbuffer = {}
|
||||
-- Assign a new area for use, will emerge and then call ready()
|
||||
area.assign = function(min, max, ready)
|
||||
areamin = min
|
||||
areamax = max
|
||||
minetest.emerge_area(min, max, function(bpos, action, remaining)
|
||||
assert(action ~= minetest.EMERGE_ERRORED)
|
||||
if remaining > 0 then return end
|
||||
minetest.after(0, function()
|
||||
area.clear()
|
||||
ready()
|
||||
end)
|
||||
end)
|
||||
end
|
||||
-- Reset area contents and state
|
||||
area.clear = function()
|
||||
local vmanip = minetest.get_voxel_manip(areamin, areamax)
|
||||
local vpos1, vpos2 = vmanip:get_emerged_area()
|
||||
local vcount = (vpos2.x - vpos1.x + 1) * (vpos2.y - vpos1.y + 1) * (vpos2.z - vpos1.z + 1)
|
||||
if #vbuffer ~= vcount then
|
||||
vbuffer = {}
|
||||
for i = 1, vcount do
|
||||
vbuffer[i] = c_air
|
||||
end
|
||||
end
|
||||
vmanip:set_data(vbuffer)
|
||||
vmanip:write_to_map()
|
||||
off = vec(0, 0, 0)
|
||||
end
|
||||
-- Returns an usable area [pos1, pos2] that does not overlap previous ones
|
||||
area.get = function(sizex, sizey, sizez)
|
||||
local size
|
||||
if sizey == nil or sizez == nil then
|
||||
size = {x=sizex, y=sizex, z=sizex}
|
||||
else
|
||||
size = {x=sizex, y=sizey, z=sizez}
|
||||
end
|
||||
local pos1 = vector.add(areamin, off)
|
||||
local pos2 = vector.subtract(vector.add(pos1, size), 1)
|
||||
if pos2.x > areamax.x or pos2.y > areamax.y or pos2.z > areamax.z then
|
||||
error("Internal failure: out of space")
|
||||
end
|
||||
off = vector.add(off, size)
|
||||
return pos1, pos2
|
||||
end
|
||||
-- Returns an axis and count (= n) relative to the last-requested area that is unoccupied
|
||||
area.dir = function(n)
|
||||
local pos1 = vector.add(areamin, off)
|
||||
if pos1.x + n <= areamax.x then
|
||||
off.x = off.x + n
|
||||
return "x", n
|
||||
elseif pos1.x + n <= areamax.y then
|
||||
off.y = off.y + n
|
||||
return "y", n
|
||||
elseif pos1.z + n <= areamax.z then
|
||||
off.z = off.z + n
|
||||
return "z", n
|
||||
end
|
||||
error("Internal failure: out of space")
|
||||
end
|
||||
-- Returns [XYZ] margin (list of pos pairs) of n around last-requested area
|
||||
-- (may actually be larger but doesn't matter)
|
||||
area.margin = function(n)
|
||||
local pos1, pos2 = area.get(n)
|
||||
return {
|
||||
{ vec(areamin.x, areamin.y, pos1.z), pos2 }, -- X/Y
|
||||
{ vec(areamin.x, pos1.y, areamin.z), pos2 }, -- X/Z
|
||||
{ vec(pos1.x, areamin.y, areamin.z), pos2 }, -- Y/Z
|
||||
}
|
||||
end
|
||||
end
|
||||
-- Split an existing area into two non-overlapping [pos1, half1], [half2, pos2] parts; returns half1, half2
|
||||
area.split = function(pos1, pos2)
|
||||
local axis
|
||||
if pos2.x - pos1.x >= 1 then
|
||||
axis = "x"
|
||||
elseif pos2.y - pos1.y >= 1 then
|
||||
axis = "y"
|
||||
elseif pos2.z - pos1.z >= 1 then
|
||||
axis = "z"
|
||||
else
|
||||
error("Internal failure: area too small to split")
|
||||
end
|
||||
local hspan = math.floor((pos2[axis] - pos1[axis] + 1) / 2)
|
||||
local half1 = vecw(axis, pos1[axis] + hspan - 1, pos2)
|
||||
local half2 = vecw(axis, pos1[axis] + hspan, pos2)
|
||||
return half1, half2
|
||||
end
|
||||
|
||||
|
||||
---------------------
|
||||
-- Checks
|
||||
---------------------
|
||||
local check = {}
|
||||
-- Check that all nodes in [pos1, pos2] are the node(s) specified
|
||||
check.filled = function(pos1, pos2, nodes)
|
||||
if type(nodes) == "string" then
|
||||
nodes = { nodes }
|
||||
end
|
||||
local _, counts = minetest.find_nodes_in_area(pos1, pos2, nodes)
|
||||
local total = worldedit.volume(pos1, pos2)
|
||||
local sum = 0
|
||||
for _, n in pairs(counts) do
|
||||
sum = sum + n
|
||||
end
|
||||
if sum ~= total then
|
||||
error((total - sum) .. " " .. table.concat(nodes, ",") .. " nodes missing in " ..
|
||||
pos2str(pos1) .. " -> " .. pos2str(pos2))
|
||||
end
|
||||
end
|
||||
-- Check that none of the nodes in [pos1, pos2] are the node(s) specified
|
||||
check.not_filled = function(pos1, pos2, nodes)
|
||||
if type(nodes) == "string" then
|
||||
nodes = { nodes }
|
||||
end
|
||||
local _, counts = minetest.find_nodes_in_area(pos1, pos2, nodes)
|
||||
for nodename, n in pairs(counts) do
|
||||
if n ~= 0 then
|
||||
error(counts[nodename] .. " " .. nodename .. " nodes found in " ..
|
||||
pos2str(pos1) .. " -> " .. pos2str(pos2))
|
||||
end
|
||||
end
|
||||
end
|
||||
-- Check that all of the areas are only made of node(s) specified
|
||||
check.filled2 = function(list, nodes)
|
||||
for _, pos in ipairs(list) do
|
||||
check.filled(pos[1], pos[2], nodes)
|
||||
end
|
||||
end
|
||||
-- Check that none of the areas contain the node(s) specified
|
||||
check.not_filled2 = function(list, nodes)
|
||||
for _, pos in ipairs(list) do
|
||||
check.not_filled(pos[1], pos[2], nodes)
|
||||
end
|
||||
end
|
||||
-- Checks presence of a repeating pattern in [pos1, po2] (cf. place_pattern)
|
||||
check.pattern = function(pos1, pos2, pattern)
|
||||
local pos = vec()
|
||||
local i = 1
|
||||
for z = pos1.z, pos2.z do
|
||||
pos.z = z
|
||||
for y = pos1.y, pos2.y do
|
||||
pos.y = y
|
||||
for x = pos1.x, pos2.x do
|
||||
pos.x = x
|
||||
local node = get_node(pos)
|
||||
if node.name ~= pattern[i] then
|
||||
error(pattern[i] .. " not found at " .. pos2str(pos) .. " (i=" .. i .. ")")
|
||||
end
|
||||
i = i % #pattern + 1
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
---------------------
|
||||
-- The actual tests
|
||||
---------------------
|
||||
local tests = {}
|
||||
local function register_test(name, func, opts)
|
||||
assert(type(name) == "string")
|
||||
assert(func == nil or type(func) == "function")
|
||||
if not opts then
|
||||
opts = {}
|
||||
else
|
||||
opts = table.copy(opts)
|
||||
end
|
||||
opts.name = name
|
||||
opts.func = func
|
||||
table.insert(tests, opts)
|
||||
end
|
||||
-- How this works:
|
||||
-- register_test registers a test with a name and function
|
||||
-- The function should return if the test passes or otherwise cause a Lua error
|
||||
-- The basic structure is: get areas + do operations + check results
|
||||
-- Helpers:
|
||||
-- area.get must be used to retrieve areas that can be operated on (these will be cleared before each test)
|
||||
-- check.filled / check.not_filled can be used to check the result
|
||||
-- area.margin + check.filled2 is useful to make sure nodes weren't placed too far
|
||||
-- place_pattern + check.pattern is useful to test ops that operate on existing data
|
||||
|
||||
|
||||
register_test("Internal self-test")
|
||||
register_test("is area loaded?", function()
|
||||
local pos1, _ = area.get(1)
|
||||
assert(get_node(pos1).name == "air")
|
||||
end, {dry=true})
|
||||
|
||||
register_test("area.split", function()
|
||||
for i = 2, 6 do
|
||||
local pos1, pos2 = area.get(1, 1, i)
|
||||
local half1, half2 = area.split(pos1, pos2)
|
||||
assert(pos1.x == half1.x and pos1.y == half1.y)
|
||||
assert(half1.x == half2.x and half1.y == half2.y)
|
||||
assert(half1.z + 1 == half2.z)
|
||||
if i % 2 == 0 then
|
||||
assert((half1.z - pos1.z) == (pos2.z - half2.z)) -- divided equally
|
||||
end
|
||||
end
|
||||
end, {dry=true})
|
||||
|
||||
register_test("check.filled", function()
|
||||
local pos1, pos2 = area.get(1, 2, 1)
|
||||
set_node(pos1, {name=testnode1})
|
||||
set_node(pos2, {name=testnode2})
|
||||
check.filled(pos1, pos1, testnode1)
|
||||
check.filled(pos1, pos2, {testnode1, testnode2})
|
||||
check.not_filled(pos1, pos1, air)
|
||||
check.not_filled(pos1, pos2, {air, testnode3})
|
||||
end)
|
||||
|
||||
register_test("pattern", function()
|
||||
local pos1, pos2 = area.get(3, 2, 1)
|
||||
local pattern = {testnode1, testnode3}
|
||||
place_pattern(pos1, pos2, pattern)
|
||||
assert(get_node(pos1).name == testnode1)
|
||||
check.pattern(pos1, pos2, pattern)
|
||||
end)
|
||||
|
||||
|
||||
register_test("Generic node manipulations")
|
||||
register_test("worldedit.set", function()
|
||||
local pos1, pos2 = area.get(10)
|
||||
local m = area.margin(1)
|
||||
|
||||
worldedit.set(pos1, pos2, testnode1)
|
||||
|
||||
check.filled(pos1, pos2, testnode1)
|
||||
check.filled2(m, air)
|
||||
end)
|
||||
|
||||
register_test("worldedit.set mix", function()
|
||||
local pos1, pos2 = area.get(10)
|
||||
local m = area.margin(1)
|
||||
|
||||
worldedit.set(pos1, pos2, {testnode1, testnode2})
|
||||
|
||||
check.filled(pos1, pos2, {testnode1, testnode2})
|
||||
check.filled2(m, air)
|
||||
end)
|
||||
|
||||
register_test("worldedit.replace", function()
|
||||
local pos1, pos2 = area.get(10)
|
||||
local half1, half2 = area.split(pos1, pos2)
|
||||
|
||||
worldedit.set(pos1, half1, testnode1)
|
||||
worldedit.set(half2, pos2, testnode2)
|
||||
worldedit.replace(pos1, pos2, testnode1, testnode3)
|
||||
|
||||
check.not_filled(pos1, pos2, testnode1)
|
||||
check.filled(pos1, half1, testnode3)
|
||||
check.filled(half2, pos2, testnode2)
|
||||
end)
|
||||
|
||||
register_test("worldedit.replace inverse", function()
|
||||
local pos1, pos2 = area.get(10)
|
||||
local half1, half2 = area.split(pos1, pos2)
|
||||
|
||||
worldedit.set(pos1, half1, testnode1)
|
||||
worldedit.set(half2, pos2, testnode2)
|
||||
worldedit.replace(pos1, pos2, testnode1, testnode3, true)
|
||||
|
||||
check.filled(pos1, half1, testnode1)
|
||||
check.filled(half2, pos2, testnode3)
|
||||
end)
|
||||
|
||||
-- FIXME?: this one looks overcomplicated
|
||||
register_test("worldedit.copy", function()
|
||||
local pos1, pos2 = area.get(4)
|
||||
local axis, n = area.dir(2)
|
||||
local m = area.margin(1)
|
||||
local b = pos1[axis]
|
||||
|
||||
-- create one slice with testnode1, one with testnode2
|
||||
worldedit.set(pos1, vecw(axis, b + 1, pos2), testnode1)
|
||||
worldedit.set(vecw(axis, b + 2, pos1), pos2, testnode2)
|
||||
worldedit.copy(pos1, pos2, axis, n)
|
||||
|
||||
-- should have three slices now
|
||||
check.filled(pos1, vecw(axis, b + 1, pos2), testnode1)
|
||||
check.filled(vecw(axis, b + 2, pos1), pos2, testnode1)
|
||||
check.filled(vecw(axis, b + 4, pos1), vector.add(pos2, vecw(axis, n)), testnode2)
|
||||
check.filled2(m, "air")
|
||||
end)
|
||||
|
||||
register_test("worldedit.copy2", function()
|
||||
local pos1, pos2 = area.get(6)
|
||||
local m1 = area.margin(1)
|
||||
local pos1_, pos2_ = area.get(6)
|
||||
local m2 = area.margin(1)
|
||||
|
||||
local pattern = {testnode1, testnode2, testnode3, testnode1, testnode2}
|
||||
place_pattern(pos1, pos2, pattern)
|
||||
worldedit.copy2(pos1, pos2, vector.subtract(pos1_, pos1))
|
||||
|
||||
check.pattern(pos1, pos2, pattern)
|
||||
check.pattern(pos1_, pos2_, pattern)
|
||||
check.filled2(m1, "air")
|
||||
check.filled2(m2, "air")
|
||||
end)
|
||||
|
||||
register_test("worldedit.move (overlap)", function()
|
||||
local pos1, pos2 = area.get(7)
|
||||
local axis, n = area.dir(2)
|
||||
local m = area.margin(1)
|
||||
|
||||
local pattern = {testnode2, testnode1, testnode2, testnode3, testnode3}
|
||||
place_pattern(pos1, pos2, pattern)
|
||||
worldedit.move(pos1, pos2, axis, n)
|
||||
|
||||
check.filled(pos1, vecw(axis, pos1[axis] + n - 1, pos2), "air")
|
||||
check.pattern(vecw(axis, pos1[axis] + n, pos1), vecw(axis, pos2[axis] + n, pos2), pattern)
|
||||
check.filled2(m, "air")
|
||||
end)
|
||||
|
||||
register_test("worldedit.move", function()
|
||||
local pos1, pos2 = area.get(10)
|
||||
local axis, n = area.dir(10)
|
||||
local m = area.margin(1)
|
||||
|
||||
local pattern = {testnode1, testnode3, testnode3, testnode2}
|
||||
place_pattern(pos1, pos2, pattern)
|
||||
worldedit.move(pos1, pos2, axis, n)
|
||||
|
||||
check.filled(pos1, pos2, "air")
|
||||
check.pattern(vecw(axis, pos1[axis] + n, pos1), vecw(axis, pos2[axis] + n, pos2), pattern)
|
||||
check.filled2(m, "air")
|
||||
end)
|
||||
|
||||
-- TODO: the rest (also testing param2 + metadata)
|
||||
|
||||
|
||||
---------------------
|
||||
-- Main function
|
||||
---------------------
|
||||
worldedit.run_tests = function()
|
||||
do
|
||||
local v = minetest.get_version()
|
||||
print("Running " .. #tests .. " tests for WorldEdit " ..
|
||||
worldedit.version_string .. " on " .. v.project .. " " .. (v.hash or v.string))
|
||||
end
|
||||
|
||||
init_nodes()
|
||||
|
||||
-- emerge area from (0,0,0) ~ (56,56,56) and keep it loaded
|
||||
-- Note: making this area smaller speeds up tests
|
||||
local wanted = vec(56, 56, 56)
|
||||
for x = 0, math.floor(wanted.x/16) do
|
||||
for y = 0, math.floor(wanted.y/16) do
|
||||
for z = 0, math.floor(wanted.z/16) do
|
||||
assert(minetest.forceload_block({x=x*16, y=y*16, z=z*16}, true))
|
||||
end
|
||||
end
|
||||
end
|
||||
area.assign(vec(0, 0, 0), wanted, function()
|
||||
|
||||
local failed = 0
|
||||
for _, test in ipairs(tests) do
|
||||
if not test.func then
|
||||
local s = "---- " .. test.name .. " "
|
||||
print(s .. string.rep("-", 60 - #s))
|
||||
else
|
||||
if not test.dry then
|
||||
area.clear()
|
||||
end
|
||||
local ok, err = pcall(test.func)
|
||||
print(string.format("%-60s %s", test.name, ok and "pass" or "FAIL"))
|
||||
if not ok then
|
||||
print(" " .. err)
|
||||
failed = failed + 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
print("Done, " .. failed .. " tests failed.")
|
||||
if failed == 0 then
|
||||
io.close(io.open(minetest.get_worldpath() .. "/tests_ok", "w"))
|
||||
end
|
||||
minetest.request_shutdown()
|
||||
end)
|
||||
end
|
||||
|
||||
-- for debug purposes
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
minetest.set_player_privs(player:get_player_name(),
|
||||
minetest.string_to_privs("fly,fast,noclip,basic_debug,debug,interact"))
|
||||
end)
|
||||
minetest.register_on_punchnode(function(pos, node, puncher)
|
||||
minetest.chat_send_player(puncher:get_player_name(), pos2str(pos))
|
||||
end)
|
|
@ -1,7 +1,7 @@
|
|||
worldedit.register_command("outset", {
|
||||
params = "[h/v] <amount>",
|
||||
description = "Outset the selected region.",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local find, _, dir, amount = param:find("(%a*)%s*([+-]?%d+)")
|
||||
|
@ -40,7 +40,7 @@ worldedit.register_command("outset", {
|
|||
worldedit.register_command("inset", {
|
||||
params = "[h/v] <amount>",
|
||||
description = "Inset the selected region.",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local find, _, dir, amount = param:find("(%a*)%s*([+-]?%d+)")
|
||||
|
@ -77,7 +77,7 @@ worldedit.register_command("inset", {
|
|||
worldedit.register_command("shift", {
|
||||
params = "x/y/z/?/up/down/left/right/front/back [+/-]<amount>",
|
||||
description = "Shifts the selection area without moving its contents",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local find, _, direction, amount = param:find("([%?%l]+)%s*([+-]?%d+)")
|
||||
|
@ -112,7 +112,7 @@ worldedit.register_command("shift", {
|
|||
worldedit.register_command("expand", {
|
||||
params = "[+/-]x/y/z/?/up/down/left/right/front/back <amount> [reverse amount]",
|
||||
description = "Expands the selection in the selected absolute or relative axis",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local find, _, sign, direction, amount,
|
||||
|
@ -161,7 +161,7 @@ worldedit.register_command("expand", {
|
|||
worldedit.register_command("contract", {
|
||||
params = "[+/-]x/y/z/?/up/down/left/right/front/back <amount> [reverse amount]",
|
||||
description = "Contracts the selection in the selected absolute or relative axis",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local find, _, sign, direction, amount,
|
||||
|
@ -209,7 +209,7 @@ worldedit.register_command("contract", {
|
|||
worldedit.register_command("cubeapply", {
|
||||
params = "<size>/(<sizex> <sizey> <sizez>) <command> [parameters]",
|
||||
description = "Select a cube with side length <size> around position 1 and run <command> on region",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = function(param)
|
||||
local found, _, sidex, sidey, sidez, cmd, args =
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
minetest.register_privilege("worldedit", "Old")
|
||||
minetest.register_privilege("worldeditor", "Can use WorldEdit commands")
|
||||
minetest.register_privilege("worldedit", "Can use WorldEdit commands")
|
||||
|
||||
worldedit.pos1 = {}
|
||||
worldedit.pos2 = {}
|
||||
|
@ -65,7 +64,7 @@ end
|
|||
-- def = {
|
||||
-- privs = {}, -- Privileges needed
|
||||
-- params = "", -- Human readable parameter list (optional)
|
||||
-- -- setting params = "" will automatically provide a parse() if not given
|
||||
-- -- setting params = "" will automatically provide a parse() if not given
|
||||
-- description = "", -- Description
|
||||
-- require_pos = 0, -- Number of positions required to be set (optional)
|
||||
-- parse = function(param)
|
||||
|
@ -298,7 +297,7 @@ worldedit.register_command("help", {
|
|||
worldedit.register_command("inspect", {
|
||||
params = "[on/off/1/0/true/false/yes/no/enable/disable]",
|
||||
description = "Enable or disable node inspection",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
parse = function(param)
|
||||
if param == "on" or param == "1" or param == "true" or param == "yes" or param == "enable" or param == "" then
|
||||
return true, true
|
||||
|
@ -349,7 +348,7 @@ end)
|
|||
worldedit.register_command("reset", {
|
||||
params = "",
|
||||
description = "Reset the region so that it is empty",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
func = function(name)
|
||||
worldedit.pos1[name] = nil
|
||||
worldedit.pos2[name] = nil
|
||||
|
@ -364,7 +363,7 @@ worldedit.register_command("reset", {
|
|||
worldedit.register_command("mark", {
|
||||
params = "",
|
||||
description = "Show markers at the region positions",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
func = function(name)
|
||||
worldedit.marker_update(name)
|
||||
worldedit.player_notify(name, "region marked")
|
||||
|
@ -374,7 +373,7 @@ worldedit.register_command("mark", {
|
|||
worldedit.register_command("unmark", {
|
||||
params = "",
|
||||
description = "Hide markers if currently shown",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
func = function(name)
|
||||
local pos1, pos2 = worldedit.pos1[name], worldedit.pos2[name]
|
||||
worldedit.pos1[name] = nil
|
||||
|
@ -389,41 +388,33 @@ worldedit.register_command("unmark", {
|
|||
worldedit.register_command("pos1", {
|
||||
params = "",
|
||||
description = "Set WorldEdit region position 1 to the player's location",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
func = function(name)
|
||||
local pos = minetest.get_player_by_name(name):get_pos()
|
||||
pos.x, pos.y, pos.z = math.floor(pos.x + 0.5), math.floor(pos.y + 0.5), math.floor(pos.z + 0.5)
|
||||
if not minetest.is_protected(pos, name) or not minetest.check_player_privs(name, {server = true}) then
|
||||
worldedit.pos1[name] = pos
|
||||
worldedit.mark_pos1(name)
|
||||
worldedit.player_notify(name, "position 1 set to " .. minetest.pos_to_string(pos))
|
||||
else
|
||||
minetest.chat_send_player(name, 'Try again')
|
||||
end
|
||||
worldedit.pos1[name] = pos
|
||||
worldedit.mark_pos1(name)
|
||||
worldedit.player_notify(name, "position 1 set to " .. minetest.pos_to_string(pos))
|
||||
end,
|
||||
})
|
||||
|
||||
worldedit.register_command("pos2", {
|
||||
params = "",
|
||||
description = "Set WorldEdit region position 2 to the player's location",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
func = function(name)
|
||||
local pos = minetest.get_player_by_name(name):get_pos()
|
||||
pos.x, pos.y, pos.z = math.floor(pos.x + 0.5), math.floor(pos.y + 0.5), math.floor(pos.z + 0.5)
|
||||
if not minetest.is_protected(pos, name) or not minetest.check_player_privs(name, {server = true}) then
|
||||
worldedit.pos2[name] = pos
|
||||
worldedit.mark_pos2(name)
|
||||
worldedit.player_notify(name, "position 2 set to " .. minetest.pos_to_string(pos))
|
||||
else
|
||||
minetest.chat_send_player(name, 'Try again')
|
||||
end
|
||||
worldedit.pos2[name] = pos
|
||||
worldedit.mark_pos2(name)
|
||||
worldedit.player_notify(name, "position 2 set to " .. minetest.pos_to_string(pos))
|
||||
end,
|
||||
})
|
||||
|
||||
worldedit.register_command("p", {
|
||||
params = "set/set1/set2/get",
|
||||
description = "Set WorldEdit region, WorldEdit position 1, or WorldEdit position 2 by punching nodes, or display the current WorldEdit region",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
parse = function(param)
|
||||
if param == "set" or param == "set1" or param == "set2" or param == "get" then
|
||||
return true, param
|
||||
|
@ -458,7 +449,7 @@ worldedit.register_command("p", {
|
|||
worldedit.register_command("fixedpos", {
|
||||
params = "set1/set2 <x> <y> <z>",
|
||||
description = "Set a WorldEdit region position to the position at (<x>, <y>, <z>)",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
parse = function(param)
|
||||
local found, _, flag, x, y, z = param:find("^(set[12])%s+([+-]?%d+)%s+([+-]?%d+)%s+([+-]?%d+)$")
|
||||
if found == nil then
|
||||
|
@ -468,17 +459,13 @@ worldedit.register_command("fixedpos", {
|
|||
end,
|
||||
func = function(name, flag, pos)
|
||||
if flag == "set1" then
|
||||
if not minetest.is_protected(pos, name) then
|
||||
worldedit.pos1[name] = pos
|
||||
worldedit.mark_pos1(name)
|
||||
worldedit.player_notify(name, "position 1 set to " .. minetest.pos_to_string(pos))
|
||||
end
|
||||
worldedit.pos1[name] = pos
|
||||
worldedit.mark_pos1(name)
|
||||
worldedit.player_notify(name, "position 1 set to " .. minetest.pos_to_string(pos))
|
||||
else --flag == "set2"
|
||||
if not minetest.is_protected(pos, name) then
|
||||
worldedit.pos2[name] = pos
|
||||
worldedit.mark_pos2(name)
|
||||
worldedit.player_notify(name, "position 2 set to " .. minetest.pos_to_string(pos))
|
||||
end
|
||||
worldedit.pos2[name] = pos
|
||||
worldedit.mark_pos2(name)
|
||||
worldedit.player_notify(name, "position 2 set to " .. minetest.pos_to_string(pos))
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
@ -487,26 +474,20 @@ minetest.register_on_punchnode(function(pos, node, puncher)
|
|||
local name = puncher:get_player_name()
|
||||
if name ~= "" and worldedit.set_pos[name] ~= nil then --currently setting position
|
||||
if worldedit.set_pos[name] == "pos1" then --setting position 1
|
||||
if not minetest.is_protected(pos, puncher:get_player_name()) then
|
||||
worldedit.pos1[name] = pos
|
||||
worldedit.mark_pos1(name)
|
||||
worldedit.set_pos[name] = "pos2" --set position 2 on the next invocation
|
||||
worldedit.player_notify(name, "position 1 set to " .. minetest.pos_to_string(pos))
|
||||
end
|
||||
worldedit.pos1[name] = pos
|
||||
worldedit.mark_pos1(name)
|
||||
worldedit.set_pos[name] = "pos2" --set position 2 on the next invocation
|
||||
worldedit.player_notify(name, "position 1 set to " .. minetest.pos_to_string(pos))
|
||||
elseif worldedit.set_pos[name] == "pos1only" then --setting position 1 only
|
||||
if not minetest.is_protected(pos, puncher:get_player_name()) then
|
||||
worldedit.pos1[name] = pos
|
||||
worldedit.mark_pos1(name)
|
||||
worldedit.set_pos[name] = nil --finished setting positions
|
||||
worldedit.player_notify(name, "position 1 set to " .. minetest.pos_to_string(pos))
|
||||
end
|
||||
worldedit.pos1[name] = pos
|
||||
worldedit.mark_pos1(name)
|
||||
worldedit.set_pos[name] = nil --finished setting positions
|
||||
worldedit.player_notify(name, "position 1 set to " .. minetest.pos_to_string(pos))
|
||||
elseif worldedit.set_pos[name] == "pos2" then --setting position 2
|
||||
if not minetest.is_protected(pos, puncher:get_player_name()) then
|
||||
worldedit.pos2[name] = pos
|
||||
worldedit.mark_pos2(name)
|
||||
worldedit.set_pos[name] = nil --finished setting positions
|
||||
worldedit.player_notify(name, "position 2 set to " .. minetest.pos_to_string(pos))
|
||||
end
|
||||
worldedit.pos2[name] = pos
|
||||
worldedit.mark_pos2(name)
|
||||
worldedit.set_pos[name] = nil --finished setting positions
|
||||
worldedit.player_notify(name, "position 2 set to " .. minetest.pos_to_string(pos))
|
||||
elseif worldedit.set_pos[name] == "prob" then --setting Minetest schematic node probabilities
|
||||
worldedit.prob_pos[name] = pos
|
||||
minetest.show_formspec(puncher:get_player_name(), "prob_val_enter", "field[text;;]")
|
||||
|
@ -514,11 +495,10 @@ minetest.register_on_punchnode(function(pos, node, puncher)
|
|||
end
|
||||
end)
|
||||
|
||||
|
||||
worldedit.register_command("volume", {
|
||||
params = "",
|
||||
description = "Display the volume of the current WorldEdit region",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
func = function(name)
|
||||
local pos1, pos2 = worldedit.pos1[name], worldedit.pos2[name]
|
||||
|
@ -535,7 +515,7 @@ worldedit.register_command("volume", {
|
|||
worldedit.register_command("deleteblocks", {
|
||||
params = "",
|
||||
description = "remove all MapBlocks (16x16x16) containing the selected area from the map",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
nodes_needed = check_region,
|
||||
func = function(name)
|
||||
|
@ -552,7 +532,7 @@ worldedit.register_command("deleteblocks", {
|
|||
worldedit.register_command("set", {
|
||||
params = "<node>",
|
||||
description = "Set the current WorldEdit region to <node>",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local node = worldedit.normalize_nodename(param)
|
||||
|
@ -571,7 +551,7 @@ worldedit.register_command("set", {
|
|||
worldedit.register_command("param2", {
|
||||
params = "<param2>",
|
||||
description = "Set param2 of all nodes in the current WorldEdit region to <param2>",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local param2 = tonumber(param)
|
||||
|
@ -589,44 +569,10 @@ worldedit.register_command("param2", {
|
|||
end,
|
||||
})
|
||||
|
||||
--[[
|
||||
//pbrush: special command for the "Traitor" game.
|
||||
|
||||
Simulates using Traitor's "PaintBrush" tool on a WorldEdit region.
|
||||
]]--
|
||||
worldedit.register_command("pbrush", {
|
||||
params = "+ / - / [+/-]<steps>",
|
||||
description = minetest.formspec_escape(
|
||||
"Increase/decrease the color tone of all suitable nodes in the current WorldEdit region.\n"
|
||||
.. "Suitable nodes are those that can be colored using the PaintBrush tool "
|
||||
.. "(e.g. the blocks in the 'color' namespace).\n"
|
||||
.. "Using + or - changes the color once; use <steps> for multiple steps.\n"
|
||||
.. "Note that <steps> should be at most 7, higher values are ignored."),
|
||||
privs = {worldeditor=true, creative=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local found, _, sign, steps = param:find("([+-]?)(%d?)")
|
||||
local delta = 32
|
||||
|
||||
if found == nil then return false end
|
||||
if steps ~= nil and steps ~= "" then
|
||||
local count = tonumber(steps) % 8
|
||||
delta = 32 * count
|
||||
end
|
||||
if sign == "-" then delta = -delta end
|
||||
return true, delta
|
||||
end,
|
||||
nodes_needed = check_region,
|
||||
func = function(name, delta)
|
||||
local count = worldedit.add_param2(worldedit.pos1[name], worldedit.pos2[name], delta)
|
||||
worldedit.player_notify(name, count .. " nodes altered")
|
||||
end,
|
||||
})
|
||||
|
||||
worldedit.register_command("mix", {
|
||||
params = "<node1> [count1] <node2> [count2] ...",
|
||||
description = "Fill the current WorldEdit region with a random mix of <node1>, ...",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local nodes = {}
|
||||
|
@ -676,7 +622,7 @@ end
|
|||
worldedit.register_command("replace", {
|
||||
params = "<search node> <replace node>",
|
||||
description = "Replace all instances of <search node> with <replace node> in the current WorldEdit region",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = check_replace,
|
||||
nodes_needed = check_region,
|
||||
|
@ -690,7 +636,7 @@ worldedit.register_command("replace", {
|
|||
worldedit.register_command("replaceinverse", {
|
||||
params = "<search node> <replace node>",
|
||||
description = "Replace all nodes other than <search node> with <replace node> in the current WorldEdit region",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = check_replace,
|
||||
nodes_needed = check_region,
|
||||
|
@ -716,7 +662,7 @@ end
|
|||
worldedit.register_command("hollowcube", {
|
||||
params = "<width> <height> <length> <node>",
|
||||
description = "Add a hollow cube with its ground level centered at WorldEdit position 1 with dimensions <width> x <height> x <length>, composed of <node>.",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = check_cube,
|
||||
nodes_needed = function(name, w, h, l, node)
|
||||
|
@ -731,7 +677,7 @@ worldedit.register_command("hollowcube", {
|
|||
worldedit.register_command("cube", {
|
||||
params = "<width> <height> <length> <node>",
|
||||
description = "Add a cube with its ground level centered at WorldEdit position 1 with dimensions <width> x <height> x <length>, composed of <node>.",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = check_cube,
|
||||
nodes_needed = function(name, w, h, l, node)
|
||||
|
@ -758,7 +704,7 @@ end
|
|||
worldedit.register_command("hollowsphere", {
|
||||
params = "<radius> <node>",
|
||||
description = "Add hollow sphere centered at WorldEdit position 1 with radius <radius>, composed of <node>",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = check_sphere,
|
||||
nodes_needed = function(name, radius, node)
|
||||
|
@ -773,7 +719,7 @@ worldedit.register_command("hollowsphere", {
|
|||
worldedit.register_command("sphere", {
|
||||
params = "<radius> <node>",
|
||||
description = "Add sphere centered at WorldEdit position 1 with radius <radius>, composed of <node>",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = check_sphere,
|
||||
nodes_needed = function(name, radius, node)
|
||||
|
@ -800,7 +746,7 @@ end
|
|||
worldedit.register_command("hollowdome", {
|
||||
params = "<radius> <node>",
|
||||
description = "Add hollow dome centered at WorldEdit position 1 with radius <radius>, composed of <node>",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = check_dome,
|
||||
nodes_needed = function(name, radius, node)
|
||||
|
@ -815,7 +761,7 @@ worldedit.register_command("hollowdome", {
|
|||
worldedit.register_command("dome", {
|
||||
params = "<radius> <node>",
|
||||
description = "Add dome centered at WorldEdit position 1 with radius <radius>, composed of <node>",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = check_dome,
|
||||
nodes_needed = function(name, radius, node)
|
||||
|
@ -848,7 +794,7 @@ end
|
|||
worldedit.register_command("hollowcylinder", {
|
||||
params = "x/y/z/? <length> <radius1> [radius2] <node>",
|
||||
description = "Add hollow cylinder at WorldEdit position 1 along the given axis with length <length>, base radius <radius1> (and top radius [radius2]), composed of <node>",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = check_cylinder,
|
||||
nodes_needed = function(name, axis, length, radius1, radius2, node)
|
||||
|
@ -869,7 +815,7 @@ worldedit.register_command("hollowcylinder", {
|
|||
worldedit.register_command("cylinder", {
|
||||
params = "x/y/z/? <length> <radius1> [radius2] <node>",
|
||||
description = "Add cylinder at WorldEdit position 1 along the given axis with length <length>, base radius <radius1> (and top radius [radius2]), composed of <node>",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = check_cylinder,
|
||||
nodes_needed = function(name, axis, length, radius1, radius2, node)
|
||||
|
@ -898,11 +844,11 @@ local check_pyramid = function(param)
|
|||
end
|
||||
return true, axis, tonumber(height), node
|
||||
end
|
||||
|
||||
|
||||
worldedit.register_command("hollowpyramid", {
|
||||
params = "x/y/z/? <height> <node>",
|
||||
description = "Add hollow pyramid centered at WorldEdit position 1 along the given axis with height <height>, composed of <node>",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = check_pyramid,
|
||||
nodes_needed = function(name, axis, height, node)
|
||||
|
@ -922,7 +868,7 @@ worldedit.register_command("hollowpyramid", {
|
|||
worldedit.register_command("pyramid", {
|
||||
params = "x/y/z/? <height> <node>",
|
||||
description = "Add pyramid centered at WorldEdit position 1 along the given axis with height <height>, composed of <node>",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = check_pyramid,
|
||||
nodes_needed = function(name, axis, height, node)
|
||||
|
@ -942,7 +888,7 @@ worldedit.register_command("pyramid", {
|
|||
worldedit.register_command("spiral", {
|
||||
params = "<length> <height> <space> <node>",
|
||||
description = "Add spiral centered at WorldEdit position 1 with side length <length>, height <height>, space between walls <space>, composed of <node>",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = function(param)
|
||||
local found, _, length, height, space, nodename = param:find("^(%d+)%s+(%d+)%s+(%d+)%s+(.+)$")
|
||||
|
@ -967,7 +913,7 @@ worldedit.register_command("spiral", {
|
|||
worldedit.register_command("copy", {
|
||||
params = "x/y/z/? <amount>",
|
||||
description = "Copy the current WorldEdit region along the given axis by <amount> nodes",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local found, _, axis, amount = param:find("^([xyz%?])%s+([+-]?%d+)$")
|
||||
|
@ -994,7 +940,7 @@ worldedit.register_command("copy", {
|
|||
worldedit.register_command("move", {
|
||||
params = "x/y/z/? <amount>",
|
||||
description = "Move the current WorldEdit region along the given axis by <amount> nodes",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local found, _, axis, amount = param:find("^([xyz%?])%s+([+-]?%d+)$")
|
||||
|
@ -1026,7 +972,7 @@ worldedit.register_command("move", {
|
|||
worldedit.register_command("stack", {
|
||||
params = "x/y/z/? <count>",
|
||||
description = "Stack the current WorldEdit region along the given axis <count> times",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local found, _, axis, repetitions = param:find("^([xyz%?])%s+([+-]?%d+)$")
|
||||
|
@ -1056,7 +1002,7 @@ worldedit.register_command("stack", {
|
|||
worldedit.register_command("stack2", {
|
||||
params = "<count> <x> <y> <z>",
|
||||
description = "Stack the current WorldEdit region <count> times by offset <x>, <y>, <z>",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local repetitions, incs = param:match("(%d+)%s*(.+)")
|
||||
|
@ -1086,7 +1032,7 @@ worldedit.register_command("stack2", {
|
|||
worldedit.register_command("stretch", {
|
||||
params = "<stretchx> <stretchy> <stretchz>",
|
||||
description = "Scale the current WorldEdit positions and region by a factor of <stretchx>, <stretchy>, <stretchz> along the X, Y, and Z axes, repectively, with position 1 as the origin",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local found, _, stretchx, stretchy, stretchz = param:find("^(%d+)%s+(%d+)%s+(%d+)$")
|
||||
|
@ -1118,7 +1064,7 @@ worldedit.register_command("stretch", {
|
|||
worldedit.register_command("transpose", {
|
||||
params = "x/y/z/? x/y/z/?",
|
||||
description = "Transpose the current WorldEdit region along the given axes",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local found, _, axis1, axis2 = param:find("^([xyz%?])%s+([xyz%?])$")
|
||||
|
@ -1148,7 +1094,7 @@ worldedit.register_command("transpose", {
|
|||
worldedit.register_command("flip", {
|
||||
params = "x/y/z/?",
|
||||
description = "Flip the current WorldEdit region along the given axis",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
if param ~= "x" and param ~= "y" and param ~= "z" and param ~= "?" then
|
||||
|
@ -1167,7 +1113,7 @@ worldedit.register_command("flip", {
|
|||
worldedit.register_command("rotate", {
|
||||
params = "x/y/z/? <angle>",
|
||||
description = "Rotate the current WorldEdit region around the given axis by angle <angle> (90 degree increment)",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local found, _, axis, angle = param:find("^([xyz%?])%s+([+-]?%d+)$")
|
||||
|
@ -1198,7 +1144,7 @@ worldedit.register_command("rotate", {
|
|||
worldedit.register_command("orient", {
|
||||
params = "<angle>",
|
||||
description = "Rotate oriented nodes in the current WorldEdit region around the Y axis by angle <angle> (90 degree increment)",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local found, _, angle = param:find("^([+-]?%d+)$")
|
||||
|
@ -1221,7 +1167,7 @@ worldedit.register_command("orient", {
|
|||
worldedit.register_command("fixlight", {
|
||||
params = "",
|
||||
description = "Fix the lighting in the current WorldEdit region",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
nodes_needed = check_region,
|
||||
func = function(name)
|
||||
|
@ -1233,7 +1179,7 @@ worldedit.register_command("fixlight", {
|
|||
worldedit.register_command("drain", {
|
||||
params = "",
|
||||
description = "Remove any fluid node within the current WorldEdit region",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
nodes_needed = check_region,
|
||||
func = function(name)
|
||||
|
@ -1325,7 +1271,7 @@ end
|
|||
worldedit.register_command("clearcut", {
|
||||
params = "",
|
||||
description = "Remove any plant, tree or foilage-like nodes in the selected region",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
nodes_needed = check_region,
|
||||
func = function(name)
|
||||
|
@ -1338,7 +1284,7 @@ worldedit.register_command("clearcut", {
|
|||
worldedit.register_command("hide", {
|
||||
params = "",
|
||||
description = "Hide all nodes in the current WorldEdit region non-destructively",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
nodes_needed = check_region,
|
||||
func = function(name)
|
||||
|
@ -1350,7 +1296,7 @@ worldedit.register_command("hide", {
|
|||
worldedit.register_command("suppress", {
|
||||
params = "<node>",
|
||||
description = "Suppress all <node> in the current WorldEdit region non-destructively",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local node = worldedit.normalize_nodename(param)
|
||||
|
@ -1369,7 +1315,7 @@ worldedit.register_command("suppress", {
|
|||
worldedit.register_command("highlight", {
|
||||
params = "<node>",
|
||||
description = "Highlight <node> in the current WorldEdit region by hiding everything else non-destructively",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
local node = worldedit.normalize_nodename(param)
|
||||
|
@ -1388,7 +1334,7 @@ worldedit.register_command("highlight", {
|
|||
worldedit.register_command("restore", {
|
||||
params = "",
|
||||
description = "Restores nodes hidden with WorldEdit in the current WorldEdit region",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
nodes_needed = check_region,
|
||||
func = function(name)
|
||||
|
@ -1417,7 +1363,7 @@ end
|
|||
worldedit.register_command("save", {
|
||||
params = "<file>",
|
||||
description = "Save the current WorldEdit region to \"(world folder)/schems/<file>.we\"",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
if param == "" then
|
||||
|
@ -1455,7 +1401,7 @@ worldedit.register_command("save", {
|
|||
worldedit.register_command("allocate", {
|
||||
params = "<file>",
|
||||
description = "Set the region defined by nodes from \"(world folder)/schems/<file>.we\" as the current WorldEdit region",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = function(param)
|
||||
if param == "" then
|
||||
|
@ -1504,7 +1450,7 @@ worldedit.register_command("allocate", {
|
|||
worldedit.register_command("load", {
|
||||
params = "<file>",
|
||||
description = "Load nodes from \"(world folder)/schems/<file>[.we[m]]\" with position 1 of the current WorldEdit region as the origin",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = function(param)
|
||||
if param == "" then
|
||||
|
@ -1565,7 +1511,7 @@ worldedit.register_command("load", {
|
|||
worldedit.register_command("lua", {
|
||||
params = "<code>",
|
||||
description = "Executes <code> as a Lua chunk in the global namespace",
|
||||
privs = {worldeditor=true, server=true},
|
||||
privs = {worldedit=true, server=true},
|
||||
parse = function(param)
|
||||
return true, param
|
||||
end,
|
||||
|
@ -1584,7 +1530,7 @@ worldedit.register_command("lua", {
|
|||
worldedit.register_command("luatransform", {
|
||||
params = "<code>",
|
||||
description = "Executes <code> as a Lua chunk in the global namespace with the variable pos available, for each node in the current WorldEdit region",
|
||||
privs = {worldeditor=true, server=true},
|
||||
privs = {worldedit=true, server=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
return true, param
|
||||
|
@ -1606,7 +1552,7 @@ worldedit.register_command("mtschemcreate", {
|
|||
params = "<file>",
|
||||
description = "Save the current WorldEdit region using the Minetest "..
|
||||
"Schematic format to \"(world folder)/schems/<filename>.mts\"",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
parse = function(param)
|
||||
if param == "" then
|
||||
|
@ -1639,7 +1585,7 @@ worldedit.register_command("mtschemcreate", {
|
|||
worldedit.register_command("mtschemplace", {
|
||||
params = "<file>",
|
||||
description = "Load nodes from \"(world folder)/schems/<file>.mts\" with position 1 of the current WorldEdit region as the origin",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 1,
|
||||
parse = function(param)
|
||||
if param == "" then
|
||||
|
@ -1666,7 +1612,7 @@ worldedit.register_command("mtschemplace", {
|
|||
worldedit.register_command("mtschemprob", {
|
||||
params = "start/finish/get",
|
||||
description = "Begins node probability entry for Minetest schematics, gets the nodes that have probabilities set, or ends node probability entry",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
parse = function(param)
|
||||
if param ~= "start" and param ~= "finish" and param ~= "get" then
|
||||
return false, "unknown subcommand: " .. param
|
||||
|
@ -1709,7 +1655,7 @@ end)
|
|||
worldedit.register_command("clearobjects", {
|
||||
params = "",
|
||||
description = "Clears all objects within the WorldEdit region",
|
||||
privs = {worldeditor=true, creative=true},
|
||||
privs = {worldedit=true},
|
||||
require_pos = 2,
|
||||
nodes_needed = check_region,
|
||||
func = function(name)
|
||||
|
|
|
@ -123,48 +123,6 @@ worldedit.marker_update = function(name)
|
|||
worldedit.mark_region(name)
|
||||
end
|
||||
|
||||
--[[
|
||||
Determines if the thing currently being pointed at is one of the following:
|
||||
- one of the Worldedit position boxes to delimit a Worldedit region
|
||||
- one of the special cubes that Worldedit puts at certain nodes to
|
||||
visualize the bounds of a selection region
|
||||
|
||||
The function uses knowledge about the internal structure of the Worldedit
|
||||
regions. Also, it uses the API function "ObjectRef:get_entity_name" to
|
||||
determine the registered names of the object pointed at. However, the
|
||||
documentation states that this function will be removed in the future[1].
|
||||
--------------------------------------------------------------------------
|
||||
[1] https://minetest.gitlab.io/minetest/class-reference/#objectref
|
||||
--]]
|
||||
worldedit.is_marker_region = function(pointed_thing)
|
||||
if pointed_thing ~= nil and pointed_thing.type ~= nil then
|
||||
if pointed_thing.type == 'object' and pointed_thing.ref ~= nil then
|
||||
local ref = pointed_thing.ref
|
||||
|
||||
if ref.get_entity_name ~= nil then
|
||||
local objname = ref:get_entity_name()
|
||||
|
||||
if objname == 'worldedit:region_cube' or
|
||||
objname == 'worldedit:pos1' or
|
||||
objname == 'worldedit:pos2' then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
--[[
|
||||
Returns true if `user` is the owner of the Worldedit marker region
|
||||
currently being pointed at.
|
||||
--]]
|
||||
worldedit.is_region_owner = function(pointed_thing, user)
|
||||
local region_ref = pointed_thing.ref
|
||||
local region_entity = region_ref:get_luaentity()
|
||||
return (user == region_entity.player_name)
|
||||
end
|
||||
|
||||
minetest.register_entity(":worldedit:pos1", {
|
||||
initial_properties = {
|
||||
visual = "cube",
|
||||
|
|
|
@ -11,7 +11,7 @@ local gui_count2 = {} --mapping of player names to a quantity (arbitrary strings
|
|||
local gui_count3 = {} --mapping of player names to a quantity (arbitrary strings may also appear as values)
|
||||
local gui_angle = {} --mapping of player names to an angle (one of 90, 180, 270, representing the angle in degrees clockwise)
|
||||
local gui_filename = {} --mapping of player names to file names
|
||||
local gui_param2 = {}
|
||||
local gui_param2 = {} --mapping of player names to param2 values
|
||||
|
||||
--set default values
|
||||
setmetatable(gui_nodename1, {__index = function() return "Cobblestone" end})
|
||||
|
@ -913,10 +913,10 @@ worldedit.register_gui_function("worldedit_gui_param2", {
|
|||
get_formspec = function(name)
|
||||
local value = gui_param2[name] or "0"
|
||||
return "size[6.5,3]" .. worldedit.get_formspec_header("worldedit_gui_param2") ..
|
||||
'textarea[0.5,1;5,2;;;Some values make break the node!]'..
|
||||
"textarea[0.5,1;5,2;;;Some values may break the node!]"..
|
||||
string.format("field[0.5,2.5;2,0.8;worldedit_gui_param2_value;New Param2;%s]", minetest.formspec_escape(value)) ..
|
||||
"field_close_on_enter[worldedit_gui_copy_move_amount;false]" ..
|
||||
"button_exit[3.5,2.5;3,0.8;worldedit_gui_param2;Set Param2]"
|
||||
"field_close_on_enter[worldedit_gui_param2_value;false]" ..
|
||||
"button_exit[3.5,2.5;3,0.8;worldedit_gui_param2_submit;Set Param2]"
|
||||
end,
|
||||
})
|
||||
|
||||
|
@ -925,10 +925,11 @@ worldedit.register_gui_handler("worldedit_gui_param2", function(name, fields)
|
|||
worldedit_gui_param2_value = gui_param2,
|
||||
}
|
||||
local ret = handle_changes(name, "worldedit_gui_param2", fields, cg)
|
||||
if fields.worldedit_gui_param2_value then
|
||||
if fields.worldedit_gui_param2_submit then
|
||||
copy_changes(name, fields, cg)
|
||||
worldedit.show_page(name, "worldedit_gui_param2")
|
||||
execute_worldedit_command('param2', name, gui_param2[name])
|
||||
|
||||
execute_worldedit_command("param2", name, gui_param2[name])
|
||||
return true
|
||||
end
|
||||
return ret
|
||||
|
|
|
@ -5,7 +5,7 @@ Example:
|
|||
|
||||
worldedit.register_gui_function("worldedit_gui_hollow_cylinder", {
|
||||
name = "Make Hollow Cylinder",
|
||||
privs = {worldeditor=true},
|
||||
privs = {worldedit=true},
|
||||
get_formspec = function(name) return "some formspec here" end,
|
||||
on_select = function(name) print(name .. " clicked the button!") end,
|
||||
})
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
## This generates the contents for the aliases table in ../ChatCommands.md
|
||||
grep "alias_command(" init.lua | sort | sed 's,[^"]*",,;s/"[^"]*"/ /;s/".*//' | awk '{printf("| %-10s | %-18s |\n", "`//" $1 "`", "`//" $2 "`")}'
|
||||
|
|
@ -29,7 +29,9 @@ artwork.register_full('b11', 'Waterlilly')
|
|||
artwork.register_full('b12', 'Firework')
|
||||
artwork.register_full('b13', 'Chicken')
|
||||
artwork.register_full('b14', 'Chicken')
|
||||
|
||||
artwork.register_full('b16', 'Bird')
|
||||
artwork.register_full('b17', 'Yellow Flower')
|
||||
artwork.register_full('b18', 'Pink Flower')
|
||||
|
||||
artwork.register_landscape('b2', 'Cardinal')
|
||||
artwork.register_landscape('b3', 'Robin')
|
||||
|
@ -39,6 +41,7 @@ artwork.register_landscape('b10', 'Frog')
|
|||
|
||||
artwork.register_portrait('b1', 'Nathan')
|
||||
artwork.register_portrait('b8', 'Woodpecker')
|
||||
artwork.register_portrait('b15', 'Bluegill')
|
||||
|
||||
|
||||
artwork.register_landscape('c01', 'Virus')
|
||||
|
|
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 27 KiB |
|
@ -161,3 +161,22 @@ minetest.register_node('furniture:fence_1_f', {
|
|||
on_rightclick = furniture.right_click,
|
||||
on_punch = furniture.punch
|
||||
})
|
||||
|
||||
minetest.register_node('furniture:fence_security', {
|
||||
description = 'Security Fencing',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_fence_security.obj',
|
||||
tiles = {'furniture_fence_security.png'},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
selection_box = {
|
||||
type = 'fixed',
|
||||
fixed = {-.5, -.5, -.125, 1.5, 1.5, .125},
|
||||
},
|
||||
collision_box = {
|
||||
type = 'fixed',
|
||||
fixed = {-.5, -.5, -.125, 1.5, 1.5, .125},
|
||||
},
|
||||
groups = {breakable=1},
|
||||
})
|
||||
|
|
|
@ -91,7 +91,7 @@ end
|
|||
|
||||
dofile(minetest.get_modpath('furniture')..'/bathroom.lua') --Things you'd find in a bathroom
|
||||
dofile(minetest.get_modpath('furniture')..'/bedroom.lua') --Things you'd find in a bedroom.
|
||||
dofile(minetest.get_modpath('furniture')..'/decor.lua')
|
||||
dofile(minetest.get_modpath('furniture')..'/curtains.lua')
|
||||
dofile(minetest.get_modpath('furniture')..'/fences.lua')
|
||||
dofile(minetest.get_modpath('furniture')..'/formspecs.lua') --Formspecs for the nodes.
|
||||
dofile(minetest.get_modpath('furniture')..'/kitchen.lua') --appliances and counters
|
||||
|
@ -106,3 +106,4 @@ dofile(minetest.get_modpath('furniture')..'/ropebox.lua')
|
|||
dofile(minetest.get_modpath('furniture')..'/seating.lua') --chairs, benches, stools
|
||||
dofile(minetest.get_modpath('furniture')..'/storage.lua') --Chests, boxes, etc.
|
||||
dofile(minetest.get_modpath('furniture')..'/tables.lua') --Not sure if I'll ever have more than one table.
|
||||
dofile(minetest.get_modpath('furniture')..'/workshop.lua')
|
||||
|
|
|
@ -310,3 +310,22 @@ minetest.register_node('furniture:refrigerator', {
|
|||
on_rightclick = furniture.right_click,
|
||||
on_punch = furniture.punch
|
||||
})
|
||||
|
||||
minetest.register_node('furniture:food_prep', {
|
||||
description = 'Food Prep',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_food_prep.obj',
|
||||
tiles = {'furniture_food_prep.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
selection_box = {
|
||||
type = 'fixed',
|
||||
fixed = {-.4, -.5, -.4, 1.4, -.2, .4},
|
||||
},
|
||||
collision_box = {
|
||||
type = 'fixed',
|
||||
fixed = {-.4, -.5, -.4, 1.4, -.2, .4},
|
||||
},
|
||||
groups = {breakable=1, stash=1},
|
||||
})
|
||||
|
|
|
@ -0,0 +1,531 @@
|
|||
# Blender v2.82 (sub 7) OBJ File: 'stations.blend'
|
||||
# www.blender.org
|
||||
o Baking_Cube.012
|
||||
v -1.125000 -0.500000 0.125000
|
||||
v -1.125000 -0.437500 0.125000
|
||||
v -1.125000 -0.500000 -0.437500
|
||||
v -1.125000 -0.437500 -0.437500
|
||||
v 0.125000 -0.500000 0.125000
|
||||
v 0.125000 -0.437500 0.125000
|
||||
v 0.125000 -0.500000 -0.437500
|
||||
v 0.125000 -0.437500 -0.437500
|
||||
v 0.125000 -0.500000 0.437500
|
||||
v 0.125000 0.000000 0.437500
|
||||
v 0.125000 -0.500000 0.125000
|
||||
v 0.125000 0.000000 0.125000
|
||||
v 0.437500 -0.500000 0.437500
|
||||
v 0.437500 0.000000 0.437500
|
||||
v 0.437500 -0.500000 0.125000
|
||||
v 0.437500 0.000000 0.125000
|
||||
v -0.125000 -0.500000 0.437500
|
||||
v -0.125000 -0.187500 0.437500
|
||||
v -0.125000 -0.500000 0.187500
|
||||
v -0.125000 -0.187500 0.187500
|
||||
v 0.125000 -0.500000 0.437500
|
||||
v 0.125000 -0.187500 0.437500
|
||||
v 0.125000 -0.500000 0.187500
|
||||
v 0.125000 -0.187500 0.187500
|
||||
v 0.187500 -0.500000 0.125000
|
||||
v 0.187500 -0.187500 0.125000
|
||||
v 0.187500 -0.500000 -0.125000
|
||||
v 0.187500 -0.187500 -0.125000
|
||||
v 0.437500 -0.500000 0.125000
|
||||
v 0.437500 -0.187500 0.125000
|
||||
v 0.437500 -0.500000 -0.125000
|
||||
v 0.437500 -0.187500 -0.125000
|
||||
v 0.187500 -0.500000 -0.125000
|
||||
v 0.187500 -0.250000 -0.125000
|
||||
v 0.187500 -0.500000 -0.375000
|
||||
v 0.187500 -0.250000 -0.375000
|
||||
v 0.437500 -0.500000 -0.125000
|
||||
v 0.437500 -0.250000 -0.125000
|
||||
v 0.437500 -0.500000 -0.375000
|
||||
v 0.437500 -0.250000 -0.375000
|
||||
v -0.375000 -0.500000 0.437500
|
||||
v -0.375000 -0.250000 0.437500
|
||||
v -0.375000 -0.500000 0.187500
|
||||
v -0.375000 -0.250000 0.187500
|
||||
v -0.125000 -0.500000 0.437500
|
||||
v -0.125000 -0.250000 0.437500
|
||||
v -0.125000 -0.500000 0.187500
|
||||
v -0.125000 -0.250000 0.187500
|
||||
v -1.062500 -0.500000 0.500000
|
||||
v -1.062500 -0.125000 0.500000
|
||||
v -1.062500 -0.500000 0.187500
|
||||
v -1.062500 -0.125000 0.187500
|
||||
v -0.500000 -0.500000 0.500000
|
||||
v -0.500000 -0.125000 0.500000
|
||||
v -0.500000 -0.500000 0.187500
|
||||
v -0.500000 -0.125000 0.187500
|
||||
v 0.250000 0.062500 0.312500
|
||||
v 0.250000 0.062500 0.250000
|
||||
v 0.312500 0.062500 0.312500
|
||||
v 0.312500 0.062500 0.250000
|
||||
v 0.250000 0.000000 0.312500
|
||||
v 0.250000 0.000000 0.250000
|
||||
v 0.312500 0.000000 0.250000
|
||||
v 0.312500 0.000000 0.312500
|
||||
v -1.207254 -0.359375 0.427973
|
||||
v -1.207254 -0.421875 0.427973
|
||||
v -1.259615 -0.501003 0.313630
|
||||
v -1.416565 -0.283372 -0.161098
|
||||
v -1.174026 -0.501003 0.285333
|
||||
v -1.330976 -0.283372 -0.189395
|
||||
v -1.113505 -0.437260 0.265325
|
||||
v -1.270455 -0.347115 -0.209403
|
||||
v -1.113505 -0.347115 0.265325
|
||||
v -1.270455 -0.437260 -0.209403
|
||||
v -1.174026 -0.283372 0.285333
|
||||
v -1.477086 -0.437260 -0.141089
|
||||
v -1.259615 -0.283372 0.313630
|
||||
v -1.477086 -0.347115 -0.141089
|
||||
v -1.320136 -0.347115 0.333639
|
||||
v -1.330976 -0.501003 -0.189395
|
||||
v -1.320136 -0.437260 0.333639
|
||||
v -1.416565 -0.501003 -0.161098
|
||||
v -1.442679 -0.421875 -0.284119
|
||||
v -1.442679 -0.359375 -0.284119
|
||||
v -1.147913 -0.421875 0.408354
|
||||
v -1.147913 -0.359375 0.408354
|
||||
v -1.383338 -0.421875 -0.303738
|
||||
v -1.383338 -0.359375 -0.303738
|
||||
v 0.281250 -0.125000 0.031250
|
||||
v 0.281250 -0.125000 -0.031250
|
||||
v 0.343750 -0.125000 0.031250
|
||||
v 0.343750 -0.125000 -0.031250
|
||||
v 0.281250 -0.187500 0.031250
|
||||
v 0.281250 -0.187500 -0.031250
|
||||
v 0.343750 -0.187500 -0.031250
|
||||
v 0.343750 -0.187500 0.031250
|
||||
v 0.281250 -0.187500 -0.218750
|
||||
v 0.281250 -0.187500 -0.281250
|
||||
v 0.343750 -0.187500 -0.218750
|
||||
v 0.343750 -0.187500 -0.281250
|
||||
v 0.281250 -0.250000 -0.218750
|
||||
v 0.281250 -0.250000 -0.281250
|
||||
v 0.343750 -0.250000 -0.281250
|
||||
v 0.343750 -0.250000 -0.218750
|
||||
v -0.031250 -0.125000 0.343750
|
||||
v -0.031250 -0.125000 0.281250
|
||||
v 0.031250 -0.125000 0.343750
|
||||
v 0.031250 -0.125000 0.281250
|
||||
v -0.031250 -0.187500 0.343750
|
||||
v -0.031250 -0.187500 0.281250
|
||||
v 0.031250 -0.187500 0.281250
|
||||
v 0.031250 -0.187500 0.343750
|
||||
v -0.281250 -0.187500 0.343750
|
||||
v -0.281250 -0.187500 0.281250
|
||||
v -0.218750 -0.187500 0.343750
|
||||
v -0.218750 -0.187500 0.281250
|
||||
v -0.281250 -0.250000 0.343750
|
||||
v -0.281250 -0.250000 0.281250
|
||||
v -0.218750 -0.250000 0.281250
|
||||
v -0.218750 -0.250000 0.343750
|
||||
v 0.125000 -0.500000 0.437500
|
||||
v 0.125000 0.000000 0.437500
|
||||
v 0.125000 -0.500000 0.125000
|
||||
v 0.125000 0.000000 0.125000
|
||||
v 0.125000 -0.500000 0.437500
|
||||
v 0.125000 0.000000 0.437500
|
||||
v 0.125000 -0.500000 0.125000
|
||||
v 0.125000 0.000000 0.125000
|
||||
v 0.125000 -0.500000 0.437500
|
||||
v 0.125000 0.000000 0.437500
|
||||
v 0.125000 -0.500000 0.125000
|
||||
v 0.125000 0.000000 0.125000
|
||||
v 0.125000 -0.500000 0.437500
|
||||
v 0.125000 0.000000 0.437500
|
||||
v 0.125000 -0.500000 0.125000
|
||||
v 0.125000 0.000000 0.125000
|
||||
v 0.125000 -0.500000 0.437500
|
||||
v 0.125000 0.000000 0.437500
|
||||
v 0.125000 -0.500000 0.125000
|
||||
v 0.125000 0.000000 0.125000
|
||||
v 0.125000 -0.500000 0.437500
|
||||
v 0.125000 0.000000 0.437500
|
||||
v 0.125000 -0.500000 0.125000
|
||||
v 0.125000 0.000000 0.125000
|
||||
v 0.125000 -0.500000 0.437500
|
||||
v 0.125000 0.000000 0.437500
|
||||
v 0.125000 -0.500000 0.125000
|
||||
v 0.125000 0.000000 0.125000
|
||||
v 0.125000 -0.500000 0.437500
|
||||
v 0.125000 0.000000 0.437500
|
||||
v 0.125000 -0.500000 0.125000
|
||||
v 0.125000 0.000000 0.125000
|
||||
v 0.125000 -0.500000 0.437500
|
||||
v 0.125000 0.000000 0.437500
|
||||
v 0.125000 -0.500000 0.125000
|
||||
v 0.125000 0.000000 0.125000
|
||||
vt 0.000000 0.515625
|
||||
vt 0.015625 0.515625
|
||||
vt 0.015625 0.656250
|
||||
vt 0.000000 0.656250
|
||||
vt 0.015625 0.671875
|
||||
vt 0.328125 0.656250
|
||||
vt 0.328125 0.671875
|
||||
vt 0.343750 0.656250
|
||||
vt 0.328125 0.515625
|
||||
vt 0.343750 0.515625
|
||||
vt 0.328125 0.500000
|
||||
vt 0.015625 0.500000
|
||||
vt 0.078125 0.921875
|
||||
vt 0.000000 0.921875
|
||||
vt 0.000000 0.921875
|
||||
vt 0.078125 0.921875
|
||||
vt 0.203125 0.843750
|
||||
vt 0.078125 0.843750
|
||||
vt 0.078125 0.765625
|
||||
vt 0.203125 0.765625
|
||||
vt 0.078125 0.687500
|
||||
vt 0.203125 0.687500
|
||||
vt 0.203125 1.000000
|
||||
vt 0.078125 1.000000
|
||||
vt 0.203125 0.921875
|
||||
vt 0.851562 0.937500
|
||||
vt 0.773438 0.937500
|
||||
vt 0.773438 0.875000
|
||||
vt 0.851562 0.875000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.773438 0.812500
|
||||
vt 0.851562 0.812500
|
||||
vt 0.851562 1.000000
|
||||
vt 0.773438 1.000000
|
||||
vt 0.710938 0.875000
|
||||
vt 0.710938 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.921875 1.000000
|
||||
vt 0.921875 0.937500
|
||||
vt 1.000000 0.937500
|
||||
vt 0.921875 0.875000
|
||||
vt 1.000000 0.875000
|
||||
vt 0.921875 0.812500
|
||||
vt 1.000000 0.812500
|
||||
vt 0.859375 0.937500
|
||||
vt 0.859375 0.875000
|
||||
vt 0.476562 0.890625
|
||||
vt 0.414062 0.890625
|
||||
vt 0.414062 0.828125
|
||||
vt 0.476562 0.828125
|
||||
vt 0.414062 0.765625
|
||||
vt 0.476562 0.765625
|
||||
vt 0.414062 0.703125
|
||||
vt 0.476562 0.703125
|
||||
vt 0.351562 0.828125
|
||||
vt 0.351562 0.765625
|
||||
vt 0.335938 0.828125
|
||||
vt 0.273438 0.828125
|
||||
vt 0.273438 0.765625
|
||||
vt 0.335938 0.765625
|
||||
vt 0.273438 0.703125
|
||||
vt 0.335938 0.703125
|
||||
vt 0.335938 0.890625
|
||||
vt 0.273438 0.890625
|
||||
vt 0.210938 0.765625
|
||||
vt 0.210938 0.828125
|
||||
vt 0.351562 1.000000
|
||||
vt 0.351562 0.906250
|
||||
vt 0.429688 0.906250
|
||||
vt 0.429688 1.000000
|
||||
vt 0.578125 0.906250
|
||||
vt 0.578125 1.000000
|
||||
vt 0.656250 0.906250
|
||||
vt 0.656250 1.000000
|
||||
vt 0.210938 1.000000
|
||||
vt 0.210938 0.906250
|
||||
vt 0.578125 0.765625
|
||||
vt 0.656250 0.765625
|
||||
vt 0.015625 0.796875
|
||||
vt 0.000000 0.796875
|
||||
vt 0.000000 0.781250
|
||||
vt 0.015625 0.781250
|
||||
vt 0.031250 0.781250
|
||||
vt 0.031250 0.796875
|
||||
vt 0.015625 0.812500
|
||||
vt 0.031250 0.812500
|
||||
vt 0.031250 0.828125
|
||||
vt 0.015625 0.828125
|
||||
vt 0.031250 0.843750
|
||||
vt 0.015625 0.843750
|
||||
vt 0.484375 0.687500
|
||||
vt 0.359375 0.687500
|
||||
vt 0.359375 0.664062
|
||||
vt 0.484375 0.664062
|
||||
vt 0.695312 0.562500
|
||||
vt 0.695312 0.578125
|
||||
vt 0.507812 0.578125
|
||||
vt 0.507812 0.562500
|
||||
vt 0.484375 0.593750
|
||||
vt 0.359375 0.593750
|
||||
vt 0.359375 0.570312
|
||||
vt 0.484375 0.570312
|
||||
vt 0.695312 0.593750
|
||||
vt 0.695312 0.609375
|
||||
vt 0.507812 0.609375
|
||||
vt 0.507812 0.593750
|
||||
vt 0.484375 0.546875
|
||||
vt 0.359375 0.546875
|
||||
vt 0.359375 0.523438
|
||||
vt 0.484375 0.523438
|
||||
vt 0.507812 0.546875
|
||||
vt 0.492188 0.562500
|
||||
vt 0.492188 0.546875
|
||||
vt 0.359375 0.500000
|
||||
vt 0.484375 0.500000
|
||||
vt 0.695312 0.546875
|
||||
vt 0.710938 0.546875
|
||||
vt 0.710938 0.562500
|
||||
vt 0.359375 0.640625
|
||||
vt 0.484375 0.640625
|
||||
vt 0.359375 0.617188
|
||||
vt 0.484375 0.617188
|
||||
vt 0.547465 0.648033
|
||||
vt 0.547465 0.670971
|
||||
vt 0.531246 0.687190
|
||||
vt 0.508308 0.687190
|
||||
vt 0.492089 0.670971
|
||||
vt 0.492089 0.648033
|
||||
vt 0.508308 0.631814
|
||||
vt 0.531246 0.631814
|
||||
vt 0.602314 0.670971
|
||||
vt 0.586094 0.687190
|
||||
vt 0.563157 0.687190
|
||||
vt 0.546937 0.670971
|
||||
vt 0.546937 0.648033
|
||||
vt 0.563157 0.631814
|
||||
vt 0.586094 0.631814
|
||||
vt 0.602314 0.648033
|
||||
vt 0.015625 0.726562
|
||||
vt 0.000000 0.726562
|
||||
vt 0.000000 0.710938
|
||||
vt 0.015625 0.710938
|
||||
vt 0.031250 0.710938
|
||||
vt 0.031250 0.726562
|
||||
vt 0.015625 0.742188
|
||||
vt 0.031250 0.742188
|
||||
vt 0.031250 0.757812
|
||||
vt 0.015625 0.757812
|
||||
vt 0.031250 0.773438
|
||||
vt 0.015625 0.773438
|
||||
vt 0.054688 0.867188
|
||||
vt 0.039062 0.867188
|
||||
vt 0.039062 0.851562
|
||||
vt 0.054688 0.851562
|
||||
vt 0.070312 0.851562
|
||||
vt 0.070312 0.867188
|
||||
vt 0.054688 0.882812
|
||||
vt 0.070312 0.882812
|
||||
vt 0.070312 0.898438
|
||||
vt 0.054688 0.898438
|
||||
vt 0.070312 0.914062
|
||||
vt 0.054688 0.914062
|
||||
vt 0.054688 0.796875
|
||||
vt 0.039062 0.796875
|
||||
vt 0.039062 0.781250
|
||||
vt 0.054688 0.781250
|
||||
vt 0.070312 0.781250
|
||||
vt 0.070312 0.796875
|
||||
vt 0.054688 0.812500
|
||||
vt 0.070312 0.812500
|
||||
vt 0.070312 0.828125
|
||||
vt 0.054688 0.828125
|
||||
vt 0.070312 0.843750
|
||||
vt 0.054688 0.843750
|
||||
vt 0.015625 0.867188
|
||||
vt 0.000000 0.867188
|
||||
vt 0.000000 0.851562
|
||||
vt 0.015625 0.851562
|
||||
vt 0.031250 0.851562
|
||||
vt 0.031250 0.867188
|
||||
vt 0.015625 0.882812
|
||||
vt 0.031250 0.882812
|
||||
vt 0.031250 0.898438
|
||||
vt 0.015625 0.898438
|
||||
vt 0.031250 0.914062
|
||||
vt 0.015625 0.914062
|
||||
vt 0.078125 0.843750
|
||||
vt 0.203125 0.843750
|
||||
vt 0.203125 0.843750
|
||||
vt 0.078125 0.843750
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.203125 0.921875
|
||||
vt 0.203125 0.921875
|
||||
vt 0.078125 0.921875
|
||||
vt 0.078125 0.921875
|
||||
vt 0.203125 0.921875
|
||||
vt 0.000000 0.921875
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.921875
|
||||
vt 0.000000 0.921875
|
||||
vt 0.078125 0.921875
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.203125 0.843750
|
||||
vt 0.078125 0.843750
|
||||
vt 0.078125 0.843750
|
||||
vt 0.203125 0.843750
|
||||
vt 0.203125 0.843750
|
||||
vt 0.078125 0.843750
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.203125 0.921875
|
||||
vt 0.078125 0.921875
|
||||
vt 0.000000 0.921875
|
||||
vt 0.000000 0.921875
|
||||
vt 0.078125 0.921875
|
||||
vt 0.203125 0.921875
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.921875
|
||||
vt 0.078125 0.921875
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.203125 0.843750
|
||||
vt 0.078125 0.843750
|
||||
vt 0.203125 0.921875
|
||||
vt 0.078125 0.843750
|
||||
vt 0.203125 0.843750
|
||||
vt 0.203125 0.843750
|
||||
vt 0.078125 0.843750
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.203125 0.921875
|
||||
vt 0.078125 0.921875
|
||||
vt 0.000000 0.921875
|
||||
vt 0.000000 0.921875
|
||||
vt 0.078125 0.921875
|
||||
vt 0.203125 0.921875
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.203125 0.921875
|
||||
vt 0.078125 0.843750
|
||||
vt 0.203125 0.843750
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
vn 0.0000 -1.0000 -0.0000
|
||||
vn -0.9495 0.0000 0.3139
|
||||
vn 0.3139 0.0000 0.9495
|
||||
vn -0.6714 -0.7071 0.2220
|
||||
vn 0.9495 0.0000 -0.3139
|
||||
vn -0.6714 0.7071 0.2220
|
||||
vn -0.3139 0.0000 -0.9495
|
||||
vn 0.6714 -0.7071 -0.2220
|
||||
vn 0.6714 0.7071 -0.2220
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 3/5/2 4/3/2 8/6/2 7/7/2
|
||||
f 7/8/3 8/6/3 6/9/3 5/10/3
|
||||
f 5/11/4 6/9/4 2/2/4 1/12/4
|
||||
f 10/13/4 12/14/4 124/15/4 122/16/4
|
||||
f 8/6/5 4/3/5 2/2/5 6/9/5
|
||||
f 11/17/2 12/18/2 16/19/2 15/20/2
|
||||
f 15/20/3 16/19/3 14/21/3 13/22/3
|
||||
f 13/23/4 14/24/4 10/13/4 9/25/4
|
||||
f 17/26/1 18/27/1 20/28/1 19/29/1
|
||||
f 16/30/5 12/14/5 10/13/5 14/24/5
|
||||
f 19/29/2 20/28/2 24/31/2 23/32/2
|
||||
f 21/33/4 22/34/4 18/27/4 17/26/4
|
||||
f 24/35/5 20/28/5 18/27/5 22/36/5
|
||||
f 25/37/1 26/38/1 28/39/1 27/40/1
|
||||
f 27/40/2 28/39/2 32/41/2 31/42/2
|
||||
f 31/42/3 32/41/3 30/43/3 29/44/3
|
||||
f 32/41/5 28/39/5 26/45/5 30/46/5
|
||||
f 33/47/1 34/48/1 36/49/1 35/50/1
|
||||
f 35/50/2 36/49/2 40/51/2 39/52/2
|
||||
f 39/52/3 40/51/3 38/53/3 37/54/3
|
||||
f 40/51/5 36/49/5 34/55/5 38/56/5
|
||||
f 41/57/1 42/58/1 44/59/1 43/60/1
|
||||
f 43/60/2 44/59/2 48/61/2 47/62/2
|
||||
f 45/63/4 46/64/4 42/58/4 41/57/4
|
||||
f 48/65/5 44/59/5 42/58/5 46/66/5
|
||||
f 49/67/1 50/68/1 52/69/1 51/70/1
|
||||
f 51/70/2 52/69/2 56/71/2 55/72/2
|
||||
f 55/72/3 56/71/3 54/73/3 53/74/3
|
||||
f 53/75/4 54/76/4 50/68/4 49/67/4
|
||||
f 56/71/5 52/77/5 50/78/5 54/73/5
|
||||
f 60/79/5 58/80/5 57/81/5 59/82/5
|
||||
f 59/82/3 64/83/3 63/84/3 60/79/3
|
||||
f 58/85/1 62/86/1 61/87/1 57/88/1
|
||||
f 57/88/4 61/87/4 64/89/4 59/90/4
|
||||
f 60/79/2 63/84/2 62/86/2 58/85/2
|
||||
f 67/91/6 82/92/6 80/93/6 69/94/6
|
||||
f 88/95/5 84/96/5 65/97/5 86/98/5
|
||||
f 75/99/5 70/100/5 68/101/5 77/102/5
|
||||
f 83/103/6 87/104/6 85/105/6 66/106/6
|
||||
f 79/107/7 78/108/7 76/109/7 81/110/7
|
||||
f 85/111/8 86/98/8 65/112/8 66/113/8
|
||||
f 81/110/9 76/109/9 82/114/9 67/115/9
|
||||
f 87/116/10 88/95/10 86/98/10 85/111/10
|
||||
f 77/102/11 68/101/11 78/108/11 79/107/11
|
||||
f 83/117/12 84/118/12 88/95/12 87/116/12
|
||||
f 69/94/13 80/93/13 74/119/13 71/120/13
|
||||
f 71/120/10 74/119/10 72/121/10 73/122/10
|
||||
f 66/106/7 65/97/7 84/96/7 83/103/7
|
||||
f 82/123/12 76/124/12 78/125/12 68/126/12 70/127/12 72/128/12 74/129/12 80/130/12
|
||||
f 73/122/14 72/121/14 70/100/14 75/99/14
|
||||
f 67/131/8 69/132/8 71/133/8 73/134/8 75/135/8 77/136/8 79/137/8 81/138/8
|
||||
f 92/139/5 90/140/5 89/141/5 91/142/5
|
||||
f 91/142/3 96/143/3 95/144/3 92/139/3
|
||||
f 90/145/1 94/146/1 93/147/1 89/148/1
|
||||
f 89/148/4 93/147/4 96/149/4 91/150/4
|
||||
f 92/139/2 95/144/2 94/146/2 90/145/2
|
||||
f 100/151/5 98/152/5 97/153/5 99/154/5
|
||||
f 99/154/3 104/155/3 103/156/3 100/151/3
|
||||
f 98/157/1 102/158/1 101/159/1 97/160/1
|
||||
f 97/160/4 101/159/4 104/161/4 99/162/4
|
||||
f 100/151/2 103/156/2 102/158/2 98/157/2
|
||||
f 108/163/5 106/164/5 105/165/5 107/166/5
|
||||
f 107/166/3 112/167/3 111/168/3 108/163/3
|
||||
f 106/169/1 110/170/1 109/171/1 105/172/1
|
||||
f 105/172/4 109/171/4 112/173/4 107/174/4
|
||||
f 108/163/2 111/168/2 110/170/2 106/169/2
|
||||
f 116/175/5 114/176/5 113/177/5 115/178/5
|
||||
f 115/178/3 120/179/3 119/180/3 116/175/3
|
||||
f 114/181/1 118/182/1 117/183/1 113/184/1
|
||||
f 113/184/4 117/183/4 120/185/4 115/186/4
|
||||
f 116/175/2 119/180/2 118/182/2 114/181/2
|
||||
f 124/187/4 123/188/4 127/189/4 128/190/4
|
||||
f 11/191/4 9/192/4 121/193/4 123/194/4
|
||||
f 12/18/4 11/17/4 123/188/4 124/187/4
|
||||
f 9/25/4 10/13/4 122/16/4 121/195/4
|
||||
f 125/196/4 126/197/4 130/198/4 129/199/4
|
||||
f 121/195/4 122/16/4 126/197/4 125/196/4
|
||||
f 122/16/4 124/15/4 128/200/4 126/197/4
|
||||
f 123/194/4 121/193/4 125/201/4 127/202/4
|
||||
f 130/198/4 132/203/4 136/204/4 134/205/4
|
||||
f 126/197/4 128/200/4 132/203/4 130/198/4
|
||||
f 127/202/4 125/201/4 129/206/4 131/207/4
|
||||
f 128/190/4 127/189/4 131/208/4 132/209/4
|
||||
f 136/210/4 135/211/4 139/212/4 140/213/4
|
||||
f 131/207/4 129/206/4 133/214/4 135/215/4
|
||||
f 132/209/4 131/208/4 135/211/4 136/210/4
|
||||
f 129/199/4 130/198/4 134/205/4 133/216/4
|
||||
f 138/217/4 140/218/4 144/219/4 142/220/4
|
||||
f 133/216/4 134/205/4 138/217/4 137/221/4
|
||||
f 134/205/4 136/204/4 140/218/4 138/217/4
|
||||
f 135/215/4 133/214/4 137/222/4 139/223/4
|
||||
f 142/220/4 144/219/4 148/224/4 146/225/4
|
||||
f 139/223/4 137/222/4 141/226/4 143/227/4
|
||||
f 140/213/4 139/212/4 143/228/4 144/229/4
|
||||
f 137/221/4 138/217/4 142/220/4 141/230/4
|
||||
f 148/231/4 147/232/4 151/233/4 152/234/4
|
||||
f 143/227/4 141/226/4 145/235/4 147/236/4
|
||||
f 144/229/4 143/228/4 147/232/4 148/231/4
|
||||
f 141/230/4 142/220/4 146/225/4 145/237/4
|
||||
f 150/238/4 152/239/4 156/240/4 154/241/4
|
||||
f 145/237/4 146/225/4 150/238/4 149/242/4
|
||||
f 146/225/4 148/224/4 152/239/4 150/238/4
|
||||
f 147/236/4 145/235/4 149/243/4 151/244/4
|
||||
f 153/245/1 154/241/1 156/246/1 155/247/1
|
||||
f 151/244/4 149/243/4 153/248/4 155/249/4
|
||||
f 152/234/4 151/233/4 155/247/4 156/246/4
|
||||
f 149/242/4 150/238/4 154/241/4 153/245/4
|
|
@ -0,0 +1,570 @@
|
|||
# Blender v2.90.0 Beta OBJ File: 'stations.blend'
|
||||
# www.blender.org
|
||||
o Jewlery_Cube.016
|
||||
v 0.500000 0.125000 0.250000
|
||||
v 0.500000 0.000000 0.250000
|
||||
v 0.500000 0.000000 -0.500000
|
||||
v 0.500000 0.125000 -0.500000
|
||||
v -1.187500 0.125000 0.250000
|
||||
v -1.187500 0.000000 0.250000
|
||||
v 0.500000 0.000000 0.500000
|
||||
v 0.500000 0.125000 0.500000
|
||||
v 0.437500 0.000000 0.437500
|
||||
v -1.000000 0.000000 0.437500
|
||||
v 0.437500 0.000000 0.187500
|
||||
v -1.000000 0.000000 0.187500
|
||||
v 0.437500 -0.500000 0.437500
|
||||
v -1.000000 -0.500000 0.437500
|
||||
v 0.437500 -0.500000 0.187500
|
||||
v -1.000000 -0.500000 0.187500
|
||||
v 0.437500 0.000000 -0.187500
|
||||
v 0.187500 0.000000 -0.187500
|
||||
v 0.437500 0.000000 -0.437500
|
||||
v 0.187500 0.000000 -0.437500
|
||||
v 0.437500 -0.500000 -0.187500
|
||||
v 0.187500 -0.500000 -0.187500
|
||||
v 0.437500 -0.500000 -0.437500
|
||||
v 0.187500 -0.500000 -0.437500
|
||||
v -1.062500 -0.062500 -0.437500
|
||||
v -1.062500 -0.500000 -0.437500
|
||||
v -1.062500 -0.062500 0.187500
|
||||
v -1.062500 -0.500000 0.187500
|
||||
v -1.437500 -0.062500 -0.437500
|
||||
v -1.437500 -0.500000 -0.437500
|
||||
v -1.437500 -0.062500 0.187500
|
||||
v -1.437500 -0.500000 0.187500
|
||||
v 0.500000 0.500000 0.437500
|
||||
v 0.500000 0.125000 0.437500
|
||||
v 0.500000 0.500000 0.500000
|
||||
v 0.500000 0.125000 0.500000
|
||||
v -1.187500 0.500000 0.437500
|
||||
v -1.187500 0.125000 0.437500
|
||||
v -1.187500 0.500000 0.500000
|
||||
v -1.187500 0.125000 0.500000
|
||||
v -1.187500 0.000000 -0.500000
|
||||
v -1.187500 0.125000 -0.500000
|
||||
v -1.187500 0.000000 0.500000
|
||||
v -1.187500 0.125000 0.500000
|
||||
v -1.500000 0.125000 0.250000
|
||||
v -1.500000 0.000000 0.250000
|
||||
v -1.500000 0.000000 -0.500000
|
||||
v -1.500000 0.125000 -0.500000
|
||||
v -1.375000 -0.250000 0.312500
|
||||
v -1.375000 -0.250000 0.187500
|
||||
v -1.375000 -0.125000 0.187500
|
||||
v -1.250000 -0.250000 0.312500
|
||||
v -1.250000 -0.125000 0.312500
|
||||
v -1.250000 -0.250000 0.187500
|
||||
v -1.250000 -0.125000 0.187500
|
||||
v -1.375000 -0.250000 0.437500
|
||||
v -1.250000 -0.125000 0.437500
|
||||
v -1.250000 -0.250000 0.437500
|
||||
v -1.250000 0.500000 0.312500
|
||||
v -1.250000 0.500000 0.437500
|
||||
v -1.375000 0.500000 0.437500
|
||||
v -0.125000 0.125000 0.187500
|
||||
v -0.125000 0.437500 0.187500
|
||||
v 0.125000 0.125000 0.187500
|
||||
v 0.125000 0.437500 0.187500
|
||||
v -0.125000 0.125000 0.437500
|
||||
v -0.125000 0.437500 0.437500
|
||||
v 0.125000 0.125000 0.437500
|
||||
v 0.125000 0.437500 0.437500
|
||||
v -0.437500 0.125000 0.437500
|
||||
v -0.437500 0.375000 0.437500
|
||||
v -0.437500 0.125000 0.187500
|
||||
v -0.437500 0.375000 0.187500
|
||||
v -0.187500 0.125000 0.437500
|
||||
v -0.187500 0.375000 0.437500
|
||||
v -0.187500 0.125000 0.187500
|
||||
v -0.187500 0.375000 0.187500
|
||||
v 0.187500 0.125000 0.187500
|
||||
v 0.187500 0.375000 0.187500
|
||||
v 0.437500 0.125000 0.187500
|
||||
v 0.437500 0.375000 0.187500
|
||||
v 0.187500 0.125000 0.437500
|
||||
v 0.187500 0.375000 0.437500
|
||||
v 0.437500 0.125000 0.437500
|
||||
v 0.437500 0.375000 0.437500
|
||||
v -0.343750 0.406250 0.343750
|
||||
v -0.343750 0.406250 0.281250
|
||||
v -0.281250 0.406250 0.343750
|
||||
v -0.281250 0.406250 0.281250
|
||||
v -0.343750 0.375000 0.343750
|
||||
v -0.343750 0.375000 0.281250
|
||||
v -0.281250 0.375000 0.281250
|
||||
v -0.281250 0.375000 0.343750
|
||||
v -0.031250 0.468750 0.281250
|
||||
v 0.031250 0.468750 0.281250
|
||||
v -0.031250 0.468750 0.343750
|
||||
v 0.031250 0.468750 0.343750
|
||||
v -0.031250 0.437500 0.281250
|
||||
v 0.031250 0.437500 0.281250
|
||||
v 0.031250 0.437500 0.343750
|
||||
v -0.031250 0.437500 0.343750
|
||||
v 0.281250 0.406250 0.343750
|
||||
v 0.281250 0.406250 0.281250
|
||||
v 0.343750 0.406250 0.343750
|
||||
v 0.343750 0.406250 0.281250
|
||||
v 0.281250 0.375000 0.343750
|
||||
v 0.281250 0.375000 0.281250
|
||||
v 0.343750 0.375000 0.281250
|
||||
v 0.343750 0.375000 0.343750
|
||||
v -0.437500 0.128906 0.125000
|
||||
v 0.437500 0.128906 0.125000
|
||||
v -0.437500 0.128906 -0.437500
|
||||
v 0.437500 0.128906 -0.437500
|
||||
v -1.062500 0.125000 0.187500
|
||||
v -1.062500 0.125000 -0.437500
|
||||
v -1.437500 0.125000 0.187500
|
||||
v -1.437500 0.125000 -0.437500
|
||||
v -1.062500 0.312500 -0.437500
|
||||
v -1.062500 0.312500 0.187500
|
||||
v -1.437500 0.312500 -0.437500
|
||||
v -1.437500 0.312500 0.187500
|
||||
v -0.875000 0.124379 -0.184279
|
||||
v -1.000000 0.124379 -0.184279
|
||||
v -0.875000 0.131194 -0.122152
|
||||
v -1.000000 0.131194 -0.122152
|
||||
v -0.875000 0.186506 -0.191094
|
||||
v -1.000000 0.186506 -0.191094
|
||||
v -0.875000 0.193321 -0.128966
|
||||
v -1.000000 0.193321 -0.128966
|
||||
v -0.953125 0.126281 -0.310237
|
||||
v -0.953125 0.139911 -0.185983
|
||||
v -0.921875 0.126281 -0.310237
|
||||
v -0.921875 0.139911 -0.185983
|
||||
v -0.953125 0.157345 -0.313645
|
||||
v -0.953125 0.170974 -0.189390
|
||||
v -0.921875 0.157345 -0.313645
|
||||
v -0.921875 0.170974 -0.189390
|
||||
v -1.000000 0.125000 0.187500
|
||||
v -1.000000 0.187500 0.187500
|
||||
v -1.000000 0.125000 -0.062500
|
||||
v -1.000000 0.187500 -0.062500
|
||||
v -0.500000 0.125000 0.187500
|
||||
v -0.500000 0.187500 0.187500
|
||||
v -0.500000 0.125000 -0.062500
|
||||
v -0.500000 0.187500 -0.062500
|
||||
v -0.656250 0.312500 0.125000
|
||||
v -0.656250 0.312500 0.000000
|
||||
v -0.531250 0.312500 0.125000
|
||||
v -0.531250 0.312500 0.000000
|
||||
v -0.656250 0.187500 0.125000
|
||||
v -0.656250 0.187500 0.000000
|
||||
v -0.531250 0.187500 0.000000
|
||||
v -0.531250 0.187500 0.125000
|
||||
v -0.781250 0.250000 0.031250
|
||||
v -0.781250 0.250000 0.093750
|
||||
v -0.937500 0.187500 0.093750
|
||||
v -0.937500 0.187500 0.031250
|
||||
v -0.906250 0.218750 0.125000
|
||||
v -0.968750 0.281250 0.000000
|
||||
v -0.968750 0.218750 0.125000
|
||||
v -0.906250 0.281250 0.000000
|
||||
v -0.968750 0.281250 0.125000
|
||||
v -0.906250 0.218750 0.000000
|
||||
v -0.906250 0.281250 0.125000
|
||||
v -0.968750 0.218750 0.000000
|
||||
v -0.937500 0.250000 0.031250
|
||||
v -0.937500 0.250000 0.093750
|
||||
v -0.781250 0.187500 0.031250
|
||||
v -0.781250 0.187500 0.093750
|
||||
v -1.375000 -0.125000 0.437500
|
||||
v -1.375000 -0.125000 0.312500
|
||||
v -1.375000 0.500000 0.312500
|
||||
vt 0.539062 0.312500
|
||||
vt 0.539062 0.281250
|
||||
vt 0.960938 0.281250
|
||||
vt 0.960938 0.312500
|
||||
vt 0.960938 0.093750
|
||||
vt 0.992188 0.093750
|
||||
vt 0.992188 0.031250
|
||||
vt 0.960938 0.031250
|
||||
vt 0.539062 0.093750
|
||||
vt 0.460938 0.281250
|
||||
vt 0.460938 0.093750
|
||||
vt 0.507812 0.093750
|
||||
vt 0.507812 0.031250
|
||||
vt 0.539062 0.031250
|
||||
vt 0.960938 0.031250
|
||||
vt 0.960938 0.093750
|
||||
vt 0.960938 0.281250
|
||||
vt 0.992188 0.281250
|
||||
vt 0.492188 0.242188
|
||||
vt 0.437500 0.242188
|
||||
vt 0.437500 0.367188
|
||||
vt 0.492188 0.367188
|
||||
vt 0.851562 0.242188
|
||||
vt 0.906250 0.242188
|
||||
vt 0.906250 0.367188
|
||||
vt 0.851562 0.367188
|
||||
vt 0.492188 0.242188
|
||||
vt 0.492188 0.367188
|
||||
vt 0.851562 0.242188
|
||||
vt 0.851562 0.367188
|
||||
vt 0.937500 0.195312
|
||||
vt 0.937500 0.257812
|
||||
vt 0.812500 0.257812
|
||||
vt 0.812500 0.195312
|
||||
vt 0.937500 0.320312
|
||||
vt 0.937500 0.382812
|
||||
vt 0.812500 0.382812
|
||||
vt 0.812500 0.320312
|
||||
vt 0.937500 0.132812
|
||||
vt 0.812500 0.132812
|
||||
vt 0.750000 0.796875
|
||||
vt 0.750000 0.906250
|
||||
vt 0.656250 0.906250
|
||||
vt 0.656250 0.796875
|
||||
vt 0.750000 0.796875
|
||||
vt 0.750000 0.906250
|
||||
vt 0.906250 0.906250
|
||||
vt 0.906250 0.796875
|
||||
vt 1.000000 0.796875
|
||||
vt 1.000000 0.906250
|
||||
vt 0.906250 0.906250
|
||||
vt 0.906250 0.796875
|
||||
vt 0.906250 0.796875
|
||||
vt 0.906250 0.906250
|
||||
vt 0.750000 0.906250
|
||||
vt 0.750000 0.796875
|
||||
vt 0.750000 1.000000
|
||||
vt 0.906250 1.000000
|
||||
vt 0.562500 0.320312
|
||||
vt 0.562500 0.414062
|
||||
vt 0.984375 0.414062
|
||||
vt 0.984375 0.320312
|
||||
vt 0.562500 0.320312
|
||||
vt 0.562500 0.398438
|
||||
vt 0.546875 0.398438
|
||||
vt 0.546875 0.320312
|
||||
vt 0.984375 0.320312
|
||||
vt 0.984375 0.414062
|
||||
vt 0.562500 0.414062
|
||||
vt 0.984375 0.398438
|
||||
vt 0.562500 0.398438
|
||||
vt 1.000000 0.320312
|
||||
vt 1.000000 0.398438
|
||||
vt 0.984375 0.398438
|
||||
vt 0.539062 0.031250
|
||||
vt 0.539062 0.093750
|
||||
vt 0.960938 0.000000
|
||||
vt 0.539062 0.000000
|
||||
vt 0.539062 0.281250
|
||||
vt 0.460938 0.117188
|
||||
vt 0.460938 0.085938
|
||||
vt 0.539062 0.085938
|
||||
vt 0.539062 0.117188
|
||||
vt 0.460938 0.312500
|
||||
vt 0.460938 0.093750
|
||||
vt 0.460938 0.281250
|
||||
vt 0.414062 0.281250
|
||||
vt 0.414062 0.093750
|
||||
vt 0.601562 0.718750
|
||||
vt 0.632812 0.718750
|
||||
vt 0.632812 0.750000
|
||||
vt 0.601562 0.750000
|
||||
vt 0.570312 0.718750
|
||||
vt 0.570312 0.750000
|
||||
vt 0.601562 0.781250
|
||||
vt 0.570312 0.781250
|
||||
vt 0.601562 0.812500
|
||||
vt 0.632812 0.812500
|
||||
vt 0.632812 0.968750
|
||||
vt 0.601562 0.968750
|
||||
vt 0.632812 0.781250
|
||||
vt 0.140625 0.867188
|
||||
vt 0.062500 0.867188
|
||||
vt 0.062500 0.804688
|
||||
vt 0.140625 0.804688
|
||||
vt 0.062500 0.742188
|
||||
vt 0.140625 0.742188
|
||||
vt 0.140625 0.929688
|
||||
vt 0.062500 0.929688
|
||||
vt 0.000000 0.804688
|
||||
vt 0.000000 0.867188
|
||||
vt 0.406250 1.000000
|
||||
vt 0.343750 1.000000
|
||||
vt 0.343750 0.937500
|
||||
vt 0.406250 0.937500
|
||||
vt 0.343750 0.875000
|
||||
vt 0.406250 0.875000
|
||||
vt 0.343750 0.812500
|
||||
vt 0.406250 0.812500
|
||||
vt 0.281250 0.937500
|
||||
vt 0.281250 0.875000
|
||||
vt 0.273438 0.937500
|
||||
vt 0.210938 0.937500
|
||||
vt 0.210938 0.875000
|
||||
vt 0.273438 0.875000
|
||||
vt 0.210938 0.812500
|
||||
vt 0.273438 0.812500
|
||||
vt 0.273438 1.000000
|
||||
vt 0.210938 1.000000
|
||||
vt 0.148438 0.875000
|
||||
vt 0.148438 0.937500
|
||||
vt 0.046875 0.953125
|
||||
vt 0.031250 0.953125
|
||||
vt 0.031250 0.937500
|
||||
vt 0.046875 0.937500
|
||||
vt 0.054688 0.937500
|
||||
vt 0.054688 0.953125
|
||||
vt 0.046875 0.968750
|
||||
vt 0.054688 0.968750
|
||||
vt 0.054688 0.984375
|
||||
vt 0.046875 0.984375
|
||||
vt 0.054688 1.000000
|
||||
vt 0.046875 1.000000
|
||||
vt 0.078125 0.953125
|
||||
vt 0.062500 0.953125
|
||||
vt 0.062500 0.937500
|
||||
vt 0.078125 0.937500
|
||||
vt 0.085938 0.937500
|
||||
vt 0.085938 0.953125
|
||||
vt 0.078125 0.968750
|
||||
vt 0.085938 0.968750
|
||||
vt 0.085938 0.984375
|
||||
vt 0.078125 0.984375
|
||||
vt 0.085938 1.000000
|
||||
vt 0.078125 1.000000
|
||||
vt 0.015625 0.953125
|
||||
vt 0.000000 0.953125
|
||||
vt 0.000000 0.937500
|
||||
vt 0.015625 0.937500
|
||||
vt 0.023438 0.937500
|
||||
vt 0.023438 0.953125
|
||||
vt 0.015625 0.968750
|
||||
vt 0.023438 0.968750
|
||||
vt 0.023438 0.984375
|
||||
vt 0.015625 0.984375
|
||||
vt 0.023438 1.000000
|
||||
vt 0.015625 1.000000
|
||||
vt 0.539062 0.968750
|
||||
vt 0.539062 1.000000
|
||||
vt 0.507812 1.000000
|
||||
vt 0.507812 0.968750
|
||||
vt 0.781250 0.640625
|
||||
vt 1.000000 0.640625
|
||||
vt 1.000000 0.781250
|
||||
vt 0.781250 0.781250
|
||||
vt 0.148438 0.000000
|
||||
vt 0.148438 0.156250
|
||||
vt 0.054688 0.156250
|
||||
vt 0.054688 0.000000
|
||||
vt -0.000000 0.343750
|
||||
vt 0.000000 0.250000
|
||||
vt 0.046875 0.250000
|
||||
vt 0.046875 0.343750
|
||||
vt 0.000000 0.500000
|
||||
vt 0.046875 0.500000
|
||||
vt 0.000000 0.093750
|
||||
vt 0.000055 0.000055
|
||||
vt 0.046875 0.000051
|
||||
vt 0.046875 0.093750
|
||||
vt 0.687500 0.929688
|
||||
vt 0.703125 0.929688
|
||||
vt 0.703125 0.945312
|
||||
vt 0.687500 0.945312
|
||||
vt 0.640625 0.929688
|
||||
vt 0.656250 0.929688
|
||||
vt 0.656250 0.945312
|
||||
vt 0.640625 0.945312
|
||||
vt 0.687500 0.960938
|
||||
vt 0.656250 0.960938
|
||||
vt 0.656250 0.914062
|
||||
vt 0.687500 0.914062
|
||||
vt 0.687500 0.976562
|
||||
vt 0.656250 0.976562
|
||||
vt 0.296875 0.492188
|
||||
vt 0.289062 0.492188
|
||||
vt 0.289062 0.484375
|
||||
vt 0.296875 0.484375
|
||||
vt 0.328125 0.515625
|
||||
vt 0.296875 0.515625
|
||||
vt 0.296875 0.507812
|
||||
vt 0.328125 0.507812
|
||||
vt 0.328125 0.492188
|
||||
vt 0.328125 0.484375
|
||||
vt 0.328125 0.500000
|
||||
vt 0.296875 0.500000
|
||||
vt 0.617188 0.078125
|
||||
vt 0.632812 0.078125
|
||||
vt 0.632812 0.140625
|
||||
vt 0.617188 0.140625
|
||||
vt 0.632812 0.156250
|
||||
vt 0.757812 0.140625
|
||||
vt 0.757812 0.156250
|
||||
vt 0.773438 0.140625
|
||||
vt 0.757812 0.078125
|
||||
vt 0.773438 0.078125
|
||||
vt 0.757812 0.062500
|
||||
vt 0.632812 0.062500
|
||||
vt 0.937500 0.937500
|
||||
vt 0.937500 0.968750
|
||||
vt 0.968750 0.968750
|
||||
vt 0.968750 0.937500
|
||||
vt 1.000000 0.968750
|
||||
vt 1.000000 0.937500
|
||||
vt 0.906250 0.937500
|
||||
vt 0.906250 0.968750
|
||||
vt 0.968750 0.906250
|
||||
vt 0.937500 0.906250
|
||||
vt 0.937500 1.000000
|
||||
vt 0.968750 1.000000
|
||||
vt 0.734375 0.937500
|
||||
vt 0.750000 0.937500
|
||||
vt 0.750000 0.921875
|
||||
vt 0.734375 0.921875
|
||||
vt 0.734375 0.906250
|
||||
vt 0.703125 0.906250
|
||||
vt 0.703125 0.921875
|
||||
vt 0.703125 0.953125
|
||||
vt 0.687500 0.953125
|
||||
vt 0.687500 0.968750
|
||||
vt 0.703125 0.968750
|
||||
vt 0.640625 0.968750
|
||||
vt 0.656250 0.968750
|
||||
vt 0.656250 0.953125
|
||||
vt 0.640625 0.953125
|
||||
vt 0.687500 0.984375
|
||||
vt 0.656250 0.984375
|
||||
vt 0.656250 1.000000
|
||||
vt 0.687500 1.000000
|
||||
vt 0.656250 0.937500
|
||||
vt 0.687500 0.937500
|
||||
vt 0.687500 0.921875
|
||||
vt 0.687500 0.937500
|
||||
vt 0.703125 0.937500
|
||||
vt 0.703125 0.953125
|
||||
vt 0.734375 0.953125
|
||||
vt 0.570312 0.968750
|
||||
vt 0.570312 0.812500
|
||||
vt 0.507812 0.812500
|
||||
vt 0.539062 0.812500
|
||||
vt 0.664062 0.718750
|
||||
vt 0.664062 0.750000
|
||||
vt 0.539062 0.750000
|
||||
vt 0.539062 0.718750
|
||||
vt 0.539062 0.781250
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
vn 0.0000 0.1090 0.9940
|
||||
vn 0.0000 -0.9940 0.1090
|
||||
vn 0.0000 -0.1090 -0.9940
|
||||
vn 0.0000 0.9940 -0.1090
|
||||
s off
|
||||
f 41/1/1 42/2/1 4/3/1 3/4/1
|
||||
f 2/5/2 1/6/2 8/7/2 7/8/2
|
||||
f 5/9/3 42/2/3 48/10/3 45/11/3
|
||||
f 6/12/4 43/13/4 44/14/4 5/9/4
|
||||
f 8/15/3 1/16/3 5/9/3 44/14/3
|
||||
f 3/17/2 4/18/2 1/6/2 2/5/2
|
||||
f 13/19/2 15/20/2 11/21/2 9/22/2
|
||||
f 16/23/4 14/24/4 10/25/4 12/26/4
|
||||
f 15/27/1 16/23/1 12/26/1 11/28/1
|
||||
f 14/29/5 13/19/5 9/22/5 10/30/5
|
||||
f 21/31/2 23/32/2 19/33/2 17/34/2
|
||||
f 24/35/4 22/36/4 18/37/4 20/38/4
|
||||
f 23/32/1 24/35/1 20/38/1 19/33/1
|
||||
f 22/39/5 21/31/5 17/34/5 18/40/5
|
||||
f 28/41/5 27/42/5 31/43/5 32/44/5
|
||||
f 26/45/2 25/46/2 27/47/2 28/48/2
|
||||
f 30/49/1 29/50/1 25/51/1 26/52/1
|
||||
f 32/53/4 31/54/4 29/55/4 30/56/4
|
||||
f 25/57/3 29/55/3 31/54/3 27/58/3
|
||||
f 38/59/1 37/60/1 33/61/1 34/62/1
|
||||
f 40/63/4 39/64/4 37/65/4 38/66/4
|
||||
f 36/67/5 35/68/5 39/69/5 40/63/5
|
||||
f 33/70/3 37/71/3 39/69/3 35/68/3
|
||||
f 34/72/2 33/73/2 35/74/2 36/67/2
|
||||
f 1/16/3 4/3/3 42/2/3 5/9/3
|
||||
f 2/5/6 7/8/6 43/75/6 6/76/6
|
||||
f 7/77/5 8/15/5 44/14/5 43/78/5
|
||||
f 3/17/6 2/5/6 6/76/6 41/79/6
|
||||
f 6/80/5 5/81/5 45/82/5 46/83/5
|
||||
f 42/2/1 41/1/1 47/84/1 48/10/1
|
||||
f 41/79/6 6/76/6 46/85/6 47/86/6
|
||||
f 48/10/4 47/87/4 46/88/4 45/11/4
|
||||
f 54/89/2 55/90/2 53/91/2 52/92/2
|
||||
f 50/93/6 54/89/6 52/92/6 49/94/6
|
||||
f 49/94/6 52/92/6 58/95/6 56/96/6
|
||||
f 57/97/2 53/98/2 59/99/2 60/100/2
|
||||
f 52/92/2 53/91/2 57/101/2 58/95/2
|
||||
f 62/102/1 63/103/1 65/104/1 64/105/1
|
||||
f 64/105/2 65/104/2 69/106/2 68/107/2
|
||||
f 66/108/4 67/109/4 63/103/4 62/102/4
|
||||
f 69/110/3 65/104/3 63/103/3 67/111/3
|
||||
f 70/112/4 71/113/4 73/114/4 72/115/4
|
||||
f 72/115/1 73/114/1 77/116/1 76/117/1
|
||||
f 76/117/2 77/116/2 75/118/2 74/119/2
|
||||
f 77/116/3 73/114/3 71/120/3 75/121/3
|
||||
f 78/122/1 79/123/1 81/124/1 80/125/1
|
||||
f 80/125/2 81/124/2 85/126/2 84/127/2
|
||||
f 82/128/4 83/129/4 79/123/4 78/122/4
|
||||
f 85/130/3 81/124/3 79/123/3 83/131/3
|
||||
f 89/132/3 87/133/3 86/134/3 88/135/3
|
||||
f 88/135/2 93/136/2 92/137/2 89/132/2
|
||||
f 87/138/4 91/139/4 90/140/4 86/141/4
|
||||
f 86/141/5 90/140/5 93/142/5 88/143/5
|
||||
f 89/132/1 92/137/1 91/139/1 87/138/1
|
||||
f 97/144/3 95/145/3 94/146/3 96/147/3
|
||||
f 96/147/5 101/148/5 100/149/5 97/144/5
|
||||
f 95/150/1 99/151/1 98/152/1 94/153/1
|
||||
f 94/153/4 98/152/4 101/154/4 96/155/4
|
||||
f 97/144/2 100/149/2 99/151/2 95/150/2
|
||||
f 105/156/3 103/157/3 102/158/3 104/159/3
|
||||
f 104/159/2 109/160/2 108/161/2 105/156/2
|
||||
f 103/162/4 107/163/4 106/164/4 102/165/4
|
||||
f 102/165/5 106/164/5 109/166/5 104/167/5
|
||||
f 105/156/1 108/161/1 107/163/1 103/162/1
|
||||
f 172/168/3 61/169/3 60/170/3 59/171/3
|
||||
f 110/172/3 111/173/3 113/174/3 112/175/3
|
||||
f 119/176/3 118/177/3 120/178/3 121/179/3
|
||||
f 115/180/1 117/181/1 120/182/1 118/183/1
|
||||
f 114/184/2 115/180/2 118/183/2 119/185/2
|
||||
f 116/186/5 114/187/5 119/188/5 121/189/5
|
||||
f 117/181/4 116/186/4 121/189/4 120/182/4
|
||||
f 122/190/2 126/191/2 128/192/2 124/193/2
|
||||
f 127/194/4 123/195/4 125/196/4 129/197/4
|
||||
f 125/196/7 124/193/7 128/198/7 129/199/7
|
||||
f 123/195/8 122/190/8 124/193/8 125/196/8
|
||||
f 127/200/9 126/201/9 122/190/9 123/195/9
|
||||
f 129/199/10 128/198/10 126/202/10 127/203/10
|
||||
f 130/204/9 134/205/9 136/206/9 132/207/9
|
||||
f 133/208/2 132/209/2 136/210/2 137/211/2
|
||||
f 131/212/8 130/204/8 132/207/8 133/213/8
|
||||
f 135/214/4 134/215/4 130/204/4 131/212/4
|
||||
f 137/211/10 136/210/10 134/215/10 135/214/10
|
||||
f 138/216/4 139/217/4 141/218/4 140/219/4
|
||||
f 140/220/1 141/218/1 145/221/1 144/222/1
|
||||
f 144/223/2 145/221/2 143/224/2 142/225/2
|
||||
f 142/226/5 143/224/5 139/217/5 138/227/5
|
||||
f 145/221/3 141/218/3 139/217/3 143/224/3
|
||||
f 149/228/3 147/229/3 146/230/3 148/231/3
|
||||
f 146/230/5 150/232/5 153/233/5 148/231/5
|
||||
f 149/228/1 152/234/1 151/235/1 147/229/1
|
||||
f 148/231/2 153/236/2 152/237/2 149/228/2
|
||||
f 147/229/4 151/238/4 150/239/4 146/230/4
|
||||
f 166/240/4 157/241/4 156/242/4 167/243/4
|
||||
f 167/243/5 156/244/5 169/245/5 155/246/5
|
||||
f 158/247/5 164/248/5 162/249/5 160/250/5
|
||||
f 165/251/1 159/252/1 161/253/1 163/254/1
|
||||
f 160/255/4 162/249/4 159/252/4 165/256/4
|
||||
f 162/249/3 164/248/3 161/253/3 159/252/3
|
||||
f 160/255/6 165/256/6 163/257/6 158/258/6
|
||||
f 163/259/2 161/253/2 164/248/2 158/260/2
|
||||
f 155/246/2 169/261/2 168/262/2 154/263/2
|
||||
f 154/263/1 168/264/1 157/265/1 166/240/1
|
||||
f 155/246/3 154/263/3 166/240/3 167/243/3
|
||||
f 57/97/5 60/100/5 61/266/5 170/267/5
|
||||
f 59/171/1 53/268/1 171/269/1 172/168/1
|
||||
f 61/266/4 172/168/4 171/269/4 170/267/4
|
||||
f 51/270/3 171/271/3 53/91/3 55/90/3
|
||||
f 49/94/4 171/272/4 51/273/4 50/93/4
|
||||
f 49/94/4 56/96/4 170/274/4 171/272/4
|
||||
f 57/97/5 170/267/5 56/96/5 58/95/5
|
|
@ -0,0 +1,70 @@
|
|||
# Blender v3.2.1 OBJ File: 'furniture.blend'
|
||||
# www.blender.org
|
||||
o Cube.001_Cube.075
|
||||
v -0.375000 -0.500000 0.312500
|
||||
v -0.375000 0.250000 0.312500
|
||||
v -0.375000 -0.500000 -0.312500
|
||||
v -0.375000 0.250000 -0.312500
|
||||
v 0.375000 -0.500000 0.312500
|
||||
v 0.375000 0.250000 0.312500
|
||||
v 0.375000 -0.500000 -0.312500
|
||||
v 0.375000 0.250000 -0.312500
|
||||
v -0.437500 0.250000 0.437500
|
||||
v -0.437500 0.250000 -0.437500
|
||||
v 0.437500 0.250000 -0.437500
|
||||
v 0.437500 0.250000 0.437500
|
||||
v -0.437500 0.687500 0.437500
|
||||
v -0.437500 0.687500 -0.437500
|
||||
v 0.437500 0.687500 -0.437500
|
||||
v 0.437500 0.687500 0.437500
|
||||
vt 0.765625 0.468750
|
||||
vt 0.765625 0.656250
|
||||
vt 0.609375 0.656250
|
||||
vt 0.609375 0.468750
|
||||
vt 0.421875 0.656250
|
||||
vt 0.421875 0.468750
|
||||
vt 0.265625 0.656250
|
||||
vt 0.265625 0.468750
|
||||
vt 0.078125 0.656250
|
||||
vt 0.078125 0.468750
|
||||
vt 0.609375 0.281250
|
||||
vt 0.765625 0.281250
|
||||
vt 0.812500 0.468750
|
||||
vt 0.812500 0.656250
|
||||
vt 0.781250 0.671875
|
||||
vt 0.781250 0.453125
|
||||
vt 0.343750 0.671875
|
||||
vt 0.562500 0.671875
|
||||
vt 0.562500 0.781250
|
||||
vt 0.343750 0.781250
|
||||
vt 0.968750 0.468750
|
||||
vt 1.000000 0.453125
|
||||
vt 0.968750 0.656250
|
||||
vt 1.000000 0.671875
|
||||
vt 0.781250 1.000000
|
||||
vt 0.781250 0.781250
|
||||
vt 1.000000 0.781250
|
||||
vt 1.000000 1.000000
|
||||
vt 0.125000 0.671875
|
||||
vt 0.125000 0.781250
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 3/4/2 4/3/2 8/5/2 7/6/2
|
||||
f 7/6/3 8/5/3 6/7/3 5/8/3
|
||||
f 5/8/4 6/7/4 2/9/4 1/10/4
|
||||
f 3/4/5 7/11/5 5/12/5 1/1/5
|
||||
f 8/13/5 4/14/5 10/15/5 11/16/5
|
||||
f 12/17/3 11/18/3 15/19/3 16/20/3
|
||||
f 6/21/5 8/13/5 11/16/5 12/22/5
|
||||
f 4/14/5 2/23/5 9/24/5 10/15/5
|
||||
f 2/23/5 6/21/5 12/22/5 9/24/5
|
||||
f 15/25/6 14/26/6 13/27/6 16/28/6
|
||||
f 10/15/1 9/24/1 13/27/1 14/26/1
|
||||
f 9/29/4 12/17/4 16/20/4 13/30/4
|
||||
f 11/18/2 10/15/2 14/26/2 15/19/2
|
|
@ -0,0 +1,706 @@
|
|||
# Blender v2.82 (sub 7) OBJ File: 'stations.blend'
|
||||
# www.blender.org
|
||||
o Sewing_station_Cube.007
|
||||
v 0.500000 0.187500 -0.500000
|
||||
v 0.500000 0.250000 -0.500000
|
||||
v 0.500000 0.187500 0.500000
|
||||
v 0.500000 0.250000 0.500000
|
||||
v 0.437500 0.187500 0.437500
|
||||
v -0.937500 0.187500 0.437500
|
||||
v 0.437500 0.187500 0.312500
|
||||
v -0.937500 0.187500 0.312500
|
||||
v 0.437500 -0.500000 0.437500
|
||||
v -0.937500 -0.500000 0.437500
|
||||
v 0.437500 -0.500000 0.312500
|
||||
v -0.937500 -0.500000 0.312500
|
||||
v 0.437500 0.187500 -0.312500
|
||||
v 0.312500 0.187500 -0.312500
|
||||
v 0.437500 0.187500 -0.437500
|
||||
v 0.312500 0.187500 -0.437500
|
||||
v 0.437500 -0.500000 -0.312500
|
||||
v 0.312500 -0.500000 -0.312500
|
||||
v 0.437500 -0.500000 -0.437500
|
||||
v 0.312500 -0.500000 -0.437500
|
||||
v -0.812500 0.187500 -0.312500
|
||||
v -0.937500 0.187500 -0.312500
|
||||
v -0.812500 0.187500 -0.437500
|
||||
v -0.937500 0.187500 -0.437500
|
||||
v -0.812500 -0.500000 -0.312500
|
||||
v -0.937500 -0.500000 -0.312500
|
||||
v -0.812500 -0.500000 -0.437500
|
||||
v -0.937500 -0.500000 -0.437500
|
||||
v -1.000000 0.187500 -0.500000
|
||||
v -1.000000 0.250000 -0.500000
|
||||
v -1.000000 0.187500 0.500000
|
||||
v -1.000000 0.250000 0.500000
|
||||
v -0.937500 -0.187500 0.312500
|
||||
v -0.937500 -0.125000 0.312500
|
||||
v -0.937500 -0.187500 -0.312500
|
||||
v -0.937500 -0.125000 -0.312500
|
||||
v -0.812500 -0.187500 0.312500
|
||||
v -0.812500 -0.125000 0.312500
|
||||
v -0.812500 -0.187500 -0.312500
|
||||
v -0.812500 -0.125000 -0.312500
|
||||
v -0.875000 -0.126250 -0.300960
|
||||
v -0.875000 0.063750 -0.300960
|
||||
v -0.830867 -0.126250 -0.275480
|
||||
v -0.830867 0.063750 -0.275480
|
||||
v -0.830867 -0.126250 -0.224520
|
||||
v -0.830867 0.063750 -0.224520
|
||||
v -0.875000 -0.126250 -0.199040
|
||||
v -0.875000 0.063750 -0.199040
|
||||
v -0.919133 -0.126250 -0.224520
|
||||
v -0.919133 0.063750 -0.224520
|
||||
v -0.919133 -0.126250 -0.275480
|
||||
v -0.919133 0.063750 -0.275480
|
||||
v 0.312500 -0.187500 0.312500
|
||||
v 0.312500 -0.125000 0.312500
|
||||
v 0.312500 -0.187500 -0.312500
|
||||
v 0.312500 -0.125000 -0.312500
|
||||
v 0.437500 -0.187500 0.312500
|
||||
v 0.437500 -0.125000 0.312500
|
||||
v 0.437500 -0.187500 -0.312500
|
||||
v 0.437500 -0.125000 -0.312500
|
||||
v 0.375000 -0.126250 -0.300960
|
||||
v 0.375000 0.063750 -0.300960
|
||||
v 0.419133 -0.126250 -0.275480
|
||||
v 0.419133 0.063750 -0.275480
|
||||
v 0.419133 -0.126250 -0.224520
|
||||
v 0.419133 0.063750 -0.224520
|
||||
v 0.375000 -0.126250 -0.199040
|
||||
v 0.375000 0.063750 -0.199040
|
||||
v 0.330867 -0.126250 -0.224520
|
||||
v 0.330867 0.063750 -0.224520
|
||||
v 0.330867 -0.126250 -0.275480
|
||||
v 0.330867 0.063750 -0.275480
|
||||
v -0.875000 -0.126250 -0.175960
|
||||
v -0.875000 0.063750 -0.175960
|
||||
v -0.830867 -0.126250 -0.150480
|
||||
v -0.830867 0.063750 -0.150480
|
||||
v -0.830867 -0.126250 -0.099520
|
||||
v -0.830867 0.063750 -0.099520
|
||||
v -0.875000 -0.126250 -0.074040
|
||||
v -0.875000 0.063750 -0.074040
|
||||
v -0.919133 -0.126250 -0.099520
|
||||
v -0.919133 0.063750 -0.099520
|
||||
v -0.919133 -0.126250 -0.150480
|
||||
v -0.919133 0.063750 -0.150480
|
||||
v 0.375000 -0.126250 -0.175960
|
||||
v 0.375000 0.063750 -0.175960
|
||||
v 0.419133 -0.126250 -0.150480
|
||||
v 0.419133 0.063750 -0.150480
|
||||
v 0.419133 -0.126250 -0.099520
|
||||
v 0.419133 0.063750 -0.099520
|
||||
v 0.375000 -0.126250 -0.074040
|
||||
v 0.375000 0.063750 -0.074040
|
||||
v 0.330867 -0.126250 -0.099520
|
||||
v 0.330867 0.063750 -0.099520
|
||||
v 0.330867 -0.126250 -0.150480
|
||||
v 0.330867 0.063750 -0.150480
|
||||
v -0.875000 -0.126250 -0.050960
|
||||
v -0.875000 0.063750 -0.050960
|
||||
v -0.830867 -0.126250 -0.025480
|
||||
v -0.830867 0.063750 -0.025480
|
||||
v -0.830867 -0.126250 0.025480
|
||||
v -0.830867 0.063750 0.025480
|
||||
v -0.875000 -0.126250 0.050960
|
||||
v -0.875000 0.063750 0.050960
|
||||
v -0.919133 -0.126250 0.025480
|
||||
v -0.919133 0.063750 0.025480
|
||||
v -0.919133 -0.126250 -0.025480
|
||||
v -0.919133 0.063750 -0.025480
|
||||
v 0.375000 -0.126250 -0.050960
|
||||
v 0.375000 0.063750 -0.050960
|
||||
v 0.419133 -0.126250 -0.025480
|
||||
v 0.419133 0.063750 -0.025480
|
||||
v 0.419133 -0.126250 0.025480
|
||||
v 0.419133 0.063750 0.025480
|
||||
v 0.375000 -0.126250 0.050960
|
||||
v 0.375000 0.063750 0.050960
|
||||
v 0.330867 -0.126250 0.025480
|
||||
v 0.330867 0.063750 0.025480
|
||||
v 0.330867 -0.126250 -0.025480
|
||||
v 0.330867 0.063750 -0.025480
|
||||
v -0.875000 -0.126250 0.074040
|
||||
v -0.875000 0.063750 0.074040
|
||||
v -0.830867 -0.126250 0.099520
|
||||
v -0.830867 0.063750 0.099520
|
||||
v -0.830867 -0.126250 0.150480
|
||||
v -0.830867 0.063750 0.150480
|
||||
v -0.875000 -0.126250 0.175960
|
||||
v -0.875000 0.063750 0.175960
|
||||
v -0.919133 -0.126250 0.150480
|
||||
v -0.919133 0.063750 0.150480
|
||||
v -0.919133 -0.126250 0.099520
|
||||
v -0.919133 0.063750 0.099520
|
||||
v 0.375000 -0.126250 0.074040
|
||||
v 0.375000 0.063750 0.074040
|
||||
v 0.419133 -0.126250 0.099520
|
||||
v 0.419133 0.063750 0.099520
|
||||
v 0.419133 -0.126250 0.150480
|
||||
v 0.419133 0.063750 0.150480
|
||||
v 0.375000 -0.126250 0.175960
|
||||
v 0.375000 0.063750 0.175960
|
||||
v 0.330867 -0.126250 0.150480
|
||||
v 0.330867 0.063750 0.150480
|
||||
v 0.330867 -0.126250 0.099520
|
||||
v 0.330867 0.063750 0.099520
|
||||
v -0.875000 -0.126250 0.199040
|
||||
v -0.875000 0.063750 0.199040
|
||||
v -0.830867 -0.126250 0.224520
|
||||
v -0.830867 0.063750 0.224520
|
||||
v -0.830867 -0.126250 0.275480
|
||||
v -0.830867 0.063750 0.275480
|
||||
v -0.875000 -0.126250 0.300960
|
||||
v -0.875000 0.063750 0.300960
|
||||
v -0.919133 -0.126250 0.275480
|
||||
v -0.919133 0.063750 0.275480
|
||||
v -0.919133 -0.126250 0.224520
|
||||
v -0.919133 0.063750 0.224520
|
||||
v 0.375000 -0.126250 0.199040
|
||||
v 0.375000 0.063750 0.199040
|
||||
v 0.419133 -0.126250 0.224520
|
||||
v 0.419133 0.063750 0.224520
|
||||
v 0.419133 -0.126250 0.275480
|
||||
v 0.419133 0.063750 0.275480
|
||||
v 0.375000 -0.126250 0.300960
|
||||
v 0.375000 0.063750 0.300960
|
||||
v 0.330867 -0.126250 0.275480
|
||||
v 0.330867 0.063750 0.275480
|
||||
v 0.330867 -0.126250 0.224520
|
||||
v 0.330867 0.063750 0.224520
|
||||
v -1.437500 -0.500000 0.437500
|
||||
v -1.437500 -0.375000 0.437500
|
||||
v -1.437500 -0.500000 -0.437500
|
||||
v -1.437500 -0.375000 -0.437500
|
||||
v -1.062500 -0.500000 0.437500
|
||||
v -1.062500 -0.375000 0.437500
|
||||
v -1.062500 -0.500000 -0.437500
|
||||
v -1.062500 -0.375000 -0.437500
|
||||
v -1.062500 0.000000 -0.437500
|
||||
v -1.062500 -0.125000 -0.437500
|
||||
v -1.062500 0.000000 0.437500
|
||||
v -1.062500 -0.125000 0.437500
|
||||
v -1.437500 0.000000 -0.437500
|
||||
v -1.437500 -0.125000 -0.437500
|
||||
v -1.437500 0.000000 0.437500
|
||||
v -1.437500 -0.125000 0.437500
|
||||
v -1.474917 -0.250000 0.419493
|
||||
v -1.474917 -0.125000 0.419493
|
||||
v -1.398656 -0.250000 -0.452177
|
||||
v -1.398656 -0.125000 -0.452177
|
||||
v -1.101344 -0.250000 0.452177
|
||||
v -1.101344 -0.125000 0.452177
|
||||
v -1.025083 -0.250000 -0.419493
|
||||
v -1.025083 -0.125000 -0.419493
|
||||
v -1.101344 -0.250000 -0.452177
|
||||
v -1.101344 -0.375000 -0.452177
|
||||
v -1.025083 -0.250000 0.419493
|
||||
v -1.025083 -0.375000 0.419493
|
||||
v -1.474917 -0.250000 -0.419493
|
||||
v -1.474917 -0.375000 -0.419493
|
||||
v -1.398656 -0.250000 0.452177
|
||||
v -1.398656 -0.375000 0.452177
|
||||
v 0.437500 0.375000 -0.437500
|
||||
v 0.437500 0.250000 -0.437500
|
||||
v 0.437500 0.375000 0.437500
|
||||
v 0.437500 0.250000 0.437500
|
||||
v 0.062500 0.375000 -0.437500
|
||||
v 0.062500 0.250000 -0.437500
|
||||
v 0.062500 0.375000 0.437500
|
||||
v 0.062500 0.250000 0.437500
|
||||
v 0.062500 0.281250 0.437500
|
||||
v -0.625000 0.281250 0.437500
|
||||
v -0.625000 0.281250 -0.437500
|
||||
v 0.062500 0.281250 -0.437500
|
||||
v 0.062500 0.250000 0.437500
|
||||
v -0.625000 0.250000 0.437500
|
||||
v -0.625000 0.250000 -0.437500
|
||||
v 0.062500 0.250000 -0.437500
|
||||
vt 0.015625 0.000000
|
||||
vt 0.015625 0.015625
|
||||
vt 0.390625 0.015625
|
||||
vt 0.390625 0.000000
|
||||
vt 0.390625 0.265625
|
||||
vt 0.406250 0.265625
|
||||
vt 0.406250 0.015625
|
||||
vt 0.390625 0.015625
|
||||
vt 0.406250 0.468750
|
||||
vt 0.375000 0.468750
|
||||
vt 0.375000 0.296875
|
||||
vt 0.406250 0.296875
|
||||
vt 0.031250 0.468750
|
||||
vt 0.000000 0.468750
|
||||
vt 0.000000 0.296875
|
||||
vt 0.031250 0.296875
|
||||
vt 0.031250 0.468750
|
||||
vt 0.375000 0.468750
|
||||
vt 0.375000 0.296875
|
||||
vt 0.031250 0.296875
|
||||
vt 0.593750 0.375000
|
||||
vt 0.593750 0.406250
|
||||
vt 0.421875 0.406250
|
||||
vt 0.421875 0.375000
|
||||
vt 0.593750 0.437500
|
||||
vt 0.593750 0.468750
|
||||
vt 0.421875 0.468750
|
||||
vt 0.421875 0.437500
|
||||
vt 0.593750 0.343750
|
||||
vt 0.421875 0.343750
|
||||
vt 0.593750 0.210938
|
||||
vt 0.593750 0.242188
|
||||
vt 0.421875 0.242188
|
||||
vt 0.421875 0.210938
|
||||
vt 0.593750 0.273438
|
||||
vt 0.593750 0.304688
|
||||
vt 0.421875 0.304688
|
||||
vt 0.421875 0.273438
|
||||
vt 0.593750 0.335938
|
||||
vt 0.421875 0.335938
|
||||
vt 0.390625 0.015625
|
||||
vt 0.390625 0.265625
|
||||
vt 0.015625 0.265625
|
||||
vt 0.015625 0.015625
|
||||
vt 0.015625 0.015625
|
||||
vt 0.015625 0.265625
|
||||
vt 0.390625 0.265625
|
||||
vt 0.390625 0.281250
|
||||
vt 0.015625 0.281250
|
||||
vt 0.015625 0.265625
|
||||
vt 0.000000 0.015625
|
||||
vt 0.015625 0.015625
|
||||
vt 0.000000 0.265625
|
||||
vt 0.593750 0.031250
|
||||
vt 0.593750 0.046875
|
||||
vt 0.437500 0.046875
|
||||
vt 0.437500 0.031250
|
||||
vt 0.437500 0.093750
|
||||
vt 0.437500 0.078125
|
||||
vt 0.593750 0.078125
|
||||
vt 0.593750 0.093750
|
||||
vt 0.437500 0.000000
|
||||
vt 0.593750 0.000000
|
||||
vt 0.468750 0.859375
|
||||
vt 0.468750 0.906250
|
||||
vt 0.453125 0.906250
|
||||
vt 0.453125 0.859375
|
||||
vt 0.437500 0.906250
|
||||
vt 0.437500 0.859375
|
||||
vt 0.421875 0.906250
|
||||
vt 0.421875 0.859375
|
||||
vt 0.406250 0.906250
|
||||
vt 0.406250 0.859375
|
||||
vt 0.407187 0.846940
|
||||
vt 0.394328 0.854364
|
||||
vt 0.381468 0.846940
|
||||
vt 0.381468 0.832091
|
||||
vt 0.394328 0.824667
|
||||
vt 0.407187 0.832091
|
||||
vt 0.390625 0.906250
|
||||
vt 0.390625 0.859375
|
||||
vt 0.375000 0.906250
|
||||
vt 0.375000 0.859375
|
||||
vt 0.593750 0.132812
|
||||
vt 0.593750 0.148438
|
||||
vt 0.437500 0.148438
|
||||
vt 0.437500 0.132812
|
||||
vt 0.437500 0.195312
|
||||
vt 0.437500 0.179688
|
||||
vt 0.593750 0.179688
|
||||
vt 0.593750 0.195312
|
||||
vt 0.437500 0.101562
|
||||
vt 0.593750 0.101562
|
||||
vt 0.218750 0.859375
|
||||
vt 0.218750 0.906250
|
||||
vt 0.203125 0.906250
|
||||
vt 0.203125 0.859375
|
||||
vt 0.187500 0.906250
|
||||
vt 0.187500 0.859375
|
||||
vt 0.171875 0.906250
|
||||
vt 0.171875 0.859375
|
||||
vt 0.156250 0.906250
|
||||
vt 0.156250 0.859375
|
||||
vt 0.157187 0.846940
|
||||
vt 0.144328 0.854364
|
||||
vt 0.131468 0.846940
|
||||
vt 0.131468 0.832091
|
||||
vt 0.144328 0.824667
|
||||
vt 0.157187 0.832091
|
||||
vt 0.140625 0.906250
|
||||
vt 0.140625 0.859375
|
||||
vt 0.125000 0.906250
|
||||
vt 0.125000 0.859375
|
||||
vt 0.468750 0.953125
|
||||
vt 0.468750 1.000000
|
||||
vt 0.453125 1.000000
|
||||
vt 0.453125 0.953125
|
||||
vt 0.437500 1.000000
|
||||
vt 0.437500 0.953125
|
||||
vt 0.421875 1.000000
|
||||
vt 0.421875 0.953125
|
||||
vt 0.406250 1.000000
|
||||
vt 0.406250 0.953125
|
||||
vt 0.407187 0.940690
|
||||
vt 0.394328 0.948114
|
||||
vt 0.381468 0.940690
|
||||
vt 0.381468 0.925841
|
||||
vt 0.394328 0.918417
|
||||
vt 0.407187 0.925841
|
||||
vt 0.390625 1.000000
|
||||
vt 0.390625 0.953125
|
||||
vt 0.375000 1.000000
|
||||
vt 0.375000 0.953125
|
||||
vt 0.093750 0.859375
|
||||
vt 0.093750 0.906250
|
||||
vt 0.078125 0.906250
|
||||
vt 0.078125 0.859375
|
||||
vt 0.062500 0.906250
|
||||
vt 0.062500 0.859375
|
||||
vt 0.046875 0.906250
|
||||
vt 0.046875 0.859375
|
||||
vt 0.031250 0.906250
|
||||
vt 0.031250 0.859375
|
||||
vt 0.032187 0.846940
|
||||
vt 0.019328 0.854364
|
||||
vt 0.006468 0.846940
|
||||
vt 0.006468 0.832091
|
||||
vt 0.019328 0.824667
|
||||
vt 0.032187 0.832091
|
||||
vt 0.015625 0.906250
|
||||
vt 0.015625 0.859375
|
||||
vt 0.000000 0.906250
|
||||
vt 0.000000 0.859375
|
||||
vt 0.343750 0.859375
|
||||
vt 0.343750 0.906250
|
||||
vt 0.328125 0.906250
|
||||
vt 0.328125 0.859375
|
||||
vt 0.312500 0.906250
|
||||
vt 0.312500 0.859375
|
||||
vt 0.296875 0.906250
|
||||
vt 0.296875 0.859375
|
||||
vt 0.281250 0.906250
|
||||
vt 0.281250 0.859375
|
||||
vt 0.282187 0.846940
|
||||
vt 0.269328 0.854364
|
||||
vt 0.256468 0.846940
|
||||
vt 0.256468 0.832091
|
||||
vt 0.269328 0.824667
|
||||
vt 0.282187 0.832091
|
||||
vt 0.265625 0.906250
|
||||
vt 0.265625 0.859375
|
||||
vt 0.250000 0.906250
|
||||
vt 0.250000 0.859375
|
||||
vt 0.218750 0.953125
|
||||
vt 0.218750 1.000000
|
||||
vt 0.203125 1.000000
|
||||
vt 0.203125 0.953125
|
||||
vt 0.187500 1.000000
|
||||
vt 0.187500 0.953125
|
||||
vt 0.171875 1.000000
|
||||
vt 0.171875 0.953125
|
||||
vt 0.156250 1.000000
|
||||
vt 0.156250 0.953125
|
||||
vt 0.157187 0.940690
|
||||
vt 0.144328 0.948114
|
||||
vt 0.131468 0.940690
|
||||
vt 0.131468 0.925841
|
||||
vt 0.144328 0.918417
|
||||
vt 0.157187 0.925841
|
||||
vt 0.140625 1.000000
|
||||
vt 0.140625 0.953125
|
||||
vt 0.125000 1.000000
|
||||
vt 0.125000 0.953125
|
||||
vt 0.343750 0.953125
|
||||
vt 0.343750 1.000000
|
||||
vt 0.328125 1.000000
|
||||
vt 0.328125 0.953125
|
||||
vt 0.312500 1.000000
|
||||
vt 0.312500 0.953125
|
||||
vt 0.296875 1.000000
|
||||
vt 0.296875 0.953125
|
||||
vt 0.281250 1.000000
|
||||
vt 0.281250 0.953125
|
||||
vt 0.282187 0.940690
|
||||
vt 0.269328 0.948114
|
||||
vt 0.256468 0.940690
|
||||
vt 0.256468 0.925841
|
||||
vt 0.269328 0.918417
|
||||
vt 0.282187 0.925841
|
||||
vt 0.265625 1.000000
|
||||
vt 0.265625 0.953125
|
||||
vt 0.250000 1.000000
|
||||
vt 0.250000 0.953125
|
||||
vt 0.093750 0.953125
|
||||
vt 0.093750 1.000000
|
||||
vt 0.078125 1.000000
|
||||
vt 0.078125 0.953125
|
||||
vt 0.062500 1.000000
|
||||
vt 0.062500 0.953125
|
||||
vt 0.046875 1.000000
|
||||
vt 0.046875 0.953125
|
||||
vt 0.031250 1.000000
|
||||
vt 0.031250 0.953125
|
||||
vt 0.032187 0.940690
|
||||
vt 0.019328 0.948114
|
||||
vt 0.006468 0.940690
|
||||
vt 0.006468 0.925841
|
||||
vt 0.019328 0.918417
|
||||
vt 0.032187 0.925841
|
||||
vt 0.015625 1.000000
|
||||
vt 0.015625 0.953125
|
||||
vt -0.000000 1.000000
|
||||
vt 0.000000 0.953125
|
||||
vt 0.343750 0.953125
|
||||
vt 0.343750 1.000000
|
||||
vt 0.328125 1.000000
|
||||
vt 0.328125 0.953125
|
||||
vt 0.312500 1.000000
|
||||
vt 0.312500 0.953125
|
||||
vt 0.296875 1.000000
|
||||
vt 0.296875 0.953125
|
||||
vt 0.281250 1.000000
|
||||
vt 0.281250 0.953125
|
||||
vt 0.282187 0.940690
|
||||
vt 0.269328 0.948114
|
||||
vt 0.256468 0.940690
|
||||
vt 0.256468 0.925841
|
||||
vt 0.269328 0.918417
|
||||
vt 0.282187 0.925841
|
||||
vt 0.265625 1.000000
|
||||
vt 0.265625 0.953125
|
||||
vt 0.250000 1.000000
|
||||
vt 0.250000 0.953125
|
||||
vt 0.093750 0.953125
|
||||
vt 0.093750 1.000000
|
||||
vt 0.078125 1.000000
|
||||
vt 0.078125 0.953125
|
||||
vt 0.062500 1.000000
|
||||
vt 0.062500 0.953125
|
||||
vt 0.046875 1.000000
|
||||
vt 0.046875 0.953125
|
||||
vt 0.031250 1.000000
|
||||
vt 0.031250 0.953125
|
||||
vt 0.032187 0.940690
|
||||
vt 0.019328 0.948114
|
||||
vt 0.006468 0.940690
|
||||
vt 0.006468 0.925841
|
||||
vt 0.019328 0.918417
|
||||
vt 0.032187 0.925841
|
||||
vt 0.015625 1.000000
|
||||
vt 0.015625 0.953125
|
||||
vt -0.000000 1.000000
|
||||
vt 0.000000 0.953125
|
||||
vt 0.968750 0.164062
|
||||
vt 0.968750 0.195312
|
||||
vt 0.750000 0.195312
|
||||
vt 0.750000 0.164062
|
||||
vt 0.718750 0.195312
|
||||
vt 0.750000 0.289062
|
||||
vt 0.718750 0.289062
|
||||
vt 0.750000 0.320312
|
||||
vt 0.968750 0.289062
|
||||
vt 0.968750 0.320312
|
||||
vt 1.000000 0.289062
|
||||
vt 1.000000 0.195312
|
||||
vt 0.718750 0.031250
|
||||
vt 0.750000 0.031250
|
||||
vt 0.750000 0.125000
|
||||
vt 0.718750 0.125000
|
||||
vt 0.718750 0.359375
|
||||
vt 0.750000 0.359375
|
||||
vt 0.750000 0.453125
|
||||
vt 0.718750 0.453125
|
||||
vt 0.968750 0.359375
|
||||
vt 0.968750 0.453125
|
||||
vt 1.000000 0.453125
|
||||
vt 1.000000 0.359375
|
||||
vt 0.750000 0.484375
|
||||
vt 0.968750 0.484375
|
||||
vt 0.968750 0.328125
|
||||
vt 0.750000 0.328125
|
||||
vt 0.968750 0.492188
|
||||
vt 0.968750 0.523438
|
||||
vt 0.750000 0.523438
|
||||
vt 0.750000 0.492188
|
||||
vt 0.750000 0.648438
|
||||
vt 0.750000 0.617188
|
||||
vt 0.968750 0.617188
|
||||
vt 0.968750 0.648438
|
||||
vt 1.000000 0.617188
|
||||
vt 1.000000 0.523438
|
||||
vt 0.718750 0.523438
|
||||
vt 0.718750 0.617188
|
||||
vt 0.968750 0.031250
|
||||
vt 0.968750 0.125000
|
||||
vt 1.000000 0.125000
|
||||
vt 1.000000 0.031250
|
||||
vt 0.750000 0.156250
|
||||
vt 0.968750 0.156250
|
||||
vt 0.968750 0.000000
|
||||
vt 0.750000 0.000000
|
||||
vt 0.718750 0.687500
|
||||
vt 0.750000 0.687500
|
||||
vt 0.750000 0.781250
|
||||
vt 0.718750 0.781250
|
||||
vt 0.968750 0.687500
|
||||
vt 0.968750 0.781250
|
||||
vt 1.000000 0.781250
|
||||
vt 1.000000 0.687500
|
||||
vt 0.750000 0.812500
|
||||
vt 0.968750 0.812500
|
||||
vt 0.968750 0.656250
|
||||
vt 0.750000 0.656250
|
||||
vt 0.750000 0.984375
|
||||
vt 0.750000 0.812500
|
||||
vt 0.968750 0.812500
|
||||
vt 0.968750 0.984375
|
||||
vt 0.976562 0.812500
|
||||
vt 0.976562 0.984375
|
||||
vt 0.968750 0.992188
|
||||
vt 0.750000 0.992188
|
||||
vt 0.742188 0.984375
|
||||
vt 0.742188 0.812500
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
vn 0.5000 0.0000 -0.8660
|
||||
vn 0.5000 0.0000 0.8660
|
||||
vn -0.5000 0.0000 0.8660
|
||||
vn -0.5000 0.0000 -0.8660
|
||||
vn -0.0872 0.0000 -0.9962
|
||||
vn -0.9962 0.0000 -0.0872
|
||||
vn 0.9962 0.0000 0.0872
|
||||
vn -0.0872 0.0000 0.9962
|
||||
vn 0.0872 0.0000 -0.9962
|
||||
vn 0.0872 0.0000 0.9962
|
||||
vn 0.9962 0.0000 -0.0872
|
||||
vn -0.9962 0.0000 0.0872
|
||||
s off
|
||||
f 29/1/1 30/2/1 2/3/1 1/4/1
|
||||
f 1/5/2 2/6/2 4/7/2 3/8/2
|
||||
f 9/9/2 11/10/2 7/11/2 5/12/2
|
||||
f 12/13/3 10/14/3 6/15/3 8/16/3
|
||||
f 11/10/1 12/13/1 8/16/1 7/11/1
|
||||
f 10/17/4 9/18/4 5/19/4 6/20/4
|
||||
f 17/21/2 19/22/2 15/23/2 13/24/2
|
||||
f 20/25/3 18/26/3 14/27/3 16/28/3
|
||||
f 19/22/1 20/25/1 16/28/1 15/23/1
|
||||
f 18/29/4 17/21/4 13/24/4 14/30/4
|
||||
f 25/31/2 27/32/2 23/33/2 21/34/2
|
||||
f 28/35/3 26/36/3 22/37/3 24/38/3
|
||||
f 27/32/1 28/35/1 24/38/1 23/33/1
|
||||
f 26/36/4 25/39/4 21/40/4 22/37/4
|
||||
f 4/41/5 2/42/5 30/43/5 32/44/5
|
||||
f 1/5/6 3/8/6 31/45/6 29/46/6
|
||||
f 3/47/4 4/48/4 32/49/4 31/50/4
|
||||
f 30/51/3 29/52/3 31/50/3 32/53/3
|
||||
f 33/54/3 34/55/3 36/56/3 35/57/3
|
||||
f 39/58/2 40/59/2 38/60/2 37/61/2
|
||||
f 35/57/6 39/62/6 37/63/6 33/54/6
|
||||
f 40/59/5 36/56/5 34/55/5 38/60/5
|
||||
f 41/64/7 42/65/7 44/66/7 43/67/7
|
||||
f 43/67/2 44/66/2 46/68/2 45/69/2
|
||||
f 45/69/8 46/68/8 48/70/8 47/71/8
|
||||
f 47/71/9 48/70/9 50/72/9 49/73/9
|
||||
f 44/74/5 42/75/5 52/76/5 50/77/5 48/78/5 46/79/5
|
||||
f 49/73/3 50/72/3 52/80/3 51/81/3
|
||||
f 51/81/10 52/80/10 42/82/10 41/83/10
|
||||
f 53/84/3 54/85/3 56/86/3 55/87/3
|
||||
f 59/88/2 60/89/2 58/90/2 57/91/2
|
||||
f 55/87/6 59/92/6 57/93/6 53/84/6
|
||||
f 60/89/5 56/86/5 54/85/5 58/90/5
|
||||
f 61/94/7 62/95/7 64/96/7 63/97/7
|
||||
f 63/97/2 64/96/2 66/98/2 65/99/2
|
||||
f 65/99/8 66/98/8 68/100/8 67/101/8
|
||||
f 67/101/9 68/100/9 70/102/9 69/103/9
|
||||
f 64/104/5 62/105/5 72/106/5 70/107/5 68/108/5 66/109/5
|
||||
f 69/103/3 70/102/3 72/110/3 71/111/3
|
||||
f 71/111/10 72/110/10 62/112/10 61/113/10
|
||||
f 73/114/7 74/115/7 76/116/7 75/117/7
|
||||
f 75/117/2 76/116/2 78/118/2 77/119/2
|
||||
f 77/119/8 78/118/8 80/120/8 79/121/8
|
||||
f 79/121/9 80/120/9 82/122/9 81/123/9
|
||||
f 76/124/5 74/125/5 84/126/5 82/127/5 80/128/5 78/129/5
|
||||
f 81/123/3 82/122/3 84/130/3 83/131/3
|
||||
f 83/131/10 84/130/10 74/132/10 73/133/10
|
||||
f 85/134/7 86/135/7 88/136/7 87/137/7
|
||||
f 87/137/2 88/136/2 90/138/2 89/139/2
|
||||
f 89/139/8 90/138/8 92/140/8 91/141/8
|
||||
f 91/141/9 92/140/9 94/142/9 93/143/9
|
||||
f 88/144/5 86/145/5 96/146/5 94/147/5 92/148/5 90/149/5
|
||||
f 93/143/3 94/142/3 96/150/3 95/151/3
|
||||
f 95/151/10 96/150/10 86/152/10 85/153/10
|
||||
f 97/154/7 98/155/7 100/156/7 99/157/7
|
||||
f 99/157/2 100/156/2 102/158/2 101/159/2
|
||||
f 101/159/8 102/158/8 104/160/8 103/161/8
|
||||
f 103/161/9 104/160/9 106/162/9 105/163/9
|
||||
f 100/164/5 98/165/5 108/166/5 106/167/5 104/168/5 102/169/5
|
||||
f 105/163/3 106/162/3 108/170/3 107/171/3
|
||||
f 107/171/10 108/170/10 98/172/10 97/173/10
|
||||
f 109/174/7 110/175/7 112/176/7 111/177/7
|
||||
f 111/177/2 112/176/2 114/178/2 113/179/2
|
||||
f 113/179/8 114/178/8 116/180/8 115/181/8
|
||||
f 115/181/9 116/180/9 118/182/9 117/183/9
|
||||
f 112/184/5 110/185/5 120/186/5 118/187/5 116/188/5 114/189/5
|
||||
f 117/183/3 118/182/3 120/190/3 119/191/3
|
||||
f 119/191/10 120/190/10 110/192/10 109/193/10
|
||||
f 121/194/7 122/195/7 124/196/7 123/197/7
|
||||
f 123/197/2 124/196/2 126/198/2 125/199/2
|
||||
f 125/199/8 126/198/8 128/200/8 127/201/8
|
||||
f 127/201/9 128/200/9 130/202/9 129/203/9
|
||||
f 124/204/5 122/205/5 132/206/5 130/207/5 128/208/5 126/209/5
|
||||
f 129/203/3 130/202/3 132/210/3 131/211/3
|
||||
f 131/211/10 132/210/10 122/212/10 121/213/10
|
||||
f 133/214/7 134/215/7 136/216/7 135/217/7
|
||||
f 135/217/2 136/216/2 138/218/2 137/219/2
|
||||
f 137/219/8 138/218/8 140/220/8 139/221/8
|
||||
f 139/221/9 140/220/9 142/222/9 141/223/9
|
||||
f 136/224/5 134/225/5 144/226/5 142/227/5 140/228/5 138/229/5
|
||||
f 141/223/3 142/222/3 144/230/3 143/231/3
|
||||
f 143/231/10 144/230/10 134/232/10 133/233/10
|
||||
f 145/234/7 146/235/7 148/236/7 147/237/7
|
||||
f 147/237/2 148/236/2 150/238/2 149/239/2
|
||||
f 149/239/8 150/238/8 152/240/8 151/241/8
|
||||
f 151/241/9 152/240/9 154/242/9 153/243/9
|
||||
f 148/244/5 146/245/5 156/246/5 154/247/5 152/248/5 150/249/5
|
||||
f 153/243/3 154/242/3 156/250/3 155/251/3
|
||||
f 155/251/10 156/250/10 146/252/10 145/253/10
|
||||
f 157/254/7 158/255/7 160/256/7 159/257/7
|
||||
f 159/257/2 160/256/2 162/258/2 161/259/2
|
||||
f 161/259/8 162/258/8 164/260/8 163/261/8
|
||||
f 163/261/9 164/260/9 166/262/9 165/263/9
|
||||
f 160/264/5 158/265/5 168/266/5 166/267/5 164/268/5 162/269/5
|
||||
f 165/263/3 166/262/3 168/270/3 167/271/3
|
||||
f 167/271/10 168/270/10 158/272/10 157/273/10
|
||||
f 169/274/3 170/275/3 172/276/3 171/277/3
|
||||
f 171/278/1 172/276/1 176/279/1 175/280/1
|
||||
f 175/281/2 176/279/2 174/282/2 173/283/2
|
||||
f 173/284/4 174/282/4 170/275/4 169/285/4
|
||||
f 198/286/11 197/287/11 193/288/11 194/289/11
|
||||
f 176/279/5 172/276/5 170/275/5 174/282/5
|
||||
f 182/290/1 181/291/1 177/292/1 178/293/1
|
||||
f 177/292/5 181/291/5 183/294/5 179/295/5
|
||||
f 180/296/4 179/295/4 183/294/4 184/297/4
|
||||
f 178/298/2 177/292/2 179/295/2 180/299/2
|
||||
f 184/300/3 183/294/3 181/291/3 182/301/3
|
||||
f 185/302/12 186/303/12 188/304/12 187/305/12
|
||||
f 191/306/13 192/307/13 190/308/13 189/309/13
|
||||
f 189/310/14 190/308/14 186/303/14 185/311/14
|
||||
f 192/307/5 188/304/5 186/303/5 190/308/5
|
||||
f 187/312/15 188/304/15 192/307/15 191/313/15
|
||||
f 193/288/5 197/287/5 199/314/5 195/315/5
|
||||
f 196/316/16 195/315/16 199/314/16 200/317/16
|
||||
f 194/318/17 193/288/17 195/315/17 196/319/17
|
||||
f 200/320/18 199/314/18 197/287/18 198/321/18
|
||||
f 206/322/1 205/323/1 201/324/1 202/325/1
|
||||
f 201/324/5 205/323/5 207/326/5 203/327/5
|
||||
f 204/328/4 203/327/4 207/326/4 208/329/4
|
||||
f 202/330/2 201/324/2 203/327/2 204/331/2
|
||||
f 208/332/3 207/326/3 205/323/3 206/333/3
|
||||
f 210/334/5 209/335/5 212/336/5 211/337/5
|
||||
f 211/337/1 212/336/1 216/338/1 215/339/1
|
||||
f 210/334/3 211/337/3 215/340/3 214/341/3
|
||||
f 209/335/4 210/334/4 214/342/4 213/343/4
|
|
@ -0,0 +1,72 @@
|
|||
# Blender v3.2.1 OBJ File: 'furniture.blend'
|
||||
# www.blender.org
|
||||
o Trash_bin_Cube.074
|
||||
v -0.375000 -0.500000 0.375000
|
||||
v -0.375000 0.500000 0.375000
|
||||
v -0.375000 -0.500000 -0.375000
|
||||
v -0.375000 0.500000 -0.375000
|
||||
v 0.375000 -0.500000 0.375000
|
||||
v 0.375000 0.500000 0.375000
|
||||
v 0.375000 -0.500000 -0.375000
|
||||
v 0.375000 0.500000 -0.375000
|
||||
v -0.312500 0.500000 0.312500
|
||||
v -0.312500 0.500000 -0.312500
|
||||
v 0.312500 0.500000 -0.312500
|
||||
v 0.312500 0.500000 0.312500
|
||||
v -0.312500 -0.250000 0.312500
|
||||
v -0.312500 -0.250000 -0.312500
|
||||
v 0.312500 -0.250000 -0.312500
|
||||
v 0.312500 -0.250000 0.312500
|
||||
vt 0.375000 0.734375
|
||||
vt 0.375000 0.984375
|
||||
vt 0.187500 0.984375
|
||||
vt 0.187500 0.734375
|
||||
vt 0.000000 0.984375
|
||||
vt 0.000000 0.734375
|
||||
vt 0.750000 0.734375
|
||||
vt 0.750000 0.984375
|
||||
vt 0.562500 0.984375
|
||||
vt 0.562500 0.734375
|
||||
vt 0.734375 1.000000
|
||||
vt 0.578125 1.000000
|
||||
vt 0.359375 0.718750
|
||||
vt 0.203125 0.718750
|
||||
vt 0.203125 0.531250
|
||||
vt 0.359375 0.531250
|
||||
vt 0.359375 1.000000
|
||||
vt 0.203125 1.000000
|
||||
vt 0.546875 1.000000
|
||||
vt 0.390625 1.000000
|
||||
vt 0.171875 1.000000
|
||||
vt 0.015625 1.000000
|
||||
vt 0.828125 0.531250
|
||||
vt 0.671875 0.531250
|
||||
vt 0.671875 0.375000
|
||||
vt 0.828125 0.375000
|
||||
vt 0.671875 0.718750
|
||||
vt 0.515625 0.718750
|
||||
vt 0.515625 0.531250
|
||||
vt 0.828125 0.718750
|
||||
vt 0.000000 0.546875
|
||||
vt 0.187500 0.546875
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 3/4/2 4/3/2 8/5/2 7/6/2
|
||||
f 7/7/3 8/8/3 6/9/3 5/10/3
|
||||
f 5/10/4 6/9/4 2/2/4 1/1/4
|
||||
f 6/9/5 8/8/5 11/11/5 12/12/5
|
||||
f 12/13/1 11/14/1 15/15/1 16/16/1
|
||||
f 4/3/5 2/2/5 9/17/5 10/18/5
|
||||
f 2/2/5 6/9/5 12/19/5 9/20/5
|
||||
f 8/5/5 4/3/5 10/21/5 11/22/5
|
||||
f 15/23/5 14/24/5 13/25/5 16/26/5
|
||||
f 10/27/3 9/28/3 13/29/3 14/24/3
|
||||
f 9/28/2 12/13/2 16/16/2 13/29/2
|
||||
f 11/30/4 10/27/4 14/24/4 15/23/4
|
||||
f 3/4/6 7/6/6 5/31/6 1/32/6
|
|
@ -0,0 +1,148 @@
|
|||
# Blender v2.82 (sub 7) OBJ File: 'stations.blend'
|
||||
# www.blender.org
|
||||
o Weaving_loom_Cube.005
|
||||
v 0.250000 -0.500000 0.062500
|
||||
v 0.250000 1.500000 0.062500
|
||||
v 0.250000 -0.500000 -0.062500
|
||||
v 0.250000 1.500000 -0.062500
|
||||
v 0.375000 -0.500000 0.062500
|
||||
v 0.375000 1.500000 0.062500
|
||||
v 0.375000 -0.500000 -0.062500
|
||||
v 0.375000 1.500000 -0.062500
|
||||
v -1.375000 -0.500000 0.062500
|
||||
v -1.375000 1.500000 0.062500
|
||||
v -1.375000 -0.500000 -0.062500
|
||||
v -1.375000 1.500000 -0.062500
|
||||
v -1.250000 -0.500000 0.062500
|
||||
v -1.250000 1.500000 0.062500
|
||||
v -1.250000 -0.500000 -0.062500
|
||||
v -1.250000 1.500000 -0.062500
|
||||
v -1.500000 1.437500 0.125000
|
||||
v 0.500000 1.437500 0.125000
|
||||
v -1.500000 1.437500 -0.000000
|
||||
v 0.500000 1.437500 0.000000
|
||||
v -1.500000 1.312500 0.125000
|
||||
v 0.500000 1.312500 0.125000
|
||||
v -1.500000 1.312500 -0.000000
|
||||
v 0.500000 1.312500 0.000000
|
||||
v -1.500000 -0.062500 -0.000000
|
||||
v 0.500000 -0.062500 0.000000
|
||||
v -1.500000 -0.062500 -0.125000
|
||||
v 0.500000 -0.062500 -0.125000
|
||||
v -1.500000 -0.187500 -0.000000
|
||||
v 0.500000 -0.187500 0.000000
|
||||
v -1.500000 -0.187500 -0.125000
|
||||
v 0.500000 -0.187500 -0.125000
|
||||
v -1.187500 1.437500 -0.002291
|
||||
v 0.187500 1.437500 -0.002291
|
||||
v -1.187500 -0.187500 0.004243
|
||||
v 0.187500 -0.187500 0.004243
|
||||
v -1.187500 1.437500 -0.003314
|
||||
v 0.187500 1.437500 -0.003314
|
||||
v -1.187500 -0.187500 0.003220
|
||||
v 0.187500 -0.187500 0.003220
|
||||
vt 0.937500 0.000000
|
||||
vt 0.937500 1.000000
|
||||
vt 0.875000 1.000000
|
||||
vt 0.875000 0.000000
|
||||
vt 0.812500 1.000000
|
||||
vt 0.812500 0.000000
|
||||
vt 0.750000 1.000000
|
||||
vt 0.750000 0.000000
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.750000 0.109375
|
||||
vt 0.750000 0.171875
|
||||
vt 0.687500 0.171875
|
||||
vt 0.687500 0.109375
|
||||
vt 0.937500 0.000000
|
||||
vt 0.937500 1.000000
|
||||
vt 0.875000 1.000000
|
||||
vt 0.875000 0.000000
|
||||
vt 0.812500 1.000000
|
||||
vt 0.812500 0.000000
|
||||
vt 0.750000 1.000000
|
||||
vt 0.750000 0.000000
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.750000 0.046875
|
||||
vt 0.750000 0.109375
|
||||
vt 0.687500 0.109375
|
||||
vt 0.687500 0.046875
|
||||
vt 0.937500 0.000000
|
||||
vt 0.937500 1.000000
|
||||
vt 0.875000 1.000000
|
||||
vt 0.875000 0.000000
|
||||
vt 0.812500 1.000000
|
||||
vt 0.812500 0.000000
|
||||
vt 0.750000 1.000000
|
||||
vt 0.750000 0.000000
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.750000 0.046875
|
||||
vt 0.750000 0.109375
|
||||
vt 0.687500 0.109375
|
||||
vt 0.687500 0.046875
|
||||
vt 0.750000 0.171875
|
||||
vt 0.687500 0.171875
|
||||
vt 0.687500 0.109375
|
||||
vt 0.750000 0.109375
|
||||
vt 0.937500 0.000000
|
||||
vt 0.937500 1.000000
|
||||
vt 0.875000 1.000000
|
||||
vt 0.875000 0.000000
|
||||
vt 0.812500 1.000000
|
||||
vt 0.812500 0.000000
|
||||
vt 0.750000 1.000000
|
||||
vt 0.750000 0.000000
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.750000 0.171875
|
||||
vt 0.750000 0.234375
|
||||
vt 0.687500 0.234375
|
||||
vt 0.687500 0.171875
|
||||
vt 0.750000 0.234375
|
||||
vt 0.687500 0.234375
|
||||
vt 0.687500 0.171875
|
||||
vt 0.750000 0.171875
|
||||
vt 0.687500 1.000000
|
||||
vt 0.687500 0.187500
|
||||
vt 0.000000 0.187500
|
||||
vt 0.000000 1.000000
|
||||
vt 0.687500 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.187500
|
||||
vt 0.687500 0.187500
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
vn 0.0000 0.0040 1.0000
|
||||
vn 0.0000 -0.0040 -1.0000
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 3/4/2 4/3/2 8/5/2 7/6/2
|
||||
f 7/6/3 8/5/3 6/7/3 5/8/3
|
||||
f 5/9/4 6/10/4 2/2/4 1/1/4
|
||||
f 8/11/5 4/12/5 2/13/5 6/14/5
|
||||
f 9/15/1 10/16/1 12/17/1 11/18/1
|
||||
f 11/18/2 12/17/2 16/19/2 15/20/2
|
||||
f 15/20/3 16/19/3 14/21/3 13/22/3
|
||||
f 13/23/4 14/24/4 10/16/4 9/15/4
|
||||
f 16/25/5 12/26/5 10/27/5 14/28/5
|
||||
f 17/29/5 18/30/5 20/31/5 19/32/5
|
||||
f 19/32/2 20/31/2 24/33/2 23/34/2
|
||||
f 23/34/6 24/33/6 22/35/6 21/36/6
|
||||
f 21/37/4 22/38/4 18/30/4 17/29/4
|
||||
f 24/39/3 20/40/3 18/41/3 22/42/3
|
||||
f 17/43/1 19/44/1 23/45/1 21/46/1
|
||||
f 25/47/5 26/48/5 28/49/5 27/50/5
|
||||
f 27/50/2 28/49/2 32/51/2 31/52/2
|
||||
f 31/52/6 32/51/6 30/53/6 29/54/6
|
||||
f 29/55/4 30/56/4 26/48/4 25/47/4
|
||||
f 32/57/3 28/58/3 26/59/3 30/60/3
|
||||
f 25/61/1 27/62/1 31/63/1 29/64/1
|
||||
f 33/65/7 35/66/7 36/67/7 34/68/7
|
||||
f 37/69/8 38/70/8 40/71/8 39/72/8
|
|
@ -0,0 +1,358 @@
|
|||
# Blender v3.2.1 OBJ File: 'furniture.blend'
|
||||
# www.blender.org
|
||||
o Well_Cube.073
|
||||
v 0.500000 -0.500000 0.500000
|
||||
v 0.500000 0.125000 0.500000
|
||||
v 0.500000 -0.500000 -0.500000
|
||||
v 0.500000 0.125000 -0.500000
|
||||
v 0.625000 -0.500000 0.500000
|
||||
v 0.625000 0.125000 0.500000
|
||||
v 0.625000 -0.500000 -0.500000
|
||||
v 0.625000 0.125000 -0.500000
|
||||
v -0.625000 -0.500000 0.500000
|
||||
v -0.625000 0.125000 0.500000
|
||||
v -0.625000 -0.500000 -0.500000
|
||||
v -0.625000 0.125000 -0.500000
|
||||
v -0.500000 -0.500000 0.500000
|
||||
v -0.500000 0.125000 0.500000
|
||||
v -0.500000 -0.500000 -0.500000
|
||||
v -0.500000 0.125000 -0.500000
|
||||
v -0.500000 -0.500000 0.500000
|
||||
v -0.500000 0.125000 0.500000
|
||||
v 0.500000 -0.500000 0.500000
|
||||
v 0.500000 0.125000 0.500000
|
||||
v -0.500000 -0.500000 0.625000
|
||||
v -0.500000 0.125000 0.625000
|
||||
v 0.500000 -0.500000 0.625000
|
||||
v 0.500000 0.125000 0.625000
|
||||
v -0.500000 -0.500000 -0.625000
|
||||
v -0.500000 0.125000 -0.625000
|
||||
v 0.500000 -0.500000 -0.625000
|
||||
v 0.500000 0.125000 -0.625000
|
||||
v -0.500000 -0.500000 -0.500000
|
||||
v -0.500000 0.125000 -0.500000
|
||||
v 0.500000 -0.500000 -0.500000
|
||||
v 0.500000 0.125000 -0.500000
|
||||
v 0.500000 -0.500000 0.687500
|
||||
v 0.500000 0.187500 0.687500
|
||||
v 0.500000 -0.500000 0.500000
|
||||
v 0.500000 0.187500 0.500000
|
||||
v 0.687500 -0.500000 0.687500
|
||||
v 0.687500 0.187500 0.687500
|
||||
v 0.687500 -0.500000 0.500000
|
||||
v 0.687500 0.187500 0.500000
|
||||
v -0.687500 -0.500000 0.687500
|
||||
v -0.687500 0.187500 0.687500
|
||||
v -0.687500 -0.500000 0.500000
|
||||
v -0.687500 0.187500 0.500000
|
||||
v -0.500000 -0.500000 0.687500
|
||||
v -0.500000 0.187500 0.687500
|
||||
v -0.500000 -0.500000 0.500000
|
||||
v -0.500000 0.187500 0.500000
|
||||
v -0.687500 -0.500000 -0.500000
|
||||
v -0.687500 0.187500 -0.500000
|
||||
v -0.687500 -0.500000 -0.687500
|
||||
v -0.687500 0.187500 -0.687500
|
||||
v -0.500000 -0.500000 -0.500000
|
||||
v -0.500000 0.187500 -0.500000
|
||||
v -0.500000 -0.500000 -0.687500
|
||||
v -0.500000 0.187500 -0.687500
|
||||
v 0.500000 -0.500000 -0.500000
|
||||
v 0.500000 0.187500 -0.500000
|
||||
v 0.500000 -0.500000 -0.687500
|
||||
v 0.500000 0.187500 -0.687500
|
||||
v 0.687500 -0.500000 -0.500000
|
||||
v 0.687500 0.187500 -0.500000
|
||||
v 0.687500 -0.500000 -0.687500
|
||||
v 0.687500 0.187500 -0.687500
|
||||
v -0.562500 -0.125000 0.062500
|
||||
v -0.562500 1.187500 0.062500
|
||||
v -0.562500 -0.125000 -0.062500
|
||||
v -0.562500 1.187500 -0.062500
|
||||
v -0.437500 -0.125000 0.062500
|
||||
v -0.437500 1.187500 0.062500
|
||||
v -0.437500 -0.125000 -0.062500
|
||||
v -0.437500 1.187500 -0.062500
|
||||
v 0.437500 -0.125000 0.062500
|
||||
v 0.437500 1.187500 0.062500
|
||||
v 0.437500 -0.125000 -0.062500
|
||||
v 0.437500 1.187500 -0.062500
|
||||
v 0.562500 -0.125000 0.062500
|
||||
v 0.562500 1.187500 0.062500
|
||||
v 0.562500 -0.125000 -0.062500
|
||||
v 0.562500 1.187500 -0.062500
|
||||
v -0.687500 1.187500 0.000000
|
||||
v -0.687500 1.304962 -0.042753
|
||||
v -0.687500 0.845480 -0.939693
|
||||
v -0.687500 0.962941 -0.982445
|
||||
v 0.687500 1.187500 0.000000
|
||||
v 0.687500 1.304962 -0.042753
|
||||
v 0.687500 0.845480 -0.939693
|
||||
v 0.687500 0.962941 -0.982445
|
||||
v -0.687500 0.845480 0.939693
|
||||
v -0.687500 0.962941 0.982445
|
||||
v -0.687500 1.187500 0.000000
|
||||
v -0.687500 1.304962 0.042753
|
||||
v 0.687500 0.845480 0.939693
|
||||
v 0.687500 0.962941 0.982445
|
||||
v 0.687500 1.187500 -0.000000
|
||||
v 0.687500 1.304962 0.042753
|
||||
v 0.437500 1.062500 0.656250
|
||||
v 0.437500 1.062500 -0.656250
|
||||
v 0.437500 0.937500 0.656250
|
||||
v 0.437500 0.937500 -0.656250
|
||||
v 0.500000 1.062500 0.656250
|
||||
v 0.500000 1.062500 -0.656250
|
||||
v 0.500000 0.937500 0.656250
|
||||
v 0.500000 0.937500 -0.656250
|
||||
v -0.500000 1.062500 0.656250
|
||||
v -0.500000 1.062500 -0.656250
|
||||
v -0.500000 0.937500 0.656250
|
||||
v -0.500000 0.937500 -0.656250
|
||||
v -0.437500 1.062500 0.656250
|
||||
v -0.437500 1.062500 -0.656250
|
||||
v -0.437500 0.937500 0.656250
|
||||
v -0.437500 0.937500 -0.656250
|
||||
v -0.750000 1.187500 0.093750
|
||||
v -0.750000 1.375000 0.093750
|
||||
v -0.750000 1.187500 -0.093750
|
||||
v -0.750000 1.375000 -0.093750
|
||||
v 0.750000 1.187500 0.093750
|
||||
v 0.750000 1.375000 0.093750
|
||||
v 0.750000 1.187500 -0.093750
|
||||
v 0.750000 1.375000 -0.093750
|
||||
vt 0.257812 1.000000
|
||||
vt 0.257812 0.921875
|
||||
vt 0.382812 0.921875
|
||||
vt 0.382812 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.921875
|
||||
vt 0.125000 0.921875
|
||||
vt 0.125000 1.000000
|
||||
vt 0.382812 0.828125
|
||||
vt 0.382812 0.906250
|
||||
vt 0.257812 0.906250
|
||||
vt 0.257812 0.828125
|
||||
vt 0.125000 0.828125
|
||||
vt 0.125000 0.906250
|
||||
vt 0.000000 0.906250
|
||||
vt 0.000000 0.828125
|
||||
vt 0.386719 1.000000
|
||||
vt 0.386719 0.921875
|
||||
vt 0.511719 0.921875
|
||||
vt 0.511719 1.000000
|
||||
vt 0.128906 1.000000
|
||||
vt 0.128906 0.921875
|
||||
vt 0.253906 0.921875
|
||||
vt 0.253906 1.000000
|
||||
vt 0.511719 0.828125
|
||||
vt 0.511719 0.906250
|
||||
vt 0.386719 0.906250
|
||||
vt 0.386719 0.828125
|
||||
vt 0.253906 0.828125
|
||||
vt 0.253906 0.906250
|
||||
vt 0.128906 0.906250
|
||||
vt 0.128906 0.828125
|
||||
vt 0.023438 0.218750
|
||||
vt 0.023438 0.308594
|
||||
vt 0.000000 0.308594
|
||||
vt 0.000000 0.218750
|
||||
vt 0.093750 0.218750
|
||||
vt 0.093750 0.308594
|
||||
vt 0.070312 0.308594
|
||||
vt 0.070312 0.218750
|
||||
vt 0.046875 0.308594
|
||||
vt 0.046875 0.218750
|
||||
vt 0.316406 0.218750
|
||||
vt 0.316406 0.308594
|
||||
vt 0.292969 0.308594
|
||||
vt 0.292969 0.218750
|
||||
vt 0.000000 0.332031
|
||||
vt 0.023438 0.332031
|
||||
vt 0.386719 0.218750
|
||||
vt 0.386719 0.308594
|
||||
vt 0.363281 0.308594
|
||||
vt 0.363281 0.218750
|
||||
vt 0.339844 0.308594
|
||||
vt 0.339844 0.218750
|
||||
vt 0.292969 0.332031
|
||||
vt 0.316406 0.332031
|
||||
vt 0.218750 0.218750
|
||||
vt 0.218750 0.308594
|
||||
vt 0.195312 0.308594
|
||||
vt 0.195312 0.218750
|
||||
vt 0.289062 0.218750
|
||||
vt 0.289062 0.308594
|
||||
vt 0.265625 0.308594
|
||||
vt 0.265625 0.218750
|
||||
vt 0.242188 0.308594
|
||||
vt 0.242188 0.218750
|
||||
vt 0.195312 0.332031
|
||||
vt 0.218750 0.332031
|
||||
vt 0.121094 0.218750
|
||||
vt 0.121094 0.308594
|
||||
vt 0.097656 0.308594
|
||||
vt 0.097656 0.218750
|
||||
vt 0.191406 0.218750
|
||||
vt 0.191406 0.308594
|
||||
vt 0.167969 0.308594
|
||||
vt 0.167969 0.218750
|
||||
vt 0.144531 0.308594
|
||||
vt 0.144531 0.218750
|
||||
vt 0.097656 0.332031
|
||||
vt 0.121094 0.332031
|
||||
vt 0.332031 0.789062
|
||||
vt 0.167969 0.789062
|
||||
vt 0.167969 0.773438
|
||||
vt 0.332031 0.773438
|
||||
vt 0.167969 0.757812
|
||||
vt 0.332031 0.757812
|
||||
vt 0.332031 0.820312
|
||||
vt 0.167969 0.820312
|
||||
vt 0.167969 0.804688
|
||||
vt 0.332031 0.804688
|
||||
vt 0.164062 0.789062
|
||||
vt 0.000000 0.789062
|
||||
vt 0.000000 0.773438
|
||||
vt 0.164062 0.773438
|
||||
vt 0.000000 0.757812
|
||||
vt 0.164062 0.757812
|
||||
vt 0.164062 0.820312
|
||||
vt 0.000000 0.820312
|
||||
vt 0.000000 0.804688
|
||||
vt 0.164062 0.804688
|
||||
vt 0.207031 0.433594
|
||||
vt 0.222656 0.433594
|
||||
vt 0.222656 0.558594
|
||||
vt 0.207031 0.558594
|
||||
vt 0.222656 0.574219
|
||||
vt 0.394531 0.558594
|
||||
vt 0.394531 0.574219
|
||||
vt 0.410156 0.558594
|
||||
vt 0.394531 0.433594
|
||||
vt 0.410156 0.433594
|
||||
vt 0.023438 0.429688
|
||||
vt 0.023438 0.406250
|
||||
vt 0.210938 0.406250
|
||||
vt 0.210938 0.429688
|
||||
vt 0.394531 0.699219
|
||||
vt 0.222656 0.699219
|
||||
vt 0.203125 0.558594
|
||||
vt 0.187500 0.558594
|
||||
vt 0.187500 0.433594
|
||||
vt 0.203125 0.433594
|
||||
vt 0.000000 0.382812
|
||||
vt 0.023438 0.382812
|
||||
vt 0.000000 0.406250
|
||||
vt 0.000000 0.433594
|
||||
vt 0.015625 0.433594
|
||||
vt 0.015625 0.558594
|
||||
vt 0.000000 0.558594
|
||||
vt 0.015625 0.574219
|
||||
vt 0.187500 0.574219
|
||||
vt 0.187500 0.699219
|
||||
vt 0.015625 0.699219
|
||||
vt 0.332031 0.730469
|
||||
vt 0.167969 0.730469
|
||||
vt 0.167969 0.714844
|
||||
vt 0.332031 0.714844
|
||||
vt 0.167969 0.707031
|
||||
vt 0.332031 0.707031
|
||||
vt 0.332031 0.753906
|
||||
vt 0.167969 0.753906
|
||||
vt 0.167969 0.738281
|
||||
vt 0.332031 0.738281
|
||||
vt 0.164062 0.730469
|
||||
vt 0.000000 0.730469
|
||||
vt 0.000000 0.714844
|
||||
vt 0.164062 0.714844
|
||||
vt 0.000000 0.707031
|
||||
vt 0.164062 0.707031
|
||||
vt 0.164062 0.753906
|
||||
vt 0.000000 0.753906
|
||||
vt 0.000000 0.738281
|
||||
vt 0.164062 0.738281
|
||||
vt 0.234375 0.406250
|
||||
vt 0.210938 0.382812
|
||||
vt 0.234375 0.382812
|
||||
vt 0.210938 0.359375
|
||||
vt 0.023438 0.359375
|
||||
vt 0.023438 0.335938
|
||||
vt 0.210938 0.335938
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn -0.0000 0.0000 1.0000
|
||||
vn 0.0000 -0.3420 -0.9397
|
||||
vn 0.0000 -0.9397 0.3420
|
||||
vn 0.0000 0.9397 -0.3420
|
||||
vn 0.0000 -0.3420 0.9397
|
||||
vn 0.0000 -0.9397 -0.3420
|
||||
vn 0.0000 0.9397 0.3420
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 15/5/2 16/6/2 14/7/2 13/8/2
|
||||
f 7/9/2 8/10/2 6/11/2 5/12/2
|
||||
f 9/13/1 10/14/1 12/15/1 11/16/1
|
||||
f 16/6/3 12/15/3 10/14/3 14/7/3
|
||||
f 8/10/3 4/3/3 2/2/3 6/11/3
|
||||
f 17/17/4 18/18/4 20/19/4 19/20/4
|
||||
f 31/21/5 32/22/5 30/23/5 29/24/5
|
||||
f 23/25/5 24/26/5 22/27/5 21/28/5
|
||||
f 25/29/4 26/30/4 28/31/4 27/32/4
|
||||
f 32/22/3 28/31/3 26/30/3 30/23/3
|
||||
f 24/26/3 20/19/3 18/18/3 22/27/3
|
||||
f 33/33/1 34/34/1 36/35/1 35/36/1
|
||||
f 35/37/4 36/38/4 40/39/4 39/40/4
|
||||
f 39/40/2 40/39/2 38/41/2 37/42/2
|
||||
f 37/42/5 38/41/5 34/34/5 33/33/5
|
||||
f 41/43/1 42/44/1 44/45/1 43/46/1
|
||||
f 40/47/3 36/35/3 34/34/3 38/48/3
|
||||
f 43/49/4 44/50/4 48/51/4 47/52/4
|
||||
f 47/52/2 48/51/2 46/53/2 45/54/2
|
||||
f 45/54/5 46/53/5 42/44/5 41/43/5
|
||||
f 48/55/3 44/45/3 42/44/3 46/56/3
|
||||
f 49/57/1 50/58/1 52/59/1 51/60/1
|
||||
f 51/61/4 52/62/4 56/63/4 55/64/4
|
||||
f 55/64/2 56/63/2 54/65/2 53/66/2
|
||||
f 53/66/5 54/65/5 50/58/5 49/57/5
|
||||
f 56/67/3 52/59/3 50/58/3 54/68/3
|
||||
f 57/69/1 58/70/1 60/71/1 59/72/1
|
||||
f 59/73/4 60/74/4 64/75/4 63/76/4
|
||||
f 63/76/2 64/75/2 62/77/2 61/78/2
|
||||
f 61/78/5 62/77/5 58/70/5 57/69/5
|
||||
f 64/79/3 60/71/3 58/70/3 62/80/3
|
||||
f 65/81/1 66/82/1 68/83/1 67/84/1
|
||||
f 67/84/4 68/83/4 72/85/4 71/86/4
|
||||
f 71/87/2 72/88/2 70/89/2 69/90/2
|
||||
f 69/90/5 70/89/5 66/82/5 65/81/5
|
||||
f 73/91/1 74/92/1 76/93/1 75/94/1
|
||||
f 75/94/4 76/93/4 80/95/4 79/96/4
|
||||
f 79/97/2 80/98/2 78/99/2 77/100/2
|
||||
f 77/100/5 78/99/5 74/92/5 73/91/5
|
||||
f 81/101/1 82/102/1 84/103/1 83/104/1
|
||||
f 83/105/6 84/103/6 88/106/6 87/107/6
|
||||
f 87/108/2 88/106/2 86/109/2 85/110/2
|
||||
f 115/111/4 116/112/4 120/113/4 119/114/4
|
||||
f 83/105/7 87/107/7 85/115/7 81/116/7
|
||||
f 88/106/8 84/103/8 82/102/8 86/109/8
|
||||
f 89/117/1 90/118/1 92/119/1 91/120/1
|
||||
f 113/121/1 114/122/1 116/112/1 115/123/1
|
||||
f 95/124/2 96/125/2 94/126/2 93/127/2
|
||||
f 93/128/9 94/126/9 90/118/9 89/129/9
|
||||
f 91/130/10 95/131/10 93/128/10 89/129/10
|
||||
f 96/125/11 92/119/11 90/118/11 94/126/11
|
||||
f 97/132/1 98/133/1 100/134/1 99/135/1
|
||||
f 99/135/12 100/134/12 104/136/12 103/137/12
|
||||
f 103/138/2 104/139/2 102/140/2 101/141/2
|
||||
f 101/141/3 102/140/3 98/133/3 97/132/3
|
||||
f 105/142/1 106/143/1 108/144/1 107/145/1
|
||||
f 107/145/12 108/144/12 112/146/12 111/147/12
|
||||
f 111/148/2 112/149/2 110/150/2 109/151/2
|
||||
f 109/151/3 110/150/3 106/143/3 105/142/3
|
||||
f 119/152/2 120/113/2 118/153/2 117/154/2
|
||||
f 117/155/5 118/153/5 114/122/5 113/156/5
|
||||
f 120/113/3 116/112/3 114/122/3 118/153/3
|
||||
f 113/156/12 115/157/12 119/158/12 117/155/12
|
|
@ -0,0 +1,554 @@
|
|||
# Blender v2.82 (sub 7) OBJ File: 'stations.blend'
|
||||
# www.blender.org
|
||||
o Woodworking_Cube.004
|
||||
v -1.500000 0.000000 -0.500000
|
||||
v -1.500000 0.125000 -0.500000
|
||||
v 0.500000 0.000000 -0.500000
|
||||
v 0.500000 0.125000 -0.500000
|
||||
v -1.500000 0.000000 0.500000
|
||||
v -1.500000 0.125000 0.500000
|
||||
v 0.500000 0.000000 0.500000
|
||||
v 0.500000 0.125000 0.500000
|
||||
v 0.437500 0.000000 0.437500
|
||||
v -1.437500 0.000000 0.437500
|
||||
v 0.437500 0.000000 0.187500
|
||||
v -1.437500 0.000000 0.187500
|
||||
v 0.437500 -0.500000 0.437500
|
||||
v -1.437500 -0.500000 0.437500
|
||||
v 0.437500 -0.500000 0.187500
|
||||
v -1.437500 -0.500000 0.187500
|
||||
v 0.437500 0.000000 -0.187500
|
||||
v 0.187500 0.000000 -0.187500
|
||||
v 0.437500 0.000000 -0.437500
|
||||
v 0.187500 0.000000 -0.437500
|
||||
v 0.437500 -0.500000 -0.187500
|
||||
v 0.187500 -0.500000 -0.187500
|
||||
v 0.437500 -0.500000 -0.437500
|
||||
v 0.187500 -0.500000 -0.437500
|
||||
v -1.187500 0.000000 -0.187500
|
||||
v -1.437500 0.000000 -0.187500
|
||||
v -1.187500 0.000000 -0.437500
|
||||
v -1.437500 0.000000 -0.437500
|
||||
v -1.187500 -0.500000 -0.187500
|
||||
v -1.437500 -0.500000 -0.187500
|
||||
v -1.187500 -0.500000 -0.437500
|
||||
v -1.437500 -0.500000 -0.437500
|
||||
v -0.335237 0.125000 -0.220838
|
||||
v -0.242117 0.125000 -0.137449
|
||||
v -0.126765 0.125000 -0.453638
|
||||
v -0.033645 0.125000 -0.370249
|
||||
v -0.126765 0.187500 -0.453638
|
||||
v -0.335237 0.187500 -0.220838
|
||||
v -0.242117 0.187500 -0.137449
|
||||
v -0.033645 0.187500 -0.370249
|
||||
v -0.220774 0.238783 -0.331092
|
||||
v -0.256015 0.125495 -0.291738
|
||||
v -0.180355 0.125495 -0.223985
|
||||
v -0.145114 0.238783 -0.263339
|
||||
v -0.230221 0.245387 -0.320543
|
||||
v -0.265462 0.132098 -0.281188
|
||||
v -0.189802 0.132098 -0.213435
|
||||
v -0.154561 0.245387 -0.252789
|
||||
v -1.180895 0.137037 0.044109
|
||||
v -1.176209 0.261425 0.032686
|
||||
v -1.412188 0.137037 -0.050778
|
||||
v -1.407502 0.261425 -0.062200
|
||||
v -1.133684 0.124691 -0.070973
|
||||
v -1.128998 0.249079 -0.082395
|
||||
v -1.360291 0.249079 -0.177281
|
||||
v -1.364977 0.124691 -0.165859
|
||||
v -1.219247 0.155788 -0.109410
|
||||
v -1.216904 0.217982 -0.115122
|
||||
v -1.277071 0.155788 -0.133132
|
||||
v -1.274728 0.217982 -0.138843
|
||||
v -1.101219 0.124923 -0.397113
|
||||
v -1.098876 0.187117 -0.402824
|
||||
v -1.156699 0.187117 -0.426546
|
||||
v -1.159042 0.124923 -0.420835
|
||||
v -1.000000 -0.187500 -0.437500
|
||||
v 0.000000 -0.187500 -0.437500
|
||||
v -1.000000 -0.187500 0.187500
|
||||
v 0.000000 -0.187500 0.187500
|
||||
v -1.000000 0.000000 -0.437500
|
||||
v 0.000000 0.000000 -0.437500
|
||||
v -1.000000 0.000000 0.187500
|
||||
v 0.000000 0.000000 0.187500
|
||||
v 0.500000 0.500000 0.437500
|
||||
v 0.500000 0.125000 0.437500
|
||||
v 0.500000 0.500000 0.500000
|
||||
v 0.500000 0.125000 0.500000
|
||||
v -1.500000 0.500000 0.437500
|
||||
v -1.500000 0.125000 0.437500
|
||||
v -1.500000 0.500000 0.500000
|
||||
v -1.500000 0.125000 0.500000
|
||||
v -1.375000 0.312500 0.312500
|
||||
v -1.375000 0.250000 0.312500
|
||||
v -1.375000 0.312500 0.437500
|
||||
v -1.375000 0.250000 0.437500
|
||||
v -1.000000 0.250000 0.437500
|
||||
v -1.000000 0.250000 0.312500
|
||||
v -1.000000 0.312500 0.312500
|
||||
v -1.000000 0.312500 0.437500
|
||||
v -1.343750 0.437500 0.343750
|
||||
v -1.343750 0.312500 0.343750
|
||||
v -1.343750 0.437500 0.406250
|
||||
v -1.343750 0.312500 0.406250
|
||||
v -1.281250 0.312500 0.406250
|
||||
v -1.281250 0.312500 0.343750
|
||||
v -1.281250 0.437500 0.343750
|
||||
v -1.281250 0.437500 0.406250
|
||||
v -1.218750 0.437500 0.343750
|
||||
v -1.218750 0.312500 0.343750
|
||||
v -1.218750 0.437500 0.406250
|
||||
v -1.218750 0.312500 0.406250
|
||||
v -1.156250 0.312500 0.406250
|
||||
v -1.156250 0.312500 0.343750
|
||||
v -1.156250 0.437500 0.343750
|
||||
v -1.156250 0.437500 0.406250
|
||||
v -1.093750 0.437500 0.343750
|
||||
v -1.093750 0.312500 0.343750
|
||||
v -1.093750 0.437500 0.406250
|
||||
v -1.093750 0.312500 0.406250
|
||||
v -1.031250 0.312500 0.406250
|
||||
v -1.031250 0.312500 0.343750
|
||||
v -1.031250 0.437500 0.343750
|
||||
v -1.031250 0.437500 0.406250
|
||||
v -1.343750 0.250000 0.359375
|
||||
v -1.343750 0.125000 0.359375
|
||||
v -1.343750 0.250000 0.390625
|
||||
v -1.343750 0.125000 0.390625
|
||||
v -1.281250 0.125000 0.390625
|
||||
v -1.281250 0.125000 0.359375
|
||||
v -1.281250 0.250000 0.359375
|
||||
v -1.281250 0.250000 0.390625
|
||||
v -1.218750 0.250000 0.359375
|
||||
v -1.218750 0.125000 0.359375
|
||||
v -1.218750 0.250000 0.390625
|
||||
v -1.218750 0.125000 0.390625
|
||||
v -1.156250 0.125000 0.390625
|
||||
v -1.156250 0.125000 0.359375
|
||||
v -1.156250 0.250000 0.359375
|
||||
v -1.156250 0.250000 0.390625
|
||||
v -1.093750 0.250000 0.359375
|
||||
v -1.093750 0.125000 0.359375
|
||||
v -1.093750 0.250000 0.390625
|
||||
v -1.093750 0.125000 0.390625
|
||||
v -1.031250 0.125000 0.390625
|
||||
v -1.031250 0.125000 0.359375
|
||||
v -1.031250 0.250000 0.359375
|
||||
v -1.031250 0.250000 0.390625
|
||||
v 0.000000 0.125000 -0.312500
|
||||
v 0.187500 0.125000 -0.312500
|
||||
v 0.000000 0.125000 0.375000
|
||||
v 0.187500 0.125000 0.375000
|
||||
v 0.187500 0.187500 -0.312500
|
||||
v 0.000000 0.187500 -0.312500
|
||||
v 0.000000 0.187500 0.375000
|
||||
v 0.187500 0.187500 0.375000
|
||||
v 0.250000 0.125000 -0.437500
|
||||
v 0.437500 0.125000 -0.437500
|
||||
v 0.250000 0.125000 0.375000
|
||||
v 0.437500 0.125000 0.375000
|
||||
v 0.437500 0.187500 -0.437500
|
||||
v 0.250000 0.187500 -0.437500
|
||||
v 0.250000 0.187500 0.375000
|
||||
v 0.437500 0.187500 0.375000
|
||||
v -0.062500 0.125000 -0.062500
|
||||
v -0.062500 0.125000 0.125000
|
||||
v -0.875000 0.125000 -0.062500
|
||||
v -0.875000 0.125000 0.125000
|
||||
v -0.062500 0.187500 0.125000
|
||||
v -0.062500 0.187500 -0.062500
|
||||
v -0.875000 0.187500 -0.062500
|
||||
v -0.875000 0.187500 0.125000
|
||||
v -0.062500 0.125000 0.187500
|
||||
v -0.062500 0.125000 0.375000
|
||||
v -0.687500 0.125000 0.187500
|
||||
v -0.687500 0.125000 0.375000
|
||||
v -0.062500 0.250000 0.375000
|
||||
v -0.062500 0.250000 0.187500
|
||||
v -0.687500 0.250000 0.187500
|
||||
v -0.687500 0.250000 0.375000
|
||||
v -0.991991 0.136719 0.151987
|
||||
v -0.935357 0.136719 0.125553
|
||||
v -1.041092 0.136719 -0.100986
|
||||
v -1.097727 0.136719 -0.074552
|
||||
v -1.067526 0.136719 -0.157621
|
||||
v -1.124161 0.136719 -0.131187
|
||||
v -0.757918 0.136719 -0.233156
|
||||
v -0.784353 0.136719 -0.289791
|
||||
vt 0.468750 0.257812
|
||||
vt 0.468750 0.289062
|
||||
vt 0.968750 0.289062
|
||||
vt 0.968750 0.257812
|
||||
vt 0.968750 0.539062
|
||||
vt 1.000000 0.539062
|
||||
vt 1.000000 0.289062
|
||||
vt 0.968750 0.289062
|
||||
vt 0.968750 0.539062
|
||||
vt 0.968750 0.570312
|
||||
vt 0.468750 0.570312
|
||||
vt 0.468750 0.539062
|
||||
vt 0.437500 0.289062
|
||||
vt 0.468750 0.289062
|
||||
vt 0.468750 0.539062
|
||||
vt 0.437500 0.539062
|
||||
vt 0.468750 0.289062
|
||||
vt 0.468750 0.539062
|
||||
vt 0.968750 0.289062
|
||||
vt 0.968750 0.539062
|
||||
vt 0.312500 0.000000
|
||||
vt 0.257812 0.000000
|
||||
vt 0.257812 0.125000
|
||||
vt 0.312500 0.125000
|
||||
vt 0.781250 0.000000
|
||||
vt 0.835938 0.000000
|
||||
vt 0.835938 0.125000
|
||||
vt 0.781250 0.125000
|
||||
vt 0.312500 0.000000
|
||||
vt 0.312500 0.125000
|
||||
vt 0.781250 0.000000
|
||||
vt 0.781250 0.125000
|
||||
vt 0.414062 0.242188
|
||||
vt 0.414062 0.304688
|
||||
vt 0.289062 0.304688
|
||||
vt 0.289062 0.242188
|
||||
vt 0.414062 0.367188
|
||||
vt 0.414062 0.429688
|
||||
vt 0.289062 0.429688
|
||||
vt 0.289062 0.367188
|
||||
vt 0.414062 0.179688
|
||||
vt 0.289062 0.179688
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 0.062500
|
||||
vt 0.875000 0.062500
|
||||
vt 0.875000 0.000000
|
||||
vt 1.000000 0.125000
|
||||
vt 1.000000 0.187500
|
||||
vt 0.875000 0.187500
|
||||
vt 0.875000 0.125000
|
||||
vt 1.000000 0.250000
|
||||
vt 0.875000 0.250000
|
||||
vt 0.867188 0.953125
|
||||
vt 0.867188 0.984375
|
||||
vt 0.789062 0.984375
|
||||
vt 0.789062 0.953125
|
||||
vt 0.882812 0.953125
|
||||
vt 0.882812 0.984375
|
||||
vt 0.867188 1.000000
|
||||
vt 0.789062 1.000000
|
||||
vt 0.789062 0.937500
|
||||
vt 0.867188 0.937500
|
||||
vt 0.773438 0.984375
|
||||
vt 0.773438 0.953125
|
||||
vt 0.812500 0.921875
|
||||
vt 0.812500 0.882812
|
||||
vt 0.835938 0.882812
|
||||
vt 0.835938 0.921875
|
||||
vt 0.812500 0.835938
|
||||
vt 0.835938 0.835938
|
||||
vt 0.835938 0.875000
|
||||
vt 0.812500 0.875000
|
||||
vt 0.804688 0.875000
|
||||
vt 0.804688 0.835938
|
||||
vt 0.843750 0.835938
|
||||
vt 0.843750 0.875000
|
||||
vt 0.664062 0.906250
|
||||
vt 0.726562 0.906250
|
||||
vt 0.726562 0.937500
|
||||
vt 0.664062 0.937500
|
||||
vt 0.664062 1.000000
|
||||
vt 0.664062 0.968750
|
||||
vt 0.726562 0.968750
|
||||
vt 0.726562 1.000000
|
||||
vt 0.757812 0.937500
|
||||
vt 0.757812 0.968750
|
||||
vt 0.632812 0.937500
|
||||
vt 0.632812 0.968750
|
||||
vt 0.687500 0.867188
|
||||
vt 0.703125 0.867188
|
||||
vt 0.703125 0.882812
|
||||
vt 0.687500 0.882812
|
||||
vt 0.781250 0.882812
|
||||
vt 0.781250 0.898438
|
||||
vt 0.703125 0.898438
|
||||
vt 0.781250 0.867188
|
||||
vt 0.781250 0.851562
|
||||
vt 0.703125 0.851562
|
||||
vt 0.046875 0.609375
|
||||
vt 0.046875 0.453125
|
||||
vt 0.296875 0.453125
|
||||
vt 0.296875 0.609375
|
||||
vt 0.343750 0.453125
|
||||
vt 0.343750 0.609375
|
||||
vt 0.000000 0.609375
|
||||
vt 0.000000 0.453125
|
||||
vt 0.296875 0.656250
|
||||
vt 0.046875 0.656250
|
||||
vt 0.000000 0.046875
|
||||
vt 0.015625 0.046875
|
||||
vt 0.015625 0.015625
|
||||
vt 0.000000 0.015625
|
||||
vt 0.484375 0.578125
|
||||
vt 0.484375 0.671875
|
||||
vt 0.984375 0.671875
|
||||
vt 0.984375 0.578125
|
||||
vt 0.484375 0.578125
|
||||
vt 0.484375 0.656250
|
||||
vt 0.468750 0.656250
|
||||
vt 0.468750 0.578125
|
||||
vt 0.984375 0.578125
|
||||
vt 0.984375 0.671875
|
||||
vt 0.484375 0.671875
|
||||
vt 0.984375 0.656250
|
||||
vt 0.484375 0.656250
|
||||
vt 1.000000 0.578125
|
||||
vt 1.000000 0.656250
|
||||
vt 0.984375 0.656250
|
||||
vt 0.125000 0.046875
|
||||
vt 0.125000 0.015625
|
||||
vt 0.109375 0.015625
|
||||
vt 0.109375 0.046875
|
||||
vt 1.000000 0.890625
|
||||
vt 0.968750 0.890625
|
||||
vt 0.968750 0.875000
|
||||
vt 1.000000 0.875000
|
||||
vt 0.109375 0.000000
|
||||
vt 0.015625 0.000000
|
||||
vt 1.000000 0.843750
|
||||
vt 1.000000 0.859375
|
||||
vt 0.968750 0.859375
|
||||
vt 0.968750 0.843750
|
||||
vt 0.953125 0.890625
|
||||
vt 0.968750 0.906250
|
||||
vt 0.953125 0.906250
|
||||
vt 1.000000 0.906250
|
||||
vt 0.945312 0.890625
|
||||
vt 0.914062 0.890625
|
||||
vt 0.914062 0.875000
|
||||
vt 0.945312 0.875000
|
||||
vt 0.945312 0.843750
|
||||
vt 0.945312 0.859375
|
||||
vt 0.914062 0.859375
|
||||
vt 0.914062 0.843750
|
||||
vt 0.898438 0.890625
|
||||
vt 0.914062 0.906250
|
||||
vt 0.898438 0.906250
|
||||
vt 0.945312 0.906250
|
||||
vt 0.890625 0.843750
|
||||
vt 0.859375 0.843750
|
||||
vt 0.859375 0.859375
|
||||
vt 0.890625 0.859375
|
||||
vt 0.890625 0.890625
|
||||
vt 0.890625 0.875000
|
||||
vt 0.859375 0.875000
|
||||
vt 0.859375 0.890625
|
||||
vt 0.843750 0.906250
|
||||
vt 0.859375 0.906250
|
||||
vt 0.843750 0.890625
|
||||
vt 0.890625 0.906250
|
||||
vt 0.945312 0.960938
|
||||
vt 0.921875 0.960938
|
||||
vt 0.921875 0.953125
|
||||
vt 0.945312 0.953125
|
||||
vt 0.945312 0.929688
|
||||
vt 0.945312 0.937500
|
||||
vt 0.921875 0.937500
|
||||
vt 0.921875 0.929688
|
||||
vt 0.945312 0.976562
|
||||
vt 0.921875 0.976562
|
||||
vt 0.914062 0.960938
|
||||
vt 0.890625 0.960938
|
||||
vt 0.890625 0.953125
|
||||
vt 0.914062 0.953125
|
||||
vt 0.914062 0.929688
|
||||
vt 0.914062 0.937500
|
||||
vt 0.890625 0.937500
|
||||
vt 0.890625 0.929688
|
||||
vt 0.914062 0.976562
|
||||
vt 0.890625 0.976562
|
||||
vt 0.976562 0.929688
|
||||
vt 0.953125 0.929688
|
||||
vt 0.953125 0.937500
|
||||
vt 0.976562 0.937500
|
||||
vt 0.976562 0.960938
|
||||
vt 0.976562 0.953125
|
||||
vt 0.953125 0.953125
|
||||
vt 0.953125 0.960938
|
||||
vt 0.953125 0.976562
|
||||
vt 0.976562 0.976562
|
||||
vt 0.187500 0.703125
|
||||
vt 0.015625 0.703125
|
||||
vt 0.015625 0.750000
|
||||
vt 0.187500 0.750000
|
||||
vt 0.000000 0.750000
|
||||
vt 0.000000 0.703125
|
||||
vt 0.015625 0.687500
|
||||
vt 0.187500 0.687500
|
||||
vt 0.187500 0.765625
|
||||
vt 0.015625 0.765625
|
||||
vt 0.203125 0.703125
|
||||
vt 0.203125 0.750000
|
||||
vt 0.218750 0.937500
|
||||
vt 0.015625 0.937500
|
||||
vt 0.015625 0.984375
|
||||
vt 0.218750 0.984375
|
||||
vt 0.000000 0.984375
|
||||
vt 0.000000 0.937500
|
||||
vt 0.015625 0.921875
|
||||
vt 0.218750 0.921875
|
||||
vt 0.218750 1.000000
|
||||
vt 0.015625 1.000000
|
||||
vt 0.234375 0.937500
|
||||
vt 0.234375 0.984375
|
||||
vt 0.031250 0.289062
|
||||
vt 0.234375 0.289062
|
||||
vt 0.234375 0.242188
|
||||
vt 0.031250 0.242188
|
||||
vt 0.250000 0.242188
|
||||
vt 0.250000 0.289062
|
||||
vt 0.234375 0.304688
|
||||
vt 0.031250 0.304688
|
||||
vt 0.031250 0.226562
|
||||
vt 0.234375 0.226562
|
||||
vt 0.015625 0.289062
|
||||
vt 0.015625 0.242188
|
||||
vt 0.054688 0.398438
|
||||
vt 0.210938 0.398438
|
||||
vt 0.210938 0.351562
|
||||
vt 0.054688 0.351562
|
||||
vt 0.242188 0.351562
|
||||
vt 0.242188 0.398438
|
||||
vt 0.210938 0.429688
|
||||
vt 0.054688 0.429688
|
||||
vt 0.054688 0.320312
|
||||
vt 0.210938 0.320312
|
||||
vt 0.023438 0.398438
|
||||
vt 0.023438 0.351562
|
||||
vt 0.984375 0.921875
|
||||
vt 0.984375 0.984375
|
||||
vt 1.000000 0.984375
|
||||
vt 1.000000 0.921875
|
||||
vt 0.984375 1.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.906250 0.984375
|
||||
vt 0.906250 1.000000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
vn -0.6671 0.0000 0.7450
|
||||
vn 0.7450 0.0000 0.6671
|
||||
vn -0.7450 0.0000 -0.6671
|
||||
vn 0.6671 0.0000 -0.7450
|
||||
vn 0.6046 -0.4226 -0.6752
|
||||
vn -0.6046 0.4226 0.6752
|
||||
vn 0.2819 0.9063 -0.3148
|
||||
vn -0.3777 0.0988 0.9206
|
||||
vn 0.3777 -0.0988 -0.9206
|
||||
vn 0.9252 -0.0000 0.3795
|
||||
vn 0.0375 0.9951 -0.0914
|
||||
vn -0.9252 0.0000 -0.3795
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 3/5/2 4/6/2 8/7/2 7/8/2
|
||||
f 7/9/3 8/10/3 6/11/3 5/12/3
|
||||
f 5/13/4 6/14/4 2/15/4 1/16/4
|
||||
f 3/5/5 7/8/5 5/17/5 1/18/5
|
||||
f 8/19/6 4/20/6 2/15/6 6/14/6
|
||||
f 13/21/2 15/22/2 11/23/2 9/24/2
|
||||
f 16/25/4 14/26/4 10/27/4 12/28/4
|
||||
f 15/29/1 16/25/1 12/28/1 11/30/1
|
||||
f 14/31/3 13/21/3 9/24/3 10/32/3
|
||||
f 21/33/2 23/34/2 19/35/2 17/36/2
|
||||
f 24/37/4 22/38/4 18/39/4 20/40/4
|
||||
f 23/34/1 24/37/1 20/40/1 19/35/1
|
||||
f 22/41/3 21/33/3 17/36/3 18/42/3
|
||||
f 29/43/2 31/44/2 27/45/2 25/46/2
|
||||
f 32/47/4 30/48/4 26/49/4 28/50/4
|
||||
f 31/44/1 32/47/1 28/50/1 27/45/1
|
||||
f 30/48/3 29/51/3 25/52/3 26/49/3
|
||||
f 38/53/6 39/54/6 40/55/6 37/56/6
|
||||
f 33/57/7 34/58/7 39/54/7 38/53/7
|
||||
f 34/59/8 36/60/8 40/55/8 39/54/8
|
||||
f 35/61/9 33/62/9 38/53/9 37/56/9
|
||||
f 36/63/10 35/64/10 37/56/10 40/55/10
|
||||
f 42/65/11 41/66/11 44/67/11 43/68/11
|
||||
f 46/69/12 47/70/12 48/71/12 45/72/12
|
||||
f 41/73/9 42/74/9 46/69/9 45/72/9
|
||||
f 44/67/13 41/66/13 45/72/13 48/71/13
|
||||
f 43/75/8 44/76/8 48/71/8 47/70/8
|
||||
f 51/77/14 49/78/14 50/79/14 52/80/14
|
||||
f 56/81/15 55/82/15 54/83/15 53/84/15
|
||||
f 50/79/16 49/85/16 53/86/16 54/83/16
|
||||
f 52/80/17 50/79/17 54/83/17 55/82/17
|
||||
f 51/87/18 52/80/18 55/82/18 56/88/18
|
||||
f 64/89/15 63/90/15 62/91/15 61/92/15
|
||||
f 58/93/16 57/94/16 61/95/16 62/91/16
|
||||
f 60/96/17 58/93/17 62/91/17 63/90/17
|
||||
f 59/97/18 60/96/18 63/90/18 64/98/18
|
||||
f 66/99/5 68/100/5 67/101/5 65/102/5
|
||||
f 65/102/4 67/101/4 71/103/4 69/104/4
|
||||
f 68/100/2 66/99/2 70/105/2 72/106/2
|
||||
f 66/99/1 65/102/1 69/107/1 70/108/1
|
||||
f 84/109/4 83/110/4 81/111/4 82/112/4
|
||||
f 78/113/1 77/114/1 73/115/1 74/116/1
|
||||
f 80/117/4 79/118/4 77/119/4 78/120/4
|
||||
f 76/121/3 75/122/3 79/123/3 80/117/3
|
||||
f 73/124/6 77/125/6 79/123/6 75/122/6
|
||||
f 74/126/2 73/127/2 75/128/2 76/121/2
|
||||
f 85/129/2 86/130/2 87/131/2 88/132/2
|
||||
f 92/133/4 91/134/4 89/135/4 90/136/4
|
||||
f 83/110/6 88/132/6 87/131/6 81/111/6
|
||||
f 81/111/1 87/131/1 86/137/1 82/138/1
|
||||
f 93/139/2 94/140/2 95/141/2 96/142/2
|
||||
f 89/143/6 91/134/6 96/144/6 95/145/6
|
||||
f 90/136/1 89/135/1 95/141/1 94/140/1
|
||||
f 91/134/3 92/133/3 93/146/3 96/144/3
|
||||
f 100/147/4 99/148/4 97/149/4 98/150/4
|
||||
f 101/151/2 102/152/2 103/153/2 104/154/2
|
||||
f 97/155/6 99/148/6 104/156/6 103/157/6
|
||||
f 98/150/1 97/149/1 103/153/1 102/152/1
|
||||
f 99/148/3 100/147/3 101/158/3 104/156/3
|
||||
f 108/159/4 107/160/4 105/161/4 106/162/4
|
||||
f 109/163/2 110/164/2 111/165/2 112/166/2
|
||||
f 105/167/6 107/168/6 112/166/6 111/169/6
|
||||
f 106/162/1 105/161/1 111/165/1 110/164/1
|
||||
f 107/168/3 108/170/3 109/163/3 112/166/3
|
||||
f 116/171/4 115/172/4 113/173/4 114/174/4
|
||||
f 117/175/2 118/176/2 119/177/2 120/178/2
|
||||
f 114/174/1 113/173/1 119/177/1 118/176/1
|
||||
f 115/172/3 116/171/3 117/179/3 120/180/3
|
||||
f 124/181/4 123/182/4 121/183/4 122/184/4
|
||||
f 125/185/2 126/186/2 127/187/2 128/188/2
|
||||
f 122/184/1 121/183/1 127/187/1 126/186/1
|
||||
f 123/182/3 124/181/3 125/189/3 128/190/3
|
||||
f 132/191/4 131/192/4 129/193/4 130/194/4
|
||||
f 133/195/2 134/196/2 135/197/2 136/198/2
|
||||
f 130/194/1 129/193/1 135/197/1 134/196/1
|
||||
f 131/199/3 132/200/3 133/195/3 136/198/3
|
||||
f 142/201/6 143/202/6 144/203/6 141/204/6
|
||||
f 140/205/1 139/206/1 143/202/1 144/203/1
|
||||
f 139/207/4 143/202/4 142/201/4 137/208/4
|
||||
f 138/209/2 141/204/2 144/203/2 140/210/2
|
||||
f 137/211/1 142/201/1 141/204/1 138/212/1
|
||||
f 150/213/6 151/214/6 152/215/6 149/216/6
|
||||
f 148/217/1 147/218/1 151/214/1 152/215/1
|
||||
f 147/219/4 151/214/4 150/213/4 145/220/4
|
||||
f 146/221/2 149/216/2 152/215/2 148/222/2
|
||||
f 145/223/1 150/213/1 149/216/1 146/224/1
|
||||
f 158/225/6 159/226/6 160/227/6 157/228/6
|
||||
f 156/229/4 160/227/4 159/226/4 155/230/4
|
||||
f 155/231/3 153/232/3 158/225/3 159/226/3
|
||||
f 154/233/1 156/234/1 160/227/1 157/228/1
|
||||
f 153/235/2 158/225/2 157/228/2 154/236/2
|
||||
f 166/237/6 167/238/6 168/239/6 165/240/6
|
||||
f 164/241/4 168/239/4 167/238/4 163/242/4
|
||||
f 163/243/1 167/238/1 166/237/1 161/244/1
|
||||
f 162/245/1 164/246/1 168/239/1 165/240/1
|
||||
f 161/247/2 166/237/2 165/240/2 162/248/2
|
||||
f 170/249/6 171/250/6 172/251/6 169/252/6
|
||||
f 171/250/6 173/253/6 174/254/6 172/251/6
|
||||
f 171/250/6 175/255/6 176/256/6 173/253/6
|
|
@ -34,25 +34,6 @@ minetest.register_node('furniture:traffic_barricade', {
|
|||
groups = {breakable=1},
|
||||
})
|
||||
|
||||
minetest.register_node('furniture:fence_security', {
|
||||
description = 'Security Fencing',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_fence_security.obj',
|
||||
tiles = {'furniture_fence_security.png'},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
selection_box = {
|
||||
type = 'fixed',
|
||||
fixed = {-.5, -.5, -.125, 1.5, 1.5, .125},
|
||||
},
|
||||
collision_box = {
|
||||
type = 'fixed',
|
||||
fixed = {-.5, -.5, -.125, 1.5, 1.5, .125},
|
||||
},
|
||||
groups = {breakable=1},
|
||||
})
|
||||
|
||||
minetest.register_node('furniture:fire_hydrant', {
|
||||
description = 'Fire Hydrant',
|
||||
drawtype = 'mesh',
|
||||
|
@ -166,3 +147,63 @@ minetest.register_node('furniture:bollard_popup_1', { --Open
|
|||
end
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_node('furniture:well', {
|
||||
description = 'Well',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_well.obj',
|
||||
tiles = {'furniture_well.png'},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
selection_box = {
|
||||
type = 'fixed',
|
||||
fixed = {{-.6875, -.5, -.6875, .6875, .125, .6875},
|
||||
{-.6875, .75, -.9375, .6875, 1.375, .9375}}
|
||||
},
|
||||
collision_box = {
|
||||
type = 'fixed',
|
||||
fixed = {{-.6875, -.5, -.6875, .6875, .125, .6875},
|
||||
{-.6875, .75, -.9375, .6875, 1.375, .9375}}
|
||||
},
|
||||
groups = {breakable=1},
|
||||
})
|
||||
|
||||
minetest.register_node('furniture:trash_bin', {
|
||||
description = 'Trash Bin',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_trash_bin.obj',
|
||||
tiles = {'furniture_trash_bin.png'},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
selection_box = {
|
||||
type = 'fixed',
|
||||
fixed = {-.375, -.5, -.375, .375, .5, .375},
|
||||
},
|
||||
collision_box = {
|
||||
type = 'fixed',
|
||||
fixed = {-.375, -.5, -.375, .375, .5, .375},
|
||||
},
|
||||
groups = {breakable=1}
|
||||
})
|
||||
|
||||
minetest.register_node('furniture:recycling_bin', {
|
||||
description = 'Recycling Bin',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_recycling_bin.obj',
|
||||
tiles = {'furniture_recycling_bin.png'},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
selection_box = {
|
||||
type = 'fixed',
|
||||
fixed = {{-.375, -.5, -.375, .375, .5, .375},
|
||||
{-.4375, .25, -.4375, .4375, .6875, .4375}
|
||||
},
|
||||
},
|
||||
collision_box = {
|
||||
type = 'fixed',
|
||||
fixed = {{-.375, -.5, -.375, .375, .5, .375},
|
||||
{-.4375, .25, -.4375, .4375, .6875, .4375}
|
||||
},
|
||||
},
|
||||
groups = {breakable=1}
|
||||
})
|
||||
|
|
|
@ -18,7 +18,7 @@ local function after_dig_node(pos)
|
|||
end
|
||||
|
||||
minetest.register_node('furniture:ropebox_top', {
|
||||
description = 'Ropbox',
|
||||
description = 'Ropebox',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_ropebox_top.obj',
|
||||
tiles = {'furniture_ropebox.png'},
|
||||
|
@ -51,7 +51,7 @@ local box = {
|
|||
{-.2, -.5, -.2, .2, .5, .2}}}
|
||||
|
||||
minetest.register_node('furniture:ropebox_mid', {
|
||||
description = 'Ropbox',
|
||||
description = 'Ropebox',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_ropebox_mid.obj',
|
||||
tiles = {'furniture_ropebox.png'},
|
||||
|
@ -68,7 +68,7 @@ minetest.register_node('furniture:ropebox_mid', {
|
|||
})
|
||||
|
||||
minetest.register_node('furniture:ropebox_end', {
|
||||
description = 'Ropbox',
|
||||
description = 'Ropebox',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_ropebox_end.obj',
|
||||
tiles = {'furniture_ropebox.png'},
|
||||
|
|
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 7.7 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 27 KiB |
|
@ -0,0 +1,81 @@
|
|||
minetest.register_node('furniture:jewelry', {
|
||||
description = 'Jewelry Workshop',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_jewelry.obj',
|
||||
tiles = {'furniture_jewelry.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
selection_box = {
|
||||
type = 'fixed',
|
||||
fixed = {
|
||||
{-.5, -.5, -.5, 1.5, .5, .5},
|
||||
}
|
||||
},
|
||||
collision_box = {
|
||||
type = 'fixed',
|
||||
{-.5, -.5, -.5, 1.5, .5, .5},
|
||||
},
|
||||
groups = {breakable=1}
|
||||
})
|
||||
|
||||
minetest.register_node('furniture:sewing', {
|
||||
description = 'Sewing Station',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_sewing.obj',
|
||||
tiles = {'furniture_sewing.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
selection_box = {
|
||||
type = 'fixed',
|
||||
fixed = {-.5, -.5, -.5, 1.5, .3, .5},
|
||||
},
|
||||
collision_box = {
|
||||
type = 'fixed',
|
||||
fixed = {-.5, -.5, -.5, 1.5, .3, .5},
|
||||
},
|
||||
groups = {breakable=1}
|
||||
})
|
||||
|
||||
minetest.register_node('furniture:weaving', {
|
||||
description = 'Weaving Loom',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_weaving_loom.obj',
|
||||
tiles = {'furniture_weaving_loom.png'},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
selection_box = {
|
||||
type = 'fixed',
|
||||
fixed = {
|
||||
{-.5, -.5, -.15, 1.5, 1.5, .15},
|
||||
}
|
||||
},
|
||||
collision_box = {
|
||||
type = 'fixed',
|
||||
fixed = {
|
||||
{-.5, -.5, -.15, 1.5, 1.5, .15},
|
||||
}
|
||||
},
|
||||
groups = {breakable=1},
|
||||
})
|
||||
|
||||
minetest.register_node('furniture:woodworking', {
|
||||
description = 'Woodworking Station',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'furniture_woodworking.obj',
|
||||
tiles = {'furniture_woodworking.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
selection_box = {
|
||||
type = 'fixed',
|
||||
fixed = {-.5, -.5, -.5, 1.5, .5, .5},
|
||||
},
|
||||
collision_box = {
|
||||
type = 'fixed',
|
||||
fixed = {-.5, -.5, -.5, 1.5, .5, .5},
|
||||
},
|
||||
groups = {breakable=1},
|
||||
})
|
|
@ -11,11 +11,13 @@ levels.register_basic('grass_3', 'Grass', 'grass')
|
|||
levels.register_basic('grass_4', 'Splotchy Grass', 'grass')
|
||||
levels.register_basic('grass_5', 'Splotchy Grass', 'grass')
|
||||
levels.register_basic('grass_6', 'Grass', 'grass')
|
||||
levels.register_basic('grass_7', 'Grass', 'grass')
|
||||
|
||||
levels.register_basic('grass_dried_0', 'Dry Grass', 'grass')
|
||||
|
||||
levels.register_basic('gravel_0', 'Gravel', 'gravel')
|
||||
levels.register_basic('gravel_1', 'Gravel', 'grave')
|
||||
levels.register_basic('gravel_1', 'Gravel', 'gravel')
|
||||
levels.register_basic('gravel_2', 'Gravel', 'gravel')
|
||||
|
||||
levels.register_basic('mud_dried_0', 'Dried Mud', 'dirt')
|
||||
|
||||
|
|
|
@ -13,3 +13,4 @@ levels.register_basic('metal_11', 'Metal', 'metal')
|
|||
levels.register_basic('metal_12', 'Metal', 'metal')
|
||||
levels.register_basic('metal_13', 'Metal', 'metal')
|
||||
levels.register_basic('metal_14', 'Metal', 'metal')
|
||||
levels.register_basic('metal_15', 'Rusty Diamond Plate', 'metal')
|
||||
|
|
|
@ -3,3 +3,6 @@ levels.register_basic('crate_1', 'Wooden Crate', 'wood', 0)
|
|||
levels.register_basic('crate_2', 'Wooden Crate', 'wood', 0)
|
||||
levels.register_basic('crate_3', 'Wooden Crate', 'wood', 0)
|
||||
levels.register_basic('crate_4', 'Wooden Crate', 'wood', 0)
|
||||
levels.register_basic('crate_5', 'Wooden Crate', 'wood', 0)
|
||||
|
||||
levels.register_basic('thatch_0', 'Thatch', 'hard')
|
||||
|
|
|
@ -32,6 +32,7 @@ levels.register_basic('stone_2', 'Stone', 'hard')
|
|||
levels.register_basic('stone_3', 'Stone', 'hard')
|
||||
levels.register_basic('stone_4', 'Stone', 'hard')
|
||||
levels.register_basic('stone_5', 'Stone', 'hard')
|
||||
levels.register_basic('stone_6', 'Stone', 'hard')
|
||||
|
||||
levels.register_basic('stone_tile_0', 'Stone 0', 'hard')
|
||||
levels.register_basic('stone_tile_1', 'Stone 1', 'hard')
|
||||
|
|
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 57 KiB |
|
@ -0,0 +1,105 @@
|
|||
# Blender v3.2.1 OBJ File: 'lights.blend'
|
||||
# www.blender.org
|
||||
o Brazier_Cube.018
|
||||
v -0.156250 -0.500000 0.156250
|
||||
v -0.156250 0.125000 0.156250
|
||||
v -0.156250 -0.500000 -0.156250
|
||||
v -0.156250 0.125000 -0.156250
|
||||
v 0.156250 -0.500000 0.156250
|
||||
v 0.156250 0.125000 0.156250
|
||||
v 0.156250 -0.500000 -0.156250
|
||||
v 0.156250 0.125000 -0.156250
|
||||
v -0.250000 0.125000 0.250000
|
||||
v -0.250000 0.250000 0.250000
|
||||
v -0.250000 0.125000 -0.250000
|
||||
v -0.250000 0.250000 -0.250000
|
||||
v 0.250000 0.125000 0.250000
|
||||
v 0.250000 0.250000 0.250000
|
||||
v 0.250000 0.125000 -0.250000
|
||||
v 0.250000 0.250000 -0.250000
|
||||
v -0.375000 0.250000 0.375000
|
||||
v -0.375000 0.437500 0.375000
|
||||
v -0.375000 0.250000 -0.375000
|
||||
v -0.375000 0.437500 -0.375000
|
||||
v 0.375000 0.250000 0.375000
|
||||
v 0.375000 0.437500 0.375000
|
||||
v 0.375000 0.250000 -0.375000
|
||||
v 0.375000 0.437500 -0.375000
|
||||
v -0.312500 0.437500 0.000000
|
||||
v 0.312500 0.437500 0.000000
|
||||
v -0.312500 1.062500 -0.000000
|
||||
v 0.312500 1.062500 -0.000000
|
||||
v 0.000000 0.437500 0.312500
|
||||
v 0.000000 0.437500 -0.312500
|
||||
v -0.000000 1.062500 0.312500
|
||||
v 0.000000 1.062500 -0.312500
|
||||
vt 1.000000 0.468750
|
||||
vt 0.687500 0.468750
|
||||
vt 0.687500 0.312500
|
||||
vt 1.000000 0.312500
|
||||
vt 0.687500 0.156250
|
||||
vt 1.000000 0.156250
|
||||
vt 0.687500 0.000000
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 0.625000
|
||||
vt 0.687500 0.625000
|
||||
vt 0.796875 0.687500
|
||||
vt 0.859375 0.687500
|
||||
vt 0.859375 0.937500
|
||||
vt 0.796875 0.937500
|
||||
vt 0.546875 0.687500
|
||||
vt 0.546875 0.625000
|
||||
vt 0.796875 0.625000
|
||||
vt 0.796875 1.000000
|
||||
vt 0.546875 1.000000
|
||||
vt 0.546875 0.937500
|
||||
vt 0.484375 0.937500
|
||||
vt 0.484375 0.687500
|
||||
vt 0.000000 0.093750
|
||||
vt 0.093750 0.093750
|
||||
vt 0.093750 0.468750
|
||||
vt 0.000000 0.468750
|
||||
vt 0.468750 0.000000
|
||||
vt 0.468750 0.093750
|
||||
vt 0.093750 0.000000
|
||||
vt 0.093750 0.562500
|
||||
vt 0.468750 0.468750
|
||||
vt 0.468750 0.562500
|
||||
vt 0.562500 0.468750
|
||||
vt 0.562500 0.093750
|
||||
vt 0.093750 0.937500
|
||||
vt 0.468750 0.937500
|
||||
vt 0.187500 0.000000
|
||||
vt 0.812500 0.000000
|
||||
vt 0.812500 0.625000
|
||||
vt 0.187500 0.625000
|
||||
vt 0.187500 0.000000
|
||||
vt 0.812500 0.000000
|
||||
vt 0.812500 0.625000
|
||||
vt 0.187500 0.625000
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
g Brazier_Cube.018_Brazier
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 3/4/2 4/3/2 8/5/2 7/6/2
|
||||
f 7/6/3 8/5/3 6/7/3 5/8/3
|
||||
f 5/9/4 6/10/4 2/2/4 1/1/4
|
||||
f 11/11/2 12/12/2 16/13/2 15/14/2
|
||||
f 9/15/1 10/16/1 12/17/1 11/11/1
|
||||
f 15/14/3 16/18/3 14/19/3 13/20/3
|
||||
f 13/20/4 14/21/4 10/22/4 9/15/4
|
||||
f 11/11/5 15/14/5 13/20/5 9/15/5
|
||||
f 19/23/2 20/24/2 24/25/2 23/26/2
|
||||
f 17/27/1 18/28/1 20/24/1 19/29/1
|
||||
f 23/30/3 24/25/3 22/31/3 21/32/3
|
||||
f 21/33/4 22/31/4 18/28/4 17/34/4
|
||||
f 19/35/5 23/30/5 21/32/5 17/36/5
|
||||
f 20/24/6 18/28/6 22/31/6 24/25/6
|
||||
g Brazier_Cube.018_Flames
|
||||
f 25/37/4 26/38/4 28/39/4 27/40/4
|
||||
f 29/41/3 30/42/3 32/43/3 31/44/3
|
|
@ -0,0 +1,80 @@
|
|||
# Blender v3.2.1 OBJ File: 'lights.blend'
|
||||
# www.blender.org
|
||||
o TikiTorch_Cube.017
|
||||
v -0.031250 -0.500000 0.031250
|
||||
v -0.031250 0.562500 0.031250
|
||||
v -0.031250 -0.500000 -0.031250
|
||||
v -0.031250 0.562500 -0.031250
|
||||
v 0.031250 -0.500000 0.031250
|
||||
v 0.031250 0.562500 0.031250
|
||||
v 0.031250 -0.500000 -0.031250
|
||||
v 0.031250 0.562500 -0.031250
|
||||
v -0.062500 0.562500 0.062500
|
||||
v -0.062500 0.812500 0.062500
|
||||
v -0.062500 0.562500 -0.062500
|
||||
v -0.062500 0.812500 -0.062500
|
||||
v 0.062500 0.562500 0.062500
|
||||
v 0.062500 0.812500 0.062500
|
||||
v 0.062500 0.562500 -0.062500
|
||||
v 0.062500 0.812500 -0.062500
|
||||
v 0.022097 0.812500 0.022097
|
||||
v 0.022097 0.937500 0.022097
|
||||
v -0.022097 0.812500 -0.022097
|
||||
v -0.022097 0.937500 -0.022097
|
||||
v -0.022097 0.812500 0.022097
|
||||
v -0.022097 0.937500 0.022097
|
||||
v 0.022097 0.812500 -0.022097
|
||||
v 0.022097 0.937500 -0.022097
|
||||
vt 0.125000 -0.000000
|
||||
vt 0.125000 0.531250
|
||||
vt 0.093750 0.531250
|
||||
vt 0.093750 -0.000000
|
||||
vt 0.062500 0.531250
|
||||
vt 0.062500 -0.000000
|
||||
vt 0.031250 0.531250
|
||||
vt 0.031250 -0.000000
|
||||
vt 0.000000 0.531250
|
||||
vt 0.000000 -0.000000
|
||||
vt 0.328125 0.062500
|
||||
vt 0.328125 0.187500
|
||||
vt 0.265625 0.187500
|
||||
vt 0.265625 0.062500
|
||||
vt 0.390625 0.062500
|
||||
vt 0.390625 0.187500
|
||||
vt 0.203125 0.187500
|
||||
vt 0.203125 0.062500
|
||||
vt 0.140625 0.187500
|
||||
vt 0.140625 0.062500
|
||||
vt 0.140625 0.000000
|
||||
vt 0.203125 0.000000
|
||||
vt 0.140625 0.250000
|
||||
vt 0.203125 0.250000
|
||||
vt 0.171875 0.265625
|
||||
vt 0.171875 0.328125
|
||||
vt 0.140625 0.328125
|
||||
vt 0.140625 0.265625
|
||||
vt 0.218750 0.265625
|
||||
vt 0.218750 0.328125
|
||||
vt 0.187500 0.328125
|
||||
vt 0.187500 0.265625
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
vn 0.7071 0.0000 -0.7071
|
||||
vn 0.7071 0.0000 0.7071
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 3/4/2 4/3/2 8/5/2 7/6/2
|
||||
f 7/6/3 8/5/3 6/7/3 5/8/3
|
||||
f 5/8/4 6/7/4 2/9/4 1/10/4
|
||||
f 11/11/2 12/12/2 16/13/2 15/14/2
|
||||
f 9/15/1 10/16/1 12/12/1 11/11/1
|
||||
f 15/14/3 16/13/3 14/17/3 13/18/3
|
||||
f 13/18/4 14/17/4 10/19/4 9/20/4
|
||||
f 9/20/5 11/21/5 15/22/5 13/18/5
|
||||
f 12/23/6 10/19/6 14/17/6 16/24/6
|
||||
f 19/25/7 20/26/7 18/27/7 17/28/7
|
||||
f 23/29/8 24/30/8 22/31/8 21/32/8
|
|
@ -2,7 +2,7 @@ minetest.register_node('lights:street_light_base', {
|
|||
description = 'Street Light Base',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'lights_street_light_base.obj',
|
||||
tiles = {'lights_street_light_base.png'},
|
||||
tiles = {'lights_street_light_base.png'},
|
||||
paramtype = 'light',
|
||||
selection_box = {type = 'fixed',
|
||||
fixed = {
|
||||
|
@ -17,7 +17,7 @@ minetest.register_node('lights:street_light_top', {
|
|||
description = 'Street Light top',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'lights_street_light_top.obj',
|
||||
tiles = {'lights_street_light_top.png'},
|
||||
tiles = {'lights_street_light_top.png'},
|
||||
paramtype = 'light',
|
||||
selection_box = {type = 'fixed',
|
||||
fixed = {
|
||||
|
@ -32,7 +32,7 @@ minetest.register_node('lights:street_light_light', {
|
|||
description = 'Street Light',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'lights_street_light_light.obj',
|
||||
tiles = {'lights_street_light_light.png'},
|
||||
tiles = {'lights_street_light_light.png'},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
light_source = 14,
|
||||
|
@ -48,3 +48,38 @@ minetest.register_node('lights:street_light_light', {
|
|||
end,
|
||||
on_destruct = lights.dropped_light_removal
|
||||
})
|
||||
|
||||
minetest.register_node('lights:tiki_torch', {
|
||||
description = 'Tiki Torch',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'lights_tiki_torch.obj',
|
||||
tiles = {'lights_tiki_torch.png'},
|
||||
paramtype = 'light',
|
||||
light_source = 12,
|
||||
groups = {breakable=1},
|
||||
selection_box = {type = 'fixed',
|
||||
fixed = {
|
||||
{-.1, -.5, -.1, .1, .875, .1},}},
|
||||
collision_box = {type = 'fixed',
|
||||
fixed = {
|
||||
{-.1, -.5, -.1, .1, .875, .1},}},
|
||||
})
|
||||
|
||||
minetest.register_node('lights:brazier', {
|
||||
description = 'Brazier',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'lights_brazier.obj',
|
||||
tiles = {'lights_brazier.png', {name = 'lights_brazier_flame.png',
|
||||
animation = {type = 'vertical_frames', aspect_w = 32, aspect_h = 32, length = 2}}},
|
||||
paramtype = 'light',
|
||||
light_source = 13,
|
||||
groups = {breakable=1},
|
||||
selection_box = {type = 'fixed',
|
||||
fixed = {
|
||||
{-.16, -.5, -.16, .16, .25, .16},
|
||||
{-.375, .125, -.375, .375, .45, .375}}},
|
||||
collision_box = {type = 'fixed',
|
||||
fixed = {
|
||||
{-.16, -.5, -.16, .16, .25, .16},
|
||||
{-.375, .125, -.375, .375, .45, .375}}},
|
||||
})
|
||||
|
|
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 3.6 KiB |
|
@ -50,8 +50,8 @@ local function button_display(id, name, owner, player_count, xp, pos, desc)
|
|||
local formspec =
|
||||
'formspec_version[3]'..
|
||||
'size[12,8]'..
|
||||
--'image_button[10.5,.5;1,1;lobby_report_icon.png;report;;;false]'..
|
||||
--'tooltip[report;Report this level as incomplete.]'..
|
||||
'image_button[10.5,.5;1,1;lobby_report_icon.png;report;;;false]'..
|
||||
'tooltip[report;Report this level as incomplete.]'..
|
||||
'style_type[textarea;textcolor=#ccddff;border=true]'..
|
||||
'label[0.5,.7;Map Name:]'..
|
||||
'textarea[3.25,.55;7,.4;;;'..esc(name)..' (by '..owner..')]'..
|
||||
|
@ -71,7 +71,7 @@ local function button_display(id, name, owner, player_count, xp, pos, desc)
|
|||
end
|
||||
|
||||
local function button_claim(pos)
|
||||
formspec =
|
||||
local formspec =
|
||||
'formspec_version[3]'..
|
||||
'size[12,6]'..
|
||||
'label[4,1;Claim this button (15XP)]'..
|
||||
|
@ -281,44 +281,48 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
if fields.save then
|
||||
local reason = fields.reason
|
||||
if reason then
|
||||
if lobby.take_xp(player, 1) then
|
||||
local input = fields.input
|
||||
print (reason)
|
||||
print (input)
|
||||
minetest.chat_send_player(name, 'Thanks for your report')
|
||||
else
|
||||
minetest.chat_send_player(name, 'Sorry, you need 1 XP to submit this report.')
|
||||
end
|
||||
else
|
||||
minetest.chat_send_player(name, 'You need to select a reason.')
|
||||
end
|
||||
end
|
||||
elseif formname == 'lobby:button_claim' then
|
||||
local name = player:get_player_name()
|
||||
if lobby.is_builder(player) then
|
||||
if lobby.take_xp(player, 15) then
|
||||
local pos = lobby.button_pos[name]
|
||||
local meta = minetest.get_meta(pos)
|
||||
minetest.show_formspec(name, 'lobby:get_started', lobby.getting_started)
|
||||
meta:set_string('owner', name)
|
||||
local map_id = lobby.create_id(name)
|
||||
lobby.savedata.IDs[map_id] = true
|
||||
meta:set_string('id', map_id)
|
||||
local pos_string = random_pos()
|
||||
local pos = minetest.string_to_pos(pos_string)
|
||||
local run = true
|
||||
while run do
|
||||
if not minetest.is_protected(pos, player) and run then
|
||||
minetest.load_area(pos)
|
||||
meta:set_string('pos', pos_string)
|
||||
worldedit.cube(pos, 5, 1, 5, 'color:grey_blocks', false)
|
||||
minetest.set_node(pos, {name = 'lights:block_4'})
|
||||
run = false
|
||||
end
|
||||
end
|
||||
local input = fields.input
|
||||
minetest.chat_send_player(name, 'Thanks for your report')
|
||||
local map_name = lobby.savedata.id_2_name[map_id] or map_id
|
||||
local data = lobby.savedata.data[map_id]
|
||||
local map_owner = data.owner_name
|
||||
local src = 'system'
|
||||
local dst = 'Admin, '..map_owner..', '..name
|
||||
local subject = name..' reported '..reason..' on '..map_name
|
||||
local body = input..'\n\n\nThis is an automated message, please do not respond.'
|
||||
mail.send(src, dst, subject, body)
|
||||
end
|
||||
else
|
||||
minetest.chat_send_player(name, 'You need more XP!')
|
||||
minetest.chat_send_player(name, 'You need to select a reason.')
|
||||
end
|
||||
elseif formname == 'lobby:button_claim' then
|
||||
if fields.claim then
|
||||
local name = player:get_player_name()
|
||||
if lobby.is_builder(player) then
|
||||
if lobby.take_xp(player, 15) then
|
||||
local pos = lobby.button_pos[name]
|
||||
local meta = minetest.get_meta(pos)
|
||||
minetest.show_formspec(name, 'lobby:get_started', lobby.getting_started)
|
||||
meta:set_string('owner', name)
|
||||
local map_id = lobby.create_id(name)
|
||||
lobby.savedata.IDs[map_id] = true
|
||||
meta:set_string('id', map_id)
|
||||
local pos_string = random_pos()
|
||||
local pos = minetest.string_to_pos(pos_string)
|
||||
local run = true
|
||||
while run do
|
||||
if not minetest.is_protected(pos, player) and run then
|
||||
minetest.load_area(pos)
|
||||
meta:set_string('pos', pos_string)
|
||||
worldedit.cube(pos, 5, 1, 5, 'color:grey_blocks', false)
|
||||
minetest.set_node(pos, {name = 'lights:block_4'})
|
||||
run = false
|
||||
end
|
||||
end
|
||||
end
|
||||
else
|
||||
minetest.chat_send_player(name, 'You need more XP!')
|
||||
end
|
||||
end
|
||||
elseif formname == 'lobby:button_create' then
|
||||
local name = player:get_player_name()
|
||||
|
|
|
@ -38,7 +38,7 @@ end
|
|||
minetest.register_node('lobby:emergency_button', {
|
||||
description = 'Emergency Button',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'lobby_button.obj',
|
||||
mesh = 'lobby_emergency_button.obj',
|
||||
tiles = {'lobby_button_frame.png', 'lobby_button_button.png'},
|
||||
use_texture_alpha = 'clip',
|
||||
groups = {breakable=1},
|
||||
|
|
|
@ -113,17 +113,26 @@ lobby.getting_started =
|
|||
|
||||
function lobby.report_level(map_id)
|
||||
local map_name = lobby.savedata.id_2_name[map_id]
|
||||
local formspec =
|
||||
local formspec = ''
|
||||
if map_name then
|
||||
formspec =
|
||||
'formspec_version[3]'..
|
||||
'size[12,8]'..
|
||||
'style_type[label;textcolor=red;font=bold;font_size=20]'..
|
||||
'label[2,.5;Report Level ('..map_name..')]'..
|
||||
'style_type[label;textcolor=;font=;font_size=]'..
|
||||
'label[.75,1.5;Report Reason:]'..
|
||||
'dropdown[.5,2;5,.5;reason;Incomplete,Broken,No tasks,Broken spawn;0]'..
|
||||
'textarea[.5,2.75;5,3.75;;Filling out this form will send a message to the server operator, the creator of the level, and you. The map name and creator are automatically added. Just select the reason for reporting the level and optionally fill out additional information.;]'..
|
||||
'textarea[6,1.66;5.5,5;input;Further Details (optional);]'..
|
||||
'button_exit[2,7;3,.75;save;Submit]'..
|
||||
'button_exit[7,7;3,.75;lol;Cancel]'
|
||||
else
|
||||
formspec =
|
||||
'formspec_version[3]'..
|
||||
'size[12,8]'..
|
||||
'style_type[label;textcolor=red;font=bold;font_size=20]'..
|
||||
'label[2,.5;Report Level ('..map_name..')]'..
|
||||
'style_type[label;textcolor=;font=;font_size=]'..
|
||||
'label[.75,1.5;Report Reason:]'..
|
||||
'dropdown[.5,2;5,.5;reason;Incomplete,Broken,No tasks,Broken spawn;0]'..
|
||||
'textarea[.5,2.75;5,3.75;;This is where we explain what the different options mean and what this actually does.;]'..
|
||||
'textarea[6,1.66;5.5,5;input;Further Details (optional);]'..
|
||||
'button_exit[2,7;3,.75;save;Submit (1xp)]'..
|
||||
'button_exit[7,7;3,.75;lol;Cancel]'
|
||||
'textarea[3,1.66;6,5;;Sorry you can\'t report this level. You can\'t even play it so how could you possibly know anything about it to report???;]'..
|
||||
'button_exit[4.5,7;3,.75;lol;Okay]'
|
||||
end
|
||||
return formspec
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Blender v2.90.0 Beta OBJ File: 'button.blend'
|
||||
# Blender v3.2.1 OBJ File: 'button.blend'
|
||||
# www.blender.org
|
||||
o Cube.001_Cube
|
||||
v -0.500000 -0.500000 0.500000
|
||||
|
@ -45,44 +45,44 @@ vt 0.000000 -0.000000
|
|||
vt 0.000000 0.062500
|
||||
vt 0.062500 0.000000
|
||||
vt 0.062500 1.000000
|
||||
vt 0.937500 0.937500
|
||||
vt 0.937500 1.000000
|
||||
vt 0.781250 1.000000
|
||||
vt 0.781250 0.937500
|
||||
vt 0.625000 1.000000
|
||||
vt 0.625000 0.937500
|
||||
vt 0.468750 1.000000
|
||||
vt 0.468750 0.937500
|
||||
vt 0.312500 1.000000
|
||||
vt 0.312500 0.937500
|
||||
vt 0.156250 1.000000
|
||||
vt 1.000000 0.875000
|
||||
vt 1.000000 0.937500
|
||||
vt 0.843750 0.937500
|
||||
vt 0.843750 0.875000
|
||||
vt 0.656250 0.937500
|
||||
vt 0.656250 0.875000
|
||||
vt 0.500000 0.937500
|
||||
vt 0.500000 0.875000
|
||||
vt 0.343750 0.937500
|
||||
vt 0.343750 0.875000
|
||||
vt 0.156250 0.937500
|
||||
vt -0.000000 1.000000
|
||||
vt -0.000000 0.937500
|
||||
vt -0.000000 0.875000
|
||||
vt 0.156250 0.875000
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.875000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.156250 0.937500
|
||||
vt 0.312500 0.875000
|
||||
vt 0.312500 0.937500
|
||||
vt 0.468750 0.875000
|
||||
vt 0.468750 0.937500
|
||||
vt 0.625000 0.875000
|
||||
vt 0.625000 0.937500
|
||||
vt 0.000000 0.468750
|
||||
vt 0.000000 0.281250
|
||||
vt 0.093750 0.093750
|
||||
vt 0.281250 0.000000
|
||||
vt 0.468750 0.000000
|
||||
vt 0.656250 0.093750
|
||||
vt 0.750000 0.281250
|
||||
vt 0.750000 0.468750
|
||||
vt 0.656250 0.656250
|
||||
vt 0.468750 0.750000
|
||||
vt 0.281250 0.750000
|
||||
vt 0.093750 0.656250
|
||||
vt 0.781250 0.875000
|
||||
vt 0.781250 0.937500
|
||||
vt 0.937500 0.875000
|
||||
vt 0.156250 1.000000
|
||||
vt 0.343750 0.937500
|
||||
vt 0.343750 1.000000
|
||||
vt 0.500000 0.937500
|
||||
vt 0.500000 1.000000
|
||||
vt 0.656250 0.937500
|
||||
vt 0.656250 1.000000
|
||||
vt 0.595238 0.733620
|
||||
vt 0.404555 0.784348
|
||||
vt 0.213872 0.733619
|
||||
vt 0.074283 0.595028
|
||||
vt 0.023190 0.405708
|
||||
vt 0.074283 0.216388
|
||||
vt 0.213872 0.077797
|
||||
vt 0.404555 0.027069
|
||||
vt 0.595237 0.077796
|
||||
vt 0.734827 0.216388
|
||||
vt 0.785920 0.405708
|
||||
vt 0.734827 0.595028
|
||||
vt 0.843750 0.937500
|
||||
vt 0.843750 1.000000
|
||||
vt 1.000000 1.000000
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
|
@ -114,10 +114,10 @@ f 13/18/8 14/17/8 16/19/8 15/20/8
|
|||
f 15/20/9 16/19/9 18/21/9 17/22/9
|
||||
f 17/22/10 18/21/10 20/23/10 19/24/10
|
||||
f 19/24/11 20/23/11 22/25/11 21/26/11
|
||||
f 21/26/12 22/27/12 24/28/12 23/29/12
|
||||
f 21/27/12 22/25/12 24/28/12 23/29/12
|
||||
f 23/29/13 24/28/13 26/30/13 25/31/13
|
||||
f 25/31/14 26/30/14 28/32/14 27/33/14
|
||||
f 27/33/15 28/32/15 30/34/15 29/35/15
|
||||
f 12/36/5 10/37/5 32/38/5 30/39/5 28/40/5 26/41/5 24/42/5 22/43/5 20/44/5 18/45/5 16/46/5 14/47/5
|
||||
f 29/35/16 30/34/16 32/48/16 31/49/16
|
||||
f 31/49/17 32/48/17 10/50/17 9/13/17
|
||||
f 31/49/17 32/48/17 10/14/17 9/50/17
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 4.6 KiB |
|
@ -0,0 +1,116 @@
|
|||
local box = {
|
||||
type = 'fixed',
|
||||
fixed = {
|
||||
{-.5, -.5, -.5, .5, .375, .5}}}
|
||||
|
||||
local formspec_good =
|
||||
'formspec_version[3]'..
|
||||
'size[12,6]'..
|
||||
'image[0,0;12,6;tasks_beehive_ui_bg.png]'
|
||||
|
||||
local function math_clamp(val, lower, upper)
|
||||
return math.max(lower, math.min(upper, val))
|
||||
end
|
||||
|
||||
beehive = {}
|
||||
|
||||
local function beehive_formspec(name, wx, wy, b1x, b1y, b2x, b2y)
|
||||
wx = math_clamp((wx + math.random(-4,4)/10), 0, 11)
|
||||
wy = math_clamp((wy + math.random(-4,4)/10), 0, 5)
|
||||
b1x = math_clamp((b1x + math.random(-4,4)/10), 0, 11)
|
||||
b1y = math_clamp((b1y + math.random(-4,4)/10), 0, 5)
|
||||
b2x = math_clamp((b2x + math.random(-4,4)/10), 0, 11)
|
||||
b2y = math_clamp((b2y + math.random(-4,4)/10), 0, 5)
|
||||
local formspec =
|
||||
'formspec_version[3]'..
|
||||
'size[12,6]'..
|
||||
'image[0,0;12,6;tasks_beehive_ui_bg.png]'..
|
||||
'image_button['..wx..','..wy..';1,1;tasks_beehive_ui_wasp.png;thief;;true;false]'..
|
||||
'image_button['..b1x..','..b1y..';1,1;tasks_beehive_ui_bee.png;bee;;true;false]'..
|
||||
'image_button['..b2x..','..b2y..';1,1;tasks_beehive_ui_bee.png;bee;;true;false]'
|
||||
minetest.show_formspec(name, 'tasks:beehive_bad', formspec)
|
||||
minetest.after(.25, function()
|
||||
if beehive[name] == 'true' then
|
||||
beehive_formspec(name, wx, wy, b1x, b1y, b2x, b2y)
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
minetest.register_node('tasks:beehive',{
|
||||
description = 'Beehive',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'tasks_beehive.obj',
|
||||
tiles = {'tasks_beehive.png'},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
selection_box = box,
|
||||
collision_box = box,
|
||||
groups = {breakable = 1, tasks=1},
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:set_string('infotext', 'Beehive')
|
||||
meta:set_string('info_working', 'Beehive')
|
||||
meta:set_string('info_repair', 'Distressed Beehive')
|
||||
meta:set_string('status', 'good')
|
||||
meta:set_int('time_min', 30)
|
||||
meta:set_int('time_max', 90)
|
||||
meta:set_int('xp', 5)
|
||||
meta:set_int('level', 0)
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
local name = clicker:get_player_name()
|
||||
local timer = minetest.get_node_timer(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local min = meta:get_int('time_min') or 30
|
||||
local max = meta:get_int('time_max') or 60
|
||||
local status = meta:get_string('status')
|
||||
local random_number = math.random(min,max)
|
||||
timer:start(random_number)
|
||||
local map_id = lobby.game[name]
|
||||
local sabotage_level = lobby.sabotage_level[map_id] or 5
|
||||
local level = meta:get_int('level') or 0
|
||||
if level < sabotage_level then
|
||||
if status == 'good' then
|
||||
minetest.show_formspec(name, 'tasks:beehive_good', formspec_good)
|
||||
else
|
||||
tasks.player_config[name] = pos
|
||||
beehive[name] = 'true'
|
||||
beehive_formspec(name, 6, 3, 2, 4, 9, 1)
|
||||
end
|
||||
else
|
||||
minetest.chat_send_player(name, 'level is currently sabotaged, and you can\'t do this now.')
|
||||
end
|
||||
end,
|
||||
on_timer = function(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('info_repair')
|
||||
meta:set_string('infotext', infotext)
|
||||
meta:set_string('status', 'bad')
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
local name = player:get_player_name()
|
||||
if formname == 'tasks:beehive_bad'then
|
||||
if fields.thief then
|
||||
beehive[name] = 'false'
|
||||
local pos = tasks.player_config[name]
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('info_working')
|
||||
local xp = meta:get_int('xp')
|
||||
meta:set_string('status', 'good')
|
||||
meta:set_string('infotext', infotext)
|
||||
tasks.only_add_xp(xp, name)
|
||||
minetest.close_formspec(name, 'tasks:beehive_bad')
|
||||
minetest.chat_send_player(name, 'Nice going, the queen thanks you!')
|
||||
elseif fields.bee then
|
||||
beehive[name] = 'false'
|
||||
minetest.close_formspec(name, 'tasks:beehive_bad')
|
||||
minetest.chat_send_player(name, 'Careful, you just killed a honeybee.')
|
||||
elseif fields.quit then
|
||||
beehive[name] = 'false'
|
||||
end
|
||||
end
|
||||
end)
|
|
@ -25,12 +25,16 @@ minetest.register_tool('tasks:configurator', {
|
|||
|
||||
function tasks.configure(pos, name)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('infotext')
|
||||
local info_working = meta:get_string('info_working')
|
||||
local info_repair = meta:get_string('info_repair')
|
||||
local time_min = meta:get_int('time_min') or 60
|
||||
local time_max = meta:get_int('time_max') or 120
|
||||
local xp = meta:get_int('xp') or 5
|
||||
local level = meta:get_int('level') or 0
|
||||
minetest.show_formspec(name, 'tasks:configuration', tasks.configuration_formspec(infotext, time_min, time_max, xp, level))
|
||||
if info_working == '' then
|
||||
info_working = meta:get_string('infotext')
|
||||
end
|
||||
minetest.show_formspec(name, 'tasks:configuration', tasks.configuration_formspec(info_working, info_repair, time_min, time_max, xp, level))
|
||||
end
|
||||
|
||||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
|
@ -44,9 +48,10 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
local timer = minetest.get_node_timer(pos)
|
||||
meta:set_int('time_min', math.max(fields.time_min,5))
|
||||
meta:set_int('time_max', math.max(fields.time_max,20))
|
||||
meta:set_int('xp', fields.xp)
|
||||
meta:set_int('xp', math.max(fields.xp,0))
|
||||
meta:set_int('level', math.min(fields.level, 4))
|
||||
meta:set_string('infotext', fields.infotext)
|
||||
meta:set_string('info_working', fields.info_working)
|
||||
meta:set_string('info_repair', fields.info_repair)
|
||||
local random_number = math.random(fields.time_min, fields.time_max)
|
||||
timer:start(random_number)
|
||||
else
|
||||
|
@ -56,20 +61,27 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
end
|
||||
end)
|
||||
|
||||
function tasks.configuration_formspec(infotext, time_min, time_max, xp, level)
|
||||
function tasks.configuration_formspec(info_working, info_repair, time_min, time_max, xp, level)
|
||||
local formspec =
|
||||
'formspec_version[3]'..
|
||||
'size[8,6]'..
|
||||
'textarea[.5,.5;7,2;;;Set the minimum and maximum time a task will run before becoming available, and the XP to be awarded upon completion of the task. '..
|
||||
'Minimum time must be 5 or more seconds, and max time must be 20 or more seconds. Whole numbers only.\n'..
|
||||
'Pro-tip, set the min and max times the same to remove randomization.\n'..
|
||||
'You can ignore the level input if you aren\'t adding a node you can sabotage.]'..
|
||||
'field[1,3;6,.5;infotext;Infotext;'..infotext..']'..
|
||||
'field[1,4;2,.5;time_min;Minimum time;'..time_min..']'..
|
||||
'field[5,4;2,.5;time_max;Maximum time;'..time_max..']'..
|
||||
'field[1,5;1.5,.5;xp;XP;'..xp..']'..
|
||||
'field[3.25,5;1.5,.5;level;Level;'..level..']'..
|
||||
'button_exit[5.5,5;1.5,.5;save;Submit]'
|
||||
'size[12,10]'..
|
||||
'background[-2,-2;16,14;tasks_configurator_ui_bg.png]'..
|
||||
'textarea[0,0;12,3.5;;;Set the time range a task can become available within. '..
|
||||
'A random number within the range will be used. Minimum time must be 5 or more seconds, '..
|
||||
'and max time must be 20 or more seconds. Whole numbers only! '..
|
||||
'Right-clicking on an unavailable task will restart the timer with a new random number. '..
|
||||
'If you always want the task to take the same length of time to become available simply set both values to the same number.\n'..
|
||||
'Enter the amount of XP to be granted to a player in a match. Ghosts will add half this value, '..
|
||||
'and players solo playing a level will only get 1 XP.\n'..
|
||||
'Levels can be 1-4, if the level is below the sabotage level it can be interacted with while the map is sabotaged.\n'..
|
||||
'Do note that not all tasks have configurable infotexts even though they display here.]'..
|
||||
'field[0,4.5;12,.6;info_working;Infotext to displayed when the task is unavailable;'..info_working..']'..
|
||||
'field[0,5.75;12,.6;info_repair;Infotext to displayed when the task is available;'..info_repair..']'..
|
||||
'field[0,7;2,.6;time_min;Min time;'..time_min..']'..
|
||||
'field[3.25,7;2,.6;time_max;Max time;'..time_max..']'..
|
||||
'field[6.75,7;2,.6;xp;XP;'..xp..']'..
|
||||
'field[10,7;2,.6;level;Level;'..level..']'..
|
||||
'button_exit[8,9;3,1;save;Submit]'
|
||||
return formspec
|
||||
end
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ minetest.register_node('tasks:engine_0_on',{
|
|||
groups = {breakable = 1, tasks=1, plays_sound=1},
|
||||
_sound = 'tasks_engine_0_run',
|
||||
on_construct = function(pos)
|
||||
tasks.on_construct(pos, 'Arc Reactor')
|
||||
tasks.on_construct(pos, 'Arc Reactor', 'Broken Arc Reactor')
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
tasks.right_click_on(pos, node, clicker, formspec_good)
|
||||
|
@ -41,9 +41,9 @@ minetest.register_node('tasks:engine_0_on',{
|
|||
on_timer = function(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('infotext')
|
||||
local infotext = meta:get_string('info_repair')
|
||||
minetest.sound_play('tasks_engine_0_stop', {pos = pos, gain = 1, max_hear_distance = 10})
|
||||
meta:set_string('infotext', infotext..' (Needs repair!)')
|
||||
meta:set_string('infotext', infotext)
|
||||
minetest.after(11, function()
|
||||
minetest.swap_node(pos, {name = 'tasks:engine_0_off', param2 = node.param2})
|
||||
end)
|
||||
|
@ -86,7 +86,7 @@ minetest.register_node('tasks:engine_0_off',{
|
|||
local min = meta:get_int('time_min') or 30
|
||||
local max = meta:get_int('time_max') or 60
|
||||
local random_number = math.random(min,max)
|
||||
local infotext = string.sub(meta:get_string('infotext'), 1, -17)
|
||||
local infotext = meta:get_string('info_working')
|
||||
inv:set_stack('part', 1, '')
|
||||
minetest.sound_play('tasks_engine_0_start', {pos = pos, gain = 1, max_hear_distance = 10})
|
||||
minetest.swap_node(pos, {name = 'tasks:engine_0_on', param2 = node.param2})
|
||||
|
|
|
@ -32,7 +32,7 @@ minetest.register_node('tasks:engine_1_on',{
|
|||
_sound = 'tasks_engine_1_run',
|
||||
groups = {breakable = 1, tasks=1, plays_sound=1},
|
||||
on_construct = function(pos)
|
||||
tasks.on_construct(pos, 'Plasma Accelerator')
|
||||
tasks.on_construct(pos, 'Plasma Accelerator', 'Plasma Accelerator went too fast, needs repair.')
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
tasks.right_click_on(pos, node, clicker, formspec_good)
|
||||
|
@ -40,9 +40,9 @@ minetest.register_node('tasks:engine_1_on',{
|
|||
on_timer = function(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('infotext')
|
||||
local infotext = meta:get_string('info_repair')
|
||||
minetest.sound_play('tasks_engine_1_stop', {pos = pos, gain = 1, max_hear_distance = 5})
|
||||
meta:set_string('infotext', infotext..' (Needs repair!)')
|
||||
meta:set_string('infotext', infotext)
|
||||
minetest.after(5, function()
|
||||
minetest.swap_node(pos, {name = 'tasks:engine_1_off', param2 = node.param2})
|
||||
end)
|
||||
|
@ -84,7 +84,7 @@ minetest.register_node('tasks:engine_1_off',{
|
|||
local min = meta:get_int('time_min') or 30
|
||||
local max = meta:get_int('time_max') or 60
|
||||
local random_number = math.random(min,max)
|
||||
local infotext = string.sub(meta:get_string('infotext'), 1, -17)
|
||||
local infotext = meta:get_string('info_working')
|
||||
inv:set_stack('part', 1, '')
|
||||
minetest.sound_play('tasks_engine_1_start', {pos = pos, gain = 1, max_hear_distance = 10})
|
||||
minetest.swap_node(pos, {name = 'tasks:engine_1_on', param2 = node.param2})
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
minetest.register_node('tasks:example_0', { --This node is inactive, so somebody completed the task.
|
||||
description = 'example',
|
||||
tiles = {name='task_1.png'},
|
||||
tiles = {'task_1.png'},
|
||||
groups = {breakable=1, not_in_creative_inventory=1, tasks=1},
|
||||
light_source = 14,
|
||||
on_construct = function(pos)
|
||||
tasks.on_construct(pos, 'infotext')
|
||||
tasks.on_construct(pos, 'Sample', 'Please don\'t use me')
|
||||
end,
|
||||
on_timer = function(pos)
|
||||
local this_node = minetest.get_node(pos)
|
||||
|
@ -24,7 +24,7 @@ minetest.register_node('tasks:example_0', { --This node is inactive, so somebody
|
|||
|
||||
minetest.register_node('tasks:example_1', { --This node is waiting for somebody to come along and complete the task.
|
||||
description = 'example',
|
||||
tiles = {name='task_1.png'},
|
||||
tiles = {'task_1.png'},
|
||||
groups = {breakable=1, not_in_creative_inventory=1, tasks=1},
|
||||
light_source = 2,
|
||||
drop = 'tasks:example_0',
|
||||
|
@ -32,3 +32,54 @@ minetest.register_node('tasks:example_1', { --This node is waiting for somebody
|
|||
tasks.add_xp(pos, node, puncher, 'tasks:example_0') --Everything is pulled from the node meta expect for what node to swap to.
|
||||
end
|
||||
})
|
||||
|
||||
local function math_clamp(val, lower, upper)
|
||||
return math.max(lower, math.min(upper, val))
|
||||
end
|
||||
|
||||
tasks.test = {}
|
||||
|
||||
local function test_formspec(name, pos, x, y)
|
||||
x = math_clamp((x + math.random(-4,4)/10), 0, 9)
|
||||
y = math_clamp((y + math.random(-4,4)/10), 0, 6)
|
||||
--y = y - .2
|
||||
local formspec =
|
||||
'formspec_version[3]'..
|
||||
'size[10,7]'..
|
||||
'textarea[1,.5;8,1;;;Eww, something smells rotten! (Click the rotten food.)]'..
|
||||
'image[1,1;8,5;tasks_food_crate_apples.png]'..
|
||||
'image_button['..x..','..y..';1,1;tasks_food_crate_apple_rotten.png;rotten;;true;false;]'
|
||||
minetest.show_formspec(name, 'tasks:test', formspec)
|
||||
minetest.after(.2, function()
|
||||
if y < 0 then
|
||||
minetest.close_formspec(name, 'tasks:test')
|
||||
tasks.test[name] = 'false'
|
||||
end
|
||||
if tasks.test[name] == 'true' then
|
||||
test_formspec(name, pos, x, y)
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
minetest.register_node('tasks:test', {
|
||||
description = 'testing',
|
||||
tiles = {'heart.png'},
|
||||
groups = {breakable=1, not_in_creative_inventory=1, tasks=1},
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
local name = clicker:get_player_name()
|
||||
tasks.test[name] = 'true'
|
||||
test_formspec(name, pos, 5, 3.5)
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
local name = player:get_player_name()
|
||||
if formname == 'tasks:test' then
|
||||
if fields.rotten then
|
||||
minetest.close_formspec(name, 'tasks:test')
|
||||
tasks.test[name] = 'false'
|
||||
elseif fields.quit then
|
||||
tasks.test[name] = 'false'
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
local formspec_good =
|
||||
'size[6,3]'..
|
||||
'textarea[1,1;5,2;;;All the food looks good right now.]'
|
||||
--Variations on this task could include;
|
||||
--Oranges, Turnips, Beets, Carrots, Cabbage, Pears, Bananas
|
||||
|
||||
local formspec_apple_good =
|
||||
'formspec_version[3]'..
|
||||
'size[10,7]'..
|
||||
'image[0,0;10,7;tasks_food_crate_apples.png]'
|
||||
|
||||
local function formspec_apple_bad()
|
||||
local x = math.random(10,80)/10
|
||||
|
@ -8,10 +12,26 @@ local function formspec_apple_bad()
|
|||
local formspec =
|
||||
'formspec_version[3]'..
|
||||
'size[10,7]'..
|
||||
'textarea[1,.5;8,1;;;Eww, something smells rotten! (Click the rotten food.)]'..
|
||||
'image[1,1;8,5;tasks_food_crate_apples.png]'..
|
||||
'image_button['..x..','..y..';1,1;tasks_food_crate_apple_rotten.png;rotten;;true;false;]'
|
||||
'image[0,0;10,7;tasks_food_crate_apples.png]'..
|
||||
'image_button['..x..','..y..';1,1;tasks_food_crate_apple_rotten.png;rotten;;true;false;]'..
|
||||
'image[0,0;10,7;tasks_food_crate_apples_overlay.png]'
|
||||
return formspec
|
||||
end
|
||||
|
||||
local formspec_carrot_good =
|
||||
'formspec_version[3]'..
|
||||
'size[10,7]'..
|
||||
'image[0,0;10,7;tasks_food_crate_carrots.png]'
|
||||
|
||||
local function formspec_carrot_bad()
|
||||
local x = math.random(10,80)/10
|
||||
local y = math.random(10,50)/10
|
||||
local formspec =
|
||||
'formspec_version[3]'..
|
||||
'size[10,7]'..
|
||||
'image[0,0;10,7;tasks_food_crate_carrots.png]'..
|
||||
'image_button['..x..','..y..';1,1;tasks_food_crate_carrot_rotten.png;rotten;;true;false;]'..
|
||||
'image[0,0;10,7;tasks_food_crate_carrots_overlay.png]'
|
||||
return formspec
|
||||
end
|
||||
|
||||
|
@ -24,23 +44,23 @@ minetest.register_node('tasks:food_crate_apple_idle',{
|
|||
description = 'Apple Crate',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'tasks_food_crate.obj',
|
||||
tiles = {name = 'tasks_food_crate_apple.png'},
|
||||
tiles = {'tasks_food_crate.png', 'tasks_food_crate_apples_node.png'},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
selection_box = box,
|
||||
collision_box = box,
|
||||
groups = {breakable = 1, tasks=1},
|
||||
on_construct = function(pos)
|
||||
tasks.on_construct(pos, 'Apple Crate')
|
||||
tasks.on_construct(pos, 'Apple Crate', 'Apple Crate with Rotten Fruit')
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
tasks.right_click_on(pos, node, clicker, formspec_good)
|
||||
tasks.right_click_on(pos, node, clicker, formspec_apple_good)
|
||||
end,
|
||||
on_timer = function(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('infotext')
|
||||
meta:set_string('infotext', infotext..' (Rotten Fruit Inside)')
|
||||
local infotext = meta:get_string('info_repair')
|
||||
meta:set_string('infotext', infotext)
|
||||
minetest.swap_node(pos, {name = 'tasks:food_crate_apple_active', param2 = node.param2})
|
||||
end,
|
||||
})
|
||||
|
@ -49,7 +69,7 @@ minetest.register_node('tasks:food_crate_apple_active',{
|
|||
description = 'Apple Crate',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'tasks_food_crate.obj',
|
||||
tiles = {name = 'tasks_food_crate_apple.png'},
|
||||
tiles = {'tasks_food_crate.png', 'tasks_food_crate_apples_node.png'},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
selection_box = box,
|
||||
|
@ -71,6 +91,57 @@ minetest.register_node('tasks:food_crate_apple_active',{
|
|||
end,
|
||||
})
|
||||
|
||||
minetest.register_node('tasks:food_crate_carrot_idle',{
|
||||
description = 'Carrot Crate',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'tasks_food_crate.obj',
|
||||
tiles = {'tasks_food_crate.png', 'tasks_food_crate_carrots_node.png'},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
selection_box = box,
|
||||
collision_box = box,
|
||||
groups = {breakable = 1, tasks=1},
|
||||
on_construct = function(pos)
|
||||
tasks.on_construct(pos, 'Carrot Crate', 'Carrot Crate with Rotten Carrot')
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
tasks.right_click_on(pos, node, clicker, formspec_carrot_good)
|
||||
end,
|
||||
on_timer = function(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('info_repair')
|
||||
meta:set_string('infotext', infotext)
|
||||
minetest.swap_node(pos, {name = 'tasks:food_crate_carrot_active', param2 = node.param2})
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node('tasks:food_crate_carrot_active',{
|
||||
description = 'Carrot Crate',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'tasks_food_crate.obj',
|
||||
tiles = {'tasks_food_crate.png', 'tasks_food_crate_carrots_node.png'},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
selection_box = box,
|
||||
collision_box = box,
|
||||
drop = 'tasks:food_crate_carrot_idle',
|
||||
groups = {breakable = 1, tasks=1, not_in_creative_inventory=1},
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
local name = clicker:get_player_name()
|
||||
local map_id = lobby.game[name]
|
||||
local sabotage_level = lobby.sabotage_level[map_id] or 5
|
||||
local meta = minetest.get_meta(pos)
|
||||
local level = meta:get_int('level') or 0
|
||||
if level < sabotage_level then
|
||||
tasks.player_config[name] = pos
|
||||
minetest.show_formspec(name, 'tasks:food_crate_carrot', formspec_carrot_bad())
|
||||
else
|
||||
minetest.chat_send_player(name, 'level is currently sabotaged, and you can\'t do this now.')
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
local name = player:get_player_name()
|
||||
if formname == 'tasks:food_crate_apple'then
|
||||
|
@ -78,10 +149,20 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
local pos = tasks.player_config[name]
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = string.sub(meta:get_string('infotext'), 1, -23)
|
||||
local infotext = meta:get_string('info_working')
|
||||
meta:set_string('infotext', infotext)
|
||||
tasks.add_xp(pos, node, player, 'tasks:food_crate_apple_idle')
|
||||
minetest.close_formspec(name, 'tasks:food_crate_apple')
|
||||
end
|
||||
elseif formname == 'tasks:food_crate_carrot'then
|
||||
if fields.rotten then
|
||||
local pos = tasks.player_config[name]
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('info_working')
|
||||
meta:set_string('infotext', infotext)
|
||||
tasks.add_xp(pos, node, player, 'tasks:food_crate_carrot_idle')
|
||||
minetest.close_formspec(name, 'tasks:food_crate_carrot')
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
|
|
@ -40,7 +40,7 @@ minetest.register_node('tasks:forcefield_gen_on',{
|
|||
collision_box = on_box,
|
||||
groups = {breakable = 1, tasks=1},
|
||||
on_construct = function(pos)
|
||||
tasks.on_construct(pos, 'Forcefield Generator')
|
||||
tasks.on_construct(pos, 'Forcefield Generator', 'More like hole Generator')
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
tasks.right_click_on(pos, node, clicker, formspec_good)
|
||||
|
@ -48,8 +48,8 @@ minetest.register_node('tasks:forcefield_gen_on',{
|
|||
on_timer = function(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('infotext')
|
||||
meta:set_string('infotext', infotext..' (Needs repair!)')
|
||||
local infotext = meta:get_string('info_repair')
|
||||
meta:set_string('infotext', infotext)
|
||||
minetest.swap_node(pos, {name = 'tasks:forcefield_gen_off', param2 = node.param2})
|
||||
end,
|
||||
})
|
||||
|
@ -95,7 +95,7 @@ minetest.register_node('tasks:forcefield_gen_off',{
|
|||
local min = meta:get_int('time_min') or 300
|
||||
local max = meta:get_int('time_max') or 600
|
||||
local random_number = math.random(min,max)
|
||||
local infotext = string.sub(meta:get_string('infotext'), 1, -17)
|
||||
local infotext = meta:get_string('info_working')
|
||||
inv:set_stack('part', 1, '')
|
||||
minetest.swap_node(pos, {name = 'tasks:forcefield_gen_on', param2 = node.param2})
|
||||
minetest.close_formspec(name, 'tasks:part_req_form')
|
||||
|
|
|
@ -110,11 +110,13 @@ function tasks.right_click_off(pos, node, clicker, formspec)
|
|||
end
|
||||
end
|
||||
|
||||
function tasks.on_construct(pos, infotext)
|
||||
function tasks.on_construct(pos, info_working, info_repair)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local inv = meta:get_inventory()
|
||||
inv:set_size('part', 1)
|
||||
meta:set_string('infotext', infotext)
|
||||
meta:set_string('infotext', info_working)
|
||||
meta:set_string('info_working', info_working)
|
||||
meta:set_string('info_repair', info_repair)
|
||||
meta:set_int('time_min', 30)
|
||||
meta:set_int('time_max', 90)
|
||||
meta:set_int('xp', 5)
|
||||
|
@ -157,3 +159,26 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
end
|
||||
end
|
||||
end)
|
||||
|
||||
minetest.register_lbm({ --This can be removed in a few months. 08/27/22
|
||||
label = 'Tasks infotext update',
|
||||
name = 'tasks:info_update',
|
||||
run_at_every_load = false,
|
||||
nodenames = {'group:tasks'},
|
||||
action = function(pos, node)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local info = meta:get_string('infotext')
|
||||
local info_repair
|
||||
local info_working
|
||||
local i, j = string.find(info, "%(")
|
||||
if i then
|
||||
info_repair = info
|
||||
info_working = string.sub(info, 1, (i-2))
|
||||
else
|
||||
info_working = info
|
||||
info_repair = info..' (Needs Repair)'
|
||||
end
|
||||
meta:set_string('info_repair', info_repair)
|
||||
meta:set_string('info_working', info_working)
|
||||
end
|
||||
})
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
--[[
|
||||
Every tasks should be in it's own file. If there are multiple tasks that are all varients
|
||||
of the same tasks it's okay to put them all the same file to allow for re-using local functions.
|
||||
Node's with infotexts should have two varients;
|
||||
info_repair : This is used when the task is available to complete.
|
||||
info_working : This is used when the task is completed and is waiting to become available.
|
||||
]]
|
||||
|
||||
tasks = {}
|
||||
|
@ -13,6 +16,7 @@ dofile(minetest.get_modpath('tasks')..'/items.lua')
|
|||
dofile(minetest.get_modpath('tasks')..'/storage_locker.lua')
|
||||
|
||||
--Actual tasks
|
||||
dofile(minetest.get_modpath('tasks')..'/beehive.lua')
|
||||
dofile(minetest.get_modpath('tasks')..'/campfire.lua')
|
||||
dofile(minetest.get_modpath('tasks')..'/code.lua')
|
||||
dofile(minetest.get_modpath('tasks')..'/engine_0.lua')
|
||||
|
|
|
@ -35,7 +35,7 @@ minetest.register_node('tasks:microscope',{
|
|||
collision_box = box,
|
||||
groups = {breakable = 1, tasks=1},
|
||||
on_construct = function(pos)
|
||||
tasks.on_construct(pos, 'Microscope')
|
||||
tasks.on_construct(pos, 'Microscope', 'Microscope with Specimens')
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
local name = clicker:get_player_name()
|
||||
|
@ -44,8 +44,6 @@ minetest.register_node('tasks:microscope',{
|
|||
local meta = minetest.get_meta(pos)
|
||||
local count = meta:get_int('count') or 0
|
||||
local level = meta:get_int('level') or 0
|
||||
print ('sabotage level is '..sabotage_level)
|
||||
print ('node level is '..level)
|
||||
if level < sabotage_level then
|
||||
tasks.player_config[name] = pos
|
||||
if count == 0 then
|
||||
|
|
|
@ -0,0 +1,60 @@
|
|||
# Blender v3.2.2 OBJ File: 'tasks.blend'
|
||||
# www.blender.org
|
||||
o BeeHive_Cube.017
|
||||
v -0.437500 -0.500000 0.437500
|
||||
v -0.437500 0.187500 0.437500
|
||||
v -0.437500 -0.500000 -0.437500
|
||||
v -0.437500 0.187500 -0.437500
|
||||
v 0.437500 -0.500000 0.437500
|
||||
v 0.437500 0.187500 0.437500
|
||||
v 0.437500 -0.500000 -0.437500
|
||||
v 0.437500 0.187500 -0.437500
|
||||
v -0.500000 0.187500 0.500000
|
||||
v -0.500000 0.375000 0.500000
|
||||
v -0.500000 0.187500 -0.500000
|
||||
v -0.500000 0.375000 -0.500000
|
||||
v 0.500000 0.187500 0.500000
|
||||
v 0.500000 0.375000 0.500000
|
||||
v 0.500000 0.187500 -0.500000
|
||||
v 0.500000 0.375000 -0.500000
|
||||
vt 0.656250 0.000000
|
||||
vt 0.656250 0.171875
|
||||
vt 0.437500 0.171875
|
||||
vt 0.437500 0.000000
|
||||
vt 0.218750 0.171875
|
||||
vt 0.218750 0.000000
|
||||
vt 0.000000 0.171875
|
||||
vt 0.000000 0.000000
|
||||
vt 0.875000 0.000000
|
||||
vt 0.875000 0.171875
|
||||
vt 0.046875 1.000000
|
||||
vt 0.046875 0.953125
|
||||
vt 0.296875 0.953125
|
||||
vt 0.296875 1.000000
|
||||
vt 0.000000 0.703125
|
||||
vt 0.046875 0.703125
|
||||
vt 0.000000 0.953125
|
||||
vt 0.343750 0.953125
|
||||
vt 0.296875 0.703125
|
||||
vt 0.343750 0.703125
|
||||
vt 0.296875 0.656250
|
||||
vt 0.046875 0.656250
|
||||
vt 0.046875 0.406250
|
||||
vt 0.296875 0.406250
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 3/4/2 4/3/2 8/5/2 7/6/2
|
||||
f 7/6/3 8/5/3 6/7/3 5/8/3
|
||||
f 5/9/4 6/10/4 2/2/4 1/1/4
|
||||
f 11/11/2 12/12/2 16/13/2 15/14/2
|
||||
f 9/15/1 10/16/1 12/12/1 11/17/1
|
||||
f 15/18/3 16/13/3 14/19/3 13/20/3
|
||||
f 13/21/4 14/19/4 10/16/4 9/22/4
|
||||
f 11/23/5 15/24/5 13/21/5 9/22/5
|
||||
f 16/13/6 12/12/6 10/16/6 14/19/6
|
|
@ -1,4 +1,4 @@
|
|||
# Blender v2.93.5 OBJ File: 'tasks.blend'
|
||||
# Blender v3.2.2 OBJ File: 'tasks.blend'
|
||||
# www.blender.org
|
||||
o Apple_Crate_Cube.001
|
||||
v -0.500000 -0.500000 0.437500
|
||||
|
@ -39,21 +39,22 @@ vt 0.468750 0.453125
|
|||
vt 0.218750 0.453125
|
||||
vt 0.234375 0.437500
|
||||
vt 0.453125 0.437500
|
||||
vt 0.000000 0.812500
|
||||
vt 0.218750 0.812500
|
||||
vt 0.218750 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.445312 0.460938
|
||||
vt 0.632812 0.460938
|
||||
vt 0.632812 0.492188
|
||||
vt 0.445312 0.492188
|
||||
vt 0.851562 0.460938
|
||||
vt 0.851562 0.492188
|
||||
vt 0.000000 0.312500
|
||||
vt 0.937500 0.312500
|
||||
vt 0.937500 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
g Apple_Crate_Cube.001_Food_Crate
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 3/4/2 4/3/2 8/5/2 7/6/2
|
||||
|
@ -64,7 +65,8 @@ f 12/15/1 11/16/1 15/17/1 16/18/1
|
|||
f 8/19/5 4/20/5 10/21/5 11/22/5
|
||||
f 6/12/5 8/19/5 11/22/5 12/13/5
|
||||
f 4/20/5 2/11/5 9/14/5 10/21/5
|
||||
f 15/23/5 14/24/5 13/25/5 16/26/5
|
||||
f 10/27/3 9/28/3 13/29/3 14/30/3
|
||||
f 9/28/2 12/31/2 16/32/2 13/29/2
|
||||
f 11/16/4 10/27/4 14/30/4 15/17/4
|
||||
f 10/23/3 9/24/3 13/25/3 14/26/3
|
||||
f 9/24/2 12/27/2 16/28/2 13/25/2
|
||||
f 11/16/4 10/23/4 14/26/4 15/17/4
|
||||
g Apple_Crate_Cube.001_Food_Crate_Food
|
||||
f 15/29/5 14/30/5 13/31/5 16/32/5
|
||||
|
|
|
@ -34,7 +34,7 @@ minetest.register_node('tasks:printing_press_on',{
|
|||
collision_box = box,
|
||||
groups = {breakable = 1, tasks=1},
|
||||
on_construct = function(pos)
|
||||
tasks.on_construct(pos, 'Printing Press')
|
||||
tasks.on_construct(pos, 'Printing Press', 'Needs paper')
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
tasks.right_click_on(pos, node, clicker, formspec_good)
|
||||
|
@ -42,8 +42,8 @@ minetest.register_node('tasks:printing_press_on',{
|
|||
on_timer = function(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('infotext')
|
||||
meta:set_string('infotext', infotext..' (Needs paper!)')
|
||||
local infotext = meta:get_string('info_repair')
|
||||
meta:set_string('infotext', infotext)
|
||||
minetest.swap_node(pos, {name = 'tasks:printing_press_off', param2 = node.param2})
|
||||
end,
|
||||
})
|
||||
|
@ -83,7 +83,7 @@ minetest.register_node('tasks:printing_press_off',{
|
|||
local min = meta:get_int('time_min') or 300
|
||||
local max = meta:get_int('time_max') or 600
|
||||
local random_number = math.random(min,max)
|
||||
local infotext = string.sub(meta:get_string('infotext'), 1, -16)
|
||||
local infotext = meta:get_string('info_working')
|
||||
inv:set_stack('part', 1, '')
|
||||
minetest.swap_node(pos, {name = 'tasks:printing_press_on', param2 = node.param2})
|
||||
minetest.close_formspec(name, 'tasks:part_req_form')
|
||||
|
|
|
@ -33,7 +33,7 @@ minetest.register_node('tasks:radio_dish_on',{
|
|||
collision_box = box,
|
||||
groups = {breakable = 1, tasks=1},
|
||||
on_construct = function(pos)
|
||||
tasks.on_construct(pos, 'Satellite Dish')
|
||||
tasks.on_construct(pos, 'Satellite Dish', 'Goofy Umbrella')
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
tasks.right_click_on(pos, node, clicker, formspec_good)
|
||||
|
@ -41,8 +41,8 @@ minetest.register_node('tasks:radio_dish_on',{
|
|||
on_timer = function(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('infotext')
|
||||
meta:set_string('infotext', infotext..' (Needs repair!)')
|
||||
local infotext = meta:get_string('info_repair')
|
||||
meta:set_string('infotext', infotext)
|
||||
minetest.swap_node(pos, {name = 'tasks:radio_dish_off', param2 = node.param2})
|
||||
end,
|
||||
})
|
||||
|
@ -82,7 +82,7 @@ minetest.register_node('tasks:radio_dish_off',{
|
|||
local min = meta:get_int('time_min') or 300
|
||||
local max = meta:get_int('time_max') or 600
|
||||
local random_number = math.random(min,max)
|
||||
local infotext = string.sub(meta:get_string('infotext'), 1, -17)
|
||||
local infotext = meta:get_string('info_working')
|
||||
inv:set_stack('part', 1, '')
|
||||
minetest.swap_node(pos, {name = 'tasks:radio_dish_on', param2 = node.param2})
|
||||
minetest.close_formspec(name, 'tasks:part_req_form')
|
||||
|
|
|
@ -19,8 +19,8 @@ end
|
|||
|
||||
local box = {
|
||||
type = 'fixed',
|
||||
fixed = {
|
||||
{-.2, .4, -.2, .2, .5, .2},},}
|
||||
fixed = {
|
||||
{-.2, .4, -.2, .2, .5, .2}}}
|
||||
|
||||
minetest.register_node('tasks:smoke_detector_on',{
|
||||
description = 'Smoke Detector',
|
||||
|
@ -33,7 +33,7 @@ minetest.register_node('tasks:smoke_detector_on',{
|
|||
collision_box = box,
|
||||
groups = {breakable = 1, tasks=1},
|
||||
on_construct = function(pos)
|
||||
tasks.on_construct(pos, 'Smoke Detector')
|
||||
tasks.on_construct(pos, 'Smoke Detector', 'Wall Art?')
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
tasks.right_click_on(pos, node, clicker, formspec_good)
|
||||
|
@ -41,8 +41,8 @@ minetest.register_node('tasks:smoke_detector_on',{
|
|||
on_timer = function(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('infotext')
|
||||
meta:set_string('infotext', infotext..' (Needs repair!)')
|
||||
local infotext = meta:get_string('info_repair')
|
||||
meta:set_string('infotext', infotext)
|
||||
minetest.swap_node(pos, {name = 'tasks:smoke_detector_off', param2 = node.param2})
|
||||
minetest.sound_play('tasks_smoke_alarm_chirp', {pos = pos, gain = 2, max_hear_distance = 14})
|
||||
end,
|
||||
|
@ -83,7 +83,7 @@ minetest.register_node('tasks:smoke_detector_off',{
|
|||
local min = meta:get_int('time_min') or 30
|
||||
local max = meta:get_int('time_max') or 60
|
||||
local random_number = math.random(min,max)
|
||||
local infotext = string.sub(meta:get_string('infotext'), 1, -17)
|
||||
local infotext = meta:get_string('info_working')
|
||||
inv:set_stack('part', 1, '')
|
||||
minetest.swap_node(pos, {name = 'tasks:smoke_detector_on'})
|
||||
minetest.close_formspec(name, 'tasks:part_req_form')
|
||||
|
|
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 6.9 KiB |
After Width: | Height: | Size: 145 KiB |
After Width: | Height: | Size: 6.4 KiB |
After Width: | Height: | Size: 302 KiB |
After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 150 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 93 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 142 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 6.4 KiB |
|
@ -31,7 +31,7 @@ minetest.register_node('tasks:transformer_0_on',{
|
|||
collision_box = col_box,
|
||||
groups = {breakable = 1, tasks=1},
|
||||
on_construct = function(pos)
|
||||
tasks.on_construct(pos, 'Power Transformer')
|
||||
tasks.on_construct(pos, 'Power Transformer', 'Laughably Large Paperweight')
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
tasks.right_click_on(pos, node, clicker, formspec_good)
|
||||
|
@ -39,9 +39,9 @@ minetest.register_node('tasks:transformer_0_on',{
|
|||
on_timer = function(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local infotext = meta:get_string('infotext')
|
||||
local infotext = meta:get_string('info_repair')
|
||||
minetest.swap_node(pos, {name = 'tasks:transformer_0_off', param2 = node.param2})
|
||||
meta:set_string('infotext', infotext..' (Needs repair!)')
|
||||
meta:set_string('infotext', infotext)
|
||||
end,
|
||||
})
|
||||
|
||||
|
@ -79,7 +79,7 @@ minetest.register_node('tasks:transformer_0_off',{
|
|||
local min = meta:get_int('time_min') or 30
|
||||
local max = meta:get_int('time_max') or 60
|
||||
local random_number = math.random(min,max)
|
||||
local infotext = string.sub(meta:get_string('infotext'), 1, -17)
|
||||
local infotext = meta:get_string('info_working')
|
||||
inv:set_stack('part', 1, '')
|
||||
minetest.swap_node(pos, {name = 'tasks:transformer_0_on', param2 = node.param2})
|
||||
minetest.close_formspec(name, 'tasks:part_req_form')
|
||||
|
|