You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**-a <dice-expression>** | Rolls a dice expression and returns the result summed up.
44
-
-**-i <dice-expression>** | Rolls a dice expression, printing each roll individually, then summing it up.
49
+
50
+
-**-a <dice-expression>** | Rolls a dice expression and returns the result
51
+
summed up.
52
+
-**-i <dice-expression>** | Rolls a dice expression, printing each roll
53
+
individually, then summing it up.
54
+
45
55
#### Examples of Dice Expressions
46
-
> d20, 1d6, 2d12+1, 1d4-1, 3d6+8, 5d20+12, 80d100-50, etc.
56
+
57
+
> d20, 1d6, 2d12+1, 1d4-1, 3d6+8, 5d20+12, 80d100-50, etc.
47
58
48
59
### **monsters**
49
-
-**-i <monsternameorid>** | Get basic information about a monster from the D&D 5e API.
50
-
-**-f <monster-1> <monster-2>** | Simulate a turn-based fight between two monsters.
51
-
-- Slightly skewed as it does not factor movement or flying into the battles, so extremely agile or flying monsters will have less of an edge than they normal would.
60
+
61
+
-**-i <monsternameorid>** | Get basic information about a monster from the
62
+
D&D 5e API.
63
+
-**-f <monster-1> <monster-2>** | Simulate a turn-based fight between two
64
+
monsters.
65
+
-- Slightly skewed as it does not factor movement or flying into the battles,
66
+
so extremely agile or flying monsters will have less of an edge than they
67
+
normal would.
68
+
-**-va** | View all monsters from the D&D API. Great with grep!
52
69
53
70
### **npcs**
71
+
54
72
View, search, edit, and create custom NPCs for your campaign.
55
73
56
-
-**-a**| Add new NPC via form!
74
+
-**-a** | Add new NPC via form!
57
75
-**-v <name>** | View an NPC with the provided name (exact match).
76
+
-**-d <id>** | Delete an NPC by ID.
58
77
-**-s <name>** | Lists all NPCs that partially match the provided name.
59
78
-**-e <name>** | Edit an NPC with the provided name (exact match).
60
79
61
80
### **places**
81
+
62
82
View, search, edit, and create custom places for your campaign.
63
-
-**<place-flag> -a** | Add a new place via form!
64
-
-**<place-flag> -d** <id> | Delete a place by ID represented as an integer.
65
-
-**<place-flag > -v <name>** | View a place with the provided name (exact match).
66
-
-**<place-flag> -s <name>** | Lists all places that partially match the provided name.
67
-
-**<place-flag> -e <name>** | Edit a place with the provided name (exact match).
83
+
84
+
-**<place-flag> -a** | Add a new place via form!
85
+
-**<place-flag> -d** <id> | Delete a place by ID represented as an integer.
86
+
-**<place-flag > -v <name>** | View a place with the provided name (exact
87
+
match).
88
+
-**<place-flag> -s <name>** | Lists all places that partially match the
89
+
provided name.
90
+
-**<place-flag> -e <name>** | Edit a place with the provided name (exact
91
+
match).
68
92
69
93
#### Uses 'place flags' to mark which place type you are operating on.
70
-
- --world | Overaching world for a campaign.
71
-
- --area | Areas or regions of a world.
72
-
- --location | Locations contained within areas.
94
+
95
+
- --world | Overaching world for a campaign.
96
+
- --area | Areas or regions of a world.
97
+
- --location | Locations contained within areas.
73
98
- --sublocation | Not implemented! Not sure if necessary or overkill?
74
99
75
100
## Roadmap
76
101
77
102
While not set in stone, hitting a true v1.0.0 will include:
103
+
78
104
-[x]~~Dice Rolls~~
79
105
--~~`lore dice <dice-arg>` allowing for dynamic dice rolls!~~
80
106
---~~For example `lore dice 2d6+1` rolls two six-sided die and adds one!~~
@@ -89,30 +115,38 @@ While not set in stone, hitting a true v1.0.0 will include:
89
115
-[ ] Encounters
90
116
-- Write encounters and then serve them up randomly to the GM.
91
117
92
-
I'm also debating adding a custom monsters section or replacing the API with custom monsters. The catch here is that monsters are... complex and require significantly more work to customize. They also require knowledge of the game system being used. Lore is supposed to be game system agnostic for custom info. So, feedback would be nice here.
118
+
I'm also debating adding a custom monsters section or replacing the API with
119
+
custom monsters. The catch here is that monsters are... complex and require
120
+
significantly more work to customize. They also require knowledge of the game
121
+
system being used. Lore is supposed to be game system agnostic for custom info.
122
+
So, feedback would be nice here.
93
123
94
124
### NB on Compatibility
95
125
96
-
Up until v1.0.0 Lore should be considered unstable. The shape of the DB is a work in progress and I cannot promise compatibility.
126
+
Up until v1.0.0 Lore should be considered unstable. The shape of the DB is a
127
+
work in progress and I cannot promise compatibility.
97
128
98
-
Starting at v1.0.0, the DB schema will be stable and non-breaking changes only will happen.
129
+
Starting at v1.0.0, the DB schema will be stable and non-breaking changes only
130
+
will happen.
99
131
100
132
## Contributing
101
133
102
134
Want to contribute to Lore at all?
103
135
104
136
### Clone the repo:
137
+
105
138
```bash
106
139
git clone https://github.com/jake-abed/lore
107
140
cd lore
108
141
```
109
142
110
143
### Build it:
144
+
111
145
```bash
112
146
go build
113
147
```
114
148
115
149
### Submit a pull request!
116
150
117
-
If you want to contribute anything at all, please fork the repository
118
-
and open up a pull request to the 'main' branch.
151
+
If you want to contribute anything at all, please fork the repository and open
0 commit comments