diff options
| author | troido <troido@protonmail.com> | 2020-02-21 20:01:24 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-02-21 20:01:24 +0100 |
| commit | 7e9784f23d1920640152d1bc99a0725f6f22d529 (patch) | |
| tree | 8b4e33f67b827d1a5123e82877f61c1a6805aeb7 /src/defaultencyclopedia.rs | |
| parent | 8169718d7e0b189acdf69c14ee817d2c6aa684e1 (diff) | |
visible component now also has a name
Diffstat (limited to 'src/defaultencyclopedia.rs')
| -rw-r--r-- | src/defaultencyclopedia.rs | 9 |
1 files changed, 6 insertions, 3 deletions
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"] |
