diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-12 20:05:50 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-12 20:05:50 -0500 |
commit | aa601daf67ca220290e03608fbaa4bcddbfcfbd8 (patch) | |
tree | a0759c06b939c90e8bed4d1af84e832bbbf0b842 /boost_cart | |
parent | ce806489e2472c29bb6f32b0ec59f7e023f11c08 (diff) | |
download | dreambuilder_modpack-aa601daf67ca220290e03608fbaa4bcddbfcfbd8.tar dreambuilder_modpack-aa601daf67ca220290e03608fbaa4bcddbfcfbd8.tar.gz dreambuilder_modpack-aa601daf67ca220290e03608fbaa4bcddbfcfbd8.tar.bz2 dreambuilder_modpack-aa601daf67ca220290e03608fbaa4bcddbfcfbd8.tar.xz dreambuilder_modpack-aa601daf67ca220290e03608fbaa4bcddbfcfbd8.zip |
update boost_cart, homedecor, mesecons, moretrees, unified_inventory, and worldedit
Diffstat (limited to 'boost_cart')
-rw-r--r-- | boost_cart/functions.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boost_cart/functions.lua b/boost_cart/functions.lua index fcdd1ad..9876eb2 100644 --- a/boost_cart/functions.lua +++ b/boost_cart/functions.lua @@ -192,8 +192,8 @@ function boost_cart:boost_rail(pos, amount) end end -function boost_cart:register_rail(name, def) - local def_default = { +function boost_cart:register_rail(name, def_overwrite) + local def = { drawtype = "raillike", paramtype = "light", sunlight_propagates = true, @@ -204,7 +204,7 @@ function boost_cart:register_rail(name, def) fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2}, } } - for k, v in pairs(def_default) do + for k, v in pairs(def_overwrite) do def[k] = v end if not def.inventory_image then |