Greg Taylor
|
94ceec3719
|
Scripting support is now in! See cmd_look (the end of it), scripthandler.py, and scripts/basicobject.py for very brief examples. I'm not sure how well this is going to scale, I had to kludge the import a bit due to some oddities with __import__. There has to be a better way to do this, hopefully I'll be able to figure it out. In any case, expect basicobject to start fleshing out. You'll be able to use it directly or sub-class it with your own stuff.
|
2007-06-04 20:01:03 +00:00 |
|
Greg Taylor
|
27c0e7a873
|
Really basic proof-of-concept scripthandler.py for review and discussion. This should illustrate my basic idea about script support. I think this will be a very elegant solution to the scripting situation. This will be filled out in the coming days and will hopefully make more and more sense as I tie it in. Database changes are likely, make sure to keep an eye on the commit logs. Also edited some svn:ignore props and added a placeholder for the basicobject script.
|
2007-06-04 17:33:31 +00:00 |
|
Greg Taylor
|
15d80f4c9a
|
I'm going to start tinkering with possible scripting system solutions. Here's the directory structure the standard scripts are going to use.
|
2007-05-29 03:49:40 +00:00 |
|