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