diff options
author | Mark Holmquist <marktraceur@gmail.com> | 2011-07-27 10:18:09 -0700 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-08-01 09:22:36 +0200 |
commit | bc2819cab2978c61b2ca1d7b68a5d1f223e8647a (patch) | |
tree | 6895505207c2146c8775f7c481f5e15eb63fbe25 /src/content_mapnode.cpp | |
parent | 7ece67727dcc1ff7a6634e4b911eeb82ed3eaf45 (diff) | |
download | minetest-bc2819cab2978c61b2ca1d7b68a5d1f223e8647a.tar.gz minetest-bc2819cab2978c61b2ca1d7b68a5d1f223e8647a.tar.bz2 minetest-bc2819cab2978c61b2ca1d7b68a5d1f223e8647a.zip |
Added ladders--they don't have any use yet, though
Diffstat (limited to 'src/content_mapnode.cpp')
-rw-r--r-- | src/content_mapnode.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp index 7589f06ed..e3235778a 100644 --- a/src/content_mapnode.cpp +++ b/src/content_mapnode.cpp @@ -303,6 +303,19 @@ void content_mapnode_init() f->walkable = false; setDirtLikeDiggingProperties(f->digging_properties, 0.75); + i = CONTENT_LADDER; + f = &content_features(i); + f->setInventoryTexture("item_ladder.png"); + f->light_propagates = true; + f->param_type = CPT_LIGHT; + f->is_ground_content = true; + f->dug_item = std::string("MaterialItem ")+itos(i)+" 1"; + f->wall_mounted = true; + f->solidness = 0; + f->air_equivalent = true; + f->walkable = false; + setWoodLikeDiggingProperties(f->digging_properties, 0.5); + // Deprecated i = CONTENT_COALSTONE; f = &content_features(i); |