Commit graph

3943 commits

Author SHA1 Message Date
Tehom
2bea778181 Move settings to be local imports to prevent conflicts before django is fully loaded 2017-05-21 06:59:54 -04:00
Tehom
4605b3128e Add docstr to class and methods, adjust names of settings to be more clearly modifying channel logs. 2017-05-21 03:29:33 -04:00
Tehom
6e2c10b008 Remove print statements I had left in during debugging. Oops. 2017-05-20 22:18:26 -04:00
Tehom
f150d8bae5 Add Evennia logfile class based on Twisted LogFile for automatic rotating channel logs. Append tail end of logs when rotating, customizable with settings. 2017-05-20 21:33:57 -04:00
Alex Jaffe
112e457cc3 Fixed a bug in which creating a SimpleDoor caused the next exit created to fail silently. 2017-05-14 16:34:03 +08:00
Griatch
6db118ac61 Add listing of home to examine command. 2017-05-11 19:30:54 +02:00
Tehom
6ea13dbc96 Check for instance in cache to have the appropriate foreignkey if we're called from a related manager. Stops us from retrieving any object by ID, whether it was related to us or not. 2017-05-07 02:12:58 -04:00
Griatch
4f76d255fa Add warning about starting without main script. 2017-05-06 14:42:57 +02:00
Griatch
1356e569b5 Clean up some readme formatting. 2017-05-06 14:42:57 +02:00
Vincent Le Goff
1a8c07d0b6 Fix unittests for the event system 2017-05-06 14:42:57 +02:00
Vincent Le Goff
5a443d206c Add the new handling of errors in callbacks 2017-05-06 14:42:57 +02:00
Vincent Le Goff
2d250c0f96 Fix a bug in the TimeEvent scripts 2017-05-06 14:42:57 +02:00
Vincent Le Goff
dc5d790b44 Update eventfuncs to try to load world/eventfuncs.py if exists 2017-05-06 14:42:57 +02:00
Vincent Le Goff
16cbe2c781 Update the documentation of the event system 2017-05-06 14:42:57 +02:00
Vincent Le Goff
bc9bfb3fa7 Move the interrupting exception of events 2017-05-06 14:42:57 +02:00
Vincent Le Goff
96b90dde1e Adopt the new names for the event system 2017-05-06 14:42:57 +02:00
Vincent Le Goff
17b546c041 Update the README file, merging documents 2017-05-06 14:42:57 +02:00
Vincent Le Goff
08fd37aa98 Update event typeclasses to use inheritance instead of hook patching 2017-05-06 14:42:57 +02:00
Vincent Le Goff
1caf5e988c Add new events for objects 2017-05-06 14:42:57 +02:00
Vincent Le Goff
69c5c2c554 Update the msg_leave and msg_arrive events to use the new hooks 2017-05-06 14:42:57 +02:00
Vincent Le Goff
78ad2135d4 Add some character and room event types 2017-05-06 14:42:57 +02:00
Vincent Le Goff
ae79ca96a7 Fix errors in unittests and conflicts with the events handler 2017-05-06 14:42:57 +02:00
Vincent Le Goff
fb299adaaa Fix a locking error when quitting the EvEditor without saving.
Add events on characters and rooms.
2017-05-06 14:42:57 +02:00
Vincent Le Goff
52505a705a Update the user documentation of the event system 2017-05-06 14:42:57 +02:00
Vincent Le Goff
1cfaf77df7 Add an error handler if errors occurr during event execution
Optimize time events with fewer restarts
2017-05-06 14:42:57 +02:00
Vincent Le Goff
44a73acd94 Chained events can now be called without delay 2017-05-06 14:42:57 +02:00
Vincent Le Goff
d483726d54 Add unittests for the event system 2017-05-06 14:42:57 +02:00
Vincent Le Goff
fae5877843 Fix a bug in Character.announce_move_to 2017-05-06 14:42:57 +02:00
Vincent Le Goff
c996e8c4b5 Add events on exits 2017-05-06 14:42:57 +02:00
Vincent Le Goff
9c091b29e9 Fix some minor bugs in event connection/locking 2017-05-06 14:42:57 +02:00
Vincent Le Goff
38563a6593 Add an event handler on all objects 2017-05-06 14:42:57 +02:00
Vincent Le Goff
81f4c590bd Bring the event system to Evennia-style compliance 2017-05-06 14:42:57 +02:00
Vincent Le Goff
629ac73f2b Add the @event/tasks switch to follow differed tasks 2017-05-06 14:42:57 +02:00
Vincent Le Goff
9fc163df57 Add a lock on editing events 2017-05-06 14:42:57 +02:00
Vincent Le Goff
ccdb56c139 Add the @event/del switch to delete events 2017-05-06 14:42:57 +02:00
Vincent Le Goff
8dc5c69d00 Fix a bug in time-related events 2017-05-06 14:42:57 +02:00
Vincent Le Goff
d6c9d28d4f Add chained events with persistent delays 2017-05-06 14:42:57 +02:00
Vincent Le Goff
e898ee0ec2 Add the time-related events and events with parameters 2017-05-06 14:42:57 +02:00
Vincent Le Goff
1f4095c625 Rename the 'extend' module in 'custom' for events 2017-05-06 14:42:57 +02:00
Vincent Le Goff
f0d5bec05f The @event/accept can now be used without parameters to see all events to be accepted 2017-05-06 14:42:57 +02:00
Vincent Le Goff
93c7b25fc4 Add the @event/accept switch 2017-05-06 14:42:57 +02:00
Vincent Le Goff
5e43f1370f Set @event/edit to be more clever when selecting events 2017-05-06 14:42:57 +02:00
Vincent Le Goff
88516630db Set event types in non-persistent data for the event handler 2017-05-06 14:42:57 +02:00
Vincent Le Goff
4bdee14adb Add the /add and /edit switches to the @event command 2017-05-06 14:42:57 +02:00
Vincent Le Goff
0d7b1cb2be Add the basic of the @event command 2017-05-06 14:42:57 +02:00
Vincent Le Goff
51bc9ac65a Add the first event on exit.at_traverse 2017-05-06 14:42:57 +02:00
Vincent Le Goff
74ab1ed030 Add basic structure of event types and helpers 2017-05-06 14:42:57 +02:00
Vincent Le Goff
9f581ea7e1 Add user documentation for the event system 2017-05-06 14:42:57 +02:00
Vincent Le Goff
a88e7ad4d9 Fix a typo in the README file 2017-05-06 14:42:57 +02:00
Vincent Le Goff
5e242589d9 Rewrite the README in a development-oriented documentation 2017-05-06 14:42:57 +02:00