summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/world.rs1
-rw-r--r--todo.md16
2 files changed, 6 insertions, 11 deletions
diff --git a/src/world.rs b/src/world.rs
index 0c7e0e9..16ac4db 100644
--- a/src/world.rs
+++ b/src/world.rs
@@ -55,6 +55,7 @@ impl <'a, 'b>World<'a, 'b> {
}
self.rooms.insert(id.clone(), room);
}
+ // todo: log any that occurs (and still return it)
self.rooms.get_mut(id).ok_or(aerr!("can't get room after loading it"))
}
diff --git a/todo.md b/todo.md
index 610b059..0e3ef22 100644
--- a/todo.md
+++ b/todo.md
@@ -1,22 +1,16 @@
# TODO
-- delays for moving/fighting
-- handle player death
-- log world events to player
- interactions
-- spawners
- growing/timers
+- save variable arguments (health etc)
+- safely write files
+- log failure in room loading
+- log world events to player
+- loot
- room unloading
- relative room locations
-- ai mobs
-- healing
- equipment
-- autofight/autoretaliate
-- wounds
-- loot
- shortcuts for defining items
- improve error handling
-- don't crash immediately on invalid map files
-- safely write files