Hum de dum...no, really, I'm not an idiot. I just play one on TV after I 
haven't had enough sleep.

So I went ahead and finally grepped through the source code (WTF mate, why 
didn't you do that in the first place) and from what I can see the aim of the 
ruleset dev env is to assist in the process of developing the following code:


prop = new Property();
prop->setCategoryId(1);
prop->setRank(0);
prop->setName("BuildTime");
prop->setDisplayName("Build Time");
prop->setDescription("The number of turns to build the ship");
prop->setTpclDisplayFunction("(lambda (design bits) (let 
((n (apply + bits))) (cons n  
(string-append (number->string n)
 \" turns\")) ) )");
prop->setTpclRequirementsFunction("(lambda (design) (cons 
#t \"\"))");


With a heavy focus being on making consistent, correct TPCL code, generating it 
if possible but most certainly making sure that it's TPCL code.

Many thanks, Lee, you sent me in the right direction.

-Fro





_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to