Differences From
Artifact [0a228a51be]:
38 38 'the firstborn smonked hella weed';
39 39 };
40 40 -- body can also be a function(user,secret)
41 41 }
42 42 }
43 43 }
44 44
45 -TODO would it be useful to impl horn clauses and a general fact database?
46 - is that level of flexibility meaningful? or are simply flags better
47 -
48 45 a secret can be a single piece of information predicated
49 46 on a fact, in which case the secret and fact should share
50 47 the same ID. the ID should be as non-indicative as possible
51 48 to avoid spoilers for devs of unrelated code.
52 49
53 50 a secret can also be manually unlocked e.g. by using an item
54 51
55 52 ]==]--
56 53
57 54 function sec.prereqCheck(user, pr)
58 55 end