room entities #85

Open
opened 3 years ago by jake · 0 comments
jake commented 3 years ago
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.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.