From 8fed55072b5b2d5baa06e2ab045df3161f86fdb2 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Mon, 16 Nov 2015 15:33:09 +0100 Subject: [PATCH] assign gravity to gravity blocks --- data/default.types | 3 +++ 1 file changed, 3 insertions(+) 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 = { -- 2.39.2