Advertisement
mathiaas

constants

Apr 14th, 2024 (edited)
798
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.31 KB | None | 0 0
  1. DIRECTIONS = {
  2.     "North",
  3.     "East",
  4.     "South",
  5.     "West",
  6. }
  7.  
  8. STATUS = {
  9.     ERROR = "Error",
  10.     IDLE = "Idle",
  11.     FINISHED = "Finished",
  12.     RUNNING = "Running",
  13.     STARTING = "Starting"
  14. }
  15.  
  16. -- Constants for color channels used as ender chest frequencies.
  17. -- https://tweaked.cc/module/colors.html
  18. COLOR_CHANNELS = {
  19.     fuel = {2, 1, 1},
  20.     farmingDepot = {2, 1, 2},
  21.     logs = {2, 1, 4},
  22.     seeds = {2, 1, 8},
  23.     sapling = {2, 1, 16},
  24.     manaGlass = {2, 1, 32},
  25.     dirt = {2, 1, 64},
  26.     stone = {2, 2, 1},
  27.     miningDepot = {2, 2, 2},
  28. }
  29.  
  30.  
  31. BLOCKS = {
  32.     barrel = {name="mcp.mobius.betterbarrel"},
  33.     carrot = {name="minecraft:carrot"},
  34.     enderChest = {name="EnderStorage:enderChest"},
  35.     leaves = {name="minecraft:leaves"},
  36.     livingwood = {name="Botania:livingwood"},
  37.     livingrock = {name="Botania:livingrock"},
  38.     log = {name="minecraft:log"},
  39.     potato = {name="minecraft:potatoes"},
  40.     wheat = {name="minecraft:wheat"}
  41. }
  42.  
  43.  
  44. ITEMS = {
  45.     apple = {name="minecraft:apple", damage=0},
  46.     carrot = {name="minecraft:carrot", damage=0},
  47.     charcoal = {name="minecraft:coal", damage=1},
  48.     coal = {name="minecraft:coal", damage=0},
  49.     enderChest = {name="EnderStorage:enderChest", damage=0},
  50.     log = {name="minecraft:log", damage=0},
  51.     potato = {name="minecraft:potato", damage=0},
  52.     sapling = {name="minecraft:sapling", damage=0},
  53.     seeds = {name="minecraft:wheat_seeds", damage=0},
  54.     stone = {name="minecraft:stone", damage=0},
  55. }
  56.  
  57.  
  58. CROPS = {
  59.     wheat = {
  60.         name = BLOCKS.wheat.name,
  61.         mature = 7,
  62.         seed = ITEMS.seeds.name,
  63.         speed = 20 * 60,
  64.         channel = COLOR_CHANNELS.seeds
  65.     },
  66.     carrot = {
  67.         name = BLOCKS.carrot.name,
  68.         mature = 7,
  69.         seed = ITEMS.carrot.name,
  70.         speed = 15 * 60
  71.     },
  72.     potato = {
  73.         name = BLOCKS.potato.name,
  74.         mature = 7,
  75.         seed = ITEMS.potato.name,
  76.         speed = 15 * 60
  77.     },
  78.     livingwood = {
  79.         name = BLOCKS.livingwood.name,
  80.         mature = 0,
  81.         seed = ITEMS.log.name,
  82.         speed = 65,
  83.         channel = COLOR_CHANNELS.logs
  84.     },
  85.     livingrock = {
  86.         name = BLOCKS.livingrock.name,
  87.         mature = 0,
  88.         seed = ITEMS.stone.name,
  89.         speed = 65,
  90.         channel = COLOR_CHANNELS.stone
  91.     }
  92. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement