home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add wearable hats.
[plomrogue2]
/
plomrogue
/
things.py
diff --git
a/plomrogue/things.py
b/plomrogue/things.py
index 31820541a7ad46a51a76b8a07bf2f412d3b39267..2c12cf283e41cc5b788d37c35d1fabe23225ba17 100644
(file)
--- a/
plomrogue/things.py
+++ b/
plomrogue/things.py
@@
-163,6
+163,19
@@
class Thing_BottleSpawner(ThingSpawner):
+class Thing_Hat(Thing):
+ symbol_hint = 'H'
+ portable = True
+ design = ' X X ==='
+
+
+
+class Thing_HatSpawner(ThingSpawner):
+ child_type = 'Hat'
+
+
+
+
import datetime
class Thing_MusicPlayer(Thing):
symbol_hint = 'R'