Some stuff, idk
This commit is contained in:
		
							parent
							
								
									79100d3f86
								
							
						
					
					
						commit
						2e08cdb595
					
				
					 7 changed files with 69 additions and 22 deletions
				
			
		|  | @ -1,5 +1,3 @@ | ||||||
| +++ | +++ | ||||||
| title = "Tabletop Experiments and Stuff" | title = "Tabletop Shit" | ||||||
| +++ | +++ | ||||||
| 
 |  | ||||||
| HEWWO |  | ||||||
|  |  | ||||||
|  | @ -3,6 +3,26 @@ title = "New Tabletop RPG System (WIP)" | ||||||
| description = "Bored and restless, so time it is to design a tabletop system..." | description = "Bored and restless, so time it is to design a tabletop system..." | ||||||
| date = 2020-12-21 | date = 2020-12-21 | ||||||
| draft = true | draft = true | ||||||
|  | [extra] | ||||||
|  | toc = true | ||||||
| +++ | +++ | ||||||
| 
 | 
 | ||||||
| GAAAA | # Core Gameplay | ||||||
|  | 
 | ||||||
|  | ## Skill Checks | ||||||
|  | 
 | ||||||
|  | A player attempting something that could be subject to failure will perform a | ||||||
|  | skill check to determine whether they succeed or fail. | ||||||
|  | 
 | ||||||
|  | A skill check is performed by rolling `1d20`, adding the relevant skill, and | ||||||
|  | comparing the result to 20. If the result is equal to or greater than `20` then | ||||||
|  | the action succeeds. If the result is less than `20` then the action fails. | ||||||
|  | 
 | ||||||
|  | ### Critical Rolls | ||||||
|  | 
 | ||||||
|  | If the number rolled on the dice, before adding any other numbers, is exactly | ||||||
|  | `20`, the character succeeds at their action no matter what. | ||||||
|  | If exactly `1` is rolled, then the character fails their action no matter what. | ||||||
|  | 
 | ||||||
|  | Further consequences, either good or bad, could occur on critical successes or | ||||||
|  | fails, at the discretion of the GM. | ||||||
|  |  | ||||||
|  | @ -1,8 +0,0 @@ | ||||||
| +++ |  | ||||||
| title = "New Tabletop RPG System NOT REAL" |  | ||||||
| description = "Bored and restless, so time it is to design a tabletop system..." |  | ||||||
| date = 2020-12-21 |  | ||||||
| draft = true |  | ||||||
| +++ |  | ||||||
| 
 |  | ||||||
| GAAAA |  | ||||||
|  | @ -13,14 +13,14 @@ git worktree prune | ||||||
| rm -rf .git/worktrees/-deploy/ | rm -rf .git/worktrees/-deploy/ | ||||||
| 
 | 
 | ||||||
| echo "Checking out gh-pages branch into public" | echo "Checking out gh-pages branch into public" | ||||||
| git worktree add -B gh-pages .deploy origin/gh-pages | git worktree add -B rendered .deploy origin/rendered | ||||||
| 
 | 
 | ||||||
