Compare commits
No commits in common. "b2ab0c18ce588a8217546245cff24b51953f7fe7" and "497ae05ce0c9f29c006756464ced020c44d966f4" have entirely different histories.
b2ab0c18ce
...
497ae05ce0
3 changed files with 1 additions and 169 deletions
|
@ -1,3 +1,3 @@
|
|||
# Armada
|
||||
|
||||
Files relating to the [Armada](https://wiki.starlord.zip/books/armada) game...
|
||||
Files relating to the Armada game...
|
|
@ -1,16 +0,0 @@
|
|||
# Whether or not the output should include the results of each XdY statement.
|
||||
show_statement: false
|
||||
# Whether or not the output should include the results of individual dice rolls.
|
||||
show_rolls: false
|
||||
|
||||
# Number of dice rolls (the Y in XdY) after which show_rolls is ignored.
|
||||
show_rolls_limit: 20
|
||||
# Number of dice rolls after which dice rolls will not be individually randomized,
|
||||
# but rather picked randomly from a normal distribution.
|
||||
gauss_limit: 100
|
||||
|
||||
# Maximum number of digits in result.
|
||||
result_max_length: 512
|
||||
|
||||
# Number of decimal places that results should be rounded to. Set to -1 to disable rounding.
|
||||
round_decimals: 2
|
|
@ -1,152 +0,0 @@
|
|||
templates:
|
||||
page:
|
||||
type: m.room.message
|
||||
content:
|
||||
msgtype: m.notice
|
||||
body: $${message}
|
||||
formatted_body: $${formatted_message}
|
||||
format: org.matrix.custom.html
|
||||
|
||||
default_flags:
|
||||
- ignorecase
|
||||
antispam:
|
||||
room:
|
||||
max: 1
|
||||
delay: 15
|
||||
user:
|
||||
max: 5
|
||||
delay: 15
|
||||
|
||||
rules:
|
||||
purpose:
|
||||
matches: [^\!lib$]
|
||||
template: page
|
||||
variables:
|
||||
message: |
|
||||
I am the [*Librarian*](https://wiki.starlord.zip/books/armada/page/the-librarian). Use any of these commands to get information:
|
||||
|
||||
### Commands:
|
||||
|
||||
- `!wiki` - Open the full Wiki.
|
||||
- `!rules` - Go straight to the Rulebook.
|
||||
- `!dice` - Get quick information on using the Dice Bot.
|
||||
- `!ships` - See the ship sizes.
|
||||
- `!atk` - Refresher on the rules for targeting/attacking ships.
|
||||
- `!def` - How to defend your ship from attacks.
|
||||
formatted_message: |
|
||||
I am the <a href="https://wiki.starlord.zip/books/armada/page/the-librarian"><b>Librarian</b></a>. Use any of these commands to get information:
|
||||
<h3>Commands:</h3>
|
||||
<ul>
|
||||
<li><code>!wiki</code> - Open the full Wiki.</li>
|
||||
<li><code>!rules</code> - Go straight to the Rulebook.</li>
|
||||
<li><code>!dice</code> - Get quick information on using the Dice Bot.</li>
|
||||
<li><code>!ships</code> - See the ship sizes.</li>
|
||||
<li><code>!atk</code> - Refresher on the rules for targeting/attacking ships.</li>
|
||||
<li><code>!def</code> - How to defend your ship from attacks.</li>
|
||||
</ul>
|
||||
|
||||
wiki:
|
||||
matches: [^\!wiki$]
|
||||
template: page
|
||||
variables:
|
||||
message: |
|
||||
[Click here](https://wiki.starlord.zip/books/armada) to visit the wiki, or [download as a PDF](https://wiki.starlord.zip/books/armada/export/pdf).
|
||||
formatted_message: |
|
||||
<a href="https://wiki.starlord.zip/books/armada">Click here</a> to visit the wiki, or <a href="https://wiki.starlord.zip/books/armada/export/pdf">download as a PDF</a>.
|
||||
|
||||
rules:
|
||||
matches: [^\!rules$]
|
||||
template: page
|
||||
variables:
|
||||
message: |
|
||||
[Click here](https://wiki.starlord.zip/books/armada/chapter/rulebook) to go directly to the rulebook, or [download the full Wiki as a PDF](https://wiki.starlord.zip/books/armada/export/pdf).
|
||||
formatted_message: |
|
||||
<a href="https://wiki.starlord.zip/books/armada/chapter/rulebooka">Click here</a> to go directly to the rulebook, or <a href="https://wiki.starlord.zip/books/armada/export/pdf">download the full Wiki as a PDF</a>.
|
||||
|
||||
dice:
|
||||
matches: [^\!dice$]
|
||||
template: page
|
||||
variables:
|
||||
message: |
|
||||
### Using the Dice Bot
|
||||
|
||||
To roll some dice, use the command as follows: `!roll` `XdY` `+|-` `Z`
|
||||
|
||||
> For example: `!roll 2d8 + 5`
|
||||
|
||||
Note: If only rolling 1 die, the `X` can be omitted.
|
||||
|
||||
Also: using `!roll` alone will roll **1d6**
|
||||
formatted_message: |-
|
||||
<h3>Using the Dice Bot</h3>
|
||||
To roll some dice, use the command as follows: <code>!roll</code> <code>XdY</code> <code>+|-</code> <code>Z</code><br /><br />
|
||||
<blockquote>For example: <code>!roll 2d8 + 5</code></blockquote><br />
|
||||
Note: If only rolling 1 die, the <code>X</code> can be omitted.<br />
|
||||
Also: using <code>!roll</code> alone will roll <b>1d6</b>
|
||||
|
||||
ships:
|
||||
matches: [^\!ships$]
|
||||
template: page
|
||||
variables:
|
||||
message: |
|
||||
Here are the ship sizes:
|
||||
|
||||
Ship | Hull Die | Code
|
||||
:--- | :---: | :---:
|
||||
Frigate | d12 | FGT
|
||||
Carrier | d10 | CAR
|
||||
Destroyer | d8 | DST
|
||||
Cruiser | d6 | CRU
|
||||
Fighter | d4 | FGT
|
||||
formatted_message: |
|
||||
Here are the ship sizes:<br /><br />
|
||||
<table>
|
||||
<tr>
|
||||
<th>Ship</th>
|
||||
<th>Hull Die</th>
|
||||
<th>Code</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Frigate</td>
|
||||
<td>d12</td>
|
||||
<td>FGT</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Carrier</td>
|
||||
<td>d10</td>
|
||||
<td>CAR</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Destroyer</td>
|
||||
<td>d8</td>
|
||||
<td>DST</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cruiser</td>
|
||||
<td>d6</td>
|
||||
<td>CRU</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fighter</td>
|
||||
<td>d4</td>
|
||||
<td>FGT</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
atk:
|
||||
matches: [^\!atk$]
|
||||
template: page
|
||||
variables:
|
||||
message: |
|
||||
To attack a targeted ship, roll the attacking ship's Hull Die for your **Attack Strength** and compare the result to the targeted ship's **Target Difficulty** for the turn. If the Attack Strength **excedes** the Target Difficulty, a hit is scored.
|
||||
formatted_message: |
|
||||
To attack a targeted ship, roll the attacking ship's Hull Die for your <b>Attack Strength</b> and compare the result to the targeted ship's <b>Target Difficulty</b> for the turn. If the Attack Strength <b>excedes</b> the Target Difficulty, a hit is scored.
|
||||
|
||||
def:
|
||||
matches: [^\!def$]
|
||||
template: page
|
||||
variables:
|
||||
message: |
|
||||
If your ship has been targeted this turn, roll it's Hull Die to determine its **Target Difficulty** for all attacks made on it this turn. The attacker's **Attack Strength** must **excede** your Target Difficulty to score a hit on this ship.
|
||||
formatted_message: |
|
||||
If your ship has been targeted this turn, roll it's Hull Die to determine its <b>Target Difficulty</b> for all attacks made on it this turn. The attacker's <b>Attack Strength</b> must <b>excede</b> your Target Difficulty to score a hit on this ship.
|
Loading…
Reference in a new issue