parent
							
								
									bd422e3cba
								
							
						
					
					
						commit
						b205611b52
					
				|  | @ -618,57 +618,4 @@ an absolute waiver of all civil liability in connection with the | ||||||
| Program, unless a warranty or assumption of liability accompanies a | Program, unless a warranty or assumption of liability accompanies a | ||||||
| copy of the Program in return for a fee. | 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 |  | ||||||
| 
 |  | ||||||
|   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. |  | ||||||
| 
 |  | ||||||
|     Foundry VTT 5th Edition |  | ||||||
|     Copyright (C) 2019  Foundry Network |  | ||||||
| 
 |  | ||||||
|     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 PURPACKS.  See the |  | ||||||
|     GNU General Public License for more details. |  | ||||||
| 
 |  | ||||||
|     You should have received a copy of the GNU General Public License |  | ||||||
|     along with this program.  If not, see <http://www.gnu.org/licenses/>. |  | ||||||
| 
 |  | ||||||
| Also add information on how to contact you by electronic and paper mail. |  | ||||||
| 
 |  | ||||||
|   If the program does terminal interaction, make it output a short |  | ||||||
| notice like this when it starts in an interactive mode: |  | ||||||
| 
 |  | ||||||
|     Foundry VTT 5th Edition  Copyright (C) 2019  Foundry Network |  | ||||||
|     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 |  | ||||||
| <http://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 |  | ||||||
| <http://www.gnu.org/philosophy/why-not-lgpl.html>. |  | ||||||
							
								
								
									
										19
									
								
								src/acks.js
								
								
								
								
							
							
						
						
									
										19
									
								
								src/acks.js
								
								
								
								
							|  | @ -84,25 +84,6 @@ Hooks.on("renderSidebarTab", async (object, html) => { | ||||||
|   if (object instanceof ActorDirectory) { |   if (object instanceof ActorDirectory) { | ||||||
|     party.addControl(object, html); |     party.addControl(object, html); | ||||||
|   } |   } | ||||||
|   if (object instanceof Settings) { |  | ||||||
|     let gamesystem = html.find(".game-system"); |  | ||||||
|     // SRD Link
 |  | ||||||
|     let acks = gamesystem.find('h4').last(); |  | ||||||
|     acks.append(` <sub><a href="https://github.com/jhhoffmann/ACKS_SRD/blob/master/Chapter00.md">SRD<a></sub>`); |  | ||||||
| 
 |  | ||||||
|     // License text
 |  | ||||||
|     const template = "systems/acks/templates/chat/license.html"; |  | ||||||
|     const rendered = await renderTemplate(template); |  | ||||||
|     gamesystem.find(".system").append(rendered); |  | ||||||
|      |  | ||||||
|     // User guide
 |  | ||||||
|     let docs = html.find("button[data-action='docs']"); |  | ||||||
|     const styling = "border:none;margin-right:2px;vertical-align:middle;margin-bottom:5px"; |  | ||||||
|     $(`<button data-action="userguide"><img src='/systems/acks/assets/autarch.png' width='90' height='30' style='${styling}'/>Autarch on Drive-Thru RPG</button>`).insertAfter(docs); |  | ||||||
|     html.find('button[data-action="userguide"]').click(ev => { |  | ||||||
|       new FrameViewer('https://www.drivethrurpg.com/browse/pub/4277/Autarch', {resizable: true}).render(true); |  | ||||||
|     }); |  | ||||||
|   } |  | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
| Hooks.on("preCreateCombatant", (combat, data, options, id) => { | Hooks.on("preCreateCombatant", (combat, data, options, id) => { | ||||||
|  |  | ||||||
|  | @ -146,6 +146,7 @@ | ||||||
|   "ACKS.Literate": "Literate", |   "ACKS.Literate": "Literate", | ||||||
|   "ACKS.LiteracyBasic": "Basic", |   "ACKS.LiteracyBasic": "Basic", | ||||||
|   "ACKS.Illiterate": "Illiterate", |   "ACKS.Illiterate": "Illiterate", | ||||||
|  | 
 | ||||||
|   "ACKS.NativeBroken": "Native (Broken)", |   "ACKS.NativeBroken": "Native (Broken)", | ||||||
|   "ACKS.Native": "Native", |   "ACKS.Native": "Native", | ||||||
|   "ACKS.NativePlus1": "Native + 1", |   "ACKS.NativePlus1": "Native + 1", | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| { | { | ||||||
|   "name": "acks", |   "name": "acks", | ||||||
|   "title": "Adventurer Conqueror Kings System", |   "title": "Adventurer Conqueror King System", | ||||||
|   "description": "Play B/X OSR modules with ACKS on Foundry VTT", |   "description": "Play B/X OSR modules with ACKS on Foundry VTT", | ||||||
|   "version": "0.5.0", |   "version": "0.5.0", | ||||||
|   "minimumCoreVersion": "0.6.2", |   "minimumCoreVersion": "0.6.2", | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue