added snowflake object
This commit is contained in:
parent
c51bf0cd77
commit
a23533980f
|
@ -42,6 +42,7 @@
|
|||
"closeddoor": ["+",1 ,3],
|
||||
"opendoor": [""",3],
|
||||
"raindrop": [":",12],
|
||||
"snowflake": ["*",15],
|
||||
" ": [" ", 7]
|
||||
},
|
||||
"default": ["?", 7],
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
"closeddoor": ["+",1, 3],
|
||||
"opendoor": ["\"", 3],
|
||||
"raindrop": [":", 12],
|
||||
"snowflake": ["*", 15],
|
||||
" ": [" ", 7]
|
||||
},
|
||||
"writable": {
|
||||
|
|
|
@ -28,3 +28,5 @@ entities["roomexit"] = lambda destRoom, destPos=None, mask=(False, False), sprit
|
|||
entities["wound"] = lambda duration=4, height=0.2: Entity(sprite="wound", name="", height=height, components={"volatile": Volatile(duration), "serialize": Static(None)})
|
||||
|
||||
entities["raindrop"] = lambda: Entity(sprite="raindrop", name="", height=10, components={"weather": Weather(speed=2.5, spread=0.2), "serialize": Static(None)})
|
||||
|
||||
entities["snowflake"] = lambda: Entity(sprite="snowflake", name="", height=10, components={"weather": Weather(speed=1, spread=0.5), "serialize": Static(None)})
|
||||
|
|
Loading…
Reference in New Issue