Compare commits

...

No commits in common. "pages" and "main" have entirely different histories.
pages ... main

49 changed files with 930 additions and 1821 deletions

View file

@ -1,3 +0,0 @@
www.freettrpg.org
freettrpg.patrick_pluto.codeberg.page
pages.freettrpg.patrick_pluto.codeberg.page

2
.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
# Godot 4+ specific ignores
.godot/
content/

14
.vscode/launch.json vendored
View file

@ -1,14 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "firefox",
"request": "launch",
"name": "Open index.html",
"file": "c:\\Users\\lucab\\Desktop\\freettrpg\\pages\\index.html"
}
]
}

183
LICENSE
View file

@ -1,68 +1,71 @@
GNU AFFERO GENERAL PUBLIC LICENSE GNU GENERAL PUBLIC LICENSE
Version 3, 19 November 2007 Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> Copyright © 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. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble Preamble
The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software. The GNU General Public License is a free, copyleft license for software and other kinds of works.
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License which gives you legal permission to copy, distribute and/or modify the software. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
A secondary benefit of defending all users' freedom is that improvements made in alternate versions of the program, if they receive widespread use, become available for other developers to incorporate. Many developers of free software are heartened and encouraged by the resulting cooperation. However, in the case of software used on network servers, this result may fail to come about. The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community. It requires the operator of a network server to provide the source code of the modified version running there to the users of that server. Therefore, public use of a modified version, on a publicly accessible server, gives the public access to the source code of the modified version. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
An older license, called the Affero General Public License and published by Affero, was designed to accomplish similar goals. This is a different license, not a version of the Affero GPL, but Affero has released a new version of the Affero GPL which permits relicensing under this license. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and modification follow. The precise terms and conditions for copying, distribution and modification follow.
TERMS AND CONDITIONS TERMS AND CONDITIONS
0. Definitions. 0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License. “This License” refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. “Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. “The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.
A "covered work" means either the unmodified Program or a work based on the Program. A “covered work” means either the unmodified Program or a work based on the Program.
To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
1. Source Code. 1. Source Code.
The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
subprograms and other parts of the work.
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same work. The Corresponding Source for a work in source code form is that same work.
2. Basic Permissions. 2. Basic Permissions.
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law. 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
@ -77,159 +80,153 @@ You may charge any price or no price for each copy that you convey, and you may
5. Conveying Modified Source Versions. 5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified it, and giving a relevant date. a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
6. Conveying Non-Source Forms. 6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. “Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
7. Additional Terms. 7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. “Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
8. Termination. 8. Termination.
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
9. Acceptance Not Required for Having Copies. 9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients. 10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
11. Patents. 11. Patents.
A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.
A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom. 12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may 13. Use with the GNU Affero General Public License.
not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph.
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License.
14. Revised Versions of this License. 14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of the GNU 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.
The Free Software Foundation may publish revised and/or new versions of the GNU Affero 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 Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
If the Program specifies that a proxy can decide which future versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
15. Disclaimer of Warranty. 15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability. 16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
17. Interpretation of Sections 15 and 16. 17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
pages FreeTTRPG
Copyright (C) 2024 interstellar_development Copyright (C) 2024 Patrick_Pluto
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero 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 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 Affero General Public License for more details. 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 Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail. Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>. FreeTTRPG Copyright (C) 2024 Patrick_Pluto
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.
You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <https://www.gnu.org/philosophy/why-not-lgpl.html>.

View file

@ -1,2 +1,22 @@
# FreeTTRPG-Website # Introducing FreeTTRPG
## A Swiss "Quality" Project
## The Game
Tired of the commercialization of tabletop role-playing games, we decided to take matters into our own hands. We're creating an open-source, community-driven TTRPG project that puts creativity and freedom back in the hands of players.
## Our Goal
Our project offers a game engine with a solid foundation of basic content and story packs to get you started. But that's just the beginning. We're also providing a powerful content creator tool that allows users to craft their own custom content packs. With this tool, you'll be able to create your own rules, characters, items, spells, attacks, and much more.
## A Community-Driven Platform
We're building a platform where users can share their content packs with the community. While sharing is encouraged, it's not required. You can keep your creations private or share them with the world the choice is yours.
## Join us
We're excited to share FreeTTRPG with the world and hope you'll join us on this journey. Together, let's create a TTRPG ecosystem that's open, inclusive, and driven by the passion of its community.
### Copyright Note:
The main game must be distributed as stated in the LICENSE file. Any content made for it can however be freely distributed under any license. Once we make the content creator for this game, any content made there will also be no restrictions on the content you make with that.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 B

View file

@ -1,186 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Björn - Dwarf Mage</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="character-sheet">
<h1>Björn - Dwarf Mage</h1>
<!-- Character Picture -->
<div class="character-picture">
<img src="../assets/player.png" alt="Björn">
</div>
<div class="section">
<h2>Basic Information</h2>
<ul>
<li><strong>Race:</strong> Dwarf</li>
<li><strong>Class:</strong> Mage (Level 1)</li>
</ul>
</div>
<div class="section">
<h2>Stats</h2>
<ul>
<li><strong>STR:</strong> 8 (-1)</li>
<li><strong>DEX:</strong> 12 (+1)</li>
<li><strong>CON:</strong> 10 (0)</li>
<li><strong>INT:</strong> 16 (+3)</li>
<li><strong>WIS:</strong> 14 (+2)</li>
<li><strong>CHA:</strong> 12 (+1)</li>
</ul>
</div>
<div class="section">
<h2>Proficiencies</h2>
<p>Arcana, History, Nature</p>
</div>
<div class="section">
<h2>Actions</h2>
<ul>
<li><strong>Cast a Spell:</strong> See spell list</li>
</ul>
</div>
<div class="section">
<h2>Bonus-action</h2>
<ul>
<li><strong>Dagger:</strong> +DEX+Prof, 1d4+DEX</li>
<li><strong>Dodge:</strong> Damage-halved</li>
<li><strong>Stone's Resilience:</strong> Touch an ally to grant them temporary hit points equal to 1d10 + mage level</li>
</ul>
</div>
<div class="section">
<h2>Reaction</h2>
<ul>
<li><strong>Earthquake Strike:</strong> When an enemy targets Björn or an ally within 30 feet with an attack, impose disadvantage on the attack roll.</li>
<li><strong>Reduce Harm:</strong> Reduce damage taken by an ally by 1d10 + level</li>
</ul>
</div>
<div class="section">
<h2>Race Feature</h2>
<ul>
<li><strong>Dwarven Resistance:</strong> Poison damage halved</li>
<li><strong>Healing Word:</strong> Ability to cast Healing Word</li>
<li><strong>Tremor Sense:</strong> Sense the location of creatures within 30 feet that are in contact with the ground</li>
<li><strong>Dwarven Fortitude:</strong> As a reaction, reduce the damage taken by an ally by 1d10 + level</li>
</ul>
</div>
<div class="section">
<h2>Spell Slots</h2>
<p>3x Longrest</p>
</div>
<div class="section">
<h2>Spell List</h2>
<h3>Level 0 (At Will Spells)</h3>
<table>
<tr>
<th>Name</th>
<th>Bonus to hit</th>
<th>Damage</th>
<th>Damage Type</th>
<th>Range</th>
</tr>
<tr>
<td>Firedagger</td>
<td>+INT+Prof</td>
<td>1d10+INT</td>
<td>Fire</td>
<td>120 feet</td>
</tr>
<tr>
<td>Icedagger</td>
<td>+INT+Prof</td>
<td>1d10+INT</td>
<td>Ice</td>
<td>120 feet</td>
</tr>
<tr>
<td>Stone Shard</td>
<td>+INT+Prof</td>
<td>1d8+INT</td>
<td>Bludgeoning</td>
<td>100 feet</td>
</tr>
<tr>
<td>Frostbite</td>
<td>+INT+Prof</td>
<td>1d6+INT</td>
<td>Cold</td>
<td>60 feet</td>
</tr>
<tr>
<td>Earthen Shield</td>
<td>-</td>
<td>8 Temporary HP</td>
<td>-</td>
<td>Self</td>
</tr>
</table>
<h3>Level 1 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Damage</th>
<th>Damage Type</th>
<th>Range</th>
</tr>
<tr>
<td>Magma Burst</td>
<td>Dex-save</td>
<td>3d6</td>
<td>Fire</td>
<td>60 feet / 15-foot radius</td>
</tr>
<tr>
<td>Stone Skin</td>
<td>-</td>
<td>Resistance</td>
<td>Non-magical bludgeoning, piercing, and slashing damage</td>
<td>30 feet</td>
</tr>
<tr>
<td>Earthbind</td>
<td>+INT+Prof</td>
<td>Restrained</td>
<td>-</td>
<td>60 feet</td>
</tr>
<tr>
<td>Create Flame</td>
<td>-</td>
<td>3d6</td>
<td>Fire</td>
<td>80 feet / 20-foot radius</td>
</tr>
<tr>
<td>Healing Word</td>
<td>-</td>
<td>1d8</td>
<td>Heal</td>
<td>30 feet</td>
</tr>
<tr>
<td>Counterspell</td>
<td>If roll higher than enemy, their spell doesn't work</td>
<td>-</td>
<td>-</td>
<td>30 feet</td>
</tr>
</table>
</div>
</div>
</body>
</html>

View file

@ -1,208 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Elara - Elf Ranger</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="character-sheet">
<h1>Elara - Elf Ranger</h1>
<!-- Character Picture -->
<div class="character-picture">
<img src="../assets/player.png" alt="Elara">
</div>
<!-- Basic Information Section -->
<div class="section">
<h2>Basic Information</h2>
<ul>
<li><strong>Race:</strong> Elf</li>
<li><strong>Class:</strong> Ranger (Level 1)</li>
</ul>
</div>
<!-- Stats Section -->
<div class="section">
<h2>Stats</h2>
<ul>
<li><strong>STR:</strong> 10 (+0)</li>
<li><strong>DEX:</strong> 14 (+2)</li>
<li><strong>CON:</strong> 12 (+1)</li>
<li><strong>INT:</strong> 10 (+0)</li>
<li><strong>WIS:</strong> 16 (+3)</li>
<li><strong>CHA:</strong> 8 (-1)</li>
</ul>
</div>
<!-- Proficiencies Section -->
<div class="section">
<h2>Proficiencies</h2>
<p>Animal Handling, Stealth, Survival</p>
</div>
<!-- Movement and Actions Section -->
<div class="section">
<h2>Movement and Actions</h2>
<ul>
<li><strong>Movement:</strong> 35</li>
<li><strong>Action:</strong> Shoot Longbow (see weapon list)</li>
</ul>
</div>
<!-- Bonus-action Section -->
<div class="section">
<h2>Bonus-action</h2>
<ul>
<li><strong>Dagger:</strong> +DEX+Prof, 1d4+2</li>
<li><strong>Hide:</strong> Become invisible</li>
</ul>
</div>
<!-- Reaction Section -->
<div class="section">
<h2>Reaction</h2>
<ul>
<li><strong>Parry:</strong> Reduce damage taken by 1d6 + level</li>
<li><strong>Swift Escape:</strong> When targeted by an attack, move up to half speed without provoking opportunity attacks</li>
</ul>
</div>
<!-- Race Features Section -->
<div class="section">
<h2>Race Feature</h2>
<ul>
<li><strong>Elven Agility:</strong> Advantage on DEX saves</li>
<li><strong>Trance:</strong> Elves don't need to sleep and meditate for 4 hours</li>
<li><strong>Fey Ancestry:</strong> Advantage on saving throws against being charmed, and magic can't put you to sleep</li>
<li><strong>Forest's Whisper:</strong> Communicate simple ideas with plants and animals within 30 feet</li>
</ul>
</div>
<!-- Spell Slots Section -->
<div class="section">
<h2>Spell Slots</h2>
<p>2x Longrest</p>
</div>
<!-- Spell List Section -->
<div class="section">
<h2>Spell List</h2>
<!-- Level 0 Spells -->
<h3>Level 0 (At Will Spells)</h3>
<table>
<tr>
<th>Name</th>
<th>Bonus to hit</th>
<th>Damage</th>
<th>Damage Type</th>
<th>Range</th>
</tr>
<tr>
<td>Thornwhip</td>
<td>+WIS+Prof</td>
<td>1d6+WIS</td>
<td>Piercing</td>
<td>30 feet</td>
</tr>
<tr>
<td>Mage Hand</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>30 feet</td>
</tr>
<tr>
<td>Guidance</td>
<td>-</td>
<td>1d4</td>
<td>-</td>
<td>Touch</td>
</tr>
<tr>
<td>Briar Arrow</td>
<td>+WIS+Prof</td>
<td>1d8+WIS</td>
<td>Piercing</td>
<td>60 feet</td>
</tr>
<tr>
<td>Gale Step</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>Self</td>
</tr>
</table>
<!-- Level 1 Spells -->
<h3>Level 1 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Damage</th>
<th>Damage Type</th>
<th>Range</th>
</tr>
<tr>
<td>Goodberry</td>
<td>-</td>
<td>1d4</td>
<td>Heal</td>
<td>30 feet</td>
</tr>
<tr>
<td>Hunter's Mark</td>
<td>-</td>
<td>1d6</td>
<td>Magic</td>
<td>90 feet</td>
</tr>
<tr>
<td>Entangle</td>
<td>STR-save</td>
<td>-</td>
<td>Restrained</td>
<td>20 feet / 20-foot radius</td>
</tr>
<tr>
<td>Ensnaring Strike</td>
<td>-</td>
<td>2d6</td>
<td>Piercing</td>
<td>60 feet / 10-foot radius</td>
</tr>
<tr>
<td>Nature's Grasp</td>
<td>WIS-save</td>
<td>-</td>
<td>Restrained</td>
<td>30 feet</td>
</tr>
<tr>
<td>Wind Slash</td>
<td>DEX-save</td>
<td>2d8</td>
<td>Slashing</td>
<td>30 feet</td>
</tr>
</table>
</div>
<!-- Abilities Section -->
<div class="section">
<h2>Abilities</h2>
<ul>
<li><strong>Swift Escape (Reaction):</strong> When Elara is targeted by an attack, she can use her reaction to move up to half her speed without provoking opportunity attacks.</li>
<li><strong>Woodland Stride (Bonus Action):</strong> Elara can move through nonmagical difficult terrain without expending extra movement.</li>
<li><strong>Forest's Whisper (Race Feature):</strong> Elara can communicate simple ideas with plants and animals within 30 feet.</li>
</ul>
</div>
</div>
</body>
</html>

View file

