Add hidden doors
parent
4ae2b95073
commit
7206216a54
|
@ -48,6 +48,10 @@ origin https://github.com/Sokomine/handle_schematics (fetch)
|
|||
* master 0c5bfbe [origin/master] added mapgen dependencies for MCL2 for right order
|
||||
Mod: buildings/handle_schematics
|
||||
|
||||
origin https://codeberg.org/Hamlet/hidden_doors.git (fetch)
|
||||
* master 3a8b98d [origin/master] Fix darkage slab recipes by orbea.
|
||||
Mod: buildings/hidden_doors
|
||||
|
||||
origin https://github.com/Sokomine/mg_villages (fetch)
|
||||
* master 69ac3f2 [origin/master] pass pr on to grow_trees for mg mapgen
|
||||
Mod: buildings/mg_villages
|
||||
|
|
|
@ -0,0 +1,191 @@
|
|||
EUROPEAN UNION PUBLIC LICENCE v. 1.2
|
||||
EUPL © the European Union 2007, 2016
|
||||
|
||||
This European Union Public Licence (the ‘EUPL’) applies to the Work (as defined below) which is provided under the
|
||||
terms of this Licence. Any use of the Work, other than as authorised under this Licence is prohibited (to the extent such
|
||||
use is covered by a right of the copyright holder of the Work).
|
||||
The Work is provided under the terms of this Licence when the Licensor (as defined below) has placed the following
|
||||
notice immediately following the copyright notice for the Work:
|
||||
Licensed under the EUPL
|
||||
or has expressed by any other means his willingness to license under the EUPL.
|
||||
|
||||
1.Definitions
|
||||
In this Licence, the following terms have the following meaning:
|
||||
— ‘The Licence’:this Licence.
|
||||
— ‘The Original Work’:the work or software distributed or communicated by the Licensor under this Licence, available
|
||||
as Source Code and also as Executable Code as the case may be.
|
||||
— ‘Derivative Works’:the works or software that could be created by the Licensee, based upon the Original Work or
|
||||
modifications thereof. This Licence does not define the extent of modification or dependence on the Original Work
|
||||
required in order to classify a work as a Derivative Work; this extent is determined by copyright law applicable in
|
||||
the country mentioned in Article 15.
|
||||
— ‘The Work’:the Original Work or its Derivative Works.
|
||||
— ‘The Source Code’:the human-readable form of the Work which is the most convenient for people to study and
|
||||
modify.
|
||||
— ‘The Executable Code’:any code which has generally been compiled and which is meant to be interpreted by
|
||||
a computer as a program.
|
||||
— ‘The Licensor’:the natural or legal person that distributes or communicates the Work under the Licence.
|
||||
— ‘Contributor(s)’:any natural or legal person who modifies the Work under the Licence, or otherwise contributes to
|
||||
the creation of a Derivative Work.
|
||||
— ‘The Licensee’ or ‘You’:any natural or legal person who makes any usage of the Work under the terms of the
|
||||
Licence.
|
||||
— ‘Distribution’ or ‘Communication’:any act of selling, giving, lending, renting, distributing, communicating,
|
||||
transmitting, or otherwise making available, online or offline, copies of the Work or providing access to its essential
|
||||
functionalities at the disposal of any other natural or legal person.
|
||||
|
||||
2.Scope of the rights granted by the Licence
|
||||
The Licensor hereby grants You a worldwide, royalty-free, non-exclusive, sublicensable licence to do the following, for
|
||||
the duration of copyright vested in the Original Work:
|
||||
— use the Work in any circumstance and for all usage,
|
||||
— reproduce the Work,
|
||||
— modify the Work, and make Derivative Works based upon the Work,
|
||||
— communicate to the public, including the right to make available or display the Work or copies thereof to the public
|
||||
and perform publicly, as the case may be, the Work,
|
||||
— distribute the Work or copies thereof,
|
||||
— lend and rent the Work or copies thereof,
|
||||
— sublicense rights in the Work or copies thereof.
|
||||
Those rights can be exercised on any media, supports and formats, whether now known or later invented, as far as the
|
||||
applicable law permits so.
|
||||
In the countries where moral rights apply, the Licensor waives his right to exercise his moral right to the extent allowed
|
||||
by law in order to make effective the licence of the economic rights here above listed.
|
||||
The Licensor grants to the Licensee royalty-free, non-exclusive usage rights to any patents held by the Licensor, to the
|
||||
extent necessary to make use of the rights granted on the Work under this Licence.
|
||||
|
||||
3.Communication of the Source Code
|
||||
The Licensor may provide the Work either in its Source Code form, or as Executable Code. If the Work is provided as
|
||||
Executable Code, the Licensor provides in addition a machine-readable copy of the Source Code of the Work along with
|
||||
each copy of the Work that the Licensor distributes or indicates, in a notice following the copyright notice attached to
|
||||
the Work, a repository where the Source Code is easily and freely accessible for as long as the Licensor continues to
|
||||
distribute or communicate the Work.
|
||||
|
||||
4.Limitations on copyright
|
||||
Nothing in this Licence is intended to deprive the Licensee of the benefits from any exception or limitation to the
|
||||
exclusive rights of the rights owners in the Work, of the exhaustion of those rights or of other applicable limitations
|
||||
thereto.
|
||||
|
||||
5.Obligations of the Licensee
|
||||
The grant of the rights mentioned above is subject to some restrictions and obligations imposed on the Licensee. Those
|
||||
obligations are the following:
|
||||
|
||||
Attribution right: The Licensee shall keep intact all copyright, patent or trademarks notices and all notices that refer to
|
||||
the Licence and to the disclaimer of warranties. The Licensee must include a copy of such notices and a copy of the
|
||||
Licence with every copy of the Work he/she distributes or communicates. The Licensee must cause any Derivative Work
|
||||
to carry prominent notices stating that the Work has been modified and the date of modification.
|
||||
|
||||
Copyleft clause: If the Licensee distributes or communicates copies of the Original Works or Derivative Works, this
|
||||
Distribution or Communication will be done under the terms of this Licence or of a later version of this Licence unless
|
||||
the Original Work is expressly distributed only under this version of the Licence — for example by communicating
|
||||
‘EUPL v. 1.2 only’. The Licensee (becoming Licensor) cannot offer or impose any additional terms or conditions on the
|
||||
Work or Derivative Work that alter or restrict the terms of the Licence.
|
||||
|
||||
Compatibility clause: If the Licensee Distributes or Communicates Derivative Works or copies thereof based upon both
|
||||
the Work and another work licensed under a Compatible Licence, this Distribution or Communication can be done
|
||||
under the terms of this Compatible Licence. For the sake of this clause, ‘Compatible Licence’ refers to the licences listed
|
||||
in the appendix attached to this Licence. Should the Licensee's obligations under the Compatible Licence conflict with
|
||||
his/her obligations under this Licence, the obligations of the Compatible Licence shall prevail.
|
||||
|
||||
Provision of Source Code: When distributing or communicating copies of the Work, the Licensee will provide
|
||||
a machine-readable copy of the Source Code or indicate a repository where this Source will be easily and freely available
|
||||
for as long as the Licensee continues to distribute or communicate the Work.
|
||||
Legal Protection: This Licence does not grant permission to use the trade names, trademarks, service marks, or names
|
||||
of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and
|
||||
reproducing the content of the copyright notice.
|
||||
|
||||
6.Chain of Authorship
|
||||
The original Licensor warrants that the copyright in the Original Work granted hereunder is owned by him/her or
|
||||
licensed to him/her and that he/she has the power and authority to grant the Licence.
|
||||
Each Contributor warrants that the copyright in the modifications he/she brings to the Work are owned by him/her or
|
||||
licensed to him/her and that he/she has the power and authority to grant the Licence.
|
||||
Each time You accept the Licence, the original Licensor and subsequent Contributors grant You a licence to their contributions
|
||||
to the Work, under the terms of this Licence.
|
||||
|
||||
7.Disclaimer of Warranty
|
||||
The Work is a work in progress, which is continuously improved by numerous Contributors. It is not a finished work
|
||||
and may therefore contain defects or ‘bugs’ inherent to this type of development.
|
||||
For the above reason, the Work is provided under the Licence on an ‘as is’ basis and without warranties of any kind
|
||||
concerning the Work, including without limitation merchantability, fitness for a particular purpose, absence of defects or
|
||||
errors, accuracy, non-infringement of intellectual property rights other than copyright as stated in Article 6 of this
|
||||
Licence.
|
||||
This disclaimer of warranty is an essential part of the Licence and a condition for the grant of any rights to the Work.
|
||||
|
||||
8.Disclaimer of Liability
|
||||
Except in the cases of wilful misconduct or damages directly caused to natural persons, the Licensor will in no event be
|
||||
liable for any direct or indirect, material or moral, damages of any kind, arising out of the Licence or of the use of the
|
||||
Work, including without limitation, damages for loss of goodwill, work stoppage, computer failure or malfunction, loss
|
||||
of data or any commercial damage, even if the Licensor has been advised of the possibility of such damage. However,
|
||||
the Licensor will be liable under statutory product liability laws as far such laws apply to the Work.
|
||||
|
||||
9.Additional agreements
|
||||
While distributing the Work, You may choose to conclude an additional agreement, defining obligations or services
|
||||
consistent with this Licence. However, if accepting obligations, You may act only on your own behalf and on your sole
|
||||
responsibility, not on behalf of the original Licensor or any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against such Contributor by
|
||||
the fact You have accepted any warranty or additional liability.
|
||||
|
||||
10.Acceptance of the Licence
|
||||
The provisions of this Licence can be accepted by clicking on an icon ‘I agree’ placed under the bottom of a window
|
||||
displaying the text of this Licence or by affirming consent in any other similar way, in accordance with the rules of
|
||||
applicable law. Clicking on that icon indicates your clear and irrevocable acceptance of this Licence and all of its terms
|
||||
and conditions.
|
||||
Similarly, you irrevocably accept this Licence and all of its terms and conditions by exercising any rights granted to You
|
||||
by Article 2 of this Licence, such as the use of the Work, the creation by You of a Derivative Work or the Distribution
|
||||
or Communication by You of the Work or copies thereof.
|
||||
|
||||
11.Information to the public
|
||||
In case of any Distribution or Communication of the Work by means of electronic communication by You (for example,
|
||||
by offering to download the Work from a remote location) the distribution channel or media (for example, a website)
|
||||
must at least provide to the public the information requested by the applicable law regarding the Licensor, the Licence
|
||||
and the way it may be accessible, concluded, stored and reproduced by the Licensee.
|
||||
|
||||
12.Termination of the Licence
|
||||
The Licence and the rights granted hereunder will terminate automatically upon any breach by the Licensee of the terms
|
||||
of the Licence.
|
||||
Such a termination will not terminate the licences of any person who has received the Work from the Licensee under
|
||||
the Licence, provided such persons remain in full compliance with the Licence.
|
||||
|
||||
13.Miscellaneous
|
||||
Without prejudice of Article 9 above, the Licence represents the complete agreement between the Parties as to the
|
||||
Work.
|
||||
If any provision of the Licence is invalid or unenforceable under applicable law, this will not affect the validity or
|
||||
enforceability of the Licence as a whole. Such provision will be construed or reformed so as necessary to make it valid
|
||||
and enforceable.
|
||||
The European Commission may publish other linguistic versions or new versions of this Licence or updated versions of
|
||||
the Appendix, so far this is required and reasonable, without reducing the scope of the rights granted by the Licence.
|
||||
New versions of the Licence will be published with a unique version number.
|
||||
All linguistic versions of this Licence, approved by the European Commission, have identical value. Parties can take
|
||||
advantage of the linguistic version of their choice.
|
||||
|
||||
14.Jurisdiction
|
||||
Without prejudice to specific agreement between parties,
|
||||
— any litigation resulting from the interpretation of this License, arising between the European Union institutions,
|
||||
bodies, offices or agencies, as a Licensor, and any Licensee, will be subject to the jurisdiction of the Court of Justice
|
||||
of the European Union, as laid down in article 272 of the Treaty on the Functioning of the European Union,
|
||||
— any litigation arising between other parties and resulting from the interpretation of this License, will be subject to
|
||||
the exclusive jurisdiction of the competent court where the Licensor resides or conducts its primary business.
|
||||
|
||||
15.Applicable Law
|
||||
Without prejudice to specific agreement between parties,
|
||||
— this Licence shall be governed by the law of the European Union Member State where the Licensor has his seat,
|
||||
resides or has his registered office,
|
||||
— this licence shall be governed by Belgian law if the Licensor has no seat, residence or registered office inside
|
||||
a European Union Member State.
|
||||
|
||||
|
||||
Appendix
|
||||
|
||||
‘Compatible Licences’ according to Article 5 EUPL are:
|
||||
— GNU General Public License (GPL) v. 2, v. 3
|
||||
— GNU Affero General Public License (AGPL) v. 3
|
||||
— Open Software License (OSL) v. 2.1, v. 3.0
|
||||
— Eclipse Public License (EPL) v. 1.0
|
||||
— CeCILL v. 2.0, v. 2.1
|
||||
— Mozilla Public Licence (MPL) v. 2
|
||||
— GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3
|
||||
— Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for works other than software
|
||||
— European Union Public Licence (EUPL) v. 1.1, v. 1.2
|
||||
— Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or Strong Reciprocity (LiLiQ-R+)
|
||||
|
||||
The European Commission may update this Appendix to later versions of the above licences without producing
|
||||
a new version of the EUPL, as long as they provide the rights granted in Article 2 of this Licence and protect the
|
||||
covered Source Code from exclusive appropriation.
|
||||
All other changes or additions to this Appendix require the production of a new EUPL version.
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
### HIDDEN DOORS
|
||||
![Hidden Doors' screenshot](screenshot.png)
|
||||
**_Adds various wood, stone, etc. doors._**
|
||||
|
||||
**Version:** 1.12.1
|
||||
**Source code's license:** [EUPL v1.2][1] or later.
|
||||
**Media (Textures, Sounds) license:** [CC BY-SA 4.0 International][2] or later.
|
||||
|
||||
**Dependencies:** default, doors, stairs, vessels (found in [Minetest Game][3])
|
||||
**Supported:** [Darkage (Addi's fork)][4], [Moreblocks][5]
|
||||
|
||||
__Advanced settings:__
|
||||
Settings -> All settings -> Mods -> hidden_doors
|
||||
|
||||
Allows to use painted doors
|
||||
Allows self-removal to prevent unknown nodes after the mod's deinstallation.
|
||||
|
||||
|
||||
### Installation
|
||||
|
||||
Unzip the archive, rename the folder to hidden_doors and place it in
|
||||
../minetest/mods/
|
||||
|
||||
If you only want this to be used in a single world, place it in
|
||||
../minetest/worlds/WORLD_NAME/worldmods/
|
||||
|
||||
GNU+Linux - If you use a system-wide installation place it in
|
||||
~/.minetest/mods/
|
||||
|
||||
For further information or help see:
|
||||
https://wiki.minetest.net/Help:Installing_Mods
|
||||
|
||||
|
||||
[1]: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32017D0863
|
||||
[2]: https://creativecommons.org/licenses/by-sa/4.0/
|
||||
[3]: https://github.com/minetest/minetest_game
|
||||
[4]: https://forum.minetest.net/viewtopic.php?f=11&t=3213&start=125#p253141
|
||||
[5]: https://forum.minetest.net/viewtopic.php?t=509
|
|
@ -0,0 +1,197 @@
|
|||
# Changelog
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/).
|
||||
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
- No other feature planned.
|
||||
|
||||
|
||||
## [1.12.1] - 2020-04-21
|
||||
## Changed
|
||||
|
||||
- Fix darkage slab recipes by orbea.
|
||||
|
||||
|
||||
|
||||
## [1.12.0] - 2019-11-13
|
||||
## Added
|
||||
|
||||
- Permafrost hidden door (if permafrost node available).
|
||||
- Support for Minetest engine v5.x translator.
|
||||
|
||||
|
||||
## Changed
|
||||
|
||||
- License changed to EUPL v1.2.
|
||||
- Code style and formatting refresh.
|
||||
- Textures have been optimized using optipng.
|
||||
|
||||
|
||||
|
||||
## [1.11] - 2018-09-12
|
||||
### Added
|
||||
|
||||
Painted doors, thanks to Treer
|
||||
|
||||
|
||||
|
||||
## [1.10.2] - 2018-07-12
|
||||
### Added
|
||||
|
||||
screenshot.png
|
||||
|
||||
### Changed
|
||||
|
||||
Default options' values are no longer written on minetest.conf.
|
||||
Minor code changes.
|
||||
changelog.txt -> changelog.md
|
||||
README.txt -> README.md
|
||||
|
||||
|
||||
|
||||
## [1.10.1]
|
||||
### Changed
|
||||
Code fix due to changed or removed Moreblocks nodes.
|
||||
|
||||
|
||||
|
||||
## [1.10.0]
|
||||
### Added
|
||||
|
||||
Added self removing option.
|
||||
Settings/Advanced Settings/Mods/hidden_doors
|
||||
|
||||
|
||||
|
||||
## [1.9.0]
|
||||
### Added
|
||||
|
||||
Added sand, silver sand and desert sand doors.
|
||||
|
||||
|
||||
|
||||
## [1.8.0]
|
||||
### Added
|
||||
|
||||
Added support for the Moreblocks module.
|
||||
Added bookshelf door from Minetest Game (vessels dependency).
|
||||
|
||||
### Changed
|
||||
|
||||
Moved the doors registrations into subfiles named after their
|
||||
respective modules (e.g. darkage.lua); for an easier maintenance.
|
||||
|
||||
|
||||
|
||||
## [1.7.2]
|
||||
### Changed
|
||||
|
||||
Removed goto statement, changed the code to accomplish the same
|
||||
task without it.
|
||||
|
||||
|
||||
|
||||
## [1.7.1]
|
||||
### Changed
|
||||
|
||||
Disabled textures' scaling for Darkage: when using texture packs
|
||||
having a resolution higher than 16px, Darkage's textures will be
|
||||
kept at their native resolution.
|
||||
|
||||
|
||||
|
||||
## [1.7.0]
|
||||
### Added
|
||||
|
||||
Added support for the Darkage module (Addi's fork).
|
||||
|
||||
|
||||
|
||||
## [1.6.0]
|
||||
### Added
|
||||
|
||||
Texture resolution configurable via GUI under Advanced Settings.
|
||||
Stone doors' sound volume as above.
|
||||
Hardcoded check for invalid resolutions.
|
||||
Hidden doors made of ice.
|
||||
Locale template updated.
|
||||
Italian locale updated.
|
||||
|
||||
|
||||
|
||||
## [1.5.2]
|
||||
### Changed
|
||||
|
||||
Minor fix - Stone doors' sound increased.
|
||||
|
||||
|
||||
|
||||
## [1.5.1]
|
||||
### Changed
|
||||
|
||||
Bugfix - Textures applied correctly to doors, inventory images are generated
|
||||
as they should. Napiophelios
|
||||
|
||||
|
||||
|
||||
## [1.5.0]
|
||||
### Added
|
||||
|
||||
New hidden doors: dirt, brick, metals, gems.
|
||||
|
||||
|
||||
|
||||
## [1.4.0]
|
||||
### Changed
|
||||
|
||||
Texture combiner's code changed to be more easier to understand and mantain.
|
||||
Optional support for resolutions higher than 16px using
|
||||
hidden_doors_res = <number> into minetest.conf; defaults to 16.
|
||||
Supported resolutions: 16, 32, 64, 128, 256, 512
|
||||
|
||||
|
||||
|
||||
## [1.3.0]
|
||||
### Added
|
||||
|
||||
Added the opening and closing sounds for the stone doors.
|
||||
|
||||
### Changed
|
||||
|
||||
Changed the module's description.
|
||||
Code re-formatted to fit into 80 columns.
|
||||
Recipes changed to prevent any conflict.
|
||||
|
||||
|
||||
|
||||
## [1.2.0]
|
||||
### Added
|
||||
|
||||
Added localization support: intllib by Diego Martínez (kaeza)
|
||||
Added the Italian locale file.
|
||||
|
||||
### Changed
|
||||
|
||||
Updated the function to handle sound's specification to allow different
|
||||
sounds for different materials doors.
|
||||
|
||||
|
||||
|
||||
## [1.1.0]
|
||||
### Added
|
||||
|
||||
Napiophelios added texture handling and the function to dynamically
|
||||
register the doors.
|
||||
Hamlet added the new doors.
|
||||
|
||||
|
||||
|
||||
## [1.0.0]
|
||||
### Added
|
||||
|
||||
Initial stable release.
|
||||
Cobble, stone and stone brick's doors available.
|
|
@ -0,0 +1,170 @@
|
|||
--[[
|
||||
Hidden Doors - Adds various wood, stone, etc. doors.
|
||||
Copyright © 2017, 2020 Hamlet <hamlatmesehub@riseup.net> and contributors.
|
||||
|
||||
Licensed under the EUPL, Version 1.2 or – as soon they will be
|
||||
approved by the European Commission – subsequent versions of the
|
||||
EUPL (the "Licence");
|
||||
You may not use this work except in compliance with the Licence.
|
||||
You may obtain a copy of the Licence at:
|
||||
|
||||
https://joinup.ec.europa.eu/software/page/eupl
|
||||
https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32017D0863
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the Licence is distributed on an
|
||||
"AS IS" basis,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied.
|
||||
See the Licence for the specific language governing permissions
|
||||
and limitations under the Licence.
|
||||
|
||||
--]]
|
||||
|
||||
|
||||
--
|
||||
-- Variables
|
||||
--
|
||||
|
||||
-- Used for localization, choose either built-in or intllib.
|
||||
|
||||
local s_ModPath, S, NS = nil
|
||||
|
||||
if (minetest.get_modpath("intllib") == nil) then
|
||||
S = minetest.get_translator("hidden_doors")
|
||||
|
||||
else
|
||||
-- internationalization boilerplate
|
||||
s_ModPath = minetest.get_modpath(minetest.get_current_modname())
|
||||
S, NS = dofile(s_ModPath.."/intllib.lua")
|
||||
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
-- Darkage module support
|
||||
--
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "adobe", s_RecipeItem1,
|
||||
"darkage:adobe", nil, S("Adobe"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "basalt", s_RecipeItem1,
|
||||
"darkage:slab_basalt", "darkage:slab_basalt", S("Basalt"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "basalt_rubble", s_RecipeItem1,
|
||||
"darkage:slab_basalt_rubble", "darkage:slab_basalt_rubble",
|
||||
S("Basalt Rubble"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "basalt_brick", s_RecipeItem1,
|
||||
"darkage:slab_basalt_brick", "darkage:slab_basalt_brick",
|
||||
S("Basalt Brick"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "basalt_block", s_RecipeItem1,
|
||||
"darkage:basalt_block", nil, S("Basalt Block"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "gneiss", s_RecipeItem1,
|
||||
"darkage:slab_gneiss", "darkage:slab_gneiss",
|
||||
S("Gneiss"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "gneiss_rubble", s_RecipeItem1,
|
||||
"darkage:slab_gneiss_rubble", "darkage:slab_gneiss_rubble",
|
||||
S("Gneiss Rubble"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "gneiss_brick", s_RecipeItem1,
|
||||
"darkage:slab_gneiss_brick", "darkage:slab_gneiss_brick",
|
||||
S("Gneiss Brick"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "gneiss_block", s_RecipeItem1,
|
||||
"darkage:gneiss_block", nil, S("Gneiss Block"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "marble", s_RecipeItem1,
|
||||
"darkage:slab_marble", "darkage:slab_marble",
|
||||
S("Marble"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "marble_tile", s_RecipeItem1,
|
||||
"darkage:slab_marble_tile", "darkage:slab_marble_tile",
|
||||
S("Marble Tile"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "ors", s_RecipeItem1,
|
||||
"darkage:slab_ors", "darkage:slab_ors",
|
||||
S("Old Red Sandstone"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "ors_rubble", s_RecipeItem1,
|
||||
"darkage:slab_ors_rubble", "darkage:slab_ors_rubble",
|
||||
S("Old Red Sandstone Rubble"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "ors_brick", s_RecipeItem1,
|
||||
"darkage:slab_ors_brick", "darkage:slab_ors_brick",
|
||||
S("Old Red Sandstone Brick"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "ors_block", s_RecipeItem1,
|
||||
"darkage:ors_block", nil, S("Old Red Sandstone Block"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "serpentine", s_RecipeItem1,
|
||||
"darkage:slab_serpentine", "darkage:slab_serpentine",
|
||||
S("Serpentine"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "shale", s_RecipeItem1,
|
||||
"darkage:slab_shale", "darkage:slab_shale",
|
||||
S("Shale"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "schist", s_RecipeItem1,
|
||||
"darkage:slab_schist", "darkage:slab_schist",
|
||||
S("Schist"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "slate", s_RecipeItem1,
|
||||
"darkage:slab_slate", "darkage:slab_slate",
|
||||
S("Slate"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "slate_rubble", s_RecipeItem1,
|
||||
"darkage:slab_slate_rubble", "darkage:slab_slate_rubble",
|
||||
S("Slate Rubble"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "slate_tile", s_RecipeItem1,
|
||||
"darkage:slab_slate_tile", "darkage:slab_slate_tile",
|
||||
S("Slate Tile"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "slate_block", s_RecipeItem1,
|
||||
"darkage:slate_block", nil, S("Slate Block"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "slate_brick", s_RecipeItem1,
|
||||
"darkage:slab_slate_brick", "darkage:slab_slate_brick",
|
||||
S("Slate Brick"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "tuff", s_RecipeItem1,
|
||||
"darkage:slab_tuff", "darkage:slab_tuff",
|
||||
S("Tuff"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "tuff_bricks", s_RecipeItem1,
|
||||
"darkage:slab_tuff_bricks", "darkage:slab_tuff_bricks",
|
||||
S("Tuff Bricks"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "tuff_rubble", s_RecipeItem1,
|
||||
"darkage:tuff_rubble", nil, S("Tuff Rubble"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "rhyolitic_tuff", s_RecipeItem1,
|
||||
"darkage:slab_rhyolitic_tuff", "darkage:slab_rhyolitic_tuff",
|
||||
S("Rhyolitic Tuff"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "rhyolitic_tuff_bricks",
|
||||
s_RecipeItem1,
|
||||
"darkage:slab_rhyolitic_tuff_bricks",
|
||||
"darkage:slab_rhyolitic_tuff_bricks",
|
||||
S("Rhyolitic Tuff Bricks"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "old_tuff_bricks",
|
||||
s_RecipeItem1,
|
||||
"darkage:slab_old_tuff_bricks",
|
||||
"darkage:slab_old_tuff_bricks",
|
||||
S("Old Tuff Bricks"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("darkage", "rhyolitic_tuff_rubble",
|
||||
s_RecipeItem1, "darkage:rhyolitic_tuff_rubble", nil,
|
||||
S("Rhyolitic Tuff Rubble"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
|
@ -0,0 +1,7 @@
|
|||
default
|
||||
doors
|
||||
stairs
|
||||
vessels
|
||||
intllib?
|
||||
darkage?
|
||||
moreblocks?
|
|
@ -0,0 +1 @@
|
|||
Adds various wood, stone, etc. doors.
|
|
@ -0,0 +1,61 @@
|
|||
--[[
|
||||
Hidden Doors - Adds various wood, stone, etc. doors.
|
||||
Copyright © 2017, 2019 Hamlet <hamlatmesehub@riseup.net> and contributors.
|
||||
|
||||
Licensed under the EUPL, Version 1.2 or – as soon they will be
|
||||
approved by the European Commission – subsequent versions of the
|
||||
EUPL (the "Licence");
|
||||
You may not use this work except in compliance with the Licence.
|
||||
You may obtain a copy of the Licence at:
|
||||
|
||||
https://joinup.ec.europa.eu/software/page/eupl
|
||||
https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32017D0863
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the Licence is distributed on an
|
||||
"AS IS" basis,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied.
|
||||
See the Licence for the specific language governing permissions
|
||||
and limitations under the Licence.
|
||||
|
||||
--]]
|
||||
|
||||
|
||||
--
|
||||
-- General variables
|
||||
--
|
||||
|
||||
local s_ModPath = minetest.get_modpath("hidden_doors")
|
||||
|
||||
|
||||
-- Hidden Doors' operation mode
|
||||
local b_HiddenDoorsRemover = minetest.settings:get_bool("b_HiddenDoorsRemover")
|
||||
|
||||
if (b_HiddenDoorsRemover == nil) then
|
||||
b_HiddenDoorsRemover = false
|
||||
end
|
||||
|
||||
if (b_HiddenDoorsRemover == false) then
|
||||
dofile(s_ModPath .. "/main.lua")
|
||||
|
||||
else
|
||||
dofile(s_ModPath .. "/remover.lua")
|
||||
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
-- Minetest engine debug logging
|
||||
--
|
||||
|
||||
local s_LogLevel = minetest.settings:get("debug_log_level")
|
||||
|
||||
if (s_LogLevel == nil)
|
||||
or (s_LogLevel == "action")
|
||||
or (s_LogLevel == "info")
|
||||
or (s_LogLevel == "verbose")
|
||||
then
|
||||
s_LogLevel = nil
|
||||
minetest.log("action", "[Mod] Hidden Doors [v1.12.0] loaded.")
|
||||
end
|
|
@ -0,0 +1,45 @@
|
|||
|
||||
-- Fallback functions for when `intllib` is not installed.
|
||||
-- Code released under Unlicense <http://unlicense.org>.
|
||||
|
||||
-- Get the latest version of this file at:
|
||||
-- https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua
|
||||
|
||||
local function format(str, ...)
|
||||
local args = { ... }
|
||||
local function repl(escape, open, num, close)
|
||||
if escape == "" then
|
||||
local replacement = tostring(args[tonumber(num)])
|
||||
if open == "" then
|
||||
replacement = replacement..close
|
||||
end
|
||||
return replacement
|
||||
else
|
||||
return "@"..open..num..close
|
||||
end
|
||||
end
|
||||
return (str:gsub("(@?)@(%(?)(%d+)(%)?)", repl))
|
||||
end
|
||||
|
||||
local gettext, ngettext
|
||||
if minetest.get_modpath("intllib") then
|
||||
if intllib.make_gettext_pair then
|
||||
-- New method using gettext.
|
||||
gettext, ngettext = intllib.make_gettext_pair()
|
||||
else
|
||||
-- Old method using text files.
|
||||
gettext = intllib.Getter()
|
||||
end
|
||||
end
|
||||
|
||||
-- Fill in missing functions.
|
||||
|
||||
gettext = gettext or function(msgid, ...)
|
||||
return format(msgid, ...)
|
||||
end
|
||||
|
||||
ngettext = ngettext or function(msgid, msgid_plural, n, ...)
|
||||
return format(n==1 and msgid or msgid_plural, ...)
|
||||
end
|
||||
|
||||
return gettext, ngettext
|
|
@ -0,0 +1,67 @@
|
|||
# textdomain:hidden_doors
|
||||
|
||||
Concealed =porta camuffata di
|
||||
Door=
|
||||
Painted =porta dipinta di
|
||||
Stone=pietra
|
||||
Cobble=ciottoli
|
||||
Stone Brick=mattone di pietra
|
||||
Stone Block=blocco di pietra
|
||||
Mossy Cobble=ciottoli muschiosi
|
||||
Desert Stone=pietra del deserto
|
||||
Desert Cobble=ciottoli del deserto
|
||||
Desert Stone Brick=mattone di pietra del deserto
|
||||
Desert Stone Block=blocco di pietra del deserto
|
||||
Sandstone=arenaria
|
||||
Sandstone Brick=mattone d'arenaria
|
||||
Sandstone Block=blocco d'arenaria
|
||||
Desert Sandstone=arenaria del deserto
|
||||
Desert Sandstone Brick=mattone d'arenaria del deserto
|
||||
Desert Sandstone Block=blocco d'arenaria del deserto
|
||||
Silver Sandstone=arenaria argentata
|
||||
Silver Sandstone Brick=mattone d'arenaria argentata
|
||||
Silver Sandstone Block=blocco d'arenaria argentata
|
||||
Obsidian=ossidiana
|
||||
Obsidian Brick=mattone d'ossidiana
|
||||
Obsidian Block=blocco d'ossidiana
|
||||
Tree=albero
|
||||
Jungle Tree=albero della giungla
|
||||
Pine Tree=pino
|
||||
Acacia Tree=acacia
|
||||
Aspen Tree=pioppo
|
||||
Wood=legno
|
||||
Jungle Wood=legno della giungla
|
||||
Pine Wood=legno di pino
|
||||
Acacia Wood=legno d'acacia
|
||||
Aspen Wood=legno di pioppo
|
||||
Bronze Block=blocco di bronzo
|
||||
Copper Block=blocco di rame
|
||||
Gold Block=blocco d'oro
|
||||
Steel Block=blocco d'acciaio
|
||||
Tin Block=blocco di stagno
|
||||
Dirt=terra
|
||||
Brick=mattone
|
||||
Ice=ghiaccio
|
||||
Diamond Block=blocco di diamante
|
||||
Mese Block=blocco di mese
|
||||
Bookshelf=scaffale
|
||||
Sand=sabbia
|
||||
Silver Sand=sabbia argentata
|
||||
Desert Sand=sabbia del deserto
|
||||
All-faces Jungle Tree=cuore di albero della giungla
|
||||
All-faces Tree=cuore di albero
|
||||
Cactus Brick=mattone di cactus
|
||||
Circle Stone Bricks=mattone di pietra a cerchio concentrico
|
||||
Coal Stone=pietra carbone
|
||||
Cobble Compressed=ciottoli compressi
|
||||
Copper Patina=patina di rame
|
||||
Empty Shelf=scaffale vuoto
|
||||
Stone Bricks=mattone di pietra
|
||||
Iron Stone=pietra ferro
|
||||
Iron Stone Bricks=mattone di pietra ferro
|
||||
Plankstone=pietra e assi
|
||||
Split Stone Tile=mattonella di pietra divisa
|
||||
Stone Tile=mattonella di pietra
|
||||
Tar=catrame
|
||||
Full Wooden Tile=mattonella di legno pieno
|
||||
Permafrost=permafrost
|
|
@ -0,0 +1,275 @@
|
|||
# ITALIAN LOCALE FILE FOR THE HIDDEN DOORS MODULE.
|
||||
# Copyright (C) 2017 H4mlet <h4mlet@riseup.net>
|
||||
# This file is distributed under the same license as the HIDDEN DOORS package.
|
||||
# H4mlet <h4mlet@riseup.net>, 2017
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Hidden Doors module's Italian locale\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-12 14:18+0200\n"
|
||||
"PO-Revision-Date: 2018-09-12 14:20+0100\n"
|
||||
"Last-Translator: Hamlet\n"
|
||||
"Language-Team: \n"
|
||||
"Language: it\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 1.6.10\n"
|
||||
|
||||
#: main.lua
|
||||
msgid "Concealed "
|
||||
msgstr "porta camuffata di "
|
||||
|
||||
#: main.lua
|
||||
msgid " Door"
|
||||
msgstr " "
|
||||
|
||||
#: main.lua
|
||||
msgid "Painted "
|
||||
msgstr "porta dipinta di "
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Stone"
|
||||
msgstr "pietra"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Cobble"
|
||||
msgstr "ciottoli"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Stone Brick"
|
||||
msgstr "mattone di pietra"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Stone Block"
|
||||
msgstr "blocco di pietra"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Mossy Cobble"
|
||||
msgstr "ciottoli muschiosi"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Stone"
|
||||
msgstr "pietra del deserto"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Cobble"
|
||||
msgstr "ciottoli del deserto"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Stone Brick"
|
||||
msgstr "mattone di pietra del deserto"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Stone Block"
|
||||
msgstr "blocco di pietra del deserto"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Sandstone"
|
||||
msgstr "arenaria"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Sandstone Brick"
|
||||
msgstr "mattone d'arenaria"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Sandstone Block"
|
||||
msgstr "blocco d'arenaria"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Sandstone"
|
||||
msgstr "arenaria del deserto"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Sandstone Brick"
|
||||
msgstr "mattone d'arenaria del deserto"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Sandstone Block"
|
||||
msgstr "blocco d'arenaria del deserto"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Silver Sandstone"
|
||||
msgstr "arenaria argentata"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Silver Sandstone Brick"
|
||||
msgstr "mattone d'arenaria argentata"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Silver Sandstone Block"
|
||||
msgstr "blocco d'arenaria argentata"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Obsidian"
|
||||
msgstr "ossidiana"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Obsidian Brick"
|
||||
msgstr "mattone d'ossidiana"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Obsidian Block"
|
||||
msgstr "blocco d'ossidiana"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Tree"
|
||||
msgstr "albero"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Jungle Tree"
|
||||
msgstr "albero della giungla"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Pine Tree"
|
||||
msgstr "pino"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Acacia Tree"
|
||||
msgstr "acacia"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Aspen Tree"
|
||||
msgstr "pioppo"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Wood"
|
||||
msgstr "legno"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Jungle Wood"
|
||||
msgstr "legno della giungla"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Pine Wood"
|
||||
msgstr "legno di pino"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Acacia Wood"
|
||||
msgstr "legno d'acacia"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Aspen Wood"
|
||||
msgstr "legno di pioppo"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Bronze Block"
|
||||
msgstr "blocco di bronzo"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Copper Block"
|
||||
msgstr "blocco di rame"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Gold Block"
|
||||
msgstr "blocco d'oro"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Steel Block"
|
||||
msgstr "blocco d'acciaio"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Tin Block"
|
||||
msgstr "blocco di stagno"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Dirt"
|
||||
msgstr "terra"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Brick"
|
||||
msgstr "mattone"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Ice"
|
||||
msgstr "ghiaccio"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Diamond Block"
|
||||
msgstr "blocco di diamante"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Mese Block"
|
||||
msgstr "blocco di mese"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Bookshelf"
|
||||
msgstr "scaffale"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Sand"
|
||||
msgstr "sabbia"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Silver Sand"
|
||||
msgstr "sabbia argentata"
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Sand"
|
||||
msgstr "sabbia del deserto"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "All-faces Jungle Tree"
|
||||
msgstr "cuore di albero della giungla"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "All-faces Tree"
|
||||
msgstr "cuore di albero"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Cactus Brick"
|
||||
msgstr "mattone di cactus"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Circle Stone Bricks"
|
||||
msgstr "mattone di pietra a cerchio concentrico"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Coal Stone"
|
||||
msgstr "pietra carbone"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Cobble Compressed"
|
||||
msgstr "ciottoli compressi"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Copper Patina"
|
||||
msgstr "patina di rame"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Empty Shelf"
|
||||
msgstr "scaffale vuoto"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Stone Bricks"
|
||||
msgstr "mattone di pietra"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Iron Stone"
|
||||
msgstr "pietra ferro"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Iron Stone Bricks"
|
||||
msgstr "mattone di pietra ferro"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Plankstone"
|
||||
msgstr "pietra e assi"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Split Stone Tile"
|
||||
msgstr "mattonella di pietra divisa"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Stone Tile"
|
||||
msgstr "mattonella di pietra"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Tar"
|
||||
msgstr "catrame"
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Full Wooden Tile"
|
||||
msgstr "mattonella di legno pieno"
|
|
@ -0,0 +1,274 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-12 14:18+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: main.lua
|
||||
msgid "Concealed "
|
||||
msgstr ""
|
||||
|
||||
#: main.lua
|
||||
msgid " Door"
|
||||
msgstr ""
|
||||
|
||||
#: main.lua
|
||||
msgid "Painted "
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Stone"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Cobble"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Stone Brick"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Stone Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Mossy Cobble"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Stone"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Cobble"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Stone Brick"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Stone Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Sandstone"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Sandstone Brick"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Sandstone Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Sandstone"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Sandstone Brick"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Sandstone Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Silver Sandstone"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Silver Sandstone Brick"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Silver Sandstone Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Obsidian"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Obsidian Brick"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Obsidian Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Tree"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Jungle Tree"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Pine Tree"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Acacia Tree"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Aspen Tree"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Wood"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Jungle Wood"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Pine Wood"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Acacia Wood"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Aspen Wood"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Bronze Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Copper Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Gold Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Steel Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Tin Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Dirt"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Brick"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Ice"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Diamond Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Mese Block"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Bookshelf"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Sand"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Silver Sand"
|
||||
msgstr ""
|
||||
|
||||
#: minetest_game.lua
|
||||
msgid "Desert Sand"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "All-faces Jungle Tree"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "All-faces Tree"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Cactus Brick"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Circle Stone Bricks"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Coal Stone"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Cobble Compressed"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Copper Patina"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Empty Shelf"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Stone Bricks"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Iron Stone"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Iron Stone Bricks"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Plankstone"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Split Stone Tile"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Stone Tile"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Tar"
|
||||
msgstr ""
|
||||
|
||||
#: moreblocks.lua
|
||||
msgid "Full Wooden Tile"
|
||||
msgstr ""
|
|
@ -0,0 +1,67 @@
|
|||
# textdomain:hidden_doors
|
||||
|
||||
Concealed =
|
||||
Door=
|
||||
Painted =
|
||||
Stone=
|
||||
Cobble=
|
||||
Stone Brick=
|
||||
Stone Block=
|
||||
Mossy Cobble=
|
||||
Desert Stone=
|
||||
Desert Cobble=
|
||||
Desert Stone Brick=
|
||||
Desert Stone Block=
|
||||
Sandstone=
|
||||
Sandstone Brick=
|
||||
Sandstone Block=
|
||||
Desert Sandstone=
|
||||
Desert Sandstone Brick=
|
||||
Desert Sandstone Block=
|
||||
Silver Sandstone=
|
||||
Silver Sandstone Brick=
|
||||
Silver Sandstone Block=
|
||||
Obsidian=
|
||||
Obsidian Brick=
|
||||
Obsidian Block=
|
||||
Tree=
|
||||
Jungle Tree=
|
||||
Pine Tree=
|
||||
Acacia Tree=
|
||||
Aspen Tree=
|
||||
Wood=
|
||||
Jungle Wood=
|
||||
Pine Wood=
|
||||
Acacia Wood=
|
||||
Aspen Wood=
|
||||
Bronze Block=
|
||||
Copper Block=
|
||||
Gold Block=
|
||||
Steel Block=
|
||||
Tin Block=
|
||||
Dirt=
|
||||
Brick=
|
||||
Ice=
|
||||
Diamond Block=
|
||||
Mese Block=
|
||||
Bookshelf=
|
||||
Sand=
|
||||
Silver Sand=
|
||||
Desert Sand=
|
||||
All-faces Jungle Tree=
|
||||
All-faces Tree=
|
||||
Cactus Brick=
|
||||
Circle Stone Bricks=
|
||||
Coal Stone=
|
||||
Cobble Compressed=
|
||||
Copper Patina=
|
||||
Empty Shelf=
|
||||
Stone Bricks=
|
||||
Iron Stone=
|
||||
Iron Stone Bricks=
|
||||
Plankstone=
|
||||
Split Stone Tile=
|
||||
Stone Tile=
|
||||
Tar=
|
||||
Full Wooden Tile=
|
||||
Permafrost=
|
|
@ -0,0 +1,372 @@
|
|||
--[[
|
||||
Hidden Doors - Adds various wood, stone, etc. doors.
|
||||
Copyright © 2017, 2019 Hamlet <hamlatmesehub@riseup.net>,
|
||||
Napiophelios, Treer and contributors.
|
||||
|
||||
Licensed under the EUPL, Version 1.2 or – as soon they will be
|
||||
approved by the European Commission – subsequent versions of the
|
||||
EUPL (the "Licence");
|
||||
You may not use this work except in compliance with the Licence.
|
||||
You may obtain a copy of the Licence at:
|
||||
|
||||
https://joinup.ec.europa.eu/software/page/eupl
|
||||
https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32017D0863
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the Licence is distributed on an
|
||||
"AS IS" basis,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied.
|
||||
See the Licence for the specific language governing permissions
|
||||
and limitations under the Licence.
|
||||
|
||||
--]]
|
||||
|
||||
|
||||
--
|
||||
-- Global mod namespace
|
||||
--
|
||||
|
||||
hidden_doors = {}
|
||||
|
||||
|
||||
--
|
||||
-- Variables
|
||||
--
|
||||
|
||||
local s_ModPath = minetest.get_modpath(minetest.get_current_modname())
|
||||
|
||||
|
||||
-- Used for localization, choose either built-in or intllib.
|
||||
|
||||
local S, NS = nil
|
||||
|
||||
if (minetest.get_modpath("intllib") == nil) then
|
||||
S = minetest.get_translator("hidden_doors")
|
||||
|
||||
else
|
||||
-- internationalization boilerplate
|
||||
S, NS = dofile(s_ModPath.."/intllib.lua")
|
||||
|
||||
end
|
||||
|
||||
|
||||
local s_Description1 = S("Concealed ")
|
||||
local s_Description2 = S(" Door")
|
||||
|
||||
-- 'painted' doors are not fully concealed,
|
||||
-- they are wooden doors painted to blend in
|
||||
local b_DoorsArePainted = minetest.settings:get_bool("hidden_doors_painted", false)
|
||||
|
||||
if b_DoorsArePainted then
|
||||
s_Description1 = S("Painted ")
|
||||
end
|
||||
|
||||
-- Hidden Doors' sounds
|
||||
local f_HiddenDoorsVolume = tonumber(minetest.settings:get("hidden_doors_vol"))
|
||||
|
||||
if (f_HiddenDoorsVolume == nil) then
|
||||
f_HiddenDoorsVolume = 5.0
|
||||
end
|
||||
|
||||
t_StoneDefault = default.node_sound_stone_defaults()
|
||||
t_StoneOpen = {
|
||||
name = "hidden_doors_stone_door_open",
|
||||
gain = f_HiddenDoorsVolume
|
||||
}
|
||||
t_StoneClose = {
|
||||
name = "hidden_doors_stone_door_close",
|
||||
gain = f_HiddenDoorsVolume
|
||||
}
|
||||
|
||||
t_WoodDefault = default.node_sound_wood_defaults()
|
||||
s_WoodOpen = "doors_door_open"
|
||||
s_WoodClose = "doors_door_close"
|
||||
|
||||
t_MetalDefault = default.node_sound_metal_defaults()
|
||||
s_MetalOpen = "doors_steel_door_open"
|
||||
s_MetalClose = "doors_steel_door_close"
|
||||
|
||||
t_GemDefault = default.node_sound_glass_defaults()
|
||||
s_GemOpen = "doors_glass_door_open"
|
||||
s_GemClose = "doors_glass_door_close"
|
||||
|
||||
-- Hidden door's base recipe item
|
||||
s_RecipeItem1 = "doors:door_wood"
|
||||
|
||||
-- Hidden door's texture variables
|
||||
local i_Resolution = 16 -- Default textures' resolution.
|
||||
local i_NodeWidth = 0
|
||||
local i_NodeHeight = 0
|
||||
local s_ImageSize = ""
|
||||
|
||||
-- Composed texture's images' offsets.
|
||||
local i_Y1 = 0 local i_X1 = 0
|
||||
local i_Y2 = 0 local i_X2 = 0
|
||||
local i_Y3 = 0 local i_X3 = 0
|
||||
local i_Y4 = 0 local i_X4 = 0
|
||||
|
||||
local i_HiddenDoorsRes = tonumber(minetest.settings:get("i_HiddenDoorsRes"))
|
||||
|
||||
if (i_HiddenDoorsRes == nil) then
|
||||
i_HiddenDoorsRes = i_Resolution
|
||||
end
|
||||
|
||||
|
||||
if i_HiddenDoorsRes == 16 then
|
||||
|
||||
-- Item's inventory texture dimensions
|
||||
i_InventoryWidth = i_Resolution * 2
|
||||
i_InventoryHeight = i_Resolution * 2
|
||||
s_InventorySize = i_InventoryWidth .. "x" .. i_InventoryHeight
|
||||
|
||||
-- Node's texture dimensions
|
||||
i_NodeWidth = (i_Resolution * 2) + 6
|
||||
i_NodeHeight = (i_Resolution * 2)
|
||||
s_ImageSize = i_NodeWidth .. "x" .. i_NodeHeight
|
||||
|
||||
-- Composed texture's dimensions
|
||||
i_Y1 = i_Resolution i_X1 = 8
|
||||
i_Y2 = 6 i_X2 = 6
|
||||
i_Y3 = i_Resolution i_X3 = i_Resolution
|
||||
i_Y4 = i_Resolution i_X4 = 22
|
||||
|
||||
|
||||
elseif i_HiddenDoorsRes == 32 then
|
||||
|
||||
-- Item's inventory texture dimensions
|
||||
i_InventoryWidth = (i_Resolution * 4)
|
||||
i_InventoryHeight = (i_Resolution * 4)
|
||||
s_InventorySize = i_InventoryWidth .. "x" .. i_InventoryHeight
|
||||
|
||||
-- Node's texture dimensions
|
||||
i_NodeWidth = ((i_Resolution * 2) + 6) * 2
|
||||
i_NodeHeight = (i_Resolution * 4)
|
||||
s_ImageSize = i_NodeWidth .. "x" .. i_NodeHeight
|
||||
|
||||
-- Composed texture's dimensions
|
||||
i_Y1 = 32 i_X1 = 16
|
||||
i_Y2 = 12 i_X2 = 12
|
||||
i_Y3 = (i_Resolution * 2) i_X3 = (i_Resolution * 2)
|
||||
i_Y4 = (i_Resolution * 2) i_X4 = 44
|
||||
|
||||
|
||||
elseif i_HiddenDoorsRes == 64 then
|
||||
|
||||
-- Item's inventory texture dimensions
|
||||
i_InventoryWidth = (i_Resolution * 8)
|
||||
i_InventoryHeight = (i_Resolution * 8)
|
||||
s_InventorySize = i_InventoryWidth .. "x" .. i_InventoryHeight
|
||||
|
||||
-- Node's texture dimensions
|
||||
i_NodeWidth = ((i_Resolution * 2) + 6) * 4
|
||||
i_NodeHeight = (i_Resolution * 8)
|
||||
s_ImageSize = i_NodeWidth .. "x" .. i_NodeHeight
|
||||
|
||||
-- Composed texture's dimensions
|
||||
i_Y1 = 64 i_X1 = 32
|
||||
i_Y2 = 24 i_X2 = 24
|
||||
i_Y3 = (i_Resolution * 4) i_X3 = (i_Resolution * 4)
|
||||
i_Y4 = (i_Resolution * 4) i_X4 = 88
|
||||
|
||||
|
||||
elseif i_HiddenDoorsRes == 128 then
|
||||
|
||||
-- Item's inventory texture dimensions
|
||||
i_InventoryWidth = (i_Resolution * 16)
|
||||
i_InventoryHeight = (i_Resolution * 16)
|
||||
s_InventorySize = i_InventoryWidth .. "x" .. i_InventoryHeight
|
||||
|
||||
-- Node's texture dimensions dimensions
|
||||
i_NodeWidth = ((i_Resolution * 2) + 6) * 8
|
||||
i_NodeHeight = (i_Resolution * 16)
|
||||
s_ImageSize = i_NodeWidth .. "x" .. i_NodeHeight
|
||||
|
||||
-- Composed texture's dimensions
|
||||
i_Y1 = 128 i_X1 = 64
|
||||
i_Y2 = 48 i_X2 = 48
|
||||
i_Y3 = (i_Resolution * 8) i_X3 = (i_Resolution * 8)
|
||||
i_Y4 = (i_Resolution * 8) i_X4 = 176
|
||||
|
||||
|
||||
else
|
||||
|
||||
-- If the setting is not valid then set it to 16px and use that resolution
|
||||
i_HiddenDoorsRes = i_Resolution
|
||||
minetest.settings:set("i_HiddenDoorsRes", i_HiddenDoorsRes)
|
||||
|
||||
-- Item's inventory texture dimensions
|
||||
i_InventoryWidth = (i_Resolution * 2)
|
||||
i_InventoryHeight = (i_Resolution * 2)
|
||||
s_InventorySize = i_InventoryWidth .. "x" .. i_InventoryHeight
|
||||
|
||||
-- Node's texture dimensions
|
||||
i_NodeWidth = (i_Resolution * 2) + 6
|
||||
i_NodeHeight = (i_Resolution * 2)
|
||||
s_ImageSize = i_NodeWidth .. "x" .. i_NodeHeight
|
||||
|
||||
-- Composed texture's dimensions
|
||||
i_Y1 = i_Resolution i_X1 = 8
|
||||
i_Y2 = 6 i_X2 = 6
|
||||
i_Y3 = i_Resolution i_X3 = i_Resolution
|
||||
i_Y4 = i_Resolution i_X4 = 22
|
||||
|
||||
end
|
||||
|
||||
|
||||
hidden_doors.GetPaintedTextureSuffix = function(b_UseDefault16pxResolution)
|
||||
|
||||
local s_TextureSuffix = ""
|
||||
local s_TextureSuffixIntentory = ""
|
||||
|
||||
if (b_DoorsArePainted == true) then
|
||||
|
||||
local i_PaintOpacity = 35
|
||||
local i_PaintOpacityInventory = (i_PaintOpacity + 15)
|
||||
|
||||
if (b_UseDefault16pxResolution == true) then
|
||||
s_TextureSuffix =
|
||||
"^((hidden_doors_painted_overlay.png^[opacity:" ..
|
||||
i_PaintOpacity ..
|
||||
"^hidden_doors_hinges_overlay.png)^[resize:38x32)"
|
||||
s_TextureSuffixIntentory =
|
||||
":8,0=hidden_doors_painted_overlay.png\\^[opacity\\:" ..
|
||||
i_PaintOpacityInventory .. "\\^[resize\\:38x32"
|
||||
|
||||
else
|
||||
s_TextureSuffix =
|
||||
"^((hidden_doors_painted_overlay.png^[opacity:" ..
|
||||
i_PaintOpacity ..
|
||||
"^hidden_doors_hinges_overlay.png)^[resize:" ..
|
||||
s_ImageSize .. ")"
|
||||
s_TextureSuffixIntentory =
|
||||
": " .. i_X1 ..
|
||||
",0=hidden_doors_painted_overlay.png\\^[opacity\\:" ..
|
||||
i_PaintOpacityInventory .. "\\^[resize\\:" .. s_ImageSize
|
||||
end
|
||||
end
|
||||
|
||||
return s_TextureSuffix, s_TextureSuffixIntentory
|
||||
end
|
||||
|
||||
|
||||
hidden_doors.RegisterHiddenDoors = function(a_s_ModName, a_s_SubName,
|
||||
s_RecipeItem1, s_RecipeItem2, s_RecipeItem3, a_s_Description,
|
||||
a_t_Sounds, a_s_SoundOpen, a_s_SoundClose)
|
||||
|
||||
local s_TextureName = a_s_ModName .. "_" .. a_s_SubName .. ".png"
|
||||
|
||||
-- If the door uses textures from Darkage then use the default 16px res.
|
||||
-- Do the same for Moreblocks.
|
||||
if (a_s_ModName ~= "darkage") and (a_s_ModName ~= "moreblocks") then
|
||||
|
||||
local s_NewTexture = "[combine:" .. s_ImageSize .. ": 0," ..
|
||||
"0=" .. s_TextureName .. ": 0," ..
|
||||
i_Y3 .. "=" .. s_TextureName .. ":" .. i_X2 .. "," ..
|
||||
"0=" .. s_TextureName .. ":" .. i_X2 .. "," ..
|
||||
i_Y3 .. "=" .. s_TextureName .. ":" .. i_X4 .. "," ..
|
||||
"0=" .. s_TextureName .. ":" .. i_X4 .. "," ..
|
||||
i_Y3 .. "=" .. s_TextureName
|
||||
|
||||
local s_PaintedTextureSuffix, s_PaintedTextureSuffixInventory =
|
||||
hidden_doors.GetPaintedTextureSuffix(false)
|
||||
|
||||
doors.register("hidden_door_" .. a_s_SubName, {
|
||||
description = s_Description1 .. a_s_Description .. s_Description2,
|
||||
|
||||
tiles = {
|
||||
{
|
||||
name = "(" .. s_NewTexture ..
|
||||
"^[transformFX)^([combine:" .. s_ImageSize ..
|
||||
":" ..i_X3.. "," .. "0=" .. s_TextureName ..
|
||||
":" .. i_X3 .. "," .. i_Y3 .. "=" ..
|
||||
s_TextureName .. ")" .. s_PaintedTextureSuffix,
|
||||
|
||||
backface_culling = true
|
||||
}
|
||||
},
|
||||
|
||||
inventory_image = "[combine:" .. s_InventorySize .. ":" ..
|
||||
i_X1 .. "," .. "0=" .. s_TextureName .. ":" .. i_X1 ..
|
||||
"," .. i_Y1 .. "=" ..s_TextureName ..
|
||||
s_PaintedTextureSuffixInventory,
|
||||
|
||||
groups = {cracky = 1, level = 2},
|
||||
sounds = a_t_Sounds,
|
||||
sound_open = a_s_SoundOpen,
|
||||
sound_close = a_s_SoundClose,
|
||||
|
||||
recipe = {
|
||||
{
|
||||
s_RecipeItem1, s_RecipeItem2, s_RecipeItem3
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
else
|
||||
|
||||
local s_NewTexture = "[combine:" .. "38x32" .. ": 0," ..
|
||||
"0=" .. s_TextureName .. ": 0," ..
|
||||
"16=" .. s_TextureName .. ": 6," ..
|
||||
"0=" .. s_TextureName .. ": 6," ..
|
||||
"16=" .. s_TextureName .. ": 22," ..
|
||||
"0=" .. s_TextureName .. ": 22," ..
|
||||
"16=" .. s_TextureName
|
||||
|
||||
local s_PaintedTextureSuffix, s_PaintedTextureSuffixInventory =
|
||||
hidden_doors.GetPaintedTextureSuffix(true)
|
||||
|
||||
doors.register("hidden_door_" .. a_s_SubName, {
|
||||
|
||||
description = s_Description1 .. a_s_Description .. s_Description2,
|
||||
|
||||
tiles = {
|
||||
{
|
||||
name = "(" .. s_NewTexture .. "^[transformFX)^([combine:"
|
||||
.. "38x32" .. ": 16," .. "0=" .. s_TextureName .. ": 16,"
|
||||
.. "16=" .. s_TextureName .. ")" .. s_PaintedTextureSuffix,
|
||||
|
||||
backface_culling = true
|
||||
}
|
||||
},
|
||||
|
||||
inventory_image = "[combine:" .. "32x32" .. ": 8," ..
|
||||
"0=" .. s_TextureName .. ": 8," .. "16=" .. s_TextureName ..
|
||||
s_PaintedTextureSuffixInventory,
|
||||
|
||||
groups = {cracky = 1, level = 2},
|
||||
sounds = a_t_Sounds,
|
||||
sound_open = a_s_SoundOpen,
|
||||
sound_close = a_s_SoundClose,
|
||||
|
||||
recipe = {
|
||||
{
|
||||
s_RecipeItem1,
|
||||
s_RecipeItem2,
|
||||
s_RecipeItem3
|
||||
},
|
||||
}
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
-- Minetest Game's based hidden doors
|
||||
--
|
||||
|
||||
dofile(s_ModPath .. "/minetest_game.lua")
|
||||
|
||||
|
||||
--
|
||||
-- Compatible modules' based hidden doors
|
||||
--
|
||||
|
||||
if minetest.get_modpath("darkage") then
|
||||
dofile(s_ModPath .. "/darkage.lua")
|
||||
end
|
||||
|
||||
if minetest.get_modpath("moreblocks") then
|
||||
dofile(s_ModPath .. "/moreblocks.lua")
|
||||
end
|
|
@ -0,0 +1,290 @@
|
|||
--[[
|
||||
Hidden Doors - Adds various wood, stone, etc. doors.
|
||||
Copyright © 2017, 2019 Hamlet <hamlatmesehub@riseup.net>,
|
||||
Napiophelios, and contributors.
|
||||
|
||||
Licensed under the EUPL, Version 1.2 or – as soon they will be
|
||||
approved by the European Commission – subsequent versions of the
|
||||
EUPL (the "Licence");
|
||||
You may not use this work except in compliance with the Licence.
|
||||
You may obtain a copy of the Licence at:
|
||||
|
||||
https://joinup.ec.europa.eu/software/page/eupl
|
||||
https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32017D0863
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the Licence is distributed on an
|
||||
"AS IS" basis,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied.
|
||||
See the Licence for the specific language governing permissions
|
||||
and limitations under the Licence.
|
||||
|
||||
--]]
|
||||
|
||||
|
||||
--
|
||||
-- Variables
|
||||
--
|
||||
|
||||
-- Used for localization, choose either built-in or intllib.
|
||||
|
||||
local s_ModPath, S, NS = nil
|
||||
|
||||
if (minetest.get_modpath("intllib") == nil) then
|
||||
S = minetest.get_translator("hidden_doors")
|
||||
|
||||
else
|
||||
-- internationalization boilerplate
|
||||
s_ModPath = minetest.get_modpath(minetest.get_current_modname())
|
||||
S, NS = dofile(s_ModPath.."/intllib.lua")
|
||||
|
||||
end
|
||||
|
||||
|
||||
--[[
|
||||
|
||||
Stone based doors
|
||||
-----------------
|
||||
(1. Material 2. Cobble variant 3. Brick variant 4. Modified forms)
|
||||
|
||||
]]--
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "stone", s_RecipeItem1,
|
||||
"stairs:slab_stone", "stairs:slab_stone", S("Stone"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "cobble", s_RecipeItem1,
|
||||
"stairs:slab_cobble", "stairs:slab_cobble", S("Cobble"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "stone_brick", s_RecipeItem1,
|
||||
"stairs:slab_stonebrick", "stairs:slab_stonebrick", S("Stone Brick"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "stone_block", s_RecipeItem1,
|
||||
"stairs:slab_stone_block", "stairs:slab_stone_block",
|
||||
S("Stone Block"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "mossycobble", s_RecipeItem1,
|
||||
"stairs:slab_mossycobble", "stairs:slab_mossycobble",
|
||||
S("Mossy Cobble"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "desert_stone", s_RecipeItem1,
|
||||
"stairs:slab_desert_stone", "stairs:slab_desert_stone",
|
||||
S("Desert Stone"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "desert_cobble", s_RecipeItem1,
|
||||
"stairs:slab_desert_cobble", "stairs:slab_desert_cobble",
|
||||
S("Desert Cobble"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "desert_stone_brick",
|
||||
s_RecipeItem1, "stairs:slab_desert_stonebrick",
|
||||
"stairs:slab_desert_stonebrick", S("Desert Stone Brick"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "desert_stone_block",
|
||||
s_RecipeItem1, "stairs:slab_desert_stone_block",
|
||||
"stairs:slab_desert_stone_block", S("Desert Stone Block"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "sandstone", s_RecipeItem1,
|
||||
"stairs:slab_sandstone", "stairs:slab_sandstone", S("Sandstone"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "sandstone_brick", s_RecipeItem1,
|
||||
"stairs:slab_sandstonebrick", "stairs:slab_sandstonebrick",
|
||||
S("Sandstone Brick"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "sandstone_block", s_RecipeItem1,
|
||||
"stairs:slab_sandstone_block", "stairs:slab_sandstone_block",
|
||||
S("Sandstone Block"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "desert_sandstone", s_RecipeItem1,
|
||||
"stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone",
|
||||
S("Desert Sandstone"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "desert_sandstone_brick",
|
||||
s_RecipeItem1, "stairs:slab_desert_sandstone_brick",
|
||||
"stairs:slab_desert_sandstone_brick", S("Desert Sandstone Brick"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "desert_sandstone_block",
|
||||
s_RecipeItem1, "stairs:slab_desert_sandstone_block",
|
||||
"stairs:slab_desert_sandstone_block", S("Desert Sandstone Block"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "silver_sandstone", s_RecipeItem1,
|
||||
"stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone",
|
||||
S("Silver Sandstone"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "silver_sandstone_brick",
|
||||
s_RecipeItem1, "stairs:slab_silver_sandstone_brick",
|
||||
"stairs:slab_silver_sandstone_brick", S("Silver Sandstone Brick"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "silver_sandstone_block",
|
||||
s_RecipeItem1, "stairs:slab_silver_sandstone_block",
|
||||
"stairs:slab_silver_sandstone_block", S("Silver Sandstone Block"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "obsidian", s_RecipeItem1,
|
||||
"stairs:slab_obsidian", "stairs:slab_obsidian", S("Obsidian"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "obsidian_brick", s_RecipeItem1,
|
||||
"stairs:slab_obsidianbrick", "stairs:slab_obsidianbrick",
|
||||
S("Obsidian Brick"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "obsidian_block", s_RecipeItem1,
|
||||
"stairs:slab_obsidian_block", "stairs:slab_obsidian_block",
|
||||
S("Obsidian Block"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
|
||||
--[[
|
||||
|
||||
Tree based doors
|
||||
-----------------
|
||||
(1. Trunk 2. Fabricated trunk)
|
||||
|
||||
]]--
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "tree", s_RecipeItem1,
|
||||
"default:tree", nil, S("Tree"), t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "jungletree", s_RecipeItem1,
|
||||
"default:jungletree", nil, S("Jungle Tree"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "pine_tree", s_RecipeItem1,
|
||||
"default:pine_tree", nil, S("Pine Tree"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "acacia_tree", s_RecipeItem1,
|
||||
"default:acacia_tree", nil, S("Acacia Tree"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "aspen_tree", s_RecipeItem1,
|
||||
"default:aspen_tree", nil, S("Aspen Tree"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "wood", s_RecipeItem1,
|
||||
"stairs:slab_wood", "stairs:slab_wood", S("Wood"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "junglewood", s_RecipeItem1,
|
||||
"stairs:slab_junglewood", "stairs:slab_junglewood", S("Jungle Wood"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "pine_wood", s_RecipeItem1,
|
||||
"stairs:slab_pine_wood", "stairs:slab_pine_wood", S("Pine Wood"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "acacia_wood", s_RecipeItem1,
|
||||
"stairs:slab_acacia_wood", "stairs:slab_acacia_wood", S("Acacia Wood"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "aspen_wood", s_RecipeItem1,
|
||||
"stairs:slab_aspen_wood", "stairs:slab_aspen_wood", S("Aspen Wood"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
|
||||
--[[
|
||||
|
||||
Metal based doors
|
||||
-----------------
|
||||
|
||||
]]--
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "bronze_block", s_RecipeItem1,
|
||||
"stairs:slab_bronzeblock", "stairs:slab_bronzeblock",
|
||||
S("Bronze Block"), t_MetalDefault, s_MetalOpen, s_MetalClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "copper_block", s_RecipeItem1,
|
||||
"stairs:slab_copperblock", "stairs:slab_copperblock",
|
||||
S("Copper Block"), t_MetalDefault, s_MetalOpen, s_MetalClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "gold_block", s_RecipeItem1,
|
||||
"stairs:slab_goldblock", "stairs:slab_goldblock", S("Gold Block"),
|
||||
t_MetalDefault, s_MetalOpen, s_MetalClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "steel_block", s_RecipeItem1,
|
||||
"stairs:slab_steelblock", "stairs:slab_steelblock",
|
||||
S("Steel Block"), t_MetalDefault, s_MetalOpen, s_MetalClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "tin_block", s_RecipeItem1,
|
||||
"stairs:slab_tinblock", "stairs:slab_tinblock",
|
||||
S("Tin Block"), t_MetalDefault, s_MetalOpen, s_MetalClose)
|
||||
|
||||
|
||||
--[[
|
||||
|
||||
Other kinds of materials
|
||||
------------------------
|
||||
|
||||
]]--
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "dirt", s_RecipeItem1,
|
||||
"default:dirt", nil, S("Dirt"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "brick", s_RecipeItem1,
|
||||
"stairs:slab_brick", "stairs:slab_brick", S("Brick"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "ice", s_RecipeItem1,
|
||||
"stairs:slab_ice", "stairs:slab_ice", S("Ice"),
|
||||
t_GemDefault, s_GemOpen, s_GemClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "diamond_block", s_RecipeItem1,
|
||||
"default:diamondblock", nil, S("Diamond Block"),
|
||||
t_GemDefault, s_GemOpen, s_GemClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "mese_block", s_RecipeItem1,
|
||||
"default:mese", nil, S("Mese Block"),
|
||||
t_GemDefault, s_GemOpen, s_GemClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "bookshelf", s_RecipeItem1,
|
||||
"default:bookshelf", nil, S("Bookshelf"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "sand", s_RecipeItem1,
|
||||
"default:sand", nil, S("Sand"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "silver_sand", s_RecipeItem1,
|
||||
"default:silver_sand", nil, S("Silver Sand"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "desert_sand", s_RecipeItem1,
|
||||
"default:desert_sand", nil, S("Desert Sand"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
|
||||
--
|
||||
-- Support for Minetest Game v5.x node(s)
|
||||
--
|
||||
|
||||
-- Scan for the new node(s)
|
||||
local t_NodesFound = minetest.registered_nodes
|
||||
local b_PermafrostAvailable = false
|
||||
|
||||
for _, value in pairs(t_NodesFound) do
|
||||
if (value.name == "default:permafrost") then
|
||||
b_PermafrostAvailable = true
|
||||
end
|
||||
end
|
||||
|
||||
if (b_PermafrostAvailable == true) then
|
||||
hidden_doors.RegisterHiddenDoors("default", "permafrost", s_RecipeItem1,
|
||||
"default:permafrost", nil, S("Permafrost"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
-- Flush the variables
|
||||
--
|
||||
|
||||
t_NodesFound = nil
|
||||
b_PermafrostAvailable = nil
|
|
@ -0,0 +1,4 @@
|
|||
name = hidden_doors
|
||||
description = Adds various wood, stone, etc. doors.
|
||||
depends = default, doors, stairs, vessels
|
||||
optional_depends = intllib, darkage, moreblocks
|
|
@ -0,0 +1,184 @@
|
|||
--[[
|
||||
Hidden Doors - Adds various wood, stone, etc. doors.
|
||||
Copyright © 2017, 2019 Hamlet <hamlatmesehub@riseup.net> and contributors.
|
||||
|
||||
Licensed under the EUPL, Version 1.2 or – as soon they will be
|
||||
approved by the European Commission – subsequent versions of the
|
||||
EUPL (the "Licence");
|
||||
You may not use this work except in compliance with the Licence.
|
||||
You may obtain a copy of the Licence at:
|
||||
|
||||
https://joinup.ec.europa.eu/software/page/eupl
|
||||
https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32017D0863
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the Licence is distributed on an
|
||||
"AS IS" basis,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied.
|
||||
See the Licence for the specific language governing permissions
|
||||
and limitations under the Licence.
|
||||
|
||||
--]]
|
||||
|
||||
|
||||
--
|
||||
-- Variables
|
||||
--
|
||||
|
||||
-- Used for localization, choose either built-in or intllib.
|
||||
|
||||
local s_ModPath, S, NS = nil
|
||||
|
||||
if (minetest.get_modpath("intllib") == nil) then
|
||||
S = minetest.get_translator("hidden_doors")
|
||||
|
||||
else
|
||||
-- internationalization boilerplate
|
||||
s_ModPath = minetest.get_modpath(minetest.get_current_modname())
|
||||
S, NS = dofile(s_ModPath.."/intllib.lua")
|
||||
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
-- Moreblocks module support
|
||||
--
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "jungletree_top",
|
||||
s_RecipeItem1, "moreblocks:slab_all_faces_jungle_tree",
|
||||
"moreblocks:slab_all_faces_jungle_tree", S("All-faces Jungle Tree"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("default", "tree_top",
|
||||
s_RecipeItem1, "moreblocks:slab_all_faces_tree",
|
||||
"moreblocks:slab_all_faces_tree", S("All-faces Tree"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "cactus_brick",
|
||||
s_RecipeItem1, "moreblocks:slab_cactus_brick",
|
||||
"moreblocks:slab_cactus_brick", S("Cactus Brick"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
--[[ Disabled due to additional texture manipulation required
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "cactus_checker",
|
||||
s_RecipeItem1, "moreblocks:slab_cactus_checker",
|
||||
"moreblocks:slab_cactus_checker", S("Cactus Checker"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
]]--
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "circle_stone_bricks",
|
||||
s_RecipeItem1, "moreblocks:slab_circle_stone_bricks",
|
||||
"moreblocks:slab_circle_stone_bricks", S("Circle Stone Bricks"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
--[[ Disabled due to additional texture manipulation required
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "coal_checker",
|
||||
s_RecipeItem1, "moreblocks:slab_coal_checker",
|
||||
"moreblocks:slab_coal_checker", S("Coal Checker"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
]]--
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "coal_stone",
|
||||
s_RecipeItem1, "moreblocks:slab_coal_stone",
|
||||
"moreblocks:slab_coal_stone", S("Coal Stone"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "cobble_compressed",
|
||||
s_RecipeItem1, "moreblocks:slab_cobble_compressed",
|
||||
"moreblocks:slab_cobble_compressed", S("Cobble Compressed"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "copperpatina",
|
||||
s_RecipeItem1, "moreblocks:slab_copperpatina",
|
||||
"moreblocks:slab_copperpatina", S("Copper Patina"),
|
||||
t_MetalDefault, s_MetalOpen, s_MetalClose)
|
||||
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "empty_shelf",
|
||||
s_RecipeItem1, "moreblocks:empty_shelf", nil, S("Empty Shelf"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "grey_bricks",
|
||||
s_RecipeItem1, "moreblocks:slab_grey_bricks",
|
||||
"moreblocks:slab_grey_bricks", S("Stone Bricks"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
--[[ Disabled due to additional texture manipulation required
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "iron_checker",
|
||||
s_RecipeItem1, "moreblocks:slab_iron_checker",
|
||||
"moreblocks:slab_iron_checker", S("Iron Checker"),
|
||||
t_MetalDefault, s_MetalOpen, s_MetalClose)
|
||||
|
||||
]]--
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "iron_stone",
|
||||
s_RecipeItem1, "moreblocks:slab_iron_stone",
|
||||
"moreblocks:slab_iron_stone", S("Iron Stone"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "iron_stone_bricks",
|
||||
s_RecipeItem1, "moreblocks:slab_iron_stone_bricks",
|
||||
"moreblocks:slab_iron_stone_bricks", S("Iron Stone Bricks"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "plankstone",
|
||||
s_RecipeItem1, "moreblocks:slab_plankstone", "moreblocks:slab_plankstone",
|
||||
S("Plankstone"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "split_stone_tile",
|
||||
s_RecipeItem1, "moreblocks:slab_split_stone_tile",
|
||||
"moreblocks:slab_split_stone_tile", S("Split Stone Tile"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "stone_tile",
|
||||
s_RecipeItem1, "moreblocks:slab_stone_tile",
|
||||
"moreblocks:slab_stone_tile", S("Stone Tile"),
|
||||
t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "tar",
|
||||
s_RecipeItem1, "moreblocks:slab_tar", "moreblocks:slab_tar",
|
||||
S("Tar"), t_StoneDefault, t_StoneOpen, t_StoneClose)
|
||||
|
||||
--[[ Disabled due to additional texture manipulation required
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "wood_tile",
|
||||
s_RecipeItem1, "moreblocks:slab_wood_tile", "moreblocks:slab_wood_tile",
|
||||
S("Wooden Tile"), t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "wood_tile_center",
|
||||
s_RecipeItem1, "moreblocks:slab_wood_tile_center",
|
||||
"moreblocks:slab_wood_tile_center", S("Centered Wooden Tile"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "wood_tile_down",
|
||||
s_RecipeItem1, "moreblocks:wood_tile_down", nil,
|
||||
S("Downwards Wooden Tile"), t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
]]--
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "wood_tile_full",
|
||||
s_RecipeItem1, "moreblocks:slab_wood_tile_full",
|
||||
"moreblocks:slab_wood_tile_full", S("Full Wooden Tile"),
|
||||
t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
--[[ Disabled due to additional texture manipulation required
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "wood_tile_left",
|
||||
s_RecipeItem1, "moreblocks:wood_tile_left", nil,
|
||||
S("Leftwards Wooden Tile"), t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "wood_tile_right",
|
||||
s_RecipeItem1, "moreblocks:wood_tile_right", nil,
|
||||
S("Rightwards Wooden Tile"), t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
hidden_doors.RegisterHiddenDoors("moreblocks", "wood_tile_up",
|
||||
s_RecipeItem1, "moreblocks:wood_tile_up", nil,
|
||||
S("Upwards Wooden Tile"), t_WoodDefault, s_WoodOpen, s_WoodClose)
|
||||
|
||||
]]--
|
|
@ -0,0 +1,304 @@
|
|||
--[[
|
||||
|
||||
Hidden Doors - Adds various wood, stone, etc. doors.
|
||||
|
||||
Copyright (C) 2017-2018 Hamlet
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
]]--
|
||||
|
||||
|
||||
--
|
||||
-- Minetest Game's based hidden doors
|
||||
--
|
||||
|
||||
minetest.register_lbm({
|
||||
name = ":standard_remover_a",
|
||||
nodenames = {"doors:hidden_door_stone_a", "doors:hidden_door_cobble_a",
|
||||
"doors:hidden_door_stone_brick_a",
|
||||
"doors:hidden_door_stone_block_a",
|
||||
"doors:hidden_door_mossycobble_a",
|
||||
"doors:hidden_door_desert_stone_a",
|
||||
"doors:hidden_door_desert_cobble_a",
|
||||
"doors:hidden_door_desert_stone_brick_a",
|
||||
"doors:hidden_door_desert_stone_block_a",
|
||||
"doors:hidden_door_sandstone_a",
|
||||
"doors:hidden_door_sandstone_brick_a",
|
||||
"doors:hidden_door_sandstone_block_a",
|
||||
"doors:hidden_door_desert_sandstone_a",
|
||||
"doors:hidden_door_desert_sandstone_brick_a",
|
||||
"doors:hidden_door_desert_sandstone_block_a",
|
||||
"doors:hidden_door_silver_sandstone_a",
|
||||
"doors:hidden_door_silver_sandstone_brick_a",
|
||||
"doors:hidden_door_silver_sandstone_block_a",
|
||||
"doors:hidden_door_obsidian_a",
|
||||
"doors:hidden_door_obsidian_brick_a",
|
||||
"doors:hidden_door_obsidian_block_a",
|
||||
"doors:hidden_door_tree_a", "doors:hidden_door_jungletree_a",
|
||||
"doors:hidden_door_pine_tree_a",
|
||||
"doors:hidden_door_acacia_tree_a",
|
||||
"doors:hidden_door_aspen_tree_a", "doors:hidden_door_wood_a",
|
||||
"doors:hidden_door_junglewood_a",
|
||||
"doors:hidden_door_pine_wood_a",
|
||||
"doors:hidden_door_acacia_wood_a",
|
||||
"doors:hidden_door_aspen_wood_a",
|
||||
"doors:hidden_door_bronze_block_a",
|
||||
"doors:hidden_door_copper_block_a",
|
||||
"doors:hidden_door_gold_block_a",
|
||||
"doors:hidden_door_steel_block_a",
|
||||
"doors:hidden_door_tin_block_a",
|
||||
"doors:hidden_door_dirt_a", "doors:hidden_door_brick_a",
|
||||
"doors:hidden_door_ice_a", "doors:hidden_door_diamond_block_a",
|
||||
"doors:hidden_door_mese_block_a",
|
||||
"doors:hidden_door_bookshelf_a",
|
||||
"doors:hidden_door_sand_a", "doors:hidden_door_silver_sand_a",
|
||||
"doors:hidden_door_desert_sand_a",
|
||||
},
|
||||
|
||||
action = function(pos)
|
||||
minetest.remove_node(pos)
|
||||
|
||||
local new_x = pos.x
|
||||
local new_y = (pos.y + 1)
|
||||
local new_z = pos.z
|
||||
local upper_pos = {x = new_x, y = new_y, z = new_z}
|
||||
|
||||
minetest.remove_node(upper_pos)
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
minetest.register_lbm({
|
||||
name = ":standard_remover_b",
|
||||
nodenames = {"doors:hidden_door_stone_b", "doors:hidden_door_cobble_b",
|
||||
"doors:hidden_door_stone_brick_b",
|
||||
"doors:hidden_door_stone_block_b",
|
||||
"doors:hidden_door_mossycobble_b",
|
||||
"doors:hidden_door_desert_stone_b",
|
||||
"doors:hidden_door_desert_cobble_b",
|
||||
"doors:hidden_door_desert_stone_brick_b",
|
||||
"doors:hidden_door_desert_stone_block_b",
|
||||
"doors:hidden_door_sandstone_b",
|
||||
"doors:hidden_door_sandstone_brick_b",
|
||||
"doors:hidden_door_sandstone_block_b",
|
||||
"doors:hidden_door_desert_sandstone_b",
|
||||
"doors:hidden_door_desert_sandstone_brick_b",
|
||||
"doors:hidden_door_desert_sandstone_block_b",
|
||||
"doors:hidden_door_silver_sandstone_b",
|
||||
"doors:hidden_door_silver_sandstone_brick_b",
|
||||
"doors:hidden_door_silver_sandstone_block_b",
|
||||
"doors:hidden_door_obsidian_b",
|
||||
"doors:hidden_door_obsidian_brick_b",
|
||||
"doors:hidden_door_obsidian_block_b",
|
||||
"doors:hidden_door_tree_b", "doors:hidden_door_jungletree_b",
|
||||
"doors:hidden_door_pine_tree_b",
|
||||
"doors:hidden_door_acacia_tree_b",
|
||||
"doors:hidden_door_aspen_tree_b", "doors:hidden_door_wood_b",
|
||||
"doors:hidden_door_junglewood_b",
|
||||
"doors:hidden_door_pine_wood_b",
|
||||
"doors:hidden_door_acacia_wood_b",
|
||||
"doors:hidden_door_aspen_wood_b",
|
||||
"doors:hidden_door_bronze_block_b",
|
||||
"doors:hidden_door_copper_block_b",
|
||||
"doors:hidden_door_gold_block_b",
|
||||
"doors:hidden_door_steel_block_b",
|
||||
"doors:hidden_door_tin_block_b",
|
||||
"doors:hidden_door_dirt_b", "doors:hidden_door_brick_b",
|
||||
"doors:hidden_door_ice_b", "doors:hidden_door_diamond_block_b",
|
||||
"doors:hidden_door_mese_block_b",
|
||||
"doors:hidden_door_bookshelf_b",
|
||||
"doors:hidden_door_sand_b", "doors:hidden_door_silver_sand_b",
|
||||
"doors:hidden_door_desert_sand_b",
|
||||
},
|
||||
|
||||
action = function(pos)
|
||||
minetest.remove_node(pos)
|
||||
|
||||
local new_x = pos.x
|
||||
local new_y = (pos.y + 1)
|
||||
local new_z = pos.z
|
||||
local upper_pos = {x = new_x, y = new_y, z = new_z}
|
||||
|
||||
minetest.remove_node(upper_pos)
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
--
|
||||
-- Compatible modules' based hidden doors
|
||||
--
|
||||
|
||||
if minetest.get_modpath("darkage") then
|
||||
|
||||
minetest.register_lbm({
|
||||
name = ":darkage_remover_a",
|
||||
nodenames = {"doors:hidden_door_adobe_a", "doors:hidden_door_basalt_a",
|
||||
"doors:hidden_door_basalt_rubble_a",
|
||||
"doors:hidden_door_basalt_brick_a",
|
||||
"doors:hidden_door_basalt_block_a",
|
||||
"doors:hidden_door_gneiss_a",
|
||||
"doors:hidden_door_gneiss_rubble_a",
|
||||
"doors:hidden_door_gneiss_brick_a",
|
||||
"doors:hidden_door_gneiss_block_a",
|
||||
"doors:hidden_door_marble_a",
|
||||
"doors:hidden_door_marble_tile_a",
|
||||
"doors:hidden_door_ors_a", "doors:hidden_door_ors_rubble_a",
|
||||
"doors:hidden_door_ors_brick_a",
|
||||
"doors:hidden_door_ors_block_a",
|
||||
"doors:hidden_door_serpentine_a",
|
||||
"doors:hidden_door_shale_a", "doors:hidden_door_slate_a",
|
||||
"doors:hidden_door_schist_a",
|
||||
"doors:hidden_door_slate_rubble_a",
|
||||
"doors:hidden_door_slate_tile_a",
|
||||
"doors:hidden_door_slate_block_a",
|
||||
"doors:hidden_door_slate_brick_a", "doors:hidden_door_tuff_a",
|
||||
"doors:hidden_door_tuff_bricks_a",
|
||||
"doors:hidden_door_tuff_rubble_a",
|
||||
"doors:hidden_door_rhyolitic_tuff_a",
|
||||
"doors:hidden_door_rhyolitic_tuff_bricks_a",
|
||||
"doors:hidden_door_old_tuff_bricks_a",
|
||||
"doors:hidden_door_rhyolitic_tuff_rubble_a",
|
||||
},
|
||||
|
||||
action = function(pos)
|
||||
minetest.remove_node(pos)
|
||||
|
||||
local new_x = pos.x
|
||||
local new_y = (pos.y + 1)
|
||||
local new_z = pos.z
|
||||
local upper_pos = {x = new_x, y = new_y, z = new_z}
|
||||
|
||||
minetest.remove_node(upper_pos)
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
minetest.register_lbm({
|
||||
name = ":darkage_remover_b",
|
||||
nodenames = {"doors:hidden_door_adobe_b", "doors:hidden_door_basalt_b",
|
||||
"doors:hidden_door_basalt_rubble_b",
|
||||
"doors:hidden_door_basalt_brick_b",
|
||||
"doors:hidden_door_basalt_block_b",
|
||||
"doors:hidden_door_gneiss_b",
|
||||
"doors:hidden_door_gneiss_rubble_b",
|
||||
"doors:hidden_door_gneiss_brick_b",
|
||||
"doors:hidden_door_gneiss_block_b",
|
||||
"doors:hidden_door_marble_b",
|
||||
"doors:hidden_door_marble_tile_b",
|
||||
"doors:hidden_door_ors_b", "doors:hidden_door_ors_rubble_b",
|
||||
"doors:hidden_door_ors_brick_b",
|
||||
"doors:hidden_door_ors_block_b",
|
||||
"doors:hidden_door_serpentine_b",
|
||||
"doors:hidden_door_shale_b", "doors:hidden_door_slate_b",
|
||||
"doors:hidden_door_schist_b",
|
||||
"doors:hidden_door_slate_rubble_b",
|
||||
"doors:hidden_door_slate_tile_b",
|
||||
"doors:hidden_door_slate_block_b",
|
||||
"doors:hidden_door_slate_brick_b", "doors:hidden_door_tuff_b",
|
||||
"doors:hidden_door_tuff_bricks_b",
|
||||
"doors:hidden_door_tuff_rubble_b",
|
||||
"doors:hidden_door_rhyolitic_tuff_b",
|
||||
"doors:hidden_door_rhyolitic_tuff_bricks_b",
|
||||
"doors:hidden_door_old_tuff_bricks_b",
|
||||
"doors:hidden_door_rhyolitic_tuff_rubble_b",
|
||||
},
|
||||
|
||||
action = function(pos)
|
||||
minetest.remove_node(pos)
|
||||
|
||||
local new_x = pos.x
|
||||
local new_y = (pos.y + 1)
|
||||
local new_z = pos.z
|
||||
local upper_pos = {x = new_x, y = new_y, z = new_z}
|
||||
|
||||
minetest.remove_node(upper_pos)
|
||||
end,
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
if minetest.get_modpath("moreblocks") then
|
||||
|
||||
minetest.register_lbm({
|
||||
name = ":moreblocks_remover_a",
|
||||
nodenames = {"doors:hidden_door_jungletree_top_a",
|
||||
"doors:hidden_door_tree_top_a",
|
||||
"doors:hidden_door_cactus_brick_a",
|
||||
"doors:hidden_door_circle_stone_bricks_a",
|
||||
"doors:hidden_door_coal_stone_a",
|
||||
"doors:hidden_door_cobble_compressed_a",
|
||||
"doors:hidden_door_copperpatina_a",
|
||||
"doors:hidden_door_empty_bookshelf_a",
|
||||
"doors:hidden_door_grey_bricks_a",
|
||||
"doors:hidden_door_iron_stone_a",
|
||||
"doors:hidden_door_iron_stone_bricks_a",
|
||||
"doors:hidden_door_plankstone_a",
|
||||
"doors:hidden_door_split_stone_tile_a",
|
||||
"doors:hidden_door_split_stone_tile_alt_a",
|
||||
"doors:hidden_door_stone_tile_a",
|
||||
"doors:hidden_door_tar_a",
|
||||
"doors:hidden_door_trap_stone_a",
|
||||
"doors:hidden_door_wood_tile_full_a",
|
||||
},
|
||||
|
||||
action = function(pos)
|
||||
minetest.remove_node(pos)
|
||||
|
||||
local new_x = pos.x
|
||||
local new_y = (pos.y + 1)
|
||||
local new_z = pos.z
|
||||
local upper_pos = {x = new_x, y = new_y, z = new_z}
|
||||
|
||||
minetest.remove_node(upper_pos)
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
minetest.register_lbm({
|
||||
name = ":moreblocks_remover_b",
|
||||
nodenames = {"doors:hidden_door_jungletree_top_b",
|
||||
"doors:hidden_door_tree_top_b",
|
||||
"doors:hidden_door_cactus_brick_b",
|
||||
"doors:hidden_door_circle_stone_bricks_b",
|
||||
"doors:hidden_door_coal_stone_b",
|
||||
"doors:hidden_door_cobble_compressed_b",
|
||||
"doors:hidden_door_copperpatina_b",
|
||||
"doors:hidden_door_empty_bookshelf_b",
|
||||
"doors:hidden_door_grey_bricks_b",
|
||||
"doors:hidden_door_iron_stone_b",
|
||||
"doors:hidden_door_iron_stone_bricks_b",
|
||||
"doors:hidden_door_plankstone_b",
|
||||
"doors:hidden_door_split_stone_tile_b",
|
||||
"doors:hidden_door_split_stone_tile_alt_b",
|
||||
"doors:hidden_door_stone_tile_b",
|
||||
"doors:hidden_door_tar_b",
|
||||
"doors:hidden_door_trap_stone_b",
|
||||
"doors:hidden_door_wood_tile_full_b",
|
||||
},
|
||||
|
||||
action = function(pos)
|
||||
minetest.remove_node(pos)
|
||||
|
||||
local new_x = pos.x
|
||||
local new_y = (pos.y + 1)
|
||||
local new_z = pos.z
|
||||
local upper_pos = {x = new_x, y = new_y, z = new_z}
|
||||
|
||||
minetest.remove_node(upper_pos)
|
||||
end,
|
||||
})
|
||||
end
|
Binary file not shown.
After Width: | Height: | Size: 84 KiB |
|
@ -0,0 +1,18 @@
|
|||
# Please choose your favorite resolution.
|
||||
# Allowed resolutions: 16, 32, 64, 128 (pixels).
|
||||
# The default value is 16 pixels.
|
||||
hidden_doors_res (Resolution in pixels for the textures) int 16
|
||||
|
||||
# Here you can set your preferred value for the stone made hidden
|
||||
# doors' opening and closing sounds, the default value is 5.0
|
||||
hidden_doors_vol (Opening and closing sounds' volume in float) float 5.0
|
||||
|
||||
# You can choose to have concealed doors remain slightly visible - wooden
|
||||
# doors which have been painted to match their surroundings.
|
||||
# This allows players that pay attention to find concealed doors, as well
|
||||
# as providing decor-matched doors for interior decoration.
|
||||
hidden_doors_painted (Painted doors - visible but camouflaged) bool false
|
||||
|
||||
# Disable the module's nodes and activate the
|
||||
# L.B.M. based module's nodes remover.
|
||||
hidden_doors_remover (Disable and remove this mod's nodes) bool false
|
|
@ -0,0 +1,329 @@
|
|||
|
||||
Copyright (C) 2017 Hamlet
|
||||
|
||||
These sounds have been cut from:
|
||||
|
||||
https://freesound.org/people/Slanesh/sounds/31770/#
|
||||
|
||||
the original author is Slanesh https://freesound.org/people/Slanesh/
|
||||
|
||||
|
||||
Creative Commons Legal Code
|
||||
|
||||
Attribution 3.0 Unported
|
||||
|
||||
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
||||
LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
|
||||
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
||||
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
||||
REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
|
||||
DAMAGES RESULTING FROM ITS USE.
|
||||
|
||||
License
|
||||
|
||||
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
||||
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
||||
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
||||
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
||||
|
||||
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
||||
TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
||||
BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
||||
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
||||
CONDITIONS.
|
||||
|
||||
1. Definitions
|
||||
|
||||
a. "Adaptation" means a work based upon the Work, or upon the Work and
|
||||
other pre-existing works, such as a translation, adaptation,
|
||||
derivative work, arrangement of music or other alterations of a
|
||||
literary or artistic work, or phonogram or performance and includes
|
||||
cinematographic adaptations or any other form in which the Work may be
|
||||
recast, transformed, or adapted including in any form recognizably
|
||||
derived from the original, except that a work that constitutes a
|
||||
Collection will not be considered an Adaptation for the purpose of
|
||||
this License. For the avoidance of doubt, where the Work is a musical
|
||||
work, performance or phonogram, the synchronization of the Work in
|
||||
timed-relation with a moving image ("synching") will be considered an
|
||||
Adaptation for the purpose of this License.
|
||||
b. "Collection" means a collection of literary or artistic works, such as
|
||||
encyclopedias and anthologies, or performances, phonograms or
|
||||
broadcasts, or other works or subject matter other than works listed
|
||||
in Section 1(f) below, which, by reason of the selection and
|
||||
arrangement of their contents, constitute intellectual creations, in
|
||||
which the Work is included in its entirety in unmodified form along
|
||||
with one or more other contributions, each constituting separate and
|
||||
independent works in themselves, which together are assembled into a
|
||||
collective whole. A work that constitutes a Collection will not be
|
||||
considered an Adaptation (as defined above) for the purposes of this
|
||||
License.
|
||||
c. "Distribute" means to make available to the public the original and
|
||||
copies of the Work or Adaptation, as appropriate, through sale or
|
||||
other transfer of ownership.
|
||||
d. "Licensor" means the individual, individuals, entity or entities that
|
||||
offer(s) the Work under the terms of this License.
|
||||
e. "Original Author" means, in the case of a literary or artistic work,
|
||||
the individual, individuals, entity or entities who created the Work
|
||||
or if no individual or entity can be identified, the publisher; and in
|
||||
addition (i) in the case of a performance the actors, singers,
|
||||
musicians, dancers, and other persons who act, sing, deliver, declaim,
|
||||
play in, interpret or otherwise perform literary or artistic works or
|
||||
expressions of folklore; (ii) in the case of a phonogram the producer
|
||||
being the person or legal entity who first fixes the sounds of a
|
||||
performance or other sounds; and, (iii) in the case of broadcasts, the
|
||||
organization that transmits the broadcast.
|
||||
f. "Work" means the literary and/or artistic work offered under the terms
|
||||
of this License including without limitation any production in the
|
||||
literary, scientific and artistic domain, whatever may be the mode or
|
||||
form of its expression including digital form, such as a book,
|
||||
pamphlet and other writing; a lecture, address, sermon or other work
|
||||
of the same nature; a dramatic or dramatico-musical work; a
|
||||
choreographic work or entertainment in dumb show; a musical
|
||||
composition with or without words; a cinematographic work to which are
|
||||
assimilated works expressed by a process analogous to cinematography;
|
||||
a work of drawing, painting, architecture, sculpture, engraving or
|
||||
lithography; a photographic work to which are assimilated works
|
||||
expressed by a process analogous to photography; a work of applied
|
||||
art; an illustration, map, plan, sketch or three-dimensional work
|
||||
relative to geography, topography, architecture or science; a
|
||||
performance; a broadcast; a phonogram; a compilation of data to the
|
||||
extent it is protected as a copyrightable work; or a work performed by
|
||||
a variety or circus performer to the extent it is not otherwise
|
||||
considered a literary or artistic work.
|
||||
g. "You" means an individual or entity exercising rights under this
|
||||
License who has not previously violated the terms of this License with
|
||||
respect to the Work, or who has received express permission from the
|
||||
Licensor to exercise rights under this License despite a previous
|
||||
violation.
|
||||
h. "Publicly Perform" means to perform public recitations of the Work and
|
||||
to communicate to the public those public recitations, by any means or
|
||||
process, including by wire or wireless means or public digital
|
||||
performances; to make available to the public Works in such a way that
|
||||
members of the public may access these Works from a place and at a
|
||||
place individually chosen by them; to perform the Work to the public
|
||||
by any means or process and the communication to the public of the
|
||||
performances of the Work, including by public digital performance; to
|
||||
broadcast and rebroadcast the Work by any means including signs,
|
||||
sounds or images.
|
||||
i. "Reproduce" means to make copies of the Work by any means including
|
||||
without limitation by sound or visual recordings and the right of
|
||||
fixation and reproducing fixations of the Work, including storage of a
|
||||
protected performance or phonogram in digital form or other electronic
|
||||
medium.
|
||||
|
||||
2. Fair Dealing Rights. Nothing in this License is intended to reduce,
|
||||
limit, or restrict any uses free from copyright or rights arising from
|
||||
limitations or exceptions that are provided for in connection with the
|
||||
copyright protection under copyright law or other applicable laws.
|
||||
|
||||
3. License Grant. Subject to the terms and conditions of this License,
|
||||
Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
|
||||
perpetual (for the duration of the applicable copyright) license to
|
||||
exercise the rights in the Work as stated below:
|
||||
|
||||
a. to Reproduce the Work, to incorporate the Work into one or more
|
||||
Collections, and to Reproduce the Work as incorporated in the
|
||||
Collections;
|
||||
b. to create and Reproduce Adaptations provided that any such Adaptation,
|
||||
including any translation in any medium, takes reasonable steps to
|
||||
clearly label, demarcate or otherwise identify that changes were made
|
||||
to the original Work. For example, a translation could be marked "The
|
||||
original work was translated from English to Spanish," or a
|
||||
modification could indicate "The original work has been modified.";
|
||||
c. to Distribute and Publicly Perform the Work including as incorporated
|
||||
in Collections; and,
|
||||
d. to Distribute and Publicly Perform Adaptations.
|
||||
e. For the avoidance of doubt:
|
||||
|
||||
i. Non-waivable Compulsory License Schemes. In those jurisdictions in
|
||||
which the right to collect royalties through any statutory or
|
||||
compulsory licensing scheme cannot be waived, the Licensor
|
||||
reserves the exclusive right to collect such royalties for any
|
||||
exercise by You of the rights granted under this License;
|
||||
ii. Waivable Compulsory License Schemes. In those jurisdictions in
|
||||
which the right to collect royalties through any statutory or
|
||||
compulsory licensing scheme can be waived, the Licensor waives the
|
||||
exclusive right to collect such royalties for any exercise by You
|
||||
of the rights granted under this License; and,
|
||||
iii. Voluntary License Schemes. The Licensor waives the right to
|
||||
collect royalties, whether individually or, in the event that the
|
||||
Licensor is a member of a collecting society that administers
|
||||
voluntary licensing schemes, via that society, from any exercise
|
||||
by You of the rights granted under this License.
|
||||
|
||||
The above rights may be exercised in all media and formats whether now
|
||||
known or hereafter devised. The above rights include the right to make
|
||||
such modifications as are technically necessary to exercise the rights in
|
||||
other media and formats. Subject to Section 8(f), all rights not expressly
|
||||
granted by Licensor are hereby reserved.
|
||||
|
||||
4. Restrictions. The license granted in Section 3 above is expressly made
|
||||
subject to and limited by the following restrictions:
|
||||
|
||||
a. You may Distribute or Publicly Perform the Work only under the terms
|
||||
of this License. You must include a copy of, or the Uniform Resource
|
||||
Identifier (URI) for, this License with every copy of the Work You
|
||||
Distribute or Publicly Perform. You may not offer or impose any terms
|
||||
on the Work that restrict the terms of this License or the ability of
|
||||
the recipient of the Work to exercise the rights granted to that
|
||||
recipient under the terms of the License. You may not sublicense the
|
||||
Work. You must keep intact all notices that refer to this License and
|
||||
to the disclaimer of warranties with every copy of the Work You
|
||||
Distribute or Publicly Perform. When You Distribute or Publicly
|
||||
Perform the Work, You may not impose any effective technological
|
||||
measures on the Work that restrict the ability of a recipient of the
|
||||
Work from You to exercise the rights granted to that recipient under
|
||||
the terms of the License. This Section 4(a) applies to the Work as
|
||||
incorporated in a Collection, but this does not require the Collection
|
||||
apart from the Work itself to be made subject to the terms of this
|
||||
License. If You create a Collection, upon notice from any Licensor You
|
||||
must, to the extent practicable, remove from the Collection any credit
|
||||
as required by Section 4(b), as requested. If You create an
|
||||
Adaptation, upon notice from any Licensor You must, to the extent
|
||||
practicable, remove from the Adaptation any credit as required by
|
||||
Section 4(b), as requested.
|
||||
b. If You Distribute, or Publicly Perform the Work or any Adaptations or
|
||||
Collections, You must, unless a request has been made pursuant to
|
||||
Section 4(a), keep intact all copyright notices for the Work and
|
||||
provide, reasonable to the medium or means You are utilizing: (i) the
|
||||
name of the Original Author (or pseudonym, if applicable) if supplied,
|
||||
and/or if the Original Author and/or Licensor designate another party
|
||||
or parties (e.g., a sponsor institute, publishing entity, journal) for
|
||||
attribution ("Attribution Parties") in Licensor's copyright notice,
|
||||
terms of service or by other reasonable means, the name of such party
|
||||
or parties; (ii) the title of the Work if supplied; (iii) to the
|
||||
extent reasonably practicable, the URI, if any, that Licensor
|
||||
specifies to be associated with the Work, unless such URI does not
|
||||
refer to the copyright notice or licensing information for the Work;
|
||||
and (iv) , consistent with Section 3(b), in the case of an Adaptation,
|
||||
a credit identifying the use of the Work in the Adaptation (e.g.,
|
||||
"French translation of the Work by Original Author," or "Screenplay
|
||||
based on original Work by Original Author"). The credit required by
|
||||
this Section 4 (b) may be implemented in any reasonable manner;
|
||||
provided, however, that in the case of a Adaptation or Collection, at
|
||||
a minimum such credit will appear, if a credit for all contributing
|
||||
authors of the Adaptation or Collection appears, then as part of these
|
||||
credits and in a manner at least as prominent as the credits for the
|
||||
other contributing authors. For the avoidance of doubt, You may only
|
||||
use the credit required by this Section for the purpose of attribution
|
||||
in the manner set out above and, by exercising Your rights under this
|
||||
License, You may not implicitly or explicitly assert or imply any
|
||||
connection with, sponsorship or endorsement by the Original Author,
|
||||
Licensor and/or Attribution Parties, as appropriate, of You or Your
|
||||
use of the Work, without the separate, express prior written
|
||||
permission of the Original Author, Licensor and/or Attribution
|
||||
Parties.
|
||||
c. Except as otherwise agreed in writing by the Licensor or as may be
|
||||
otherwise permitted by applicable law, if You Reproduce, Distribute or
|
||||
Publicly Perform the Work either by itself or as part of any
|
||||
Adaptations or Collections, You must not distort, mutilate, modify or
|
||||
take other derogatory action in relation to the Work which would be
|
||||
prejudicial to the Original Author's honor or reputation. Licensor
|
||||
agrees that in those jurisdictions (e.g. Japan), in which any exercise
|
||||
of the right granted in Section 3(b) of this License (the right to
|
||||
make Adaptations) would be deemed to be a distortion, mutilation,
|
||||
modification or other derogatory action prejudicial to the Original
|
||||
Author's honor and reputation, the Licensor will waive or not assert,
|
||||
as appropriate, this Section, to the fullest extent permitted by the
|
||||
applicable national law, to enable You to reasonably exercise Your
|
||||
right under Section 3(b) of this License (right to make Adaptations)
|
||||
but not otherwise.
|
||||
|
||||
5. Representations, Warranties and Disclaimer
|
||||
|
||||
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
|
||||
OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
|
||||
KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
|
||||
INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
|
||||
LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,
|
||||
WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
|
||||
OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
|
||||
|
||||
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
|
||||
LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR
|
||||
ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES
|
||||
ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS
|
||||
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
7. Termination
|
||||
|
||||
a. This License and the rights granted hereunder will terminate
|
||||
automatically upon any breach by You of the terms of this License.
|
||||
Individuals or entities who have received Adaptations or Collections
|
||||
from You under this License, however, will not have their licenses
|
||||
terminated provided such individuals or entities remain in full
|
||||
compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
|
||||
survive any termination of this License.
|
||||
b. Subject to the above terms and conditions, the license granted here is
|
||||
perpetual (for the duration of the applicable copyright in the Work).
|
||||
Notwithstanding the above, Licensor reserves the right to release the
|
||||
Work under different license terms or to stop distributing the Work at
|
||||
any time; provided, however that any such election will not serve to
|
||||
withdraw this License (or any other license that has been, or is
|
||||
required to be, granted under the terms of this License), and this
|
||||
License will continue in full force and effect unless terminated as
|
||||
stated above.
|
||||
|
||||
8. Miscellaneous
|
||||
|
||||
a. Each time You Distribute or Publicly Perform the Work or a Collection,
|
||||
the Licensor offers to the recipient a license to the Work on the same
|
||||
terms and conditions as the license granted to You under this License.
|
||||
b. Each time You Distribute or Publicly Perform an Adaptation, Licensor
|
||||
offers to the recipient a license to the original Work on the same
|
||||
terms and conditions as the license granted to You under this License.
|
||||
c. If any provision of this License is invalid or unenforceable under
|
||||
applicable law, it shall not affect the validity or enforceability of
|
||||
the remainder of the terms of this License, and without further action
|
||||
by the parties to this agreement, such provision shall be reformed to
|
||||
the minimum extent necessary to make such provision valid and
|
||||
enforceable.
|
||||
d. No term or provision of this License shall be deemed waived and no
|
||||
breach consented to unless such waiver or consent shall be in writing
|
||||
and signed by the party to be charged with such waiver or consent.
|
||||
e. This License constitutes the entire agreement between the parties with
|
||||
respect to the Work licensed here. There are no understandings,
|
||||
agreements or representations with respect to the Work not specified
|
||||
here. Licensor shall not be bound by any additional provisions that
|
||||
may appear in any communication from You. This License may not be
|
||||
modified without the mutual written agreement of the Licensor and You.
|
||||
f. The rights granted under, and the subject matter referenced, in this
|
||||
License were drafted utilizing the terminology of the Berne Convention
|
||||
for the Protection of Literary and Artistic Works (as amended on
|
||||
September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
|
||||
Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
|
||||
and the Universal Copyright Convention (as revised on July 24, 1971).
|
||||
These rights and subject matter take effect in the relevant
|
||||
jurisdiction in which the License terms are sought to be enforced
|
||||
according to the corresponding provisions of the implementation of
|
||||
those treaty provisions in the applicable national law. If the
|
||||
standard suite of rights granted under applicable copyright law
|
||||
includes additional rights not granted under this License, such
|
||||
additional rights are deemed to be included in the License; this
|
||||
License is not intended to restrict the license of any rights under
|
||||
applicable law.
|
||||
|
||||
|
||||
Creative Commons Notice
|
||||
|
||||
Creative Commons is not a party to this License, and makes no warranty
|
||||
whatsoever in connection with the Work. Creative Commons will not be
|
||||
liable to You or any party on any legal theory for any damages
|
||||
whatsoever, including without limitation any general, special,
|
||||
incidental or consequential damages arising in connection to this
|
||||
license. Notwithstanding the foregoing two (2) sentences, if Creative
|
||||
Commons has expressly identified itself as the Licensor hereunder, it
|
||||
shall have all rights and obligations of Licensor.
|
||||
|
||||
Except for the limited purpose of indicating to the public that the
|
||||
Work is licensed under the CCPL, Creative Commons does not authorize
|
||||
the use by either party of the trademark "Creative Commons" or any
|
||||
related trademark or logo of Creative Commons without the prior
|
||||
written consent of Creative Commons. Any permitted use will be in
|
||||
compliance with Creative Commons' then-current trademark usage
|
||||
guidelines, as may be published on its website or otherwise made
|
||||
available upon request from time to time. For the avoidance of doubt,
|
||||
this trademark restriction does not form part of this License.
|
||||
|
||||
Creative Commons may be contacted at https://creativecommons.org/.
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,362 @@
|
|||
|
||||
Copyright (C) 2017 Napiophelios
|
||||
|
||||
Creative Commons Legal Code
|
||||
|
||||
Attribution-ShareAlike 3.0 Unported
|
||||
|
||||
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
||||
LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
|
||||
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
||||
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
||||
REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
|
||||
DAMAGES RESULTING FROM ITS USE.
|
||||
|
||||
License
|
||||
|
||||
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
||||
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
||||
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
||||
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
||||
|
||||
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
||||
TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
||||
BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
||||
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
||||
CONDITIONS.
|
||||
|
||||
1. Definitions
|
||||
|
||||
a. "Adaptation" means a work based upon the Work, or upon the Work and
|
||||
other pre-existing works, such as a translation, adaptation,
|
||||
derivative work, arrangement of music or other alterations of a
|
||||
literary or artistic work, or phonogram or performance and includes
|
||||
cinematographic adaptations or any other form in which the Work may be
|
||||
recast, transformed, or adapted including in any form recognizably
|
||||
derived from the original, except that a work that constitutes a
|
||||
Collection will not be considered an Adaptation for the purpose of
|
||||
this License. For the avoidance of doubt, where the Work is a musical
|
||||
work, performance or phonogram, the synchronization of the Work in
|
||||
timed-relation with a moving image ("synching") will be considered an
|
||||
Adaptation for the purpose of this License.
|
||||
b. "Collection" means a collection of literary or artistic works, such as
|
||||
encyclopedias and anthologies, or performances, phonograms or
|
||||
broadcasts, or other works or subject matter other than works listed
|
||||
in Section 1(f) below, which, by reason of the selection and
|
||||
arrangement of their contents, constitute intellectual creations, in
|
||||
which the Work is included in its entirety in unmodified form along
|
||||
with one or more other contributions, each constituting separate and
|
||||
independent works in themselves, which together are assembled into a
|
||||
collective whole. A work that constitutes a Collection will not be
|
||||
considered an Adaptation (as defined below) for the purposes of this
|
||||
License.
|
||||
c. "Creative Commons Compatible License" means a license that is listed
|
||||
at https://creativecommons.org/compatiblelicenses that has been
|
||||
approved by Creative Commons as being essentially equivalent to this
|
||||
License, including, at a minimum, because that license: (i) contains
|
||||
terms that have the same purpose, meaning and effect as the License
|
||||
Elements of this License; and, (ii) explicitly permits the relicensing
|
||||
of adaptations of works made available under that license under this
|
||||
License or a Creative Commons jurisdiction license with the same
|
||||
License Elements as this License.
|
||||
d. "Distribute" means to make available to the public the original and
|
||||
copies of the Work or Adaptation, as appropriate, through sale or
|
||||
other transfer of ownership.
|
||||
e. "License Elements" means the following high-level license attributes
|
||||
as selected by Licensor and indicated in the title of this License:
|
||||
Attribution, ShareAlike.
|
||||
f. "Licensor" means the individual, individuals, entity or entities that
|
||||
offer(s) the Work under the terms of this License.
|
||||
g. "Original Author" means, in the case of a literary or artistic work,
|
||||
the individual, individuals, entity or entities who created the Work
|
||||
or if no individual or entity can be identified, the publisher; and in
|
||||
addition (i) in the case of a performance the actors, singers,
|
||||
musicians, dancers, and other persons who act, sing, deliver, declaim,
|
||||
play in, interpret or otherwise perform literary or artistic works or
|
||||
expressions of folklore; (ii) in the case of a phonogram the producer
|
||||
being the person or legal entity who first fixes the sounds of a
|
||||
performance or other sounds; and, (iii) in the case of broadcasts, the
|
||||
organization that transmits the broadcast.
|
||||
h. "Work" means the literary and/or artistic work offered under the terms
|
||||
of this License including without limitation any production in the
|
||||
literary, scientific and artistic domain, whatever may be the mode or
|
||||
form of its expression including digital form, such as a book,
|
||||
pamphlet and other writing; a lecture, address, sermon or other work
|
||||
of the same nature; a dramatic or dramatico-musical work; a
|
||||
choreographic work or entertainment in dumb show; a musical
|
||||
composition with or without words; a cinematographic work to which are
|
||||
assimilated works expressed by a process analogous to cinematography;
|
||||
a work of drawing, painting, architecture, sculpture, engraving or
|
||||
lithography; a photographic work to which are assimilated works
|
||||
expressed by a process analogous to photography; a work of applied
|
||||
art; an illustration, map, plan, sketch or three-dimensional work
|
||||
relative to geography, topography, architecture or science; a
|
||||
performance; a broadcast; a phonogram; a compilation of data to the
|
||||
extent it is protected as a copyrightable work; or a work performed by
|
||||
a variety or circus performer to the extent it is not otherwise
|
||||
considered a literary or artistic work.
|
||||
i. "You" means an individual or entity exercising rights under this
|
||||
License who has not previously violated the terms of this License with
|
||||
respect to the Work, or who has received express permission from the
|
||||
Licensor to exercise rights under this License despite a previous
|
||||
violation.
|
||||
j. "Publicly Perform" means to perform public recitations of the Work and
|
||||
to communicate to the public those public recitations, by any means or
|
||||
process, including by wire or wireless means or public digital
|
||||
performances; to make available to the public Works in such a way that
|
||||
members of the public may access these Works from a place and at a
|
||||
place individually chosen by them; to perform the Work to the public
|
||||
by any means or process and the communication to the public of the
|
||||
performances of the Work, including by public digital performance; to
|
||||
broadcast and rebroadcast the Work by any means including signs,
|
||||
sounds or images.
|
||||
k. "Reproduce" means to make copies of the Work by any means including
|
||||
without limitation by sound or visual recordings and the right of
|
||||
fixation and reproducing fixations of the Work, including storage of a
|
||||
protected performance or phonogram in digital form or other electronic
|
||||
medium.
|
||||
|
||||
2. Fair Dealing Rights. Nothing in this License is intended to reduce,
|
||||
limit, or restrict any uses free from copyright or rights arising from
|
||||
limitations or exceptions that are provided for in connection with the
|
||||
copyright protection under copyright law or other applicable laws.
|
||||
|
||||
3. License Grant. Subject to the terms and conditions of this License,
|
||||
Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
|
||||
perpetual (for the duration of the applicable copyright) license to
|
||||
exercise the rights in the Work as stated below:
|
||||
|
||||
a. to Reproduce the Work, to incorporate the Work into one or more
|
||||
Collections, and to Reproduce the Work as incorporated in the
|
||||
Collections;
|
||||
b. to create and Reproduce Adaptations provided that any such Adaptation,
|
||||
including any translation in any medium, takes reasonable steps to
|
||||
clearly label, demarcate or otherwise identify that changes were made
|
||||
to the original Work. For example, a translation could be marked "The
|
||||
original work was translated from English to Spanish," or a
|
||||
modification could indicate "The original work has been modified.";
|
||||
c. to Distribute and Publicly Perform the Work including as incorporated
|
||||
in Collections; and,
|
||||
d. to Distribute and Publicly Perform Adaptations.
|
||||
e. For the avoidance of doubt:
|
||||
|
||||
i. Non-waivable Compulsory License Schemes. In those jurisdictions in
|
||||
which the right to collect royalties through any statutory or
|
||||
compulsory licensing scheme cannot be waived, the Licensor
|
||||
reserves the exclusive right to collect such royalties for any
|
||||
exercise by You of the rights granted under this License;
|
||||
ii. Waivable Compulsory License Schemes. In those jurisdictions in
|
||||
which the right to collect royalties through any statutory or
|
||||
compulsory licensing scheme can be waived, the Licensor waives the
|
||||
exclusive right to collect such royalties for any exercise by You
|
||||
of the rights granted under this License; and,
|
||||
iii. Voluntary License Schemes. The Licensor waives the right to
|
||||
collect royalties, whether individually or, in the event that the
|
||||
Licensor is a member of a collecting society that administers
|
||||
voluntary licensing schemes, via that society, from any exercise
|
||||
by You of the rights granted under this License.
|
||||
|
||||
The above rights may be exercised in all media and formats whether now
|
||||
known or hereafter devised. The above rights include the right to make
|
||||
such modifications as are technically necessary to exercise the rights in
|
||||
other media and formats. Subject to Section 8(f), all rights not expressly
|
||||
granted by Licensor are hereby reserved.
|
||||
|
||||
4. Restrictions. The license granted in Section 3 above is expressly made
|
||||
subject to and limited by the following restrictions:
|
||||
|
||||
a. You may Distribute or Publicly Perform the Work only under the terms
|
||||
of this License. You must include a copy of, or the Uniform Resource
|
||||
Identifier (URI) for, this License with every copy of the Work You
|
||||
Distribute or Publicly Perform. You may not offer or impose any terms
|
||||
on the Work that restrict the terms of this License or the ability of
|
||||
the recipient of the Work to exercise the rights granted to that
|
||||
recipient under the terms of the License. You may not sublicense the
|
||||
Work. You must keep intact all notices that refer to this License and
|
||||
to the disclaimer of warranties with every copy of the Work You
|
||||
Distribute or Publicly Perform. When You Distribute or Publicly
|
||||
Perform the Work, You may not impose any effective technological
|
||||
measures on the Work that restrict the ability of a recipient of the
|
||||
Work from You to exercise the rights granted to that recipient under
|
||||
the terms of the License. This Section 4(a) applies to the Work as
|
||||
incorporated in a Collection, but this does not require the Collection
|
||||
apart from the Work itself to be made subject to the terms of this
|
||||
License. If You create a Collection, upon notice from any Licensor You
|
||||
must, to the extent practicable, remove from the Collection any credit
|
||||
as required by Section 4(c), as requested. If You create an
|
||||
Adaptation, upon notice from any Licensor You must, to the extent
|
||||
practicable, remove from the Adaptation any credit as required by
|
||||
Section 4(c), as requested.
|
||||
b. You may Distribute or Publicly Perform an Adaptation only under the
|
||||
terms of: (i) this License; (ii) a later version of this License with
|
||||
the same License Elements as this License; (iii) a Creative Commons
|
||||
jurisdiction license (either this or a later license version) that
|
||||
contains the same License Elements as this License (e.g.,
|
||||
Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible
|
||||
License. If you license the Adaptation under one of the licenses
|
||||
mentioned in (iv), you must comply with the terms of that license. If
|
||||
you license the Adaptation under the terms of any of the licenses
|
||||
mentioned in (i), (ii) or (iii) (the "Applicable License"), you must
|
||||
comply with the terms of the Applicable License generally and the
|
||||
following provisions: (I) You must include a copy of, or the URI for,
|
||||
the Applicable License with every copy of each Adaptation You
|
||||
Distribute or Publicly Perform; (II) You may not offer or impose any
|
||||
terms on the Adaptation that restrict the terms of the Applicable
|
||||
License or the ability of the recipient of the Adaptation to exercise
|
||||
the rights granted to that recipient under the terms of the Applicable
|
||||
License; (III) You must keep intact all notices that refer to the
|
||||
Applicable License and to the disclaimer of warranties with every copy
|
||||
of the Work as included in the Adaptation You Distribute or Publicly
|
||||
Perform; (IV) when You Distribute or Publicly Perform the Adaptation,
|
||||
You may not impose any effective technological measures on the
|
||||
Adaptation that restrict the ability of a recipient of the Adaptation
|
||||
from You to exercise the rights granted to that recipient under the
|
||||
terms of the Applicable License. This Section 4(b) applies to the
|
||||
Adaptation as incorporated in a Collection, but this does not require
|
||||
the Collection apart from the Adaptation itself to be made subject to
|
||||
the terms of the Applicable License.
|
||||
c. If You Distribute, or Publicly Perform the Work or any Adaptations or
|
||||
Collections, You must, unless a request has been made pursuant to
|
||||
Section 4(a), keep intact all copyright notices for the Work and
|
||||
provide, reasonable to the medium or means You are utilizing: (i) the
|
||||
name of the Original Author (or pseudonym, if applicable) if supplied,
|
||||
and/or if the Original Author and/or Licensor designate another party
|
||||
or parties (e.g., a sponsor institute, publishing entity, journal) for
|
||||
attribution ("Attribution Parties") in Licensor's copyright notice,
|
||||
terms of service or by other reasonable means, the name of such party
|
||||
or parties; (ii) the title of the Work if supplied; (iii) to the
|
||||
extent reasonably practicable, the URI, if any, that Licensor
|
||||
specifies to be associated with the Work, unless such URI does not
|
||||
refer to the copyright notice or licensing information for the Work;
|
||||
and (iv) , consistent with Ssection 3(b), in the case of an
|
||||
Adaptation, a credit identifying the use of the Work in the Adaptation
|
||||
(e.g., "French translation of the Work by Original Author," or
|
||||
"Screenplay based on original Work by Original Author"). The credit
|
||||
required by this Section 4(c) may be implemented in any reasonable
|
||||
manner; provided, however, that in the case of a Adaptation or
|
||||
Collection, at a minimum such credit will appear, if a credit for all
|
||||
contributing authors of the Adaptation or Collection appears, then as
|
||||
part of these credits and in a manner at least as prominent as the
|
||||
credits for the other contributing authors. For the avoidance of
|
||||
doubt, You may only use the credit required by this Section for the
|
||||
purpose of attribution in the manner set out above and, by exercising
|
||||
Your rights under this License, You may not implicitly or explicitly
|
||||
assert or imply any connection with, sponsorship or endorsement by the
|
||||
Original Author, Licensor and/or Attribution Parties, as appropriate,
|
||||
of You or Your use of the Work, without the separate, express prior
|
||||
written permission of the Original Author, Licensor and/or Attribution
|
||||
Parties.
|
||||
d. Except as otherwise agreed in writing by the Licensor or as may be
|
||||
otherwise permitted by applicable law, if You Reproduce, Distribute or
|
||||
Publicly Perform the Work either by itself or as part of any
|
||||
Adaptations or Collections, You must not distort, mutilate, modify or
|
||||
take other derogatory action in relation to the Work which would be
|
||||
prejudicial to the Original Author's honor or reputation. Licensor
|
||||
agrees that in those jurisdictions (e.g. Japan), in which any exercise
|
||||
of the right granted in Section 3(b) of this License (the right to
|
||||
make Adaptations) would be deemed to be a distortion, mutilation,
|
||||
modification or other derogatory action prejudicial to the Original
|
||||
Author's honor and reputation, the Licensor will waive or not assert,
|
||||
as appropriate, this Section, to the fullest extent permitted by the
|
||||
applicable national law, to enable You to reasonably exercise Your
|
||||
right under Section 3(b) of this License (right to make Adaptations)
|
||||
but not otherwise.
|
||||
|
||||
5. Representations, Warranties and Disclaimer
|
||||
|
||||
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
|
||||
OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
|
||||
KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
|
||||
INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
|
||||
LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,
|
||||
WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
|
||||
OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
|
||||
|
||||
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
|
||||
LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR
|
||||
ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES
|
||||
ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS
|
||||
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
7. Termination
|
||||
|
||||
a. This License and the rights granted hereunder will terminate
|
||||
automatically upon any breach by You of the terms of this License.
|
||||
Individuals or entities who have received Adaptations or Collections
|
||||
from You under this License, however, will not have their licenses
|
||||
terminated provided such individuals or entities remain in full
|
||||
compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
|
||||
survive any termination of this License.
|
||||
b. Subject to the above terms and conditions, the license granted here is
|
||||
perpetual (for the duration of the applicable copyright in the Work).
|
||||
Notwithstanding the above, Licensor reserves the right to release the
|
||||
Work under different license terms or to stop distributing the Work at
|
||||
any time; provided, however that any such election will not serve to
|
||||
withdraw this License (or any other license that has been, or is
|
||||
required to be, granted under the terms of this License), and this
|
||||
License will continue in full force and effect unless terminated as
|
||||
stated above.
|
||||
|
||||
8. Miscellaneous
|
||||
|
||||
a. Each time You Distribute or Publicly Perform the Work or a Collection,
|
||||
the Licensor offers to the recipient a license to the Work on the same
|
||||
terms and conditions as the license granted to You under this License.
|
||||
b. Each time You Distribute or Publicly Perform an Adaptation, Licensor
|
||||
offers to the recipient a license to the original Work on the same
|
||||
terms and conditions as the license granted to You under this License.
|
||||
c. If any provision of this License is invalid or unenforceable under
|
||||
applicable law, it shall not affect the validity or enforceability of
|
||||
the remainder of the terms of this License, and without further action
|
||||
by the parties to this agreement, such provision shall be reformed to
|
||||
the minimum extent necessary to make such provision valid and
|
||||
enforceable.
|
||||
d. No term or provision of this License shall be deemed waived and no
|
||||
breach consented to unless such waiver or consent shall be in writing
|
||||
and signed by the party to be charged with such waiver or consent.
|
||||
e. This License constitutes the entire agreement between the parties with
|
||||
respect to the Work licensed here. There are no understandings,
|
||||
agreements or representations with respect to the Work not specified
|
||||
here. Licensor shall not be bound by any additional provisions that
|
||||
may appear in any communication from You. This License may not be
|
||||
modified without the mutual written agreement of the Licensor and You.
|
||||
f. The rights granted under, and the subject matter referenced, in this
|
||||
License were drafted utilizing the terminology of the Berne Convention
|
||||
for the Protection of Literary and Artistic Works (as amended on
|
||||
September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
|
||||
Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
|
||||
and the Universal Copyright Convention (as revised on July 24, 1971).
|
||||
These rights and subject matter take effect in the relevant
|
||||
jurisdiction in which the License terms are sought to be enforced
|
||||
according to the corresponding provisions of the implementation of
|
||||
those treaty provisions in the applicable national law. If the
|
||||
standard suite of rights granted under applicable copyright law
|
||||
includes additional rights not granted under this License, such
|
||||
additional rights are deemed to be included in the License; this
|
||||
License is not intended to restrict the license of any rights under
|
||||
applicable law.
|
||||
|
||||
|
||||
Creative Commons Notice
|
||||
|
||||
Creative Commons is not a party to this License, and makes no warranty
|
||||
whatsoever in connection with the Work. Creative Commons will not be
|
||||
liable to You or any party on any legal theory for any damages
|
||||
whatsoever, including without limitation any general, special,
|
||||
incidental or consequential damages arising in connection to this
|
||||
license. Notwithstanding the foregoing two (2) sentences, if Creative
|
||||
Commons has expressly identified itself as the Licensor hereunder, it
|
||||
shall have all rights and obligations of Licensor.
|
||||
|
||||
Except for the limited purpose of indicating to the public that the
|
||||
Work is licensed under the CCPL, Creative Commons does not authorize
|
||||
the use by either party of the trademark "Creative Commons" or any
|
||||
related trademark or logo of Creative Commons without the prior
|
||||
written consent of Creative Commons. Any permitted use will be in
|
||||
compliance with Creative Commons' then-current trademark usage
|
||||
guidelines, as may be published on its website or otherwise made
|
||||
available upon request from time to time. For the avoidance of doubt,
|
||||
this trademark restriction does not form part of the License.
|
||||
|
||||
Creative Commons may be contacted at https://creativecommons.org/.
|
Binary file not shown.
After Width: | Height: | Size: 140 B |
Binary file not shown.
After Width: | Height: | Size: 86 B |
Binary file not shown.
After Width: | Height: | Size: 360 B |
Loading…
Reference in New Issue