Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Harminoff
Oct 24, 2005


I really hope they expand the LUA capabilities with industry soon. Just being able to get container info and get industry unit info would be great.

Adbot
ADBOT LOVES YOU

Harminoff
Oct 24, 2005


FileNotFound posted:

I would suck dick for a LUA script that could change recipes on upstream production based on crate content.

IE low on this alloy? Change smelter to make it. Rather than having a bunch of smelters set on maintaining the quantity.

And before anyone wonders if you can do that - the answer is that there is currently no way to flip recipes with lua

Exactly.

Like, in order to get stats of a container the only info you can get its weight. So if you want to get a count of an item you have to have each container have a different item, and then do the math to figure out.

If you need to use the metalworks in two stages of building something, you can just say creat 100x screws and then feed those back in to make the next part, you have to either watch it and do it manually, or have a chain of metalwork industry set up.

You pretty much have to make way more units of everything just to operate. Even starting out, just having one smelter is a pain in the rear end so you need at least 3.

Harminoff
Oct 24, 2005


One thing to note though is that I'm pretty sure the LUA code is client side, so you wouldn't be able to just create a script to automate it all and walk away. You'd have to have someone there for the script to run off of.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply