Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Jan 19th, 2020 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for color, code in pairs(rgb_colors) do   -- 'rgb_colors' is a table with color string names as keys and the corresponding string codes as values
  2.     minetest.register_node("luxury_decor:simple_" .. color .. "_tulle_with_rings_leftmove", {  -- an error is starting from here
  3.         description = "Simple " .. string.upper(string.sub(color, 1, 1) .. string.sub(color, 2) .. " Tulle With Rings (left-moving)\n".. minetest.colorize("#FF0000", "Right-click the bottom of a cornice to connect with it")),
  4.         drawtype="mesh",
  5.         mesh = "simple_tulle_with_rings_leftmove.b3d",
  6.         tiles = {
  7.             {"simple_tulle_moving2.png", animation={
  8.                 type="vertical_frames",
  9.                 aspect_w=64,
  10.                 aspect_h=64,
  11.                 length=1.5
  12.                 }
  13.             }
  14.         },
  15.         overlay_tiles = {{"simple_tulle_moving1.png", color=code}},
  16.         use_texture_alpha = true,
  17.         paramtype = "light",
  18.         paramtype2 = "facedir",
  19.         walkable = false,
  20.         collision_box = {
  21.             type="fixed",
  22.             fixed = {
  23.                 {-0.5, -0.5, 0.25, 0.5, 0.5, 0.5}
  24.             }
  25.         },
  26.         selection_box = {
  27.             type="fixed",
  28.             fixed = {
  29.                 {-0.5, -0.5, 0.25, 0.5, 0.5, 0.5}
  30.             }
  31.         },    
  32.         groups = {snappy=3.7, not_in_creative_inventory=true},
  33.         sounds = default.node_sound_leaves_defaults(),
  34.         node_group = "Curtain with rings",
  35.         sub_node_group = "Left-Moving"
  36.     })
  37. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top