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
Copy file name to clipboardExpand all lines: docs/making/game.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
Game.json contains the most fundamental details about your Manual Game, the details about the game itself.
4
4
5
5
At its most basic, it needs the name of the game, and name of the creator (you).
6
-
It also contains the name of the auto-generated filler item, and details about Starting Inventory (see below for more details)
6
+
It also contains the name of the auto-generated filler item, and details about [Starting Inventory](#starting-inventory) and whether [Deathlink](#death-link) is enabled.
7
7
8
8
```json
9
9
{
@@ -84,5 +84,19 @@ This works like the first one, except with categories instead of items. There's
84
84
```
85
85
Lastly, this gives you three completely random items.
86
86
87
+
## Death Link
88
+
89
+
Enabling Deathlink is very simple. Just add `"death_link": true` to your game.json, and you'll get a yaml setting and fancy button in the client.
90
+
91
+
```json
92
+
{
93
+
"game": "Snolf",
94
+
"creator": "YourNameHere",
95
+
"filler_item_name": "Gold Rings",
96
+
"death_link": true
97
+
}
98
+
```
99
+
100
+
If you turn this on, make sure you have a clear (and documented) understanding of what a death is, when players should send one, and what it means to receive it.
Copy file name to clipboardExpand all lines: schemas/Manual.items.schema.json
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,20 @@
57
57
"type": "boolean",
58
58
"default": true
59
59
},
60
+
"value": {
61
+
"description": "(Optional) A dictonary of values this item has in the format {\"name\": int,\"otherName\": int} \nUsed with the {ItemValue(Name: int)} in location requires \neg. \"value\": {\"coins\":10} mean this item is worth 10 coins",
62
+
"type": "object",
63
+
"patternProperties": {
64
+
"^.+$": {
65
+
"anyOf": [
66
+
{
67
+
"type": "integer",
68
+
"description": "A value that this item has must be 'name':integer \neg. \"coins\": 10"
raiseException(f"\nValidationError(s) for pre_fill of player {world.player}: \n\n{newline.join([' - '+str(validation_error) forvalidation_errorinvalidation_errors])}\n\n")
0 commit comments