Commit graph

9 commits

Author SHA1 Message Date
Griatch
2b3a32e447 Reshuffling the Evennia package into the new template paradigm. 2015-01-06 14:53:45 +01:00
Griatch
70da53569d Removed .typeclass and .dbobj references in codebase. 2015-01-02 20:48:34 +01:00
Griatch
9af9f94fa0 Moved Players over to the new proxy system, made the start-hook called by the save-signal system into at_first_save() 2014-12-25 14:43:43 +01:00
Griatch
aeb17e78e4 Added deepcopying of prototypes in spawner. Resolves #565. 2014-09-05 09:13:53 +02:00
Griatch
a075e07e55 Made spawner prototype verification more strict. Resolves #556. 2014-08-31 12:32:58 +02:00
Griatch
fb8cf41b4e Added recursive loop-detection to the spawner. This should avoid accidentally creating infinite self-references in prototype structures. 2014-07-01 20:16:43 +02:00
Griatch
b9c8c1695c Finalized the spawner API and made the @spawn command also take prototypes directly, e.g. @spawn GOBLIN. 2014-07-01 19:39:12 +02:00
Griatch
221d56fecd Made the spawner more streamlined, and allowed the @spawn command to access prototypes in a file specified by the optional PROTOTYPE_MODULES setting. 2014-07-01 04:04:54 +02:00
Griatch
6eafe65076 Implemented src.utils.spawner along with a test command @spawn. This allows for spawning individualized objects based on a prototype dictionary rather than having to make a new Typeclass for small changes. Allows for setting basid properties as well as Attributes and NAttributes. Supports prototype multiple inheritance (see header of src/utils/spawner.py) 2014-07-01 02:14:48 +02:00