A => license.tid +23 -0
@@ 1,23 @@
+title: $:/plugins/hokiegeek/location-crafts/license
+
+MIT License
+
+Copyright (c) 2022 HokieGeek
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
A => macros.tid +25 -0
@@ 1,25 @@
+modified: 20220214180052000
+created: 20220214180052000
+creator: hokiegeek
+title: $:/plugins/hokiegeek/location-crafts/macros
+tags: $:/tags/Macro
+type: text/vnd.tiddlywiki
+
+<!--
+expected
+random
+special
+complete (just for locations?)
+none
+
+how to mark uniques?
+-->
+
+\define category-list(type)
+<h1 style="text-transform: capitalize;">$type$</h1>
+<ol>
+<$list filter="[is[current]get[crafted-$type$]enlist-input:raw[]]" emptyMessage="no $type$ setup">
+<li><<currentTiddler>></li>
+</$list>
+</ol>
+\end
A => plugin.info +10 -0
@@ 1,10 @@
+{
+ "title": "$:/plugins/hokiegeek/location-crafts",
+ "description": "Some templates and stuff for recording information created with the RPG tool The Location Crafter",
+ "author": "hokiegeek",
+ "version": "0.1.0",
+ "core-version": ">=5.2.1",
+ "source": "https://git.sr.ht/~hokiegeek/tw5-location-crafts",
+ "plugin-type": "plugin",
+ "list": "readme"
+}
A => readme.tid +3 -0
@@ 1,3 @@
+title: $:/plugins/hokiegeek/location-crafts/readme
+
+The plugin $:/plugins/hokiegeek/location-crafts provides some templates and stuff for recording information created with the RPG tool The Location Crafter
A => styles.tid +8 -0
@@ 1,8 @@
+modified: 20220213204617000
+created: 20220213204617000
+creator: hokiegeek
+title: $:/plugins/hokiegeek/location-crafts/styles
+tags: $:/tags/Stylesheet
+type: text/vnd.tiddlywiki
+
+
A => template-region.tid +20 -0
@@ 1,20 @@
+modified: 20220214020806000
+created: 20220213230302000
+creator: hokiegeek
+tags: location-crafts
+title: $:/plugins/hokiegeek/location-crafts/templates/region
+type: text/vnd.tiddlywiki
+
+,,(using TheLocationCrafter methodology to define this region),,
+
+<div style="display: grid">
+ <div style="grid-column-start: 1">
+ <<category-list locations>>
+ </div>
+ <div style="grid-column-start: 2">
+ <<category-list encounters>>
+ </div>
+ <div style="grid-column-start: 3">
+ <<category-list objects>>
+ </div>
+</div>
A => view-region.tid +10 -0
@@ 1,10 @@
+modified: 20220213204529000
+created: 20220213204529000
+creator: hokiegeek
+tags: $:/tags/ViewTemplate
+title: $:/plugins/hokiegeek/location-crafts/views/region
+type: text/vnd.tiddlywiki
+
+<$list filter="[all[current]is[tiddler]!is[system]tag[crafted-location]tag[region]]">
+<$transclude tiddler="$:/plugins/hokiegeek/location-crafts/templates/region" />
+</$list>
A => view-the-location-crafter.tid +15 -0
@@ 1,15 @@
+modified: 20220213204359000
+created: 20220213204359000
+creator: hokiegeek
+tags: $:/tags/ViewTemplate
+title: $:/plugins/hokiegeek/location-crafts/views/cover
+type: text/vnd.tiddlywiki
+
+<$list filter="[all[current]is[tiddler]!is[system]match[TheLocationCrafter]]">
+
+<!--
+<$list filter="[tag<me>tag[region]count[]compare:number:gt[0]]">
+</$list>
+-->
+
+</$list>