Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Brodur

Members
  • Content Count

    7
  • Joined

  • Last visited

Everything posted by Brodur

  1. I agree with all of your points, thanks! One question, in the above quote would this not be undesirable? As I store my users in a table where they are the key and a boolean is the value. So if the user was false, aka trusted but not admin, would the above code not function properly?
  2. Asking honestly, what can I do better in this program? I am not overly familiar with lua and would love some pointers on how I could make this program better. Also, pointers on getting event listening working would be great! https://pastebin.com/rChVHKss https://github.com/Brodur/Turret-Control
  3. I am working on making another program and needed to port some old code from computer craft so I figured I may as well share. This file conaints 2 types of menus, a vertical list which takes an array and optional header text, and a yes/no style menu that can be customized. local term = require("term") local event = require("event") local methods = {} function methods.list(m, header) header = header or "Menu List" n=1 while(true) do term.clear() term.setCursor(1,1) term.write(header) term.setCursor(1,2) for i=1, #m, 1 do if(i==n) then term.write
  4. Brodur

    Easy item ids?

    NEI Provides IDs, metas, and display names easily enough, however it only dumps a reference to the recipe handlers and no recipes themselves. Might have to look into manual input for that bit... that'd be tedious.
  5. Brodur

    Easy item ids?

    That would be amazing, I will look into that.
  6. Is there an easy way to obtain Item ids, common names, and material costs? I am conceptualizing an inventory management program and wondering about the feasability of having robots pick the base components needs to craft an item based on a recursivley generated list (calls all the different material costs until it returns an item with no cost). I have a CSV of vanilla ids and names, but not material costs. Furthermore this would likely be used with some FTB modpack, which would mean I would like to know if there are lists out there for modded items as well. Any resources would be much app
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.