@ -1,271 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fantasy Characters</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Character Sheet for Gigachad -->
<div class="character-sheet">
<h1>Gigachad - Human Paladin</h1>
<!-- Character Picture -->
<div class="character-picture">
<img src="../assets/gigachad.png" alt="Gigachad">
</div>
<!-- Basic Information Section -->
<div class="section">
<h2>Basic Information</h2>
<ul>
<li><strong>Race:</strong> Human</li>
<li><strong>Class:</strong> Paladin (Level 20)</li>
</ul>
</div>
<!-- Stats Section -->
<div class="section">
<h2>Stats</h2>
<ul>
<li><strong>STR:</strong> 20 (+5)</li>
<li><strong>DEX:</strong> 14 (+2)</li>
<li><strong>CON:</strong> 18 (+4)</li>
<li><strong>INT:</strong> 10 (+0)</li>
<li><strong>WIS:</strong> 14 (+2)</li>
<li><strong>CHA:</strong> 20 (+5)</li>
</ul>
</div>
<!-- Proficiencies Section -->
<div class="section">
<h2>Proficiencies</h2>
<p>Athletics, Intimidation, Persuasion, Religion</p>
</div>
<!-- Movement and Actions Section -->
<div class="section">
<h2>Movement and Actions</h2>
<ul>
<li><strong>Movement:</strong> 30 ft</li>
<li><strong>Action:</strong> Attack with Greatsword (see weapon list)</li>
<li><strong>Bonus-action:</strong>
<ul>
<li>Divine Smite: Expend a spell slot to deal extra radiant damage</li>
<li>Shield of Faith: +2 AC for 10 minutes</li>
<li>Lay on Hands: Heal up to 100 HP (pool: level x 5)</li>
</ul>
</li>
<li><strong>Reaction:</strong>
<ul>
<li>Divine Sense: Detect celestial, fiend, or undead within 60 feet</li>
<li>Aura of Protection: Allies within 10 feet add +CHA to saving throws</li>
</ul>
</li>
</ul>
</div>
<!-- Race Features Section -->
<div class="section">
<h2>Race Feature</h2>
<ul>
<li><strong>Human Determination:</strong> Gain proficiency in one additional skill</li>
<li><strong>Versatility:</strong> Gain one extra feat at Level 1</li>
<li><strong>Resilience:</strong> Advantage on saving throws against being frightened</li>
</ul>
</div>
<!-- Feats Section -->
<div class="section">
<h2>Feats</h2>
<ul>
<li><strong>Great Weapon Master:</strong> Bonus attack on critical hit or kill, and can take a -5 penalty to hit for +10 damage</li>
<li><strong>Tough:</strong> +2 HP per level</li>
<li><strong>Inspiring Leader:</strong> Can spend 10 minutes inspiring allies, granting temporary HP equal to level + CHA modifier</li>
</ul>
</div>
<!-- Class Features Section -->
<div class="section">
<h2>Class Features</h2>
<ul>
<li><strong>Divine Health:</strong> Immune to disease</li>
<li><strong>Aura of Courage:</strong> Allies within 10 feet are immune to being frightened</li>
<li><strong>Aura of Devotion:</strong> Allies within 10 feet are immune to being charmed</li>
<li><strong>Cleansing Touch:</strong> End one spell on yourself or an ally within touch range (5 times per long rest)</li>
<li><strong>Improved Divine Smite:</strong> +1d8 radiant damage on melee attacks</li>
<li><strong>Lay on Hands:</strong> Heal up to 100 HP per long rest</li>
</ul>
</div>
<!-- Spell Slots Section -->
<div class="section">
<h2>Spell Slots</h2>
<ul>
<li>4x 1st-level spells per long rest</li>
<li>3x 2nd-level spells per long rest</li>
<li>3x 3rd-level spells per long rest</li>
<li>3x 4th-level spells per long rest</li>
<li>2x 5th-level spells per long rest</li>
</ul>
</div>
<!-- Spell List Section -->
<div class="section">
<h2>Spell List</h2>
<!-- Level 1 Spells -->
<h3>Level 1 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Radiant Strike</td>
<td>-</td>
<td>1d8+CHA radiant damage</td>
<td>Melee</td>
</tr>
<tr>
<td>Vow of the Ancients</td>
<td>-</td>
<td>Gain temporary HP equal to 1d8 + CHA</td>
<td>Self</td>
</tr>
</table>
<!-- Level 2 Spells -->
<h3>Level 2 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Sunburst</td>
<td>-</td>
<td>2d6 radiant damage; blinds enemies</td>
<td>60 feet / 10-foot radius</td>
</tr>
<tr>
<td>Divine Resilience</td>
<td>-</td>
<td>Reduce damage by 2d8</td>
<td>Self</td>
</tr>
</table>
<!-- Level 3 Spells -->
<h3>Level 3 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Holy Vengeance</td>
<td>-</td>
<td>3d8 radiant damage</td>
<td>Melee</td>
</tr>
<tr>
<td>Celestial Ward</td>
<td>-</td>
<td>Gain resistance to all damage for 1 minute</td>
<td>Self</td>
</tr>
</table>
<!-- Level 4 Spells -->
<h3>Level 4 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Wrath of the Gods</td>
<td>-</td>
<td>4d8 radiant damage</td>
<td>30 feet / 15-foot radius</td>
</tr>
<tr>
<td>Divine Intervention</td>
<td>-</td>
<td>Heal 4d8 HP</td>
<td>60 feet</td>
</tr>
</table>
<!-- Level 5 Spells -->
<h3>Level 5 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Judgement</td>
<td>-</td>
<td>5d8 radiant damage</td>
<td>60 feet</td>
</tr>
<tr>
<td>Ascended Form</td>
<td>-</td>
<td>Gain immunity to all damage for 1 minute</td>
<td>Self</td>
</tr>
</table>
</div>
<!-- Weapon List Section -->
<div class="section">
<h2>Weapon List</h2>
<table>
<tr>
<th>Name</th>
<th>Attack Bonus</th>
<th>Damage</th>
<th>Properties</th>
</tr>
<tr>
<td>Greatsword</td>
<td>+5 (STR + Prof)</td>
<td>2d6 + 5 slashing</td>
<td>Two-handed</td>
</tr>
<tr>
<td>Warhammer</td>
<td>+5 (STR + Prof)</td>
<td>1d8 + 5 bludgeoning</td>
<td>Versatile (1d10)</td>
</tr>
<tr>
<td>Javelin</td>
<td>+5 (STR + Prof)</td>
<td>1d6 + 5 piercing</td>
<td>Range 30/120 feet</td>
</tr>
</table>
</div>
<!-- End of Character Sheet -->
</div>
</body>
</html>

View file