| echo "Generating site" | echo "Generating site" | ||||||
| zola build | zola build | ||||||
| cp -r public/* .deploy/ | cp -r public/* .deploy/ | ||||||
| 
 | 
 | ||||||
| echo "Updating gh-pages branch" | echo "Updating gh-pages branch" | ||||||
| cd .deploy && git add --all && git commit -m "Publishing to gh-pages (deploy.sh)" | cd .deploy && git add --all && git commit -m "Publishing to rendered (deploy.sh)" | ||||||
| 
 | 
 | ||||||
| echo "Pushing to github" | echo "Pushing to github" | ||||||
| git push --all | git push --all | ||||||
|  |  | ||||||
|  | @ -24,7 +24,9 @@ body { | ||||||
|   padding: 1rem; |   padding: 1rem; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| header { | code { | ||||||
|  |   background-color: #454545; | ||||||
|  |   padding: 0 0.25ch; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| h1, | h1, | ||||||
|  | @ -32,6 +34,7 @@ h2, | ||||||
| h3 { | h3 { | ||||||
|   font-weight: bold; |   font-weight: bold; | ||||||
|   font-size: 1em; |   font-size: 1em; | ||||||
|  |   margin-bottom: 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| h1.site-title { | h1.site-title { | ||||||
|  | @ -148,6 +151,21 @@ div.table-wrapper tr:nth-child(even) { | ||||||
|   cursor: pointer; |   cursor: pointer; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | #toc ol { | ||||||
|  |   counter-reset: item; | ||||||
|  |   list-style-type: none; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | #toc li { | ||||||
|  |   display: block; | ||||||
|  |   color: var(--decoration); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | #toc li:before { | ||||||
|  |   content: counters(item, ".") " "; | ||||||
|  |   counter-increment: item; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| h1.post-title { | h1.post-title { | ||||||
|   font-size: 1.5em; |   font-size: 1.5em; | ||||||
|   border: none; |   border: none; | ||||||
|  | @ -159,3 +177,17 @@ p.post-date { | ||||||
|   color: var(--decoration); |   color: var(--decoration); | ||||||
|   margin: 0; |   margin: 0; | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | p.post-desc { | ||||||
|  |   margin-top: 0; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .flex { | ||||||
|  |   display: flex; | ||||||
|  |   flex-wrap: wrap; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .flex * { | ||||||
|  |   margin-left: 1em; | ||||||
|  |   margin-right: 1em; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | @ -10,22 +10,22 @@ | ||||||
| {% if page.extra.toc %} | {% if page.extra.toc %} | ||||||
| <h1>Table of Contents <span id="toc-toggle">[-]</span></h1> | <h1>Table of Contents <span id="toc-toggle">[-]</span></h1> | ||||||
| <div id="toc"> | <div id="toc"> | ||||||
| <ul> | <ol> | ||||||
| {% for h1 in page.toc %} | {% for h1 in page.toc %} | ||||||
|     <li> |     <li> | ||||||
|         <a class="internal" href="{{ h1.permalink | safe }}">{{ h1.title }}</a> |         <a class="internal" href="{{ h1.permalink | safe }}">{{ h1.title }}</a> | ||||||
|         {% if h1.children %} |         {% if h1.children %} | ||||||
|             <ul> |             <ol> | ||||||
|                 {% for h2 in h1.children %} |                 {% for h2 in h1.children %} | ||||||
|                     <li> |                     <li> | ||||||
|                         <a class="internal" href="{{ h2.permalink | safe }}">{{ h2.title }}</a> |                         <a class="internal" href="{{ h2.permalink | safe }}">{{ h2.title }}</a> | ||||||
|                     </li> |                     </li> | ||||||
|                 {% endfor %} |                 {% endfor %} | ||||||
|             </ul> |             </ol> | ||||||
|         {% endif %} |         {% endif %} | ||||||
|     </li> |     </li> | ||||||
| {% endfor %} | {% endfor %} | ||||||
| </ul> | </ol> | ||||||
| </div> | </div> | ||||||
| <script> | <script> | ||||||
|  var shown = false; |  var shown = false; | ||||||
|  |  | ||||||
|  | @ -3,18 +3,23 @@ | ||||||
| {% block title %}{{ section.title }} - Hazelnut{% endblock title %} | {% block title %}{{ section.title }} - Hazelnut{% endblock title %} | ||||||
| 
 | 
 | ||||||
| {% block content %} | {% block content %} | ||||||
| {{ section.content | safe }} | <h1> {{ section.title }} </h1> | ||||||
| <hr> |  | ||||||
| <ul class="post-list"> | <ul class="post-list"> | ||||||
|     {% for page in section.pages %} |     {% for page in section.pages | sort(attribute="date") | reverse %} | ||||||
|     <li> |     <li> | ||||||
|         <a class="internal" href="{{ page.permalink }}"> |         <a class="internal" href="{{ page.permalink }}"> | ||||||
|             {{ page.title }} |             {{ page.title }} | ||||||
|  |              | ||||||
|             {% if page.date %} |             {% if page.date %} | ||||||
|                 <p class="post-date"> |                 <p class="post-date"> | ||||||
|                     {{ page.date | date(format="%Y-%m-%d") }} |                     {{ page.date | date(format="%Y-%m-%d") }} | ||||||
|                 </p> |                 </p> | ||||||
|             {% endif %} |             {% endif %} | ||||||
|  |                 {% if page.description %} | ||||||
|  |                 <p class="post-desc"> | ||||||
|  |                     {{ page.description }} | ||||||
|  |                 </p> | ||||||
|  |                 {% endif %} | ||||||
|         </a> |         </a> | ||||||
|     </li> |     </li> | ||||||
|     {% endfor %} |     {% endfor %} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue