add missing files
|
@ -1 +0,0 @@
|
|||
Subproject commit d521e34758d4297ac2de9027848fed5e3594f950
|
17
mods/vipworld/moretrees/.luacheckrc
Normal file
|
@ -0,0 +1,17 @@
|
|||
unused_args = false
|
||||
allow_defined_top = true
|
||||
|
||||
read_globals = {
|
||||
"DIR_DELIM",
|
||||
"minetest", "core",
|
||||
"dump",
|
||||
"vector", "nodeupdate",
|
||||
"VoxelManip", "VoxelArea",
|
||||
"PseudoRandom", "ItemStack",
|
||||
"intllib",
|
||||
"default",
|
||||
table = { fields = { "copy", "getn" } },
|
||||
"biome_lib",
|
||||
"stairs", "stairsplus",
|
||||
}
|
||||
|
620
mods/vipworld/moretrees/LICENSE
Normal file
|
@ -0,0 +1,620 @@
|
|||
Minetest mod moretrees
|
||||
======================
|
||||
|
||||
All source code:
|
||||
© 2013, Vanessa Ezekowitz <vanessaezekowitz@gmail.com>
|
||||
Date & cocos palm code (date_palm.lua, cocos_palm.lua)
|
||||
© 2016, Rogier <rogier777@gmail.com>
|
||||
All date & date palm textures, date-based food, cocos flower & green coconuts,
|
||||
and all poplar textures:
|
||||
© 2016, Rogier <rogier777@gmail.com>
|
||||
- Three of the date palm textures are modifications of existing moretrees textures
|
||||
- The green coconuts are a modification of the brown coconut
|
||||
- The date cake batter is a modification of the acorn muffin batter
|
||||
All other sapling textures (textures/*_sapling.png):
|
||||
© 2013, Tim Huppertz <mitroman@naturalnet.de>
|
||||
All other textures:
|
||||
© 2013, Vanessa Ezekowitz <vanessaezekowitz@gmail.com>
|
||||
|
||||
###############################################################################
|
||||
|
||||
License for all code: LGPL 3.0
|
||||
License for all media and all other assets: CC-by-SA 4.0
|
||||
|
||||
###############################################################################
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
||||
|
||||
###############################################################################
|
||||
|
||||
Attribution-ShareAlike 4.0 International
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
||||
does not provide legal services or legal advice. Distribution of
|
||||
Creative Commons public licenses does not create a lawyer-client or
|
||||
other relationship. Creative Commons makes its licenses and related
|
||||
information available on an "as-is" basis. Creative Commons gives no
|
||||
warranties regarding its licenses, any material licensed under their
|
||||
terms and conditions, or any related information. Creative Commons
|
||||
disclaims all liability for damages resulting from their use to the
|
||||
fullest extent possible.
|
||||
|
||||
Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and
|
||||
conditions that creators and other rights holders may use to share
|
||||
original works of authorship and other material subject to copyright
|
||||
and certain other rights specified in the public license below. The
|
||||
following considerations are for informational purposes only, are not
|
||||
exhaustive, and do not form part of our licenses.
|
||||
|
||||
Considerations for licensors: Our public licenses are
|
||||
intended for use by those authorized to give the public
|
||||
permission to use material in ways otherwise restricted by
|
||||
copyright and certain other rights. Our licenses are
|
||||
irrevocable. Licensors should read and understand the terms
|
||||
and conditions of the license they choose before applying it.
|
||||
Licensors should also secure all rights necessary before
|
||||
applying our licenses so that the public can reuse the
|
||||
material as expected. Licensors should clearly mark any
|
||||
material not subject to the license. This includes other CC-
|
||||
licensed material, or material used under an exception or
|
||||
limitation to copyright. More considerations for licensors:
|
||||
wiki.creativecommons.org/Considerations_for_licensors
|
||||
|
||||
Considerations for the public: By using one of our public
|
||||
licenses, a licensor grants the public permission to use the
|
||||
licensed material under specified terms and conditions. If
|
||||
the licensor's permission is not necessary for any reason--for
|
||||
example, because of any applicable exception or limitation to
|
||||
copyright--then that use is not regulated by the license. Our
|
||||
licenses grant only permissions under copyright and certain
|
||||
other rights that a licensor has authority to grant. Use of
|
||||
the licensed material may still be restricted for other
|
||||
reasons, including because others have copyright or other
|
||||
rights in the material. A licensor may make special requests,
|
||||
such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to
|
||||
respect those requests where reasonable. More considerations
|
||||
for the public:
|
||||
wiki.creativecommons.org/Considerations_for_licensees
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Attribution-ShareAlike 4.0 International Public
|
||||
License
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution-ShareAlike 4.0 International Public License ("Public
|
||||
License"). To the extent this Public License may be interpreted as a
|
||||
contract, You are granted the Licensed Rights in consideration of Your
|
||||
acceptance of these terms and conditions, and the Licensor grants You
|
||||
such rights in consideration of benefits the Licensor receives from
|
||||
making the Licensed Material available under these terms and
|
||||
conditions.
|
||||
|
||||
|
||||
Section 1 -- Definitions.
|
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material
|
||||
and in which the Licensed Material is translated, altered,
|
||||
arranged, transformed, or otherwise modified in a manner requiring
|
||||
permission under the Copyright and Similar Rights held by the
|
||||
Licensor. For purposes of this Public License, where the Licensed
|
||||
Material is a musical work, performance, or sound recording,
|
||||
Adapted Material is always produced where the Licensed Material is
|
||||
synched in timed relation with a moving image.
|
||||
|
||||
b. Adapter's License means the license You apply to Your Copyright
|
||||
and Similar Rights in Your contributions to Adapted Material in
|
||||
accordance with the terms and conditions of this Public License.
|
||||
|
||||
c. BY-SA Compatible License means a license listed at
|
||||
creativecommons.org/compatiblelicenses, approved by Creative
|
||||
Commons as essentially the equivalent of this Public License.
|
||||
|
||||
d. Copyright and Similar Rights means copyright and/or similar rights
|
||||
closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or
|
||||
categorized. For purposes of this Public License, the rights
|
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
||||
Rights.
|
||||
|
||||
e. Effective Technological Measures means those measures that, in the
|
||||
absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
|
||||
f. Exceptions and Limitations means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
|
||||
g. License Elements means the license attributes listed in the name
|
||||
of a Creative Commons Public License. The License Elements of this
|
||||
Public License are Attribution and ShareAlike.
|
||||
|
||||
h. Licensed Material means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public
|
||||
License.
|
||||
|
||||
i. Licensed Rights means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to
|
||||
all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
j. Licensor means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
|
||||
k. Share means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such
|
||||
as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the
|
||||
public may access the material from a place and at a time
|
||||
individually chosen by them.
|
||||
|
||||
l. Sui Generis Database Rights means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially
|
||||
equivalent rights anywhere in the world.
|
||||
|
||||
m. You means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
|
||||
|
||||
Section 2 -- Scope.
|
||||
|
||||
a. License grant.
|
||||
|
||||
1. Subject to the terms and conditions of this Public License,
|
||||
the Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to
|
||||
exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
a. reproduce and Share the Licensed Material, in whole or
|
||||
in part; and
|
||||
|
||||
b. produce, reproduce, and Share Adapted Material.
|
||||
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public
|
||||
License does not apply, and You do not need to comply with
|
||||
its terms and conditions.
|
||||
|
||||
3. Term. The term of this Public License is specified in Section
|
||||
6(a).
|
||||
|
||||
4. Media and formats; technical modifications allowed. The
|
||||
Licensor authorizes You to exercise the Licensed Rights in
|
||||
all media and formats whether now known or hereafter created,
|
||||
and to make technical modifications necessary to do so. The
|
||||
Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications
|
||||
necessary to exercise the Licensed Rights, including
|
||||
technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License,
|
||||
simply making modifications authorized by this Section 2(a)
|
||||
(4) never produces Adapted Material.
|
||||
|
||||
5. Downstream recipients.
|
||||
|
||||
a. Offer from the Licensor -- Licensed Material. Every
|
||||
recipient of the Licensed Material automatically
|
||||
receives an offer from the Licensor to exercise the
|
||||
Licensed Rights under the terms and conditions of this
|
||||
Public License.
|
||||
|
||||
b. Additional offer from the Licensor -- Adapted Material.
|
||||
Every recipient of Adapted Material from You
|
||||
automatically receives an offer from the Licensor to
|
||||
exercise the Licensed Rights in the Adapted Material
|
||||
under the conditions of the Adapter's License You apply.
|
||||
|
||||
c. No downstream restrictions. You may not offer or impose
|
||||
any additional or different terms or conditions on, or
|
||||
apply any Effective Technological Measures to, the
|
||||
Licensed Material if doing so restricts exercise of the
|
||||
Licensed Rights by any recipient of the Licensed
|
||||
Material.
|
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You
|
||||
are, or that Your use of the Licensed Material is, connected
|
||||
with, or sponsored, endorsed, or granted official status by,
|
||||
the Licensor or others designated to receive attribution as
|
||||
provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. Other rights.
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not
|
||||
licensed under this Public License, nor are publicity,
|
||||
privacy, and/or other similar personality rights; however, to
|
||||
the extent possible, the Licensor waives and/or agrees not to
|
||||
assert any such rights held by the Licensor to the limited
|
||||
extent necessary to allow You to exercise the Licensed
|
||||
Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this
|
||||
Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to
|
||||
collect royalties from You for the exercise of the Licensed
|
||||
Rights, whether directly or through a collecting society
|
||||
under any voluntary or waivable statutory or compulsory
|
||||
licensing scheme. In all other cases the Licensor expressly
|
||||
reserves any right to collect such royalties.
|
||||
|
||||
|
||||
Section 3 -- License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
|
||||
a. Attribution.
|
||||
|
||||
1. If You Share the Licensed Material (including in modified
|
||||
form), You must:
|
||||
|
||||
a. retain the following if it is supplied by the Licensor
|
||||
with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed
|
||||
Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by
|
||||
the Licensor (including by pseudonym if
|
||||
designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of
|
||||
warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the
|
||||
extent reasonably practicable;
|
||||
|
||||
b. indicate if You modified the Licensed Material and
|
||||
retain an indication of any previous modifications; and
|
||||
|
||||
c. indicate the Licensed Material is licensed under this
|
||||
Public License, and include the text of, or the URI or
|
||||
hyperlink to, this Public License.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any
|
||||
reasonable manner based on the medium, means, and context in
|
||||
which You Share the Licensed Material. For example, it may be
|
||||
reasonable to satisfy the conditions by providing a URI or
|
||||
hyperlink to a resource that includes the required
|
||||
information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the
|
||||
information required by Section 3(a)(1)(A) to the extent
|
||||
reasonably practicable.
|
||||
|
||||
b. ShareAlike.
|
||||
|
||||
In addition to the conditions in Section 3(a), if You Share
|
||||
Adapted Material You produce, the following conditions also apply.
|
||||
|
||||
1. The Adapter's License You apply must be a Creative Commons
|
||||
license with the same License Elements, this version or
|
||||
later, or a BY-SA Compatible License.
|
||||
|
||||
2. You must include the text of, or the URI or hyperlink to, the
|
||||
Adapter's License You apply. You may satisfy this condition
|
||||
in any reasonable manner based on the medium, means, and
|
||||
context in which You Share Adapted Material.
|
||||
|
||||
3. You may not offer or impose any additional or different terms
|
||||
or conditions on, or apply any Effective Technological
|
||||
Measures to, Adapted Material that restrict exercise of the
|
||||
rights granted under the Adapter's License You apply.
|
||||
|
||||
|
||||
Section 4 -- Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that
|
||||
apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
||||
to extract, reuse, reproduce, and Share all or a substantial
|
||||
portion of the contents of the database;
|
||||
|
||||
b. if You include all or a substantial portion of the database
|
||||
contents in a database in which You have Sui Generis Database
|
||||
Rights, then the database in which You have Sui Generis Database
|
||||
Rights (but not its individual contents) is Adapted Material,
|
||||
|
||||
including for purposes of Section 3(b); and
|
||||
c. You must comply with the conditions in Section 3(a) if You Share
|
||||
all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
|
||||
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
||||
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent
|
||||
possible, most closely approximates an absolute disclaimer and
|
||||
waiver of all liability.
|
||||
|
||||
|
||||
Section 6 -- Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and
|
||||
Similar Rights licensed here. However, if You fail to comply with
|
||||
this Public License, then Your rights under this Public License
|
||||
terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided
|
||||
it is cured within 30 days of Your discovery of the
|
||||
violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any
|
||||
right the Licensor may have to seek remedies for Your violations
|
||||
of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the
|
||||
Licensed Material under separate terms or conditions or stop
|
||||
distributing the Licensed Material at any time; however, doing so
|
||||
will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
|
||||
|
||||
Section 7 -- Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different
|
||||
terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and
|
||||
independent of the terms and conditions of this Public License.
|
||||
|
||||
|
||||
Section 8 -- Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and
|
||||
shall not be interpreted to, reduce, limit, restrict, or impose
|
||||
conditions on any use of the Licensed Material that could lawfully
|
||||
be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted
|
||||
as a limitation upon, or waiver of, any privileges and immunities
|
||||
that apply to the Licensor or You, including from the legal
|
||||
processes of any jurisdiction or authority.
|
||||
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons is not a party to its public
|
||||
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
||||
its public licenses to material it publishes and in those instances
|
||||
will be considered the “Licensor.” The text of the Creative Commons
|
||||
public licenses is dedicated to the public domain under the CC0 Public
|
||||
Domain Dedication. Except for the limited purpose of indicating that
|
||||
material is shared under a Creative Commons public license or as
|
||||
otherwise permitted by the Creative Commons policies published at
|
||||
creativecommons.org/policies, Creative Commons does not authorize the
|
||||
use of the trademark "Creative Commons" or any other trademark or logo
|
||||
of Creative Commons without its prior written consent including,
|
||||
without limitation, in connection with any unauthorized modifications
|
||||
to any of its public licenses or any other arrangements,
|
||||
understandings, or agreements concerning use of licensed material. For
|
||||
the avoidance of doubt, this paragraph does not form part of the
|
||||
public licenses.
|
||||
|
||||
Creative Commons may be contacted at creativecommons.org.
|
11
mods/vipworld/moretrees/README.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
More trees!
|
||||
|
||||
This mod adds a whole bunch of new types of trees to the game
|
||||
|
||||
Much of the code here came from cisoun's conifers mod and bas080's
|
||||
jungle trees mod, and big contributions by RealBadAngel.
|
||||
|
||||
Brought together into one mod and made L-systems compatible by Vanessa
|
||||
Ezekowitz.
|
||||
|
||||
Dependencies: <a href="https://forum.minetest.net/viewtopic.php?f=11&t=12999">biome_lib</a> and default
|
87
mods/vipworld/moretrees/cocos_palm.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
local S = moretrees.intllib
|
||||
|
||||
-- © 2016, Rogier <rogier777@gmail.com>
|
||||
|
||||
-- Some constants
|
||||
|
||||
local coconut_drop_ichance = 8
|
||||
|
||||
-- Make the cocos palm fruit trunk a real trunk (it is generated as a fruit)
|
||||
local trunk = minetest.registered_nodes["moretrees:palm_trunk"]
|
||||
local ftrunk = {}
|
||||
local gftrunk = {}
|
||||
for k,v in pairs(trunk) do
|
||||
ftrunk[k] = v
|
||||
gftrunk[k] = v
|
||||
end
|
||||
ftrunk.tiles = {}
|
||||
gftrunk.tiles = {}
|
||||
for k,v in pairs(trunk.tiles) do
|
||||
ftrunk.tiles[k] = v
|
||||
gftrunk.tiles[k] = v
|
||||
end
|
||||
ftrunk.drop = "moretrees:palm_trunk"
|
||||
gftrunk.drop = "moretrees:palm_trunk"
|
||||
ftrunk.after_destruct = function(pos, oldnode)
|
||||
local coconuts = minetest.find_nodes_in_area({x=pos.x-1, y=pos.y, z=pos.z-1}, {x=pos.x+1, y=pos.y, z=pos.z+1}, {"group:moretrees_coconut"})
|
||||
for _,coconutpos in pairs(coconuts) do
|
||||
-- minetest.dig_node(coconutpos) does not cause nearby coconuts to be dropped :-( ...
|
||||
--minetest.dig_node(coconutpos)
|
||||
local items = minetest.get_node_drops(minetest.get_node(coconutpos).name)
|
||||
minetest.swap_node(coconutpos, biome_lib.air)
|
||||
for _, itemname in pairs(items) do
|
||||
minetest.add_item(coconutpos, itemname)
|
||||
end
|
||||
end
|
||||
end
|
||||
-- Make the different trunk types distinguishable (but barely)
|
||||
ftrunk.tiles[1] = "moretrees_palm_trunk_top.png^[transformR90"
|
||||
gftrunk.tiles[1] = "moretrees_palm_trunk_top.png^[transformR180"
|
||||
gftrunk.description = gftrunk.description.." (gen)"
|
||||
minetest.register_node("moretrees:palm_fruit_trunk", ftrunk)
|
||||
minetest.register_node("moretrees:palm_fruit_trunk_gen", gftrunk)
|
||||
|
||||
for _,suffix in ipairs({"_0", "_1", "_2", "_3", ""}) do
|
||||
local name
|
||||
if suffix == "_0" then
|
||||
name = S("Coconut Flower")
|
||||
else
|
||||
name = S("Coconut")
|
||||
end
|
||||
local drop = ""
|
||||
local coco_group = 1
|
||||
local tile = "moretrees_coconut"..suffix..".png"
|
||||
local timerfn = coconut_growfn
|
||||
local constructfn = coconut_starttimer
|
||||
if suffix == "_3" then
|
||||
drop = "moretrees:coconut"
|
||||
tile = "moretrees_coconut.png"
|
||||
elseif suffix == "" then
|
||||
drop = nil
|
||||
coco_group = nil
|
||||
timerfn = nil
|
||||
constructfn = nil
|
||||
end
|
||||
local coconutdef = {
|
||||
description = name,
|
||||
tiles = {tile},
|
||||
drawtype = "plantlike",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
groups = { fleshy=3, dig_immediate=3, flammable=2, moretrees_coconut=coco_group },
|
||||
inventory_image = tile.."^[transformR180",
|
||||
wield_image = tile.."^[transformR180",
|
||||
sounds = default.node_sound_defaults(),
|
||||
drop = drop,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.3, -0.3, -0.3, 0.3, 0.3, 0.3}
|
||||
},
|
||||
on_timer = timerfn,
|
||||
on_construct = constructfn,
|
||||
|
||||
}
|
||||
minetest.register_node("moretrees:coconut"..suffix, coconutdef)
|
||||
end
|
||||
|
116
mods/vipworld/moretrees/date_palm.lua
Normal file
|
@ -0,0 +1,116 @@
|
|||
-- Date palms.
|
||||
--
|
||||
-- Date palms grow in hot and dry desert, but they require water. This makes them
|
||||
-- a bit harder to find. If found in the middle of the desert, their presence
|
||||
-- indicates a water source below the surface.
|
||||
--
|
||||
-- As an additional feature (which can be disabled), dates automatically regrow after
|
||||
-- harvesting (provided a male tree is sufficiently nearby).
|
||||
-- If regrowing is enabled, then ripe dates will not hang forever. Most will disappear
|
||||
-- (e.g. eaten by birds, ...), and a small fraction will drop as items.
|
||||
|
||||
-- © 2016, Rogier <rogier777@gmail.com>
|
||||
|
||||
local S = moretrees.intllib
|
||||
|
||||
-- Some constants
|
||||
|
||||
local dates_drop_ichance = 4
|
||||
local stems_drop_ichance = 4
|
||||
local flowers_wither_ichance = 3
|
||||
|
||||
-- Make the date palm fruit trunk a real trunk (it is generated as a fruit)
|
||||
local trunk = minetest.registered_nodes["moretrees:date_palm_trunk"]
|
||||
local ftrunk = {}
|
||||
local fftrunk = {}
|
||||
local mftrunk = {}
|
||||
for k,v in pairs(trunk) do
|
||||
ftrunk[k] = v
|
||||
end
|
||||
ftrunk.tiles = {}
|
||||
for k,v in pairs(trunk.tiles) do
|
||||
ftrunk.tiles[k] = v
|
||||
end
|
||||
ftrunk.drop = "moretrees:date_palm_trunk"
|
||||
ftrunk.after_destruct = function(pos, oldnode)
|
||||
local dates = minetest.find_nodes_in_area({x=pos.x-2, y=pos.y, z=pos.z-2}, {x=pos.x+2, y=pos.y, z=pos.z+2}, {"group:moretrees_dates"})
|
||||
for _,datespos in pairs(dates) do
|
||||
-- minetest.dig_node(datespos) does not cause nearby dates to be dropped :-( ...
|
||||
local items = minetest.get_node_drops(minetest.get_node(datespos).name)
|
||||
minetest.swap_node(datespos, biome_lib.air)
|
||||
for _, itemname in pairs(items) do
|
||||
minetest.add_item(datespos, itemname)
|
||||
end
|
||||
end
|
||||
end
|
||||
for k,v in pairs(ftrunk) do
|
||||
mftrunk[k] = v
|
||||
fftrunk[k] = v
|
||||
end
|
||||
fftrunk.tiles = {}
|
||||
mftrunk.tiles = {}
|
||||
for k,v in pairs(trunk.tiles) do
|
||||
fftrunk.tiles[k] = v
|
||||
mftrunk.tiles[k] = v
|
||||
end
|
||||
-- Make the different types of trunk distinguishable (but not too easily)
|
||||
ftrunk.tiles[1] = "moretrees_date_palm_trunk_top.png^[transformR180"
|
||||
ftrunk.description = ftrunk.description.." (gen)"
|
||||
fftrunk.tiles[1] = "moretrees_date_palm_trunk_top.png^[transformR90"
|
||||
mftrunk.tiles[1] = "moretrees_date_palm_trunk_top.png^[transformR-90"
|
||||
minetest.register_node("moretrees:date_palm_fruit_trunk", ftrunk)
|
||||
minetest.register_node("moretrees:date_palm_ffruit_trunk", fftrunk)
|
||||
minetest.register_node("moretrees:date_palm_mfruit_trunk", mftrunk)
|
||||
|
||||
local dates_drop = {
|
||||
items = {
|
||||
{items = { "moretrees:date" }},
|
||||
{items = { "moretrees:date" }},
|
||||
{items = { "moretrees:date" }},
|
||||
{items = { "moretrees:date" }},
|
||||
{items = { "moretrees:date" }, rarity = 2 },
|
||||
{items = { "moretrees:date" }, rarity = 2 },
|
||||
{items = { "moretrees:date" }, rarity = 2 },
|
||||
{items = { "moretrees:date" }, rarity = 2 },
|
||||
{items = { "moretrees:date" }, rarity = 5 },
|
||||
{items = { "moretrees:date" }, rarity = 5 },
|
||||
{items = { "moretrees:date" }, rarity = 5 },
|
||||
{items = { "moretrees:date" }, rarity = 5 },
|
||||
{items = { "moretrees:date" }, rarity = 20 },
|
||||
{items = { "moretrees:date" }, rarity = 20 },
|
||||
{items = { "moretrees:date" }, rarity = 20 },
|
||||
{items = { "moretrees:date" }, rarity = 20 },
|
||||
}
|
||||
}
|
||||
|
||||
for _,suffix in ipairs({"f0", "f1", "f2", "f3", "f4", "m0", "fn", "n"}) do
|
||||
local name
|
||||
if suffix == "f0" or suffix == "m0" then
|
||||
name = S("Date Flowers")
|
||||
elseif suffix == "n" or suffix == "fn" then
|
||||
name = S("Date Stem")
|
||||
else
|
||||
name = S("Dates")
|
||||
end
|
||||
local dropfn = suffix == "f4" and dates_drop or ""
|
||||
local datedef = {
|
||||
description = name,
|
||||
tiles = {"moretrees_dates_"..suffix..".png"},
|
||||
visual_scale = 2,
|
||||
drawtype = "plantlike",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
groups = { fleshy=3, dig_immediate=3, flammable=2, moretrees_dates=1 },
|
||||
inventory_image = "moretrees_dates_"..suffix..".png^[transformR0",
|
||||
wield_image = "moretrees_dates_"..suffix..".png^[transformR90",
|
||||
sounds = default.node_sound_defaults(),
|
||||
drop = dropfn,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.3, -0.3, -0.3, 0.3, 3.5, 0.3}
|
||||
},
|
||||
}
|
||||
minetest.register_node("moretrees:dates_"..suffix, datedef)
|
||||
end
|
||||
|
6
mods/vipworld/moretrees/depends.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
default
|
||||
stairs?
|
||||
moreblocks?
|
||||
intllib?
|
||||
farming?
|
||||
|
1
mods/vipworld/moretrees/description.txt
Normal file
|
@ -0,0 +1 @@
|
|||
This mod adds a whole bunch of new types of trees to the game
|
69
mods/vipworld/moretrees/init.lua
Normal file
|
@ -0,0 +1,69 @@
|
|||
-- More trees! 2013-04-07
|
||||
--
|
||||
-- This mod adds more types of trees to the game
|
||||
--
|
||||
-- Some of the node definitions and textures came from cisoun's conifers mod
|
||||
-- and bas080's jungle trees mod.
|
||||
--
|
||||
-- Brought together into one mod and made L-systems compatible by Vanessa
|
||||
-- Ezekowitz.
|
||||
--
|
||||
-- Firs and Jungle tree axioms/rules by Vanessa Dannenberg, with the
|
||||
-- latter having been tweaked by RealBadAngel, most other axioms/rules written
|
||||
-- by RealBadAngel.
|
||||
--
|
||||
|
||||
moretrees = {}
|
||||
|
||||
-- Read the default config file (and if necessary, copy it to the world folder).
|
||||
|
||||
local worldpath=minetest.get_worldpath()
|
||||
local modpath=minetest.get_modpath("moretrees")
|
||||
|
||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function(s) return s end
|
||||
end
|
||||
moretrees.intllib = S
|
||||
|
||||
-- clone node
|
||||
|
||||
function moretrees.clone_node(name)
|
||||
local node2 = {}
|
||||
local node = minetest.registered_nodes[name]
|
||||
for k,v in pairs(node) do
|
||||
node2[k]=v
|
||||
end
|
||||
return node2
|
||||
end
|
||||
|
||||
-- infinite stacks checking
|
||||
|
||||
if minetest.get_modpath("unified_inventory") or not
|
||||
minetest.settings:get_bool("creative_mode") then
|
||||
moretrees.expect_infinite_stacks = false
|
||||
else
|
||||
moretrees.expect_infinite_stacks = true
|
||||
end
|
||||
|
||||
-- tables, load other files
|
||||
|
||||
moretrees.cutting_tools = {
|
||||
"default:axe_bronze",
|
||||
"default:axe_diamond",
|
||||
"default:axe_mese",
|
||||
"default:axe_steel",
|
||||
"glooptest:axe_alatro",
|
||||
"glooptest:axe_arol",
|
||||
"moreores:axe_mithril",
|
||||
"moreores:axe_silver",
|
||||
"titanium:axe",
|
||||
}
|
||||
|
||||
dofile(modpath.."/node_defs.lua")
|
||||
dofile(modpath.."/date_palm.lua")
|
||||
dofile(modpath.."/cocos_palm.lua")
|
||||
|
73
mods/vipworld/moretrees/locale/de.txt
Normal file
|
@ -0,0 +1,73 @@
|
|||
# Translation by Xanthin
|
||||
|
||||
### crafts.lua ###
|
||||
Coconut Milk = Kokosnussmilch
|
||||
Raw Coconut = Kokosnussfleisch
|
||||
Acorn Muffin batter = Eichelmuffinteig
|
||||
Acorn Muffin = Eichelmuffin
|
||||
Roasted Spruce Cone Nuts = Geroestete Fichtenzapfen
|
||||
Roasted Pine Cone Nuts = Geroestete Kiefernzapfen
|
||||
Roasted Fir Cone Nuts = Geroestete Tannenzapfen
|
||||
|
||||
### node_defs.lua ###
|
||||
Beech Tree Trunk = Buchenstamm
|
||||
Apple Tree Trunk = Apfelbaumstamm
|
||||
Oak Tree Trunk = Eichenstamm
|
||||
Giant Sequoia Trunk = Riesenmammutbaumstamm
|
||||
Birch Tree Trunk = Birkenstamm
|
||||
Palm Tree Trunk = Palmenstamm
|
||||
Spruce Tree Trunk = Fichtenstamm
|
||||
Pine Tree Trunk = Kiefernstamm
|
||||
Willow Tree Trunk = Weidenstamm
|
||||
Rubber Tree Trunk = Gummibaumstamm
|
||||
Jungle Tree Trunk = Tropenbaumstamm
|
||||
Douglas Fir Trunk = Douglasienstamm
|
||||
Beech Tree Planks = Buchebretter
|
||||
Apple Tree Planks = Apfelbaumbretter
|
||||
Oak Tree Planks = Eichenbretter
|
||||
Giant Sequoia Planks = Riesenmammutbaumbretter
|
||||
Birch Tree Planks = Birkebretter
|
||||
Palm Tree Planks = Palmenbretter
|
||||
Spruce Tree Planks = Fichtenbretter
|
||||
Pine Tree Planks = Kiefernbretter
|
||||
Willow Tree Planks = Weidenbretter
|
||||
Rubber Tree Planks = Gummibaumbretter
|
||||
Jungle Tree Planks = Tropenholzbretter
|
||||
Douglas Fir Planks = Douglasienbretter
|
||||
Beech Tree Sapling = Buchesetzling
|
||||
Apple Tree Sapling = Apfelbaumsetzling
|
||||
Oak Tree Sapling = Eichensetzling
|
||||
Giant Sequoia Sapling = Riesenmammutbaumsetzling
|
||||
Birch Tree Sapling = Birkensetzling
|
||||
Palm Tree Sapling = Palmensetzling
|
||||
Spruce Tree Sapling = Fichtensetzling
|
||||
Pine Tree Sapling = Kiefernsetzling
|
||||
Willow Tree Sapling = Weidensetzling
|
||||
Rubber Tree Sapling = Gummibaumsetzling
|
||||
Jungle Tree Sapling = Tropenbaumsetzling
|
||||
Douglas Fir Sapling = Douglasiensetzling
|
||||
Beech Tree Leaves = Buchenlaub
|
||||
Apple Tree Leaves = Apfelbaumlaub
|
||||
Oak Tree Leaves = Eichenlaub
|
||||
Giant Sequoia Leaves = Riesenmammutbaumlaub
|
||||
Birch Tree Leaves = Birkenlaub
|
||||
Palm Tree Leaves = Palmenlaub
|
||||
Spruce Tree Leaves = Fichtennadeln
|
||||
Pine Tree Leaves = Kiefernnadeln
|
||||
Willow Tree Leaves = Weidenlaub
|
||||
Rubber Tree Leaves = Gummibaumlaub
|
||||
Jungle Tree Leaves = Tropenbaumlaub
|
||||
Douglas Fir Leaves = Douglasiennadeln
|
||||
|
||||
Acorn = Eichel
|
||||
Coconut = Kokosnuss
|
||||
Spruce Cone = Fichtenzapfen
|
||||
Pine Cone = Kiefernzapfen
|
||||
Fir Cone = Tannenzapfen
|
||||
Jungle Sapling = Tropenbaumsetzling
|
||||
Jungle Tree Leaves (Yellow) = Tropenbaumlaub (gelb)
|
||||
Jungle Tree Leaves (Red) = Tropenbaumlaub (rot)
|
||||
Douglas Fir Leaves (Bright) = Douglasiennadeln (breit)
|
||||
Rubber Tree Trunk (Empty) = Gummibaumstamm (leer)
|
||||
|
||||
[Moretrees] Loaded (2013-02-11) = [Moretrees] geladen (2013-02-11)
|
100
mods/vipworld/moretrees/locale/es.txt
Normal file
|
@ -0,0 +1,100 @@
|
|||
# Traducido por Carlos Barraza
|
||||
|
||||
### crafts.lua ###
|
||||
Coconut Milk = Leche de Coco
|
||||
Raw Coconut = Coco crudo
|
||||
Acorn Muffin batter = Masa de Mollete de Bellota
|
||||
Acorn Muffin = Mollete de Bellota
|
||||
Roasted Spruce Cone Nuts = Cono de Picea Tostado
|
||||
Roasted Pine Cone Nuts = Cono de Pino Tostado
|
||||
Roasted Fir Cone Nuts = Cono de Abeto Tostado
|
||||
Roasted Cedar Cone Nuts = Coco de Alamo Tostado
|
||||
Date = Datilera
|
||||
Date & nut snack = Datilera y Nueces
|
||||
Date-nut cake batter = Pasta de torta de Datilera
|
||||
Date-nut cake = Pastel de Datilera
|
||||
Date-nut energy bar = Barra energetica de Datilera
|
||||
|
||||
### date_palm.lua ###
|
||||
Dates = Datilera
|
||||
Date Stem = Tallo de Datilera
|
||||
Date Flowers = Flores de Datilera
|
||||
|
||||
### node_defs.lua ###
|
||||
Beech Tree Trunk = Tronco de Arbol de Haya
|
||||
Apple Tree Trunk = Tronco de Arbol de Manzana
|
||||
Oak Tree Trunk = Tronco de Arbol de Roble
|
||||
Giant Sequoia Trunk = Tronco de Sequoia Gigante
|
||||
Birch Tree Trunk = Tronco de Arbol de Abedul
|
||||
Palm Tree Trunk = Tronco de Palmera
|
||||
Spruce Tree Trunk = Tronco de Arbol de Abeto
|
||||
Willow Tree Trunk = Tronco de Arbol de Sauce
|
||||
Rubber Tree Trunk = Tronco de Arbol de Arbol de Goma
|
||||
Jungle Tree = Tronco de Arbol de Arbol de la Selva
|
||||
Douglas Fir Trunk = Tronco de Arbol de Abeto de Douglas
|
||||
Cedar Tree Trunk = Tronco de Arbol de Cedro
|
||||
Date Palm Tree Trunk = Tronco de Palmera Datilera
|
||||
Acacia Tree Trunk = Tronco de Arbol de Acacia
|
||||
Poplar Tree Trunk = Tronco de Arbol de Alamo
|
||||
|
||||
Beech Tree Planks = Madera de Arbol de Haya
|
||||
Apple Tree Planks = Madera de Arbol de Manzana
|
||||
Oak Tree Planks = Madera de Arbol de Roble
|
||||
Giant Sequoia Planks = Madera de Sequoia Gigante
|
||||
Birch Tree Planks = Madera de Arbol de Abedul
|
||||
Palm Tree Planks = Madera de Palmera
|
||||
Spruce Tree Planks = Madera de Arbol de Abeto
|
||||
Willow Tree Planks = Madera de Arbol de Sauce
|
||||
Rubber Tree Planks = Madera de Arbol de Arbol de Goma
|
||||
Jungle Planks = Madera de Arbol de Arbol de la Selva
|
||||
Douglas Fir Planks = Madera de Arbol de Abeto de Douglas
|
||||
Cedar Tree Planks = Madera de Arbol de Cedro
|
||||
Date Palm Tree Planks = Madera de Palmera Datilera
|
||||
Acacia Tree Planks = Madera de Arbol de Acacia
|
||||
Poplar Tree Planks = Madera de Arbol de Alamo
|
||||
|
||||
Beech Tree Sapling = Retoño de Arbol de Haya
|
||||
Apple Tree Sapling = Retoño de Arbol de Manzana
|
||||
Oak Tree Sapling = Retoño de Arbol de Roble
|
||||
Giant Sequoia Sapling = Retoño de Arbol de Sequoia Gigante
|
||||
Birch Tree Sapling = Retoño de Arbol de Abedul
|
||||
Palm Tree Sapling = Retoño de Palmera
|
||||
Spruce Tree Sapling = Retoño de Arbol de Abeto
|
||||
Willow Tree Sapling = Retoño de Arbol de Sauce
|
||||
Rubber Tree Sapling = Retoño de Arbol de Arbol de Goma
|
||||
Jungle Sapling = Retoño de Arbol de Arbol de la Selva
|
||||
Douglas Fir Sapling = Retoño de Arbol de Abeto de Douglas
|
||||
Cedar Tree Sapling = Retoño de Arbol de Cedro
|
||||
Date Palm Tree Tree Sapling = Retoño de Palmera Datilera
|
||||
Acacia Tree Sapling = Retoño de Arbol de Acacia
|
||||
Poplar Tree Sapling = Retoño de Arbol de Alamo
|
||||
|
||||
Beech Tree Leaves = Hojas de Arbol de Haya
|
||||
Apple Tree Leaves = Hojas de Arbol de Manzana
|
||||
Oak Tree Leaves = Hojas de Arbol de Roble
|
||||
Giant Sequoia Leaves = Hojas de Sequoia Gigante
|
||||
Birch Tree Leaves = Hojas de Arbol de Abedul
|
||||
Palm Tree Leaves = Hojas de Palmera
|
||||
Spruce Tree Leaves = Hojas de Arbol de Abeto
|
||||
Willow Tree Leaves = Hojas de Arbol de Sauce
|
||||
Rubber Tree Leaves = Hojas de Arbol de Arbol de Goma
|
||||
Jungle Leaves = Hojas de Arbol de Arbol de la Selva
|
||||
Douglas Fir Leaves = Hojas de Arbol de Abeto de Douglas
|
||||
Cedar Tree Leaves = Hojas de Arbol de Cedro
|
||||
Date Palm Tree Tree Leaves = Hojas de Palmera Datilera
|
||||
Acacia Tree Leaves = Hojas de Arbol de Acacia
|
||||
Poplar Tree Leaves = Hojas de Arbol de Alamo
|
||||
|
||||
Acorn = Bellota
|
||||
Coconut = Coco
|
||||
Spruce Cone = Coco de Picea
|
||||
Pine Cone = Coco de Pino
|
||||
Fir Cone = Coco de Abeto
|
||||
Cedar Cone = Coco de Alamo
|
||||
Jungle Sapling = Retoño de Arbol de la Selva
|
||||
Jungle Tree Leaves (Yellow) = Hojas de Arbol de la Selva (Amarilla)
|
||||
Jungle Tree Leaves (Red) = Hojas de Arbol de la Selva (Roja)
|
||||
Douglas Fir Leaves (Bright) = Hojas de Arbol de Abeto de Douglas (Brillante)
|
||||
Rubber Tree Trunk (Empty) = Tronco de Arbol de Goma (Vacio)
|
||||
|
||||
[Moretrees] Loaded (2013-02-11) = [Masarboles] Cargado
|
74
mods/vipworld/moretrees/locale/fr.txt
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Traduction par Yoan31
|
||||
#
|
||||
|
||||
### crafts.lua ###
|
||||
Coconut Milk = Lait de Coco
|
||||
Raw Coconut = Noix de Coco Crue
|
||||
Acorn Muffin batter = Pate à Muffins au Gland
|
||||
Acorn Muffin = Muffins au Gland
|
||||
Roasted Spruce Cone Nuts = Noix de Cône de Sapin Roties
|
||||
Roasted Pine Cone Nuts = Noix de Pomme de pin Roties
|
||||
Roasted Fir Cone Nuts = Noix de Cône de Sapin Roties
|
||||
|
||||
### node_defs.lua ###
|
||||
Beech Tree Trunk = Tronc d'Arbre de Hêtre
|
||||
Apple Tree Trunk = Tronc d'Arbre de Pommier
|
||||
Oak Tree Trunk = Tronc d'Arbre de chêne
|
||||
Giant Sequoia Trunk = Tronc d'Arbre de Séquoia Géant
|
||||
Birch Tree Trunk = Tronc d'Arbre de bouleau
|
||||
Palm Tree Trunk = Tronc d'Arbre de Palmier
|
||||
Spruce Tree Trunk = Tronc d'Arbre d'Epicéa
|
||||
Pine Tree Trunk = Tronc d'Arbre de Pin
|
||||
Willow Tree Trunk = Tronc d'Arbre de Saule
|
||||
Rubber Tree Trunk = Tronc d'Arbre a Caoutchouc
|
||||
Jungle Tree Trunk = Tronc d'Arbre de la Jungle
|
||||
Douglas Fir Trunk = Tronc de Sapin de Douglas
|
||||
Beech Tree Planks = Planches de Hêtre
|
||||
Apple Tree Planks = Planches de Pommier
|
||||
Oak Tree Planks = Planches de Chêne
|
||||
Giant Sequoia Planks = Planches de d'Arbre de Séquoia Géant
|
||||
Birch Tree Planks = Planches d'Arbre de bouleau
|
||||
Palm Tree Planks = Planches d'Arbre de Palmier
|
||||
Spruce Tree Planks = Planches d'Arbre d'Epicéa
|
||||
Pine Tree Planks = Planches d'Arbre de Pin
|
||||
Willow Tree Planks = Planches d'Arbre de Saule
|
||||
Rubber Tree Planks = Planches d'Arbre a Caoutchouc
|
||||
Jungle Tree Planks = Planches d'Arbre de la Jungle
|
||||
Douglas Fir Planks = Planches de Sapin de Douglas
|
||||
Beech Tree Sapling = Pousse d'Arbre de Hêtre
|
||||
Apple Tree Sapling = Pousse d'Arbre de Pommier
|
||||
Oak Tree Sapling = Pousse d'Arbre de chêne
|
||||
Giant Sequoia Sapling = Pousse d'Arbre de Séquoia Géant
|
||||
Birch Tree Sapling = Pousse d'Arbre de bouleau
|
||||
Palm Tree Sapling = Pousse d'Arbre de Palmier
|
||||
Spruce Tree Sapling = Pousse d'Arbre d'Epicéa
|
||||
Pine Tree Sapling = Pousse d'Arbre de Pin
|
||||
Willow Tree Sapling = Pousse d'Arbre de Saule
|
||||
Rubber Tree Sapling = Pousse d'Arbre a Caoutchouc
|
||||
Jungle Tree Sapling = Pousse d'Arbre de la Jungle
|
||||
Douglas Fir Sapling = Pousse de Sapin de Douglas
|
||||
Beech Tree Leaves = Feuilles d'Arbre de Hêtre
|
||||
Apple Tree Leaves = Feuilles d'Arbre de Pommier
|
||||
Oak Tree Leaves = Feuilles d'Arbre de chêne
|
||||
Giant Sequoia Leaves = Feuilles d'Arbre de Séquoia Géant
|
||||
Birch Tree Leaves = Feuilles d'Arbre de bouleau
|
||||
Palm Tree Leaves = Feuilles d'Arbre de Palmier
|
||||
Spruce Tree Leaves = Feuilles d'Arbre d'Epicéa
|
||||
Pine Tree Leaves = Feuilles d'Arbre de Pin
|
||||
Willow Tree Leaves = Feuilles d'Arbre de Saule
|
||||
Rubber Tree Leaves = Feuilles d'Arbre a Caoutchouc
|
||||
Jungle Tree Leaves = Feuilles d'Arbre de la Jungle
|
||||
Douglas Fir Leaves = Feuilles de Sapin de Douglas
|
||||
|
||||
Acorn = Gland
|
||||
Coconut = Noix de Coco
|
||||
Spruce Cone = Cône de Sapin
|
||||
Pine Cone = Pomme de Pin
|
||||
Fir Cone = Pomme de Sapin
|
||||
Jungle Sapling = Pousse d'Arbre de la Jungle
|
||||
Jungle Tree Leaves (Yellow) = Feuille d'Arbre de la Jungle (Jaune)
|
||||
Jungle Tree Leaves (Red) = Feuille d'Arbre de la Jungle (Rouge)
|
||||
Douglas Fir Leaves (Bright) = Feuille de Sapin de Douglas (Brillant)
|
||||
Rubber Tree Trunk (Empty) = Tronc d'Arbre en Caoutchouc (Vide)
|
||||
|
||||
[Moretrees] Loaded (2013-02-11) =
|
73
mods/vipworld/moretrees/locale/template.txt
Normal file
|
@ -0,0 +1,73 @@
|
|||
# Template
|
||||
|
||||
### crafts.lua ###
|
||||
Coconut Milk =
|
||||
Raw Coconut =
|
||||
Acorn Muffin batter =
|
||||
Acorn Muffin =
|
||||
Roasted Spruce Cone Nuts =
|
||||
Roasted Pine Cone Nuts =
|
||||
Roasted Fir Cone Nuts =
|
||||
|
||||
### node_defs.lua ###
|
||||
Beech Tree Trunk =
|
||||
Apple Tree Trunk =
|
||||
Oak Tree Trunk =
|
||||
Giant Sequoia Trunk =
|
||||
Birch Tree Trunk =
|
||||
Palm Tree Trunk =
|
||||
Spruce Tree Trunk =
|
||||
Pine Tree Trunk =
|
||||
Willow Tree Trunk =
|
||||
Rubber Tree Trunk =
|
||||
Jungle Tree Trunk =
|
||||
Douglas Fir Trunk =
|
||||
Beech Tree Planks =
|
||||
Apple Tree Planks =
|
||||
Oak Tree Planks =
|
||||
Giant Sequoia Planks =
|
||||
Birch Tree Planks =
|
||||
Palm Tree Planks =
|
||||
Spruce Tree Planks =
|
||||
Pine Tree Planks =
|
||||
Willow Tree Planks =
|
||||
Rubber Tree Planks =
|
||||
Jungle Tree Planks =
|
||||
Douglas Fir Planks =
|
||||
Beech Tree Sapling =
|
||||
Apple Tree Sapling =
|
||||
Oak Tree Sapling =
|
||||
Giant Sequoia Sapling =
|
||||
Birch Tree Sapling =
|
||||
Palm Tree Sapling =
|
||||
Spruce Tree Sapling =
|
||||
Pine Tree Sapling =
|
||||
Willow Tree Sapling =
|
||||
Rubber Tree Sapling =
|
||||
Jungle Tree Sapling =
|
||||
Douglas Fir Sapling =
|
||||
Beech Tree Leaves =
|
||||
Apple Tree Leaves =
|
||||
Oak Tree Leaves =
|
||||
Giant Sequoia Leaves =
|
||||
Birch Tree Leaves =
|
||||
Palm Tree Leaves =
|
||||
Spruce Tree Leaves =
|
||||
Pine Tree Leaves =
|
||||
Willow Tree Leaves =
|
||||
Rubber Tree Leaves =
|
||||
Jungle Tree Leaves =
|
||||
Douglas Fir Leaves =
|
||||
|
||||
Acorn =
|
||||
Coconut =
|
||||
Spruce Cone =
|
||||
Pine Cone =
|
||||
Fir Cone =
|
||||
Jungle Sapling =
|
||||
Jungle Tree Leaves (Yellow) =
|
||||
Jungle Tree Leaves (Red) =
|
||||
Douglas Fir Leaves (Bright) =
|
||||
Rubber Tree Trunk (Empty) =
|
||||
|
||||
[Moretrees] Loaded (2013-02-11) =
|
1
mods/vipworld/moretrees/mod.conf
Normal file
|
@ -0,0 +1 @@
|
|||
name = moretrees
|
401
mods/vipworld/moretrees/node_defs.lua
Normal file
|
@ -0,0 +1,401 @@
|
|||
local S = moretrees.intllib
|
||||
|
||||
moretrees.avoidnodes = {}
|
||||
|
||||
moretrees.treelist = {
|
||||
{"beech", "Beech Tree"},
|
||||
{"apple_tree", "Apple Tree"},
|
||||
{"oak", "Oak Tree", "acorn", "Acorn", {-0.2, -0.5, -0.2, 0.2, 0, 0.2}, 0.8 },
|
||||
{"sequoia", "Giant Sequoia"},
|
||||
{"birch", "Birch Tree"},
|
||||
{"palm", "Palm Tree", "palm_fruit_trunk_gen", "Palm Tree", {-0.2, -0.5, -0.2, 0.2, 0, 0.2}, 1.0 },
|
||||
{"date_palm", "Date Palm Tree", "date_palm_fruit_trunk", "Date Palm Tree", {0, 0, 0, 0, 0, 0}, 0.0 },
|
||||
{"spruce", "Spruce Tree", "spruce_cone", "Spruce Cone", {-0.2, -0.5, -0.2, 0.2, 0, 0.2}, 0.8 },
|
||||
{"cedar", "Cedar Tree", "cedar_cone", "Cedar Cone", {-0.2, -0.5, -0.2, 0.2, 0, 0.2}, 0.8 },
|
||||
{"poplar", "Poplar Tree"},
|
||||
{"poplar_small", "Poplar Tree"},
|
||||
{"willow", "Willow Tree"},
|
||||
{"rubber_tree", "Rubber Tree"},
|
||||
{"fir", "Douglas Fir", "fir_cone", "Fir Cone", {-0.2, -0.5, -0.2, 0.2, 0, 0.2}, 0.8 },
|
||||
{"jungletree", "Jungle Tree", nil, nil, nil, nil, "default_junglesapling.png" },
|
||||
}
|
||||
|
||||
local dirs1 = { 21, 20, 23, 22, 21 }
|
||||
local dirs2 = { 12, 9, 18, 7, 12 }
|
||||
local dirs3 = { 14, 11, 16, 5, 14 }
|
||||
|
||||
local moretrees_new_leaves_drawtype = "allfaces_optional"
|
||||
local moretrees_plantlike_leaves_visual_scale = 1
|
||||
|
||||
if moretrees.plantlike_leaves then
|
||||
moretrees_new_leaves_drawtype = "plantlike"
|
||||
moretrees_plantlike_leaves_visual_scale = math.sqrt(2)
|
||||
end
|
||||
|
||||
|
||||
if moretrees.plantlike_leaves then
|
||||
minetest.override_item("default:leaves", {
|
||||
inventory_image = minetest.inventorycube("default_leaves.png"),
|
||||
drawtype = "plantlike",
|
||||
visual_scale = math.sqrt(2)
|
||||
})
|
||||
end
|
||||
|
||||
-- redefine default jungle leaves for same
|
||||
|
||||
if moretrees.plantlike_leaves then
|
||||
minetest.override_item("default:jungleleaves", {
|
||||
inventory_image = minetest.inventorycube("default_jungleleaves.png"),
|
||||
drawtype = "plantlike",
|
||||
visual_scale = math.sqrt(2)
|
||||
})
|
||||
end
|
||||
|
||||
for i in ipairs(moretrees.treelist) do
|
||||
local treename = moretrees.treelist[i][1]
|
||||
local treedesc = moretrees.treelist[i][2]
|
||||
local fruit = moretrees.treelist[i][3]
|
||||
local fruitdesc = moretrees.treelist[i][4]
|
||||
local selbox = moretrees.treelist[i][5]
|
||||
local vscale = moretrees.treelist[i][6]
|
||||
|
||||
local saptex = moretrees.treelist[i][7]
|
||||
|
||||
-- player will get a sapling with 1/100 chance
|
||||
-- player will get leaves only if he/she gets no saplings,
|
||||
-- this is because max_items is 1
|
||||
|
||||
local droprarity = 100
|
||||
|
||||
if treename == "palm" then
|
||||
droprarity = 20
|
||||
end
|
||||
|
||||
if treename ~= "jungletree" -- the default game provides jungle tree and pine trunk/planks nodes.
|
||||
and treename ~= "poplar_small"
|
||||
and treename ~= "pine" then
|
||||
|
||||
saptex = "moretrees_"..treename.."_sapling.png"
|
||||
|
||||
minetest.register_node("moretrees:"..treename.."_trunk", {
|
||||
description = S(treedesc.." Trunk"),
|
||||
tiles = {
|
||||
"moretrees_"..treename.."_trunk_top.png",
|
||||
"moretrees_"..treename.."_trunk_top.png",
|
||||
"moretrees_"..treename.."_trunk.png"
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {tree=1,snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
on_place = minetest.rotate_node,
|
||||
})
|
||||
|
||||
minetest.register_node("moretrees:"..treename.."_planks", {
|
||||
description = S(treedesc.." Planks"),
|
||||
tiles = {"moretrees_"..treename.."_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("moretrees:"..treename.."_sapling", {
|
||||
description = S(treedesc.." Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {saptex},
|
||||
inventory_image = saptex,
|
||||
paramtype = "light",
|
||||
paramtype2 = "waving",
|
||||
walkable = false,
|
||||
is_ground_content = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
|
||||
},
|
||||
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,sapling=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
|
||||
local moretrees_leaves_inventory_image = nil
|
||||
local moretrees_new_leaves_waving = nil
|
||||
|
||||
if moretrees.plantlike_leaves then
|
||||
moretrees_leaves_inventory_image = minetest.inventorycube("moretrees_"..treename.."_leaves.png")
|
||||
else
|
||||
moretrees_new_leaves_waving = 1
|
||||
end
|
||||
|
||||
minetest.register_node("moretrees:"..treename.."_leaves", {
|
||||
description = S(treedesc.." Leaves"),
|
||||
drawtype = moretrees_new_leaves_drawtype,
|
||||
waving = moretrees_new_leaves_waving,
|
||||
visual_scale = moretrees_plantlike_leaves_visual_scale,
|
||||
tiles = { "moretrees_"..treename.."_leaves.png" },
|
||||
inventory_image = moretrees_leaves_inventory_image,
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, moretrees_leaves = 1, leafdecay = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"moretrees:"..treename.."_sapling"}, rarity = droprarity },
|
||||
{items = {"moretrees:"..treename.."_leaves"} }
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
if minetest.get_modpath("moreblocks") then
|
||||
|
||||
-- stairsplus:register_all(modname, subname, recipeitem, {fields})
|
||||
|
||||
stairsplus:register_all(
|
||||
"moretrees",
|
||||
treename.."_trunk",
|
||||
"moretrees:"..treename.."_trunk",
|
||||
{
|
||||
groups = { snappy=1, choppy=2, oddly_breakable_by_hand=1, flammable=2, not_in_creative_inventory=1 },
|
||||
tiles = {
|
||||
"moretrees_"..treename.."_trunk_top.png",
|
||||
"moretrees_"..treename.."_trunk_top.png",
|
||||
"moretrees_"..treename.."_trunk.png"
|
||||
},
|
||||
description = S(treedesc.." Trunk"),
|
||||
drop = treename.."_trunk",
|
||||
}
|
||||
)
|
||||
|
||||
stairsplus:register_all(
|
||||
"moretrees",
|
||||
treename.."_planks",
|
||||
"moretrees:"..treename.."_planks",
|
||||
{
|
||||
groups = { snappy=1, choppy=2, oddly_breakable_by_hand=2, flammable=3, not_in_creative_inventory=1 },
|
||||
tiles = { "moretrees_"..treename.."_wood.png" },
|
||||
description = S(treedesc.." Planks"),
|
||||
drop = treename.."_planks",
|
||||
}
|
||||
)
|
||||
elseif minetest.get_modpath("stairs") then
|
||||
stairs.register_stair_and_slab(
|
||||
"moretrees_"..treename.."_trunk",
|
||||
"moretrees:"..treename.."_trunk",
|
||||
{ snappy=1, choppy=2, oddly_breakable_by_hand=1, flammable=2 },
|
||||
{ "moretrees_"..treename.."_trunk_top.png",
|
||||
"moretrees_"..treename.."_trunk_top.png",
|
||||
"moretrees_"..treename.."_trunk.png"
|
||||
},
|
||||
S(treedesc.." Trunk Stair"),
|
||||
S(treedesc.." Trunk Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
stairs.register_stair_and_slab(
|
||||
"moretrees_"..treename.."_planks",
|
||||
"moretrees:"..treename.."_planks",
|
||||
{ snappy=1, choppy=2, oddly_breakable_by_hand=2, flammable=3 },
|
||||
{ "moretrees_"..treename.."_wood.png" },
|
||||
S(treedesc.." Planks Stair"),
|
||||
S(treedesc.." Planks Slab"),
|
||||
default.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_node("moretrees:"..treename.."_sapling_ongen", {
|
||||
description = S(treedesc.." Sapling (on-generated)"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {saptex},
|
||||
inventory_image = saptex,
|
||||
paramtype = "light",
|
||||
paramtype2 = "waving",
|
||||
walkable = false,
|
||||
is_ground_content = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
|
||||
},
|
||||
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,not_in_creative_inventory=1,sapling=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
drop = "moretrees:"..treename.."_sapling"
|
||||
})
|
||||
|
||||
local fruitname = nil
|
||||
if fruit then
|
||||
fruitname = "moretrees:"..fruit
|
||||
minetest.register_node(fruitname, {
|
||||
description = S(fruitdesc),
|
||||
drawtype = "plantlike",
|
||||
tiles = { "moretrees_"..fruit..".png" },
|
||||
inventory_image = "moretrees_"..fruit..".png^[transformR180",
|
||||
wield_image = "moretrees_"..fruit..".png^[transformR180",
|
||||
visual_scale = vscale,
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = selbox
|
||||
},
|
||||
groups = {fleshy=3,dig_immediate=3,flammable=2, attached_node=1, leafdecay = 1, leafdecay_drop = 1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
-- Extra nodes for jungle trees:
|
||||
|
||||
local jungleleaves = {"yellow","red"}
|
||||
local jungleleavesnames = {"Yellow", "Red"}
|
||||
for color = 1, #jungleleaves do
|
||||
local leave_name = "moretrees:jungletree_leaves_"..jungleleaves[color]
|
||||
|
||||
local moretrees_leaves_inventory_image = nil
|
||||
|
||||
if moretrees.plantlike_leaves then
|
||||
moretrees_leaves_inventory_image = minetest.inventorycube("moretrees_jungletree_leaves_"..jungleleaves[color]..".png")
|
||||
else
|
||||
moretrees_new_leaves_waving = 1
|
||||
end
|
||||
|
||||
minetest.register_node(leave_name, {
|
||||
description = S("Jungle Tree Leaves ("..jungleleavesnames[color]..")"),
|
||||
drawtype = moretrees_new_leaves_drawtype,
|
||||
waving = moretrees_new_leaves_waving,
|
||||
visual_scale = moretrees_plantlike_leaves_visual_scale,
|
||||
tiles = {"moretrees_jungletree_leaves_"..jungleleaves[color]..".png"},
|
||||
inventory_image = moretrees_leaves_inventory_image,
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, moretrees_leaves = 1, leafdecay = 3 },
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"default:junglesapling"}, rarity = 100 },
|
||||
{items = {"moretrees:jungletree_leaves_"..jungleleaves[color]} }
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
end
|
||||
|
||||
-- To get Moretrees to generate its own jungle trees among the default mapgen
|
||||
-- we need our own copy of that node, which moretrees will match against.
|
||||
|
||||
local jungle_tree = table.copy(minetest.registered_nodes["default:jungletree"])
|
||||
minetest.register_node("moretrees:jungletree_trunk", jungle_tree)
|
||||
|
||||
|
||||
-- Extra needles for firs
|
||||
|
||||
local moretrees_leaves_inventory_image = nil
|
||||
|
||||
if moretrees.plantlike_leaves then
|
||||
moretrees_leaves_inventory_image = minetest.inventorycube("moretrees_fir_leaves_bright.png")
|
||||
end
|
||||
|
||||
minetest.register_node("moretrees:fir_leaves_bright", {
|
||||
drawtype = moretrees_new_leaves_drawtype,
|
||||
waving = moretrees_new_leaves_waving,
|
||||
visual_scale = moretrees_plantlike_leaves_visual_scale,
|
||||
description = S("Douglas Fir Leaves (Bright)"),
|
||||
tiles = { "moretrees_fir_leaves_bright.png" },
|
||||
inventory_image = moretrees_leaves_inventory_image,
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, flammable = 2, leaves = 1, moretrees_leaves = 1, leafdecay = 3 },
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {'moretrees:fir_sapling'}, rarity = 100 },
|
||||
{items = {'moretrees:fir_leaves_bright'} }
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults()
|
||||
})
|
||||
|
||||
|
||||
if moretrees.enable_redefine_apple then
|
||||
local appledef = moretrees.clone_node("default:apple")
|
||||
appledef.groups.attached_node = 1
|
||||
minetest.register_node(":default:apple", appledef)
|
||||
end
|
||||
|
||||
table.insert(moretrees.avoidnodes, "default:jungletree")
|
||||
table.insert(moretrees.avoidnodes, "default:pine_tree")
|
||||
table.insert(moretrees.avoidnodes, "default:acacia_tree")
|
||||
table.insert(moretrees.avoidnodes, "moretrees:fir_trunk")
|
||||
table.insert(moretrees.avoidnodes, "default:tree")
|
||||
|
||||
if moretrees.spawn_saplings then
|
||||
table.insert(moretrees.avoidnodes, "snow:sapling_pine")
|
||||
table.insert(moretrees.avoidnodes, "default:junglesapling")
|
||||
table.insert(moretrees.avoidnodes, "default:pine_sapling")
|
||||
end
|
||||
|
||||
-- "empty" (tapped) rubber tree nodes
|
||||
|
||||
minetest.register_node("moretrees:rubber_tree_trunk_empty", {
|
||||
description = S("Rubber Tree Trunk (Empty)"),
|
||||
tiles = {
|
||||
"moretrees_rubber_tree_trunk_top.png",
|
||||
"moretrees_rubber_tree_trunk_top.png",
|
||||
"moretrees_rubber_tree_trunk_empty.png"
|
||||
},
|
||||
is_ground_content = true,
|
||||
groups = {tree=1,snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
on_place = minetest.rotate_node,
|
||||
})
|
||||
|
||||
-- For compatibility with old nodes, recently-changed nodes, and default nodes
|
||||
|
||||
minetest.register_alias("technic:rubber_tree_full", "moretrees:rubber_tree_trunk")
|
||||
minetest.register_alias("farming_plus:rubber_tree_full", "moretrees:rubber_tree_trunk")
|
||||
minetest.register_alias("farming:rubber_tree_full", "moretrees:rubber_tree_trunk")
|
||||
|
||||
minetest.register_alias("technic:rubber_leaves", "moretrees:rubber_tree_leaves")
|
||||
minetest.register_alias("farming_plus:rubber_leaves", "moretrees:rubber_tree_leaves")
|
||||
minetest.register_alias("farming:rubber_leaves", "moretrees:rubber_tree_leaves")
|
||||
|
||||
minetest.register_alias("technic:rubber_tree_sapling", "moretrees:rubber_tree_sapling")
|
||||
minetest.register_alias("farming_plus:rubber_sapling", "moretrees:rubber_tree_sapling")
|
||||
minetest.register_alias("farming:rubber_sapling", "moretrees:rubber_tree_sapling")
|
||||
|
||||
minetest.register_alias("moretrees:conifer_trunk", "moretrees:fir_trunk")
|
||||
minetest.register_alias("moretrees:conifer_trunk_sideways", "moretrees:fir_trunk_sideways")
|
||||
minetest.register_alias("moretrees:conifer_leaves", "moretrees:fir_leaves")
|
||||
minetest.register_alias("moretrees:conifer_leaves_bright", "moretrees:fir_leaves_bright")
|
||||
minetest.register_alias("moretrees:conifer_sapling", "moretrees:fir_sapling")
|
||||
|
||||
minetest.register_alias("conifers:trunk", "moretrees:fir_trunk")
|
||||
minetest.register_alias("conifers:trunk_reversed", "moretrees:fir_trunk_sideways")
|
||||
minetest.register_alias("conifers:leaves", "moretrees:fir_leaves")
|
||||
minetest.register_alias("conifers:leaves_special", "moretrees:fir_leaves_bright")
|
||||
minetest.register_alias("conifers:sapling", "moretrees:fir_sapling")
|
||||
|
||||
minetest.register_alias("moretrees:jungletree_sapling", "default:junglesapling")
|
||||
minetest.register_alias("moretrees:jungletree_trunk_sideways", "moreblocks:horizontal_jungle_tree")
|
||||
minetest.register_alias("moretrees:jungletree_planks", "default:junglewood")
|
||||
minetest.register_alias("moretrees:jungletree_leaves_green", "default:jungleleaves")
|
||||
|
||||
minetest.register_alias("moretrees:acacia_trunk", "default:acacia_tree")
|
||||
minetest.register_alias("moretrees:acacia_planks", "default:acacia_wood")
|
||||
minetest.register_alias("moretrees:acacia_sapling", "default:acacia_sapling")
|
||||
minetest.register_alias("moretrees:acacia_leaves", "default:acacia_leaves")
|
||||
|
||||
minetest.register_alias("moretrees:pine_trunk", "moretrees:cedar_trunk")
|
||||
minetest.register_alias("moretrees:pine_planks", "moretrees:cedar_planks")
|
||||
minetest.register_alias("moretrees:pine_sapling", "moretrees:cedar_sapling")
|
||||
minetest.register_alias("moretrees:pine_leaves", "moretrees:cedar_leaves")
|
||||
minetest.register_alias("moretrees:pine_cone", "moretrees:cedar_cone")
|
||||
minetest.register_alias("moretrees:pine_nuts", "moretrees:cedar_nuts")
|
||||
minetest.register_alias("moretrees:pine_sapling_ongen", "moretrees:cedar_sapling_ongen")
|
||||
|
||||
minetest.register_alias("moretrees:dates", "moretrees:dates_f4")
|
BIN
mods/vipworld/moretrees/textures/moretrees_acorn.png
Normal file
After Width: | Height: | Size: 417 B |
BIN
mods/vipworld/moretrees/textures/moretrees_acorn_muffin.png
Normal file
After Width: | Height: | Size: 782 B |
After Width: | Height: | Size: 619 B |
BIN
mods/vipworld/moretrees/textures/moretrees_apple_tree_leaves.png
Normal file
After Width: | Height: | Size: 351 B |
After Width: | Height: | Size: 183 B |
BIN
mods/vipworld/moretrees/textures/moretrees_apple_tree_trunk.png
Normal file
After Width: | Height: | Size: 1 KiB |
After Width: | Height: | Size: 503 B |
BIN
mods/vipworld/moretrees/textures/moretrees_apple_tree_wood.png
Normal file
After Width: | Height: | Size: 464 B |
BIN
mods/vipworld/moretrees/textures/moretrees_beech_leaves.png
Normal file
After Width: | Height: | Size: 201 B |
BIN
mods/vipworld/moretrees/textures/moretrees_beech_sapling.png
Normal file
After Width: | Height: | Size: 177 B |
BIN
mods/vipworld/moretrees/textures/moretrees_beech_trunk.png
Normal file
After Width: | Height: | Size: 980 B |
BIN
mods/vipworld/moretrees/textures/moretrees_beech_trunk_top.png
Normal file
After Width: | Height: | Size: 926 B |
BIN
mods/vipworld/moretrees/textures/moretrees_beech_wood.png
Normal file
After Width: | Height: | Size: 175 B |
BIN
mods/vipworld/moretrees/textures/moretrees_birch_leaves.png
Normal file
After Width: | Height: | Size: 459 B |
BIN
mods/vipworld/moretrees/textures/moretrees_birch_sapling.png
Normal file
After Width: | Height: | Size: 208 B |
BIN
mods/vipworld/moretrees/textures/moretrees_birch_trunk.png
Normal file
After Width: | Height: | Size: 975 B |
BIN
mods/vipworld/moretrees/textures/moretrees_birch_trunk_top.png
Normal file
After Width: | Height: | Size: 811 B |
BIN
mods/vipworld/moretrees/textures/moretrees_birch_wood.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_cedar_cone.png
Normal file
After Width: | Height: | Size: 315 B |
BIN
mods/vipworld/moretrees/textures/moretrees_cedar_leaves.png
Normal file
After Width: | Height: | Size: 205 B |
BIN
mods/vipworld/moretrees/textures/moretrees_cedar_nuts.png
Normal file
After Width: | Height: | Size: 369 B |
BIN
mods/vipworld/moretrees/textures/moretrees_cedar_sapling.png
Normal file
After Width: | Height: | Size: 202 B |
BIN
mods/vipworld/moretrees/textures/moretrees_cedar_trunk.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_cedar_trunk_top.png
Normal file
After Width: | Height: | Size: 451 B |
BIN
mods/vipworld/moretrees/textures/moretrees_cedar_wood.png
Normal file
After Width: | Height: | Size: 648 B |
BIN
mods/vipworld/moretrees/textures/moretrees_coconut.png
Normal file
After Width: | Height: | Size: 963 B |
BIN
mods/vipworld/moretrees/textures/moretrees_coconut_0.png
Normal file
After Width: | Height: | Size: 877 B |
BIN
mods/vipworld/moretrees/textures/moretrees_coconut_1.png
Normal file
After Width: | Height: | Size: 429 B |
BIN
mods/vipworld/moretrees/textures/moretrees_coconut_2.png
Normal file
After Width: | Height: | Size: 1,009 B |
BIN
mods/vipworld/moretrees/textures/moretrees_coconut_milk.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
mods/vipworld/moretrees/textures/moretrees_coconut_milk_inv.png
Normal file
After Width: | Height: | Size: 199 B |
BIN
mods/vipworld/moretrees/textures/moretrees_date.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_date_nut_bar.png
Normal file
After Width: | Height: | Size: 685 B |
BIN
mods/vipworld/moretrees/textures/moretrees_date_nut_batter.png
Normal file
After Width: | Height: | Size: 608 B |
BIN
mods/vipworld/moretrees/textures/moretrees_date_nut_cake.png
Normal file
After Width: | Height: | Size: 695 B |
BIN
mods/vipworld/moretrees/textures/moretrees_date_nut_snack.png
Normal file
After Width: | Height: | Size: 450 B |
BIN
mods/vipworld/moretrees/textures/moretrees_date_palm_leaves.png
Normal file
After Width: | Height: | Size: 757 B |
BIN
mods/vipworld/moretrees/textures/moretrees_date_palm_sapling.png
Normal file
After Width: | Height: | Size: 261 B |
BIN
mods/vipworld/moretrees/textures/moretrees_date_palm_trunk.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
BIN
mods/vipworld/moretrees/textures/moretrees_date_palm_wood.png
Normal file
After Width: | Height: | Size: 735 B |
BIN
mods/vipworld/moretrees/textures/moretrees_dates.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_dates_f0.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_dates_f1.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_dates_f2.png
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_dates_f3.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_dates_f4.png
Normal file
After Width: | Height: | Size: 9 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_dates_fn.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_dates_m0.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_dates_n.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_fir_cone.png
Normal file
After Width: | Height: | Size: 244 B |
BIN
mods/vipworld/moretrees/textures/moretrees_fir_leaves.png
Normal file
After Width: | Height: | Size: 205 B |
BIN
mods/vipworld/moretrees/textures/moretrees_fir_leaves_bright.png
Normal file
After Width: | Height: | Size: 205 B |
BIN
mods/vipworld/moretrees/textures/moretrees_fir_nuts.png
Normal file
After Width: | Height: | Size: 361 B |
BIN
mods/vipworld/moretrees/textures/moretrees_fir_sapling.png
Normal file
After Width: | Height: | Size: 166 B |
BIN
mods/vipworld/moretrees/textures/moretrees_fir_trunk.png
Normal file
After Width: | Height: | Size: 753 B |
BIN
mods/vipworld/moretrees/textures/moretrees_fir_trunk_top.png
Normal file
After Width: | Height: | Size: 924 B |
BIN
mods/vipworld/moretrees/textures/moretrees_fir_wood.png
Normal file
After Width: | Height: | Size: 1 KiB |
After Width: | Height: | Size: 201 B |
After Width: | Height: | Size: 201 B |
After Width: | Height: | Size: 201 B |
BIN
mods/vipworld/moretrees/textures/moretrees_oak_leaves.png
Normal file
After Width: | Height: | Size: 730 B |
BIN
mods/vipworld/moretrees/textures/moretrees_oak_sapling.png
Normal file
After Width: | Height: | Size: 172 B |
BIN
mods/vipworld/moretrees/textures/moretrees_oak_trunk.png
Normal file
After Width: | Height: | Size: 998 B |
BIN
mods/vipworld/moretrees/textures/moretrees_oak_trunk_top.png
Normal file
After Width: | Height: | Size: 519 B |
BIN
mods/vipworld/moretrees/textures/moretrees_oak_wood.png
Normal file
After Width: | Height: | Size: 618 B |
BIN
mods/vipworld/moretrees/textures/moretrees_palm_leaves.png
Normal file
After Width: | Height: | Size: 918 B |
BIN
mods/vipworld/moretrees/textures/moretrees_palm_sapling.png
Normal file
After Width: | Height: | Size: 122 B |
BIN
mods/vipworld/moretrees/textures/moretrees_palm_trunk.png
Normal file
After Width: | Height: | Size: 295 B |
BIN
mods/vipworld/moretrees/textures/moretrees_palm_trunk_top.png
Normal file
After Width: | Height: | Size: 400 B |
BIN
mods/vipworld/moretrees/textures/moretrees_palm_wood.png
Normal file
After Width: | Height: | Size: 598 B |
BIN
mods/vipworld/moretrees/textures/moretrees_poplar_leaves.png
Normal file
After Width: | Height: | Size: 563 B |
BIN
mods/vipworld/moretrees/textures/moretrees_poplar_sapling.png
Normal file
After Width: | Height: | Size: 447 B |
After Width: | Height: | Size: 347 B |
BIN
mods/vipworld/moretrees/textures/moretrees_poplar_trunk-1.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
mods/vipworld/moretrees/textures/moretrees_poplar_trunk.png
Normal file
After Width: | Height: | Size: 980 B |
BIN
mods/vipworld/moretrees/textures/moretrees_poplar_trunk_top.png
Normal file
After Width: | Height: | Size: 751 B |
BIN
mods/vipworld/moretrees/textures/moretrees_poplar_wood.png
Normal file
After Width: | Height: | Size: 726 B |
BIN
mods/vipworld/moretrees/textures/moretrees_raw_coconut.png
Normal file
After Width: | Height: | Size: 466 B |
After Width: | Height: | Size: 201 B |
After Width: | Height: | Size: 151 B |
BIN
mods/vipworld/moretrees/textures/moretrees_rubber_tree_trunk.png
Normal file
After Width: | Height: | Size: 693 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 534 B |
BIN
mods/vipworld/moretrees/textures/moretrees_rubber_tree_wood.png
Normal file
After Width: | Height: | Size: 435 B |