@ -1,160 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fantasy Characters</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Character Sheet for Lyra -->
<div class="character-sheet">
<h1>Lyra - Tiefling Bard</h1>
<!-- Character Picture -->
<div class="character-picture">
<img src="../assets/player.png" alt="Lyra">
</div>
<!-- Basic Information Section -->
<div class="section">
<h2>Basic Information</h2>
<ul>
<li><strong>Race:</strong> Tiefling</li>
<li><strong>Class:</strong> Bard (Level 1)</li>
<li><strong>Alignment:</strong> Neutral Good</li>
<li><strong>Background:</strong> Entertainer</li>
</ul>
</div>
<!-- Stats Section -->
<div class="section">
<h2>Stats</h2>
<ul>
<li><strong>STR:</strong> 8 (-1)</li>
<li><strong>DEX:</strong> 14 (+2)</li>
<li><strong>CON:</strong> 12 (+1)</li>
<li><strong>INT:</strong> 12 (+1)</li>
<li><strong>WIS:</strong> 10 (+0)</li>
<li><strong>CHA:</strong> 16 (+3)</li>
</ul>
</div>
<!-- Proficiencies Section -->
<div class="section">
<h2>Proficiencies</h2>
<ul>
<li><strong>Skills:</strong> Performance, Persuasion, Deception</li>
<li><strong>Tools:</strong> Musical Instrument (Violin)</li>
<li><strong>Languages:</strong> Common, Infernal, Elvish</li>
</ul>
</div>
<!-- Movement and Actions Section -->
<div class="section">
<h2>Movement and Actions</h2>
<ul>
<li><strong>Movement:</strong> 30 ft</li>
<li><strong>Action:</strong> Cast a spell (see spell list)</li>
<li><strong>Bonus-action:</strong>
<ul>
<li>Inspiration: Grant a d6 to an ally's skill check, attack roll, or saving throw (3 uses per short rest)</li>
<li>Dagger Attack: +DEX modifier to hit, 1d4+2 piercing damage</li>
<li>Healing Word: Restore 1d4+CHA HP to an ally within 60 feet (2 uses per long rest)</li>
</ul>
</li>
<li><strong>Reaction:</strong>
<ul>
<li>Cutting Words: Use a Bardic Inspiration die to subtract from an enemy's attack roll, skill check, or damage roll</li>
</ul>
</li>
</ul>
</div>
<!-- Race Features Section -->
<div class="section">
<h2>Race Feature</h2>
<ul>
<li><strong>Hellish Resistance:</strong> Resistance to fire damage</li>
<li><strong>Infernal Legacy:</strong> Can cast minor illusions at will; at 3rd level, can cast a minor fire spell once per long rest</li>
<li><strong>Darkvision:</strong> See in darkness up to 60 feet</li>
</ul>
</div>
<!-- Spell Slots Section -->
<div class="section">
<h2>Spell Slots</h2>
<p>2x Per Long Rest</p>
</div>
<!-- Spell List Section -->
<div class="section">
<h2>Spell List</h2>
<table>
<h3>Cantrips (At Will)</h3>
<tr>
<th>Name</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Illusionary Image</td>
<td>Create a minor illusion of an object or sound</td>
<td>30 feet</td>
</tr>
<tr>
<td>Disguise Self</td>
<td>Change appearance</td>
<td>Self</td>
</tr>
<tr>
<td>Mending</td>
<td>Repair a broken object</td>
<td>Touch</td>
</tr>
</table>
<table>
<h3>Level 1 Spells</h3>
<tr>
<th>Name</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Soothing Melody</td>
<td>Heal an ally for 1d4+CHA HP; grants 1d6 temporary hit points</td>
<td>60 feet</td>
</tr>
<tr>
<td>Charm Person</td>
<td>Enchant a person to be friendly towards you</td>
<td>30 feet</td>
</tr>
<tr>
<td>Heroic Ballad</td>
<td>Inspire allies within 30 feet, granting them advantage on their next attack roll or saving throw</td>
<td>30 feet</td>
</tr>
<tr>
<td>Thunderous Applause</td>
<td>Disorient enemies within a 15-foot radius, causing them to be stunned for 1 round</td>
<td>Self</td>
</tr>
</table>
</div>
<!-- Abilities Section -->
<div class="section">
<h2>Abilities</h2>
<ul>
<li><strong>Soothing Melody:</strong> Lyra can use her musical abilities to calm emotions and heal wounds (3 uses per long rest).</li>
<li><strong>Bardic Knowledge:</strong> Lyra has extensive knowledge of myths, legends, and lore, granting her advantage on Intelligence checks related to history, arcana, or local customs.</li>
<li><strong>Entertainer's Expertise:</strong> Lyra can entertain and captivate an audience, gaining advantage on Performance checks and doubling her proficiency bonus when performing.</li>
<li><strong>Quick Wit:</strong> Once per short rest, Lyra can take an additional reaction on her turn.</li>
</ul>
</div>
</div>
</body>
</html>

View file

@ -1,81 +0,0 @@
/* Reset default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background: #f5f5f5 url("../assets/background.jpg") no-repeat fixed center;
background-size: cover;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}
h1,
h2,
h3{
margin: 10px 0 10px;
padding: 10px 0 10px;
}
/* Basic styling for the character sheet */
.character-sheet {
max-width: 800px;
margin: 20px auto;
padding: 20px;
background-color: #f0f0f0;
border: 1px solid #ccc;
border-radius: 5px;
font-family: Arial, sans-serif;
}
.character-sheet h1 {
text-align: center;
margin-bottom: 20px;
}
.section {
margin-bottom: 20px;
}
.section h2 {
border-bottom: 1px solid #ccc;
padding-bottom: 5px;
margin-bottom: 10px;
}
.section ul, .section table {
list-style-type: none;
padding: 0;
}
.section ul li {
margin-bottom: 5px;
}
.section table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
.section table th, .section table td {
padding: 8px;
text-align: left;
border: 1px solid #ccc;
}
.character-picture {
text-align: center;
margin-bottom: 20px;
}
.character-picture img {
width: 128px;
height: auto;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

View file

@ -1,130 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tharok - Human Fighter</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="character-sheet">
<h1>Tharok - Human Fighter</h1>
<!-- Character Picture -->
<div class="character-picture">
<img src="../assets/tharok.png" alt="Tharok">
</div>
<!-- Basic Information Section -->
<div class="section">
<h2>Basic Information</h2>
<ul>
<li><strong>Race:</strong> Human</li>
<li><strong>Class:</strong> Fighter (Level 1)</li>
</ul>
</div>
<!-- Stats Section -->
<div class="section">
<h2>Stats</h2>
<ul>
<li><strong>STR:</strong> 16 (+3)</li>
<li><strong>DEX:</strong> 12 (+1)</li>
<li><strong>CON:</strong> 14 (+2)</li>
<li><strong>INT:</strong> 10 (+0)</li>
<li><strong>WIS:</strong> 12 (+1)</li>
<li><strong>CHA:</strong> 10 (+0)</li>
</ul>
</div>
<!-- Proficiencies Section -->
<div class="section">
<h2>Proficiencies</h2>
<ul>
<li><strong>Skills:</strong> Athletics, Intimidation, Perception</li>
</ul>
</div>
<!-- Movement and Actions Section -->
<div class="section">
<h2>Movement and Actions</h2>
<ul>
<li><strong>Movement:</strong> 30 ft</li>
<li><strong>Action:</strong> Attack with Longsword (see weapon list)</li>
<li><strong>Bonus-action:</strong>
<ul>
<li>Second Wind: Regain 1d10+level HP (Once per short rest)</li>
<li>Dagger Attack: +DEX+Prof, 1d4+1 piercing damage</li>
</ul>
</li>
<li><strong>Reaction:</strong>
<ul>
<li>Parry: Reduce damage taken by 1d6+level</li>
</ul>
</li>
</ul>
</div>
<!-- Race Features Section -->
<div class="section">
<h2>Race Features</h2>
<ul>
<li><strong>Human Determination:</strong> Gain proficiency in one additional skill</li>
<li><strong>Versatility:</strong> Gain one extra feat at Level 1</li>
<li><strong>Resilience:</strong> Advantage on saving throws against being frightened</li>
</ul>
</div>
<!-- Feats Section -->
<div class="section">
<h2>Feats</h2>
<ul>
<li><strong>Great Weapon Fighting:</strong> Reroll 1s and 2s on damage dice with melee weapons wielded in two hands</li>
</ul>
</div>
<!-- Combat Skills Section -->
<div class="section">
<h2>Combat Skills</h2>
<ul>
<li><strong>Second Wind:</strong> Once per short rest, regain 1d10+level HP as a bonus action</li>
<li><strong>Action Surge:</strong> Once per short rest, take one additional action on your turn</li>
</ul>
</div>
<!-- Weapon List Section -->
<div class="section">
<h2>Weapon List</h2>
<table>
<tr>
<th>Name</th>
<th>Attack</th>
<th>Damage</th>
<th>Type</th>
</tr>
<tr>
<td>Longsword</td>
<td>+STR+Prof</td>
<td>1d8+3</td>
<td>Slashing</td>
</tr>
<tr>
<td>Greatsword</td>
<td>+STR+Prof</td>
<td>2d6+3</td>
<td>Slashing</td>
</tr>
<tr>
<td>Dagger</td>
<td>+DEX+Prof</td>
<td>1d4+1</td>
<td>Piercing</td>
</tr>
</table>
</div>
</div>
</body>
</html>

View file

@ -1,67 +0,0 @@
<!--
freettrpg website
Copyright (C) 2024 interstellar_development
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FreeTTRPG</title>
<link rel="stylesheet" href="style.css" />
<script src="header-download.js" type="text/javascript" defer></script>
<script src="java.js" type="text/javascript" defer></script>
</head>
<body>
<header-component></header-component>
<article>
<section id="section1">
<h1>Go to our codeberg website</h1>
<a href="https://codeberg.org/Patrick_Pluto/FreeTTRPG.git">
<button type="button">Our source code</button>
</a>
</section>
<section id="section2">
<h1>git clone</h1>
<p class="code-box">
$ git clone https://interstellardevelopment.org/code/interstellar_development/freettrpg.git
</p>
<p>
Clone the FreeTTRPG repository from Codeberg to your local machine.
</p>
</section>
<section id="section3">
<h1>move into the repository</h1>
<p class="code-box">$ cd FreeTTRPG</p>
<p>Display the contents of the license file (`LICENSE`).</p>
</section>
<section id="section4">
<h1>read through our license</h1>
<p class="code-box">$ less LICENSE</p>
<p>Move the bash console into the newly created repository</p>
</section>
</article>
<footer>
<br />
<br />
</footer>
</body>
</html>

62
export_presets.cfg Normal file
View file

@ -0,0 +1,62 @@
[preset.0]
name="Windows Desktop"
platform="Windows Desktop"
runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../Desktop/debug.exe"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
[preset.0.options]
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
texture_format/bptc=true
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
binary_format/architecture="x86_64"
codesign/enable=false
codesign/timestamp=true
codesign/timestamp_server_url=""
codesign/digest_algorithm=1
codesign/description=""
codesign/custom_options=PackedStringArray()
application/modify_resources=true
application/icon=""
application/console_wrapper_icon=""
application/icon_interpolation=4
application/file_version=""
application/product_version=""
application/company_name=""
application/product_name=""
application/file_description=""
application/copyright=""
application/trademarks=""
application/export_angle=0
ssh_remote_deploy/enabled=false
ssh_remote_deploy/host="user@host_ip"
ssh_remote_deploy/port="22"
ssh_remote_deploy/extra_args_ssh=""
ssh_remote_deploy/extra_args_scp=""
ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}'
$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}'
$trigger = New-ScheduledTaskTrigger -Once -At 00:00
$settings = New-ScheduledTaskSettingsSet
$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings
Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true
Start-ScheduledTask -TaskName godot_remote_debug
while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 }
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue"
ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue
Remove-Item -Recurse -Force '{temp_dir}'"

View file

@ -1,49 +0,0 @@
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
/*
* freettrpg website
* Copyright (C) 2024 interstellar_development
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
class Header extends HTMLElement {
constructor() {
super();
}
connectedCallback() {
this.innerHTML = `
<style>
</style>
<header>
<div class="header-content">
<div><a href="index.html" class="project-name">FreeTTRPG</a></div>
<button class="burger-menu" onclick="toggleMenu()"></button>
</div>
</header>
<div class="div-menu">
<ul class="menu">
<li><a href="#section1">Our Website</a></li>
<li><a href="#section2">Cloning</a></li>
<li><a href="#section3">Move into the folder</a></li>
<li><a href="#section4">Read the license</a></li>
</ul>
</div>
`;
}
}
customElements.define('header-component', Header);
// @license-end

View file

@ -1,52 +0,0 @@
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
/*
* freettrpg website
* Copyright (C) 2024 interstellar_development
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
class Header extends HTMLElement {
constructor() {
super();
}
connectedCallback() {
this.innerHTML = `
<style>
</style>
<header>
<div class="header-content">
<div><a href="index.html" class="project-name">FreeTTRPG</a></div>
<button class="burger-menu" onclick="toggleMenu()"></button>
</div>
</header>
<div class="div-menu">
<ul class="menu">
<li><a href="#section1">The Game</a></li>
<li><a href="#section2">Our Goal</a></li>
<li><a href="#section3">Community-Driven Platform</a></li>
<li><a href="#section4">Join Us</a></li>
<li><a href="#section5">Our Code</a></li>
<li><a href="#section6">Copyright Note</a></li>
<li><a href="#section7">Game Assets</a></li>
</ul>
</div>
`;
}
}
customElements.define('header-component', Header);
// @license-end

View file

@ -1,155 +0,0 @@
<!--
freettrpg website
Copyright (C) 2024 interstellar_development
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FreeTTRPG</title>
<link rel="stylesheet" href="style.css" />
<script src="header.js" type="text/javascript" defer></script>
<script src="java.js" type="text/javascript" defer></script>
</head>
<body>
<header-component></header-component>
<article>
<section id="section1">
<h1>The Game</h1>
<p>
Tired of the commercialization of tabletop role-playing games, we
decided to take matters into our own hands. We're creating an
open-source, community-driven TTRPG project that puts creativity and
freedom back in the hands of players.
</p>
<img src="assets/game.png" alt="current game version" />
<p class="no-margin">Current game version</p>
</section>
<section id="section2">
<h1>Our Goal</h1>
<p>
Our project offers a game engine with a solid foundation of basic
content and story packs to get you started. But that's just the
beginning. We're also providing a powerful content creator tool that
allows users to craft their own custom content packs. With this tool,
you'll be able to create your own rules, characters, items, spells,
attacks, and much more.
</p>
</section>
<section id="section3">
<h1>Community-Driven Platform</h1>
<p>
We're building a platform where users can share their content packs
with the community. While sharing is encouraged, it's not required.
You can keep your creations private or share them with the world the
choice is yours.
</p>
</section>
<section id="section4">
<h1>Join Us</h1>
<p>
We're excited to share FreeTTRPG with the world and hope you'll join
us on this journey. Together, let's create a TTRPG ecosystem that's
open, inclusive, and driven by the passion of its community.
</p>
</section>
<section id="section5">
<h1>Our Code</h1>
<p>
The entire code for FreeTTRPG is publicly saved and available. To download out project please follow the instructions from the download page.
</p>
<a href="download.html" target="_blank">
<button type="button">Download</button>
</a>
</section>
<section id="section6">
<h2>
Copyright Note
</h2>
<p>
The main game must be distributed as stated in the LICENSE file. Any content made for it can however be freely distributed under any license. Once we make the content creator for this game, any content made there will also have no restrictions on the content you make with it.
</p>
</section>
<section id="section7">
<h1>Our Game Assets</h1>
<h2>Our characters</h2>
<div class="cards">
<a href="charackters/gigachad.html" class="card">
<img src="assets/gigachad.png" alt="Gigachad" />
<h3>Gigachad</h3>
<p>Our test human paladin on maximum level</p>
</a>
<a href="charackters/tharok.html" class="card">
<img src="assets/tharok.png" alt="Tharok" />
<h3>Tharok</h3>
<p>Our test human fighter on starting level</p>
</a>
<a href="charackters/bjoern.html" class="card">
<img src="assets/player.png" alt="Blank Card" />
<h3>Björn</h3>
<p>Our test dwarven Mage at starting level</p>
</a>
<a href="charackters/elara.html" class="card">
<img src="assets/player.png" alt="Blank Card" />
<h3>Elara</h3>
<p>Our test elf Ranger at starting level</p>
</a>
<a href="charackters/lyra.html" class="card">
<img src="assets/player.png" alt="Blank Card" />
<h3>Lyra</h3>
<p>Out test tiefling bard at starting level</p>
</a>
</div>
<h2>Our textures</h2>
<div class="cards">
<a href="#section7" class="card">
<img src="assets/water.png" alt="Water Texture" />
<h3>Water</h3>
<p>Our water texture that is incomplete</p>
</a>
<a href="#section7" class="card">
<img src="assets/grass.png" alt="Grass Texture" />
<h3>Grass</h3>
<p>Our grass texture that is incomplete</p>
</a>
<a href="#section7" class="card">
<img src="assets/sand.png" alt="Blank Card" />
<h3>sand</h3>
<p>Our sand texture that is incomplete</p>
</a>
<!-- To create new cards use this template
<a href="https://www.example5.com" class="card">
<img src="assets/blank.png" alt="Blank Card" />
<h3>Blank Card 5</h3>
<p>Description for Blank Card 5</p>
</a> -->
</div>
</section>
</article>
<footer>
<br />
<br />
</footer>
</body>
</html>

39
java.js
View file

@ -1,39 +0,0 @@
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
/*
* freettrpg website
* Copyright (C) 2024 interstellar_development
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
function toggleMenu() {
const menu = document.querySelector(".menu");
menu.classList.toggle("active");
// Add event listener to close menu when clicking anywhere on the document
if (menu.classList.contains("active")) {
document.addEventListener("click", closeMenu);
} else {
document.removeEventListener("click", closeMenu);
}
}
function closeMenu(event) {
const menu = document.querySelector(".menu");
if (!menu.contains(event.target) && !event.target.classList.contains("burger-menu")) {
menu.classList.remove("active");
document.removeEventListener("click", closeMenu);
}
}
// @license-end

64
project.godot Normal file
View file

@ -0,0 +1,64 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="FreeTTRPG"
run/main_scene="res://scenes/menu/main.tscn"
config/features=PackedStringArray("4.2", "GL Compatibility")
config/icon="res://icon.svg"
[autoload]
Load="*res://scripts/load.gd"
Save="*res://scripts/save.gd"
Content="*res://scripts/content.gd"
Ui="*res://scripts/ui.gd"
[display]
window/size/viewport_width=800
window/size/viewport_height=500
window/stretch/mode="canvas_items"
window/stretch/aspect="expand"
[input]
left={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"echo":false,"script":null)
]
}
right={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"echo":false,"script":null)
]
}
up={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"echo":false,"script":null)
]
}
down={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"echo":false,"script":null)
]
}
escape={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"echo":false,"script":null)
]
}
[rendering]
textures/canvas_textures/default_texture_filter=0
renderer/rendering_method="gl_compatibility"
renderer/rendering_method.mobile="gl_compatibility"

30
scenes/map/map.tscn Normal file
View file

@ -0,0 +1,30 @@
[gd_scene load_steps=3 format=3 uid="uid://mie5ckydb8k5"]
[ext_resource type="PackedScene" uid="uid://brmtkn1ddxrp1" path="res://testing/test/level.tscn" id="1_sw0jh"]
[ext_resource type="PackedScene" uid="uid://btl7r0wvecyd3" path="res://scenes/menu/view.tscn" id="2_7des0"]
[node name="map" type="Node2D"]
[node name="level" parent="." instance=ExtResource("1_sw0jh")]
[node name="characterViewer" parent="." instance=ExtResource("2_7des0")]
visible = false
anchors_preset = 0
anchor_right = 0.0
anchor_bottom = 0.0
offset_right = 800.0
offset_bottom = 500.0
grow_horizontal = 1
grow_vertical = 1
[node name="back" type="Button" parent="."]
visible = false
offset_left = 512.0
offset_top = 400.0
offset_right = 638.0
offset_bottom = 435.0
scale = Vector2(2, 2)
disabled = true
text = "Back to game"
[connection signal="pressed" from="back" to="level" method="_on_back_pressed"]

39
scenes/menu/create.tscn Normal file
View file

@ -0,0 +1,39 @@
[gd_scene load_steps=2 format=3 uid="uid://b6t6yd7qnid1i"]
[ext_resource type="Script" path="res://scripts/createStats.gd" id="1_xsj3b"]
[node name="characterCreator" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_xsj3b")
[node name="button" type="Button" parent="."]
layout_mode = 0
offset_left = 512.0
offset_top = 400.0
offset_right = 638.0
offset_bottom = 435.0
scale = Vector2(2, 2)
text = "Send"
[node name="ScrollContainer" type="ScrollContainer" parent="."]
layout_mode = 1
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -400.0
offset_right = 104.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[connection signal="pressed" from="button" to="." method="_on_button_pressed"]

View file

@ -0,0 +1,6 @@
[gd_scene format=3 uid="uid://rkl6u7cdusys"]
[node name="Input-output" type="TextEdit"]
offset_right = 168.0
offset_bottom = 40.0
scale = Vector2(2, 2)

57
scenes/menu/main.tscn Normal file
View file

@ -0,0 +1,57 @@
[gd_scene load_steps=2 format=3 uid="uid://0eb22uw5jthn"]
[ext_resource type="Script" path="res://scripts/menu.gd" id="1_xc6y7"]
[node name="mainMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_xc6y7")
[node name="Button" type="Button" parent="."]
layout_mode = 0
offset_right = 96.0
offset_bottom = 32.0
scale = Vector2(4, 4)
text = "Play"
[node name="Button2" type="Button" parent="."]
layout_mode = 0
offset_top = 184.0
offset_right = 96.0
offset_bottom = 216.0
scale = Vector2(4, 4)
text = "View
"
[node name="Button3" type="Button" parent="."]
layout_mode = 0
offset_top = 368.0
offset_right = 96.0
offset_bottom = 400.0
scale = Vector2(4, 4)
text = "Creator"
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = 456.0
offset_top = 432.0
offset_right = 571.0
offset_bottom = 455.0
scale = Vector2(3, 3)
text = "Milestone 1 b5"
[node name="Label2" type="Label" parent="."]
layout_mode = 0
offset_left = 544.0
offset_right = 629.0
offset_bottom = 23.0
scale = Vector2(3, 3)
text = "FreeTTRPG"
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
[connection signal="pressed" from="Button2" to="." method="_on_button_2_pressed"]
[connection signal="pressed" from="Button3" to="." method="_on_button_3_pressed"]

39
scenes/menu/view.tscn Normal file
View file

@ -0,0 +1,39 @@
[gd_scene load_steps=2 format=3 uid="uid://btl7r0wvecyd3"]
[ext_resource type="Script" path="res://scripts/getStats.gd" id="1_dcehj"]
[node name="characterViewer" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_dcehj")
[node name="button" type="Button" parent="."]
layout_mode = 2
offset_left = 512.0
offset_top = 400.0
offset_right = 638.0
offset_bottom = 435.0
scale = Vector2(2, 2)
text = "Get"
[node name="ScrollContainer" type="ScrollContainer" parent="."]
layout_mode = 1
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -400.0
offset_right = 104.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[connection signal="pressed" from="button" to="." method="_on_button_pressed"]

12
scripts/content.gd Normal file
View file

@ -0,0 +1,12 @@
extends Node
# Variable to store the path from which JSON data is loaded
var loadPath
# Variable to store the loaded JSON data
var data
# Currently placeholder function, to be deprecated once custom content loading is enabled.
func _ready():
loadPath = "res://content/stats.json"
data = Load.loadJSON(loadPath)

31
scripts/createStats.gd Normal file
View file

@ -0,0 +1,31 @@
extends Node
# Variable to store loaded JSON data
var data
var amount
# Get all needed things for Ui.placeFields and save amount from it.
func _ready():
data = Content.data
var container = $"ScrollContainer/VBoxContainer"
Ui.placeFields(data, container, true)
amount = data.get("amount")
# Upon pressing the "Send" button
func _on_button_pressed():
# Create the save path based on which ID was entered
var savePath = "user://player_" + $"ScrollContainer/VBoxContainer".get_child(0).text + ".json"
# Get data from the fields to save, except the first one, which is the ID and should be used in the filename.
var saveData = {}
for i in range(int(data.get("amount"))):
if i > 0:
saveData[data.get(str(i))] = $"ScrollContainer/VBoxContainer".get_child(i).text
# Call the global save function
Save.saveJSON(savePath, saveData)
# Only for the Main Menu "shortcut"
func _process(delta):
if Input.is_action_pressed("escape"):
get_tree().change_scene_to_file("res://scenes/menu/main.tscn")

37
scripts/getStats.gd Normal file
View file

@ -0,0 +1,37 @@
extends Node
# Variable to store loaded JSON data
var data
var amount
# Get all needed things for Ui.placeFields and save amount from it.
func _ready():
data = Content.data
var container = $"ScrollContainer/VBoxContainer"
Ui.placeFields(data, container, false)
amount = data.get("amount")
# Upon pressing the "Get" button, also called in game
func _on_button_pressed():
# Construct save path based on user input
var savePath = "user://player_" + $"ScrollContainer/VBoxContainer".get_child(0).text + ".json"
# Load JSON data from the constructed save path
data = Load.loadJSON(savePath)
# Check if data is successfully loaded (type 27 corresponds to Dictionary in Godot, although the wiki says it's 18...)
if typeof(data) == 27:
# Populate fields with loaded data
for i in range(int(amount) - 1):
$"ScrollContainer/VBoxContainer".get_child(i + 1).text = data.get(str($"ScrollContainer/VBoxContainer".get_child(i + 1).placeholder_text))
# Only for the Main Menu "shortcut"
func _process(_delta):
# Check if the Escape key is pressed to change scene to main.tscn
if Input.is_action_pressed("escape"):
get_tree().change_scene_to_file("res://scenes/menu/main.tscn")
# Function to hide the 'get' button
func hideGet():
$button.visible = false
$button.disabled = true

26
scripts/load.gd Normal file
View file

@ -0,0 +1,26 @@
extends Node
# Function to load JSON data from a file
func loadJSON(savePath):
# Check if the file exists
if not FileAccess.file_exists(savePath):
return 1 # Return error code 1 if file does not exist
# Open the file for reading
var fileAccess = FileAccess.open(savePath, FileAccess.READ)
# Read the entire JSON string from the file
var jsonString = fileAccess.get_line()
fileAccess.close() # Close the file
# Create a new JSON instance
var json = JSON.new()
# Parse the JSON string into a JSON object
var error = json.parse(jsonString)
if error:
return 1 # Return error code 1 if there was an error parsing JSON
return json.data # Return the loaded data

57
scripts/mapscript.gd Normal file
View file

@ -0,0 +1,57 @@
extends Node2D
# Number of players and current player index
var playerAmount = 2
var playerIndex = 0
# Variable to hold the current player's object name
var objectName
# Kick the game off
func _ready():
# Hide character viewer GUI initially
$"../characterViewer".hideGet()
# Start cycling through players
next()
# Function to switch to the next player
func next():
if playerIndex >= playerAmount:
playerIndex = 0
# Construct object name based on player index
objectName = "player%d" % playerIndex
# Start the current player's activity
get_node(objectName).start()
playerIndex += 1 # Move to the next player index
# Function to display statistics, lots of relative links, may change eventually
func stats():
visible = false # Hide game area
$"../characterViewer".visible = true
get_node(objectName).stop()
# Activate back button
$"../back".disabled = false
$"../back".visible = true
# Update player index display in character viewer
$"../characterViewer/ScrollContainer/VBoxContainer".get_child(0).text = str(playerIndex - 1)
$"../characterViewer/ScrollContainer/VBoxContainer".get_child(0).editable = false
# Simulate button press in character viewer (assuming this triggers further actions)
$"../characterViewer"._on_button_pressed()
# Function to restart the node's state
func restart():
visible = true # Show game area
$"../characterViewer".visible = false
get_node(objectName).start()
# Activate back button
$"../back".disabled = true
$"../back".visible = false
# Handler for when the back button is pressed
func _on_back_pressed():
restart() # Gives control back to the current player character

13
scripts/menu.gd Normal file
View file

@ -0,0 +1,13 @@
extends Node
# Function called when "Play" is pressed
func _on_button_pressed():
get_tree().change_scene_to_file("res://scenes/map/map.tscn")
# Function called when "View" is pressed
func _on_button_2_pressed():
get_tree().change_scene_to_file("res://scenes/menu/view.tscn")
# Function called when "Create" is pressed
func _on_button_3_pressed():
get_tree().change_scene_to_file("res://scenes/menu/create.tscn")

55
scripts/player.gd Normal file
View file

@ -0,0 +1,55 @@
extends CharacterBody2D
@export var speed = 200
# Distance traveled accumulator
var distanceTo = 0
# Flag to indicate if the character is currently the active player.
var active = false
# Function to handle user input
func get_input():
# Main Menu "shortcut"
if Input.is_action_pressed("escape"):
get_tree().change_scene_to_file("res://scenes/menu/main.tscn")
# Get directional input and set velocity accordingly
var input_direction = Input.get_vector("left", "right", "up", "down")
velocity = input_direction * speed
func _physics_process(delta):
# Store current position for distance calculation
var toCalculate = position
# Process input if the character is active
if active:
get_input()
move_and_slide()
# Accumulate distance traveled
distanceTo += position.distance_to(toCalculate)
# Check if distance threshold is exceeded and the character is active
if distanceTo > 500 and active:
stop()
distanceTo = 0
get_parent().next() # Go to the next player
# Set main character as active
func start():
$camera.enabled = true
active = true
$stats.disabled = false
$stats.visible = true
# Set main character as inactive
func stop():
$camera.enabled = false
active = false
$stats.disabled = true
$stats.visible = false
# Handler for when the stats button is pressed
func _on_stats_pressed():
get_parent().stats() # Open up the stats menu for the current player

21
scripts/save.gd Normal file
View file

@ -0,0 +1,21 @@
extends Node
# Function to save data in JSON format to a specified path
func saveJSON(savePath, saveData):
# Convert the saveData dictionary to a JSON string
var jsonString = JSON.stringify(saveData)
# Attempt to open a file for writing at the specified savePath
var fileAccess = FileAccess.open(savePath, FileAccess.WRITE)
# Check if the file was successfully opened
if not fileAccess:
# If not, print an error message with the reason for the failure and return an error code
print("An error happened while saving data: ", FileAccess.get_open_error())
return 1
# Write the JSON string to the file
fileAccess.store_line(jsonString)
# Close the file to ensure all data is properly saved and resources are freed
fileAccess.close()

21
scripts/ui.gd Normal file
View file

@ -0,0 +1,21 @@
extends Node
# Loading the stat field
var field = preload("res://scenes/menu/inputOutput.tscn")
# Creating all necessary stat fields
func placeFields(data, container, isWriteable):
# Load which stats should be displayed
# Create the fields one-by-one
for i in range(int(data.get("amount"))):
var fieldInstance = field.instantiate()
container.add_child(fieldInstance)
# Changes their placeholder based on what should be entered or seen in that field
container.get_child(i).placeholder_text = data.get(str(i))
container.get_child(i).custom_minimum_size.y = 40
# Every field except ID (if not isWriteable)
if i > 0 and !isWriteable:
container.get_child(i).editable = false

312
style.css
View file

@ -1,312 +0,0 @@
/*
freettrpg website
Copyright (C) 2024 interstellar_development
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/* Reset and global styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: "Roboto", Arial, sans-serif;
transition: 0.5s; /* Smooth transitions */
}
/* Body styles */
body {
background-color: #f9f9f9;
background: #f5f5f5 url("assets/background.jpg") no-repeat fixed center;
background-size: cover;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
margin: 0;
padding: 0;
}
/* Header styles */
header {
background-color: #211c1c;
width: 100%;
position: fixed;
top: 0;
left: 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
padding: 0; /* Further reduce the padding */
height: auto;
z-index: 10; /* Higher z-index to ensure it is above other elements */
height: 5em;
}
.div-menu{
z-index: 1;
background-color: #211c1c;
width: 100%;
position: fixed;
top: 0;
left: 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
padding: 0;
height: auto;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
flex-direction: row;
padding: 0 20px; /* Original padding */
z-index: 10;
}
.div-menu li {
margin: 1;
z-index: 1;
padding: 1em;
}
.div-menu a {
width: 100%;
padding: 12px 0;
text-align: center; /* Center align the menu items */
color: #ffffff;
text-decoration: none;
padding: 8px; /* Smaller padding */
border-radius: 5px;
transition: background-color 0.3s ease;
justify-content: center;
z-index: 1;
}
.div-menu a:hover {
background-color: #34495e;
}
.project-name {
text-decoration: none;
color: #ffffff;
font-size: 1.5em; /* Updated font size */
font-weight: bold;
z-index: 11; /* Higher z-index to ensure it is above the menu */
}
.burger-menu {
background: none;
border: none;
color: #ffffff;
font-size: 1.5em; /* Updated font size */
cursor: pointer;
display: block;
padding: 0;
z-index: 12; /* Higher z-index to ensure it is above the menu */
}
.menu {
display: flex;
flex-direction: column;
background-color: #211c1c;
position: absolute;
top: -50vh;
left: 0;
width: 100%; /* Full width of the header */
z-index: 5; /* Lower z-index than header, header content, and project name */
padding: 0;
list-style: none;
justify-content: center; /* Center items vertically */
text-align: center; /* Center items horizontally */
animation: top 1s ease-in-out; /* Initial animation state */
}
.menu.active {
display: flex;
top: 5em;
z-index: 5; /* Lower z-index than header, header content, and project name */
}
/* Article styles */
article {
margin-bottom: 50px;
padding: 20px;
width: 90%;
max-width: 800px;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
text-align: left;
margin-top: 140px; /* Increase margin-top for better readability */
padding-top: 20px;
}
h1 {
color: #333333;
margin: 20px 0;
font-size: 2.5em;
}
p.text {
color: #555555;
line-height: 1.6;
margin: 20px 0;
font-size: 1.1em;
}
.code-box {
background-color: #f7f7f7;
border: 1px solid #ddd;
font-family: monospace;
padding: 15px;
margin: 1em 0;
}
img {
max-width: 100%;
height: auto;
margin-bottom: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
button {
padding: 12px 24px;
margin: 1em 0;
border: none;
background-color: #3498db;
color: #ffffff;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #2980b9;
}
.flex {
display: flex;
align-items: center;
}
nav {
margin: 20px;
}
.folder-list {
justify-content: center;
list-style-type: none;
padding: 0;
}
.folder-list-item {
margin-bottom: 10px;
justify-content: center;
}
.folder-link {
text-decoration: none;
color: #ffffff;
font-weight: bold;
display: block;
padding: 10px;
border-radius: 5px;
background-color: #2c3e50;
transition: background-color 0.3s ease;
}
.folder-link:hover {
background-color: #34495e;
}
.folder-link:active {
transform: scale(0.98); /* Slight scale down on click */
}
article img{
margin-top: 1em;
}
/* Cards section styles */
section .cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-top: 50px;
z-index: 0; /* Ensure cards are behind the dropdown menu */
}
section .card {
text-align: center;
list-style: none;
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
text-decoration: none;
color: #333;
transition: transform 0.2s, box-shadow 0.2s;
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: space-between;
}
section .card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}
section .card img {
height: 64px;
width: 64px;
object-fit: cover;
border-radius: 5px;
margin: 0 auto 10px;
}
h2{
margin-bottom: 1em;
margin-top: 1em;
}
section .card h3 {
margin: 10px 0;
}
section .card p {
flex-grow: 1;
}
.no-margin{
margin: -20px 0;
margin-bottom: 20px;
}
/* Mobile Styles */
@media (max-width: 768px) {
section .card {
padding: 12px; /* Adjusted padding */
}
section .card img {
height: 60px; /* Adjusted height */
width: 60px; /* Adjusted width */
border-radius: 8px; /* Adjusted border-radius */
}
}

42
testing/test/level.tscn Normal file

File diff suppressed because one or more lines are too long

32
testing/test/player.tscn Normal file
View file

@ -0,0 +1,32 @@
[gd_scene load_steps=4 format=3 uid="uid://dv67vdgb4h44q"]
[ext_resource type="Texture2D" uid="uid://dheqglouhkis6" path="res://testing/testAssets/player.png" id="1_cujcj"]
[ext_resource type="Script" path="res://scripts/player.gd" id="1_oik63"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kf6qt"]
size = Vector2(20, 18)
[node name="player" type="CharacterBody2D"]
script = ExtResource("1_oik63")
[node name="sprite" type="Sprite2D" parent="."]
texture = ExtResource("1_cujcj")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_kf6qt")
[node name="camera" type="Camera2D" parent="."]
enabled = false
[node name="stats" type="Button" parent="."]
visible = false
offset_left = 112.0
offset_top = 152.0
offset_right = 238.0
offset_bottom = 187.0
scale = Vector2(2, 2)
disabled = true
text = "Stats"
[connection signal="pressed" from="stats" to="." method="_on_stats_pressed"]

View file

Before

Width:  |  Height:  |  Size: 508 B

After

Width:  |  Height:  |  Size: 508 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://slau07w56ipp"
path="res://.godot/imported/gigachad.png-950f249fad71ecb8cb5ffe1b8e0aaa85.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://testing/testAssets/gigachad.png"
dest_files=["res://.godot/imported/gigachad.png-950f249fad71ecb8cb5ffe1b8e0aaa85.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bgdgd23qgi52x"
path="res://.godot/imported/grass.png-9d67070b94003a4c9ef0fabcfb53d979.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://testing/testAssets/grass.png"
dest_files=["res://.godot/imported/grass.png-9d67070b94003a4c9ef0fabcfb53d979.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 461 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dheqglouhkis6"
path="res://.godot/imported/player.png-a3dc637dcfcac9b2cc12965322007c1c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://testing/testAssets/player.png"
dest_files=["res://.godot/imported/player.png-a3dc637dcfcac9b2cc12965322007c1c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

Before

Width:  |  Height:  |  Size: 540 B

After

Width:  |  Height:  |  Size: 540 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bgwtew3kupb5c"
path="res://.godot/imported/tharok.png-60f89b581d56d7a95618ce50dd583112.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://testing/testAssets/tharok.png"
dest_files=["res://.godot/imported/tharok.png-60f89b581d56d7a95618ce50dd583112.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://chgkgpiiy1yui"
path="res://.godot/imported/water.png-455790e486e896b50dab7d58df164d3a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://testing/testAssets/water.png"
dest_files=["res://.godot/imported/water.png-455790e486e896b50dab7d58df164d3a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1