Some ideas :
As part of your 'get' command, include :
for item in self.caller.location:
if item.db.is_character:
if item.db.is_awake:
item.msg("%s picks up the %s" % (self.caller, item_to_get))
You'd have to include that for all commands that send messages to the room.
On all the commands available to a sleeping character :
if self.caller.db.is_awake:
blah blah blah
else:
self.caller.msg("You cannot do that, try to wake up yourself before!")
Other people will have cooler streamlined super-python ways to do it,
but this would still work.
> --
> You received this message because you are subscribed to the Google Groups
> "Evennia" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
evennia+u...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/evennia/6caa2eff-2adc-4811-8f72-a9548bc37421n%40googlegroups.com.
>