map shortnames/identifiers
This commit is contained in:
parent
849a554055
commit
9fb791039f
12 changed files with 80 additions and 26 deletions
|
|
@ -22,6 +22,7 @@ pub fn get_local_desc(id: i32) -> String {
|
|||
pub fn get_local_col(id: i32) -> RGB {
|
||||
let col = match id {
|
||||
ID_TOWN => TO_TOWN_COLOUR,
|
||||
ID_TOWN2 => GRASS_COLOUR,
|
||||
ID_OVERMAP => TO_OVERMAP_COLOUR,
|
||||
_ => (255, 255, 255),
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
pub const NAME_OVERMAP: &str = "WORLD MAP";
|
||||
pub const NAME_OVERMAP: &str = "the travel map";
|
||||
pub const SHORTNAME_OVERMAP: &str = "Travel";
|
||||
pub const NAME_DUNGEON_RANDOM: &str = "the dungeon";
|
||||
pub const NAME_STARTER_TOWN: &str = "TOWN NAME";
|
||||
pub const SHORTNAME_DUNGEON_RANDOM: &str = "D";
|
||||
pub const NAME_STARTER_TOWN: &str = "the town of Saff";
|
||||
pub const SHORTNAME_STARTER_TOWN: &str = "Saff";
|
||||
pub const NAME_FOREST_BUILDER: &str = "the woods outside of town";
|
||||
pub const SHORTNAME_FOREST_BUILDER: &str = "Woods";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue