From: Daniel Karbach Date: Mon, 16 Nov 2015 14:33:09 +0000 (+0100) Subject: assign gravity to gravity blocks X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;ds=sidebyside;h=8fed55072b5b2d5baa06e2ab045df3161f86fdb2;p=blank-assets.git assign gravity to gravity blocks --- diff --git a/data/default.types b/data/default.types index 7bda2f5..b0b264b 100644 --- a/data/default.types +++ b/data/default.types @@ -224,6 +224,7 @@ grav_spherical = { place_sound = "thump"; remove_sound = "plop"; shape = uniform_block; + gravity = Radial(15); }; grav_directed = { textures = [ "gravity-directed", "gravity-neutral" ]; @@ -231,6 +232,8 @@ grav_directed = { place_sound = "thump"; remove_sound = "plop"; shape = pipe_block; + // 15x8x15 box with 10 units gravity downwards + gravity = CuboidField([ 0, -10, 0 ], [ -7.5, -0.5, -7.5 ], [ 7.5, 7.5, 7.5 ]); }; light = {