home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set saner minimal terminal size values in web client.
[plomrogue2]
/
plomrogue
/
things.py
diff --git
a/plomrogue/things.py
b/plomrogue/things.py
index ecddc8767483dd8599b43a373de5392127fc260e..0a06601e8a3836a77cd05602ff010467c2560e92 100644
(file)
--- a/
plomrogue/things.py
+++ b/
plomrogue/things.py
@@
-17,6
+17,7
@@
class ThingBase:
class Thing(ThingBase):
class Thing(ThingBase):
+ blocking = False
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@@
-34,11
+35,18
@@
class Thing(ThingBase):
-class Thing_Stone(Thing):
- symbol_hint = 'o'
+class Thing_Item(Thing):
+ symbol_hint = 'i'
+
+
+
+class Thing_Furniture(Thing):
+ symbol_hint = 'h'
+
class ThingAnimate(Thing):
class ThingAnimate(Thing):
+ blocking = True
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@@
-105,4
+113,4
@@
class Thing_Player(ThingAnimate):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
- self.
nickname = 'undefined'
+ self.
carrying = None