From 7e9784f23d1920640152d1bc99a0725f6f22d529 Mon Sep 17 00:00:00 2001 From: troido Date: Fri, 21 Feb 2020 20:01:24 +0100 Subject: visible component now also has a name --- src/defaultencyclopedia.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/defaultencyclopedia.rs') diff --git a/src/defaultencyclopedia.rs b/src/defaultencyclopedia.rs index f15f443..9f93e40 100644 --- a/src/defaultencyclopedia.rs +++ b/src/defaultencyclopedia.rs @@ -36,7 +36,8 @@ pub fn default_encyclopedia() -> Encyclopedia { ["string", "grass3"], ["string", "ground"] ]], - "height": ["float", 0.1] + "height": ["float", 0.1], + "name": ["string", "grass"] }], "Floor" ] @@ -49,7 +50,8 @@ pub fn default_encyclopedia() -> Encyclopedia { ["string", "grass2"], ["string", "grass3"] ]], - "height": ["float", 0.1] + "height": ["float", 0.1], + "name": ["string", "grass"] }], "Floor" ] @@ -95,7 +97,8 @@ pub fn default_encyclopedia() -> Encyclopedia { "components": [ ["Visible", { "sprite": ["string", "player"], - "height": ["float", 1.0] + "height": ["float", 1.0], + "name": ["arg", "name"] }], ["Player", { "name": ["arg", "name"] -- cgit