room entities #85

Open
opened 2022-01-07 12:00:10 -05:00 by jake · 0 comments
Owner

in my autistic need for comprehensive nonsense, I figure I may as well keep track of rooms and things.

struct Room {
    id: RoomId
    name: String,
    episode: Episode,
    created_by: CharacterEntityId,
}

enum RoomNoteDetail {
    PlayerJoined(CharacterEntityId),
    PlayerLeft(CharacterEntityId),
    QuestStarted(QuestId),
    ...
}

struct RoomNote {
	note: RoomNoteDetail,
    timestamp: chrono::DateTime<chrono::Utc>,
}

then to go with this add room_id to ItemNoteDetail::EnemyDrop (as well as monster: MonsterType cause whynot)

in my autistic need for comprehensive nonsense, I figure I may as well keep track of rooms and things. ``` struct Room { id: RoomId name: String, episode: Episode, created_by: CharacterEntityId, } enum RoomNoteDetail { PlayerJoined(CharacterEntityId), PlayerLeft(CharacterEntityId), QuestStarted(QuestId), ... } struct RoomNote { note: RoomNoteDetail, timestamp: chrono::DateTime<chrono::Utc>, } ``` then to go with this add `room_id` to `ItemNoteDetail::EnemyDrop` (as well as monster: MonsterType cause whynot)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jake/elseware#85
No description provided.