vilmibm / tildemush

a modern mush tailored to tilde town
GNU General Public License v3.0
42 stars 12 forks source link

refactor GameObject and ScriptedObjectMixin #191

Open vilmibm opened 5 years ago

vilmibm commented 5 years ago

For readability I cut a bunch of WITCH-related code into scripting.py and defined a mixin used in models.py. this creates some unfortunate circular dependencies and has ended up being more confusing than it's worth.

I'd like to try and keep separating the witch scripting stuff from the database stuff, but they're very entwined.

I think at the very least splitting models out into a models/ directory and giving each class its own file will help.