mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Update Lock documentation. Update CHANGELOG
This commit is contained in:
parent
df877c6b06
commit
3add3168ea
5 changed files with 76 additions and 132 deletions
|
|
@ -132,7 +132,7 @@ with
|
|||
> room.add_room_state("summer", "empty")
|
||||
> room.get_stateful_desc()
|
||||
|
||||
This is a nice beach. It is completely empty
|
||||
This is a nice beach. It is completely empty.
|
||||
|
||||
> room.remove_room_state("empty")
|
||||
> room.add_room_state("full")
|
||||
|
|
@ -140,7 +140,7 @@ with
|
|||
|
||||
This is a nice beach. It is full of people.
|
||||
|
||||
There are four time-of-day states that are meant to be used with these tags. The
|
||||
There are four default time-of-day states that are meant to be used with these tags. The
|
||||
room tracks and changes these automatically. By default they are 'morning',
|
||||
'afternoon', 'evening' and 'night'. You can get the current time-slot with
|
||||
`room.get_time_of_day`. You can control them with
|
||||
|
|
@ -148,7 +148,7 @@ room tracks and changes these automatically. By default they are 'morning',
|
|||
```
|
||||
ExtendedRoom.hours_per_day # default 24
|
||||
ExtendedRoom.times_of_day # dict of {season: (start, end), ...} where
|
||||
# the start/end are given as fractions of the day
|
||||
# the start/end are given as fractions of the day.
|
||||
```
|
||||
|
||||
You use these inside descriptions as normal:
|
||||
|
|
|
|||
|
|
@ -319,6 +319,8 @@ Most users will want to just treat each map as a location, and name the
|
|||
"Z-coordinate" things like `Dungeon of Doom`, `The ice queen's palace` or `City
|
||||
of Blackhaven`. But you could also name it -1, 0, 1, 2, 3 if you wanted.
|
||||
|
||||
> Note that the Zcoord is searched *non-case senstively* in the
|
||||
|
||||
Pathfinding happens only within each XYMap (up/down is normally 'faked' by moving
|
||||
sideways to a new area of the XY plane).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue