From f9166921ddc28690d0be5b99c9bb1d62749103fb Mon Sep 17 00:00:00 2001 From: Pfauenauge90 <44173739+Pfauenauge90@users.noreply.github.com> Date: Sat, 11 Apr 2020 02:13:48 +0200 Subject: [PATCH] pizza sprite --- assets/voxygen/voxel/sprite/ember/1.vox | Bin 2232 -> 3124 bytes common/src/terrain/block.rs | 7 ++++--- voxygen/src/scene/terrain.rs | 7 ++----- world/src/block/mod.rs | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/assets/voxygen/voxel/sprite/ember/1.vox b/assets/voxygen/voxel/sprite/ember/1.vox index da75312d06a62a05ea0f9c6d78ce9f62f7dabf66..62d1658dadfa5a9ad60d5706852abed0ff69f432 100644 GIT binary patch literal 3124 zcmXBVF>WPG8O8Chs{3|TbvMC8NCar);7P4s2tvcUS-8x^@Uz$Jv;m41EjfmfW|LF%qe4Hcx^y%|& z4ad*Vd|ouskAM06=|ANt$A8l?elvW@5w~5$x8D2|aX&;nSoWnxJT~)@?7#P&cah>t zO7WPD9rY>hPyApkDZW*;mh4G!H>u5hWP5Ua%h@^9=lFW!2lGOeZ#nKq>n8Kr7+u^a z%3VBkoorp)p7?<;eC1mgcOy+St3@B*QXjY3*!8mYad+YezVMZAy>t5bI;qWlJjN*= z)5#s2;;uWzeSeaTANayozMbNBG@sOG^BCeT4e^i%cQDv9#N&w{_`+AdSu^s};G7}8 zM$r%DqMxFlq91$wmxArVKiY>KYZ(* z(jZhA7fYbQ}x3SeBmqKs(z||)aI(6rk^Go zbuD4ko0<<)_{z7YAL}Obxh0G`XY{6{I~biaCX9MhzVMZAG+H-}-qaYAekS)uoq0dG z1M`6jU-@P}8YkmC*)u1MI%iH8m5o2~17G;cx7nWAUGwwot|MbKV>DwlV>DwlV>Dwl zV>DwlV>DwlV>DwlV>DwlV>DwlV>DwlV>DwlW7M9MF=`JV*`Ay+>Ky8G#%RW9#%RW9 z#%RW9#%RW-@1%Z=g_Pcy?*+P(Tq{q`i#+x(Tq|3@U3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|Kmi0AZK!*nMA)4fq ze3DP{Nxqg1^1)<~5As32p4!PfdFP;$ck*?+M&8I9c_V1#{47E)dw;Z2_Ps69-)9~3I1AH1j4WEWj!)JRm@M-uod>SH+58WOYHfx;N zC~5=^AAW!wpN3Dvr>)tnS&G3#AgJG0vGULQ4l1Rudi@DY5r#}6ODNAMAR1fT7Z z#7FQEd;}lCXM0TX5qtz6!AFqcqk)_ag_DKC7s6+_z!N;e1Kh$jT)``l7kGvXJi#M8 zz%5+E6}$p@foHhD6FkBL+`=_n!K>xv bool { match self { - BlockKind::Water => true, + BlockKind::Water => true, _ => false, } } @@ -125,7 +125,8 @@ impl BlockKind { BlockKind::LeafyPlant => false, BlockKind::Fern => false, BlockKind::DeadBush => false, - BlockKind::Blueberry => false, + BlockKind::Blueberry => false, + BlockKind::Ember => false, _ => true, } } @@ -183,7 +184,7 @@ impl BlockKind { BlockKind::Velorite => true, BlockKind::VeloriteFrag => true, BlockKind::Chest => true, - BlockKind::Pumpkin => true, + BlockKind::Pumpkin => true, _ => false, } } diff --git a/voxygen/src/scene/terrain.rs b/voxygen/src/scene/terrain.rs index b432b64e13..a2905f8c5a 100644 --- a/voxygen/src/scene/terrain.rs +++ b/voxygen/src/scene/terrain.rs @@ -172,7 +172,7 @@ fn sprite_config_for(kind: BlockKind) -> Option { }), BlockKind::Ember => Some(SpriteConfig { variations: 1, - wind_sway: 4.0, + wind_sway: 0.8, }), _ => None, @@ -1073,10 +1073,7 @@ impl Terrain { // Ember ( (BlockKind::Ember, 0), - make_model( - "voxygen.voxel.sprite.ember.1", - Vec3::new(-6.0, -6.0, -0.0), - ), + make_model("voxygen.voxel.sprite.ember.1", Vec3::new(-7.0, -7.0, -2.9)), ), ] .into_iter() diff --git a/world/src/block/mod.rs b/world/src/block/mod.rs index 75994a3738..173aa7d1f7 100644 --- a/world/src/block/mod.rs +++ b/world/src/block/mod.rs @@ -604,12 +604,12 @@ pub fn block_from_structure( StructureBlock::Fruit => Some(if field.get(pos + structure_pos) % 3 > 0 { Block::empty() } else { - Block::new(BlockKind::Ember, Rgb::new(0, 0, 0)) + Block::new(BlockKind::Apple, Rgb::new(1, 1, 1)) }), StructureBlock::Chest => Some(if structure_seed % 10 < 7 { Block::empty() } else { - Block::new(BlockKind::Chest, Rgb::new(0, 0, 0)) + Block::new(BlockKind::Chest, Rgb::new(1, 1, 1)) }), StructureBlock::Liana => Some(Block::new( BlockKind::Liana,