Renamed at_pre_destroy() to at_object_destruction() to be consistent with at_object_creation() and at_player_creation(). Added additional documentation as well.
This commit is contained in:
parent
4bcbfd855a
commit
ee8bd34bb3
2 changed files with 9 additions and 7 deletions
|
|
@ -753,7 +753,7 @@ def cmd_destroy(command):
|
|||
return
|
||||
|
||||
# Run any scripted things that happen before destruction.
|
||||
target_obj.scriptlink.at_pre_destroy(pobject=source_object)
|
||||
target_obj.scriptlink.at_object_destruction(pobject=source_object)
|
||||
|
||||
# Notify destroyer and do the deed.
|
||||
source_object.emit_to("You destroy %s." % target_obj.get_name())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue