com.gamethesky.hatsoff.run
Schema Diff
+6 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "com.gamethesky.hatsoff.run:body.rules" }
- AddedEdge AddedEdge { src: "com.gamethesky.hatsoff.run:body", tgt: "com.gamethesky.hatsoff.run:body.rules", kind: "prop", name: Some("rules") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.gamethesky.hatsoff.run:body.rules" }
Additional Notes
- Non-breaking: AddedEdge { src: "com.gamethesky.hatsoff.run:body", tgt: "com.gamethesky.hatsoff.run:body.rules", kind: "prop", name: Some("rules") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "One Hats Off run, published by the player into their own repo. The record stores every shot rather than a score: the sim is deterministic, so re-running the fire log against the same seed on the same level reproduces the run exactly. Owning the record is the identity proof, and replaying it is the score proof — wave, cured and the rest are advisory and never trusted by a leaderboard.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"format": "datetime",
11
11
"type": "string"
12
12
},
13
13
"cured": {
14
14
"description": "Advisory: hats removed.",
15
15
"minimum": 0,
16
16
"type": "integer"
17
17
},
18
18
"dawn": {
19
19
"description": "Advisory: the night was won — the President's hat came off, or the night's cap was reached.",
20
20
"type": "boolean"
21
21
},
22
22
"fires": {
23
-
"description": "The whole run as the only input the game takes. Comma-separated `<dtick>.<weapon>.<x>.<z>` entries: dtick is 60 Hz ticks since the previous entry, weapon is 0 mist, 1 pulse, 2 drop, or 3 for giving up (the run ends on that entry; x and z are 0), x and z are the ground point in tenths of a unit (x east, z south, origin at the Washington Monument). Only shots the sim accepted are logged; a verifier applies the same rate, heat and cooldown rules and refuses a log that fires faster than they allow. Example: `120.0.-402.12,5.0.-398.14,30.1.-390.10`.",
23
+
"description": "The whole run as the only input the game takes. Comma-separated `<dtick>.<weapon>.<x>.<z>` entries: dtick is 60 Hz ticks since the previous entry, weapon is 0 mist, 1 pulse, 2 drop, 3 for giving up (the run ends on that entry; x and z are 0), or 4 for a heading on an airlift level (x and z are then the direction in tenths, 0 and 0 to hover), x and z are otherwise the ground point in tenths of a unit (x east, z south, origin at the Washington Monument). Only shots the sim accepted are logged; a verifier applies the same rate, heat and cooldown rules and refuses a log that fires faster than they allow. Example: `120.0.-402.12,5.0.-398.14,30.1.-390.10`.",
24
24
"maxLength": 400000,
25
25
"type": "string"
26
26
},
27
27
"holdPeak": {
28
28
"description": "Advisory: the most people sheltering at once.",
29
29
"minimum": 0,
30
30
"type": "integer"
31
31
},
32
32
"level": {
33
33
"description": "The level the run was played on. Ids are append-only.",
34
34
"knownValues": [
35
35
"liberty",
36
36
"goldengate",
37
37
"alamo",
38
38
"rushmore",
39
39
"raid",
40
40
"airlift",
41
41
"mall",
42
42
"whitehouse"
43
43
],
44
44
"maxLength": 32,
45
45
"type": "string"
46
46
},
47
47
"rehatted": {
48
48
"description": "Advisory: cured people the horde caught again.",
49
49
"minimum": 0,
50
50
"type": "integer"
51
51
},
52
+
"rules": {
53
+
"description": "The level's own rules version the run was played under. A verifier must replay under the matching version or refuse the run. Absent means 1.",
54
+
"minimum": 1,
55
+
"type": "integer"
56
+
},
52
57
"seed": {
53
58
"description": "Which horde: a date (YYYY-MM-DD, local to the player) for the nightly horde, or any word for a practice one. The sim seeds from the FNV-1a hash of this string.",
54
59
"maxLength": 64,
55
60
"type": "string"
56
61
},
57
62
"simVersion": {
58
63
"description": "Which rules produced these shots. A verifier must replay under the matching version or refuse the run.",
59
64
"minimum": 1,
60
65
"type": "integer"
61
66
},
62
67
"stage": {
63
68
"description": "Deprecated: an earlier build's stage index. Superseded by level.",
64
69
"minimum": 1,
65
70
"type": "integer"
66
71
},
67
72
"ticks": {
68
73
"description": "Advisory: the tick the steps fell.",
69
74
"minimum": 1,
70
75
"type": "integer"
71
76
},
72
77
"wave": {
73
78
"description": "Advisory: the wave the steps fell in.",
74
79
"minimum": 1,
75
80
"type": "integer"
76
81
}
77
82
},
78
83
"required": [
79
84
"seed",
80
85
"level",
81
86
"simVersion",
82
87
"fires",
83
88
"wave",
84
89
"cured",
85
90
"createdAt"
86
91
],
87
92
"type": "object"
88
93
},
89
94
"type": "record"
90
95
}
91
96
},
92
97
"id": "com.gamethesky.hatsoff.run",
93
98
"lexicon": 1
94
99
}