projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch archetypes to new-style Elements
[mudpy.git]
/
mudpy
/
misc.py
diff --git
a/mudpy/misc.py
b/mudpy/misc.py
index
231858a
..
170a4c3
100644
(file)
--- a/
mudpy/misc.py
+++ b/
mudpy/misc.py
@@
-950,7
+950,7
@@
class User:
self.avatar = Element(
"actor.avatar_%s_%s" % (self.account.get("name"), counter),
universe)
self.avatar = Element(
"actor.avatar_%s_%s" % (self.account.get("name"), counter),
universe)
- self.avatar.append("inherit", "archetype
:
avatar")
+ self.avatar.append("inherit", "archetype
.
avatar")
self.account.append("avatars", self.avatar.key)
def delete_avatar(self, avatar):
self.account.append("avatars", self.avatar.key)
def delete_avatar(self, avatar):
@@
-1401,7
+1401,7
@@
def on_pulse():
# add an element for counters if it doesn't exist
if "counters" not in universe.categories.get("internal", {}):
# add an element for counters if it doesn't exist
if "counters" not in universe.categories.get("internal", {}):
- Element("internal
:counters", universe, old_style=Tru
e)
+ Element("internal
.counters", univers
e)
# update the log every now and then
if not universe.categories["internal"]["counters"].get("mark"):
# update the log every now and then
if not universe.categories["internal"]["counters"].get("mark"):