Jump to content

Azerik

Members
  • Posts

    47
  • Joined

  • Last visited

Everything posted by Azerik

  1. Do these files need to be clientside as well as serverside? I'm trying to clean some of the junk out of my modpack and only have people install what they need to rather than everything.
  2. I think that is going to be my solution, I will run the max cargo back up a bit so unmolested npcs will help supply things, and then make it so it only drops a smidgen of the available cargo when killed/robbed. Unless someone finds a way to arm these guys and make them shoot back....that'd be the best punishment for pirates IMO.
  3. Yeah, I had found those lines when you guys were discussing it and I modified them already. The question, you just cleared up for me, was if there was any way to drop that 50% down to something else. I wonder if that line you found, you could either replace the amount with an actual number or adjust that 2 after the "amount" to b say, 4 so they only drop every 4th good or 25%?
  4. You'd slide off if there was something there. There is a set spot where you pop into a sector when you jump normally. No matter where you jump from, you always land there. (roughly the center I believe). When you teleport, it saves your relative position. So if you flew out 100km from the center, and teleported, you'd be 100km from the center in the same direction (and orientation) in the new sector.
  5. Important to note, there is a difference between jumping normally and teleport. Teleport retains your relative position *in* the sector. If you jump normally to sector X Y, then fly out 200km from the spawn point, if you teleport to x2 y2 from there, you will arrive in x2 y2 200km out from the middle.
  6. Do those only cover the stuff that is dropped or what the ship is carrying? My users seemed to think that it was the latter. While reducing the amount of stuff that they carry could deal with piracy, if it is also killing the amount that is being delivered to stations if the cargo ships are unmolested, then it's more of a problem. Really the end-game of Avorion isn't killing the Guardian, it's setting up your commercial empire (IMO at least), so I'm trying to walk a line that discourages piracy by my players, but still allows stations to be supplied. I'm hoping they come to realize that stations were meant to be mostly supplied by players, but until they do they are expecting npc traders to help out. If I could leave the amount the ships are carrying reasonably high, but kill the percentage they drop when killed, it would solve the problem. If I could ridiculously OP arm the traders, then the risk of death would also help deter piracy. I'm pretty sure that is in the ship generation somewhere, but my coding skills are 30 years out of date. I don't do bad with what I've done, but if someone with a better understanding of current coding and that has spent more time crawling through the code could aim me in the right direction...
  7. Is there any way to change the percentage of cargo that will drop from the destroyed ships? Is there a place in there that I could specify that the cargo ships are heavily armed? I've got a group of people that spend their entire playtime destroying the economy by hunting cargo ships, nd then complaining their stations don't get stock from npcs. I'd kinda like hunting cargo ships to be routinely fatal for the players.
  8. Because Kane was a brilliant person and put up the diff check... Unzip it. Change the name to remove the .mod, put it in your Avorion\data\scripts\systems folder miningsystem.mod.zip
  9. Thank you. I've spent most of this week scrambling to get things updated and fixed and such for our reset today. I didn't even find out until Friday that cargo shuttles only take 1 cargo at a time. There is *no* way I will sustain my production lines with that. Unless we can suddenly have a couple thousand cargo shuttles at a time. I won't be able to fully test things for a bit, but I'll let you know if there are any problems.
  10. If you own the server (or have file access), there might be options. If you are just playing on a server, you are stuck. Neutral zones don't spawn either pirates or aliens (I think aliens, maybe both), hanging out there while building helps. The only place I've seen that is utterly immune to either is the end sector of the Exodus quest.
  11. Single player or multiplayer? Single player, just put the following in your chat /run Entity():addScript("lib/entitydbg.lua") Click the icon that comes up, 2nd tab from the left, bottom option: Disable Events That will stop them entirely. Though you may need to do it with each sector you warp into.
  12. I'm stumped again. I added the last 7 factories I needed and the final good today. Everything is running without errors, but I can't spawn the last 7 factories either through the debug menu or by founding a station with a ship. The last good in the goodsindex also doesn't show up in the spawn cargo tab on the debug menu either. I've installed it locally, I've installed it on the server. I've double checked to see that the stuff *is* in the files in the game folders. Restarted my game totally, even snuck in a reboot on the computer. I even started a new single player world and still can't found them or spawn one in. Everything from the BBQ Sauce Bottling Factory on down is MIA, and so is Stuffing. Any ideas? See what I've missed? productionsindex.lua table.insert(productions, {factory="${good} Bottling Factory ${size}", ingredients={{name="Tomato", amount=50, optional=0}, {name="Fruit", amount=50, optional=0}, {name="Anchovy", amount=50, optional=0}, {name="Spices", amount=10, optional=0}}, results={{name="Brown Sauce", amount=100}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Rice", amount=100, optional=0}, {name="Spices", amount=5, optional=0}, {name="Vegetable", amount=40, optional=0}, {name="Chicken", amount=20, optional=0}, {name="Egg", amount=10, optional=0}}, results={{name="Fried Rice", amount=25}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Wheat", amount=1, optional=0}, {name="Egg", amount=1, optional=0}, {name="Water", amount=1, optional=0}}, results={{name="Noodle", amount=1}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Pork", amount=5, optional=0}, {name="Wood", amount=1, optional=0}, {name="Spices", amount=1, optional=0}}, results={{name="Pulled Pork", amount=7}}, garbages={}}) table.insert(productions, {factory="${good} Bottling Factory ${size}", ingredients={{name="Tomato", amount=20, optional=0}, {name="Wood", amount=10, optional=0}, {name="Spices", amount=5, optional=0}, {name="Sugar", amount=10, optional=1}, {name="Acid", amount=3, optional=1}}, results={{name="BBQ Sauce", amount=50}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Bacon", amount=4, optional=0}, {name="Bread", amount=2, optional=0}, {name="Dairy", amount=1, optional=0}, {name="Brown Sauce", amount=1, optional=0}, {name="Ketchup", amount=1, optional=1}}, results={{name="Bacon Sandwich", amount=5}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Sheep", amount=4, optional=0}, {name="Onion", amount=15, optional=0}, {name="Oat", amount=20, optional=0}, {name="Spices", amount=2, optional=0}, {name="Cattle", amount=1, optional=1}}, results={{name="Haggis", amount=13}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Noodle", amount=5, optional=0}, {name="Cheese", amount=2, optional=0}, {name="Dairy", amount=5, optional=0}, {name="Water", amount=10, optional=0}}, results={{name="Mac n Cheese", amount=7}}, garbages={}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=5, optional=0}, {name="Water", amount=10, optional=0}, {name="Fertilizer", amount=5, optional=0}}, results={{name="Onion", amount=75}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Vegetable", amount=5, optional=0}, {name="Potato", amount=5, optional=0}, {name="Dairy", amount=2, optional=0}}, results={{name="Neeps n Tatties", amount=6}}, garbages={}}) table.insert(productions, {factory="${good} Bakery ${size}", ingredients={{name="Wheat", amount=20, optional=0}, {name="Egg", amount=5, optional=0}, {name="Dairy", amount=15, optional=0}, {name="Sugar", amount=10, optional=0}}, results={{name="Cake", amount=15}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Bread", amount=10, optional=0}, {name="Meat", amount=10, optional=0}, {name="Lettuce", amount=10, optional=0}, {name="Cheese", amount=10, optional=0}, {name="Ketchup", amount=5, optional=1}, {name="Mustard", amount=5, optional=1}, {name="BBQ Sauce", amount=5, optional=1}}, results={{name="Hamburger", amount=1}}, garbages={}}) goodsindex.lua goods["Sushi"] = {name="Sushi", plural="Sushi", description="Select cuts of raw fish on rice wrapped in seaweed.", icon="mods/pizzaplus/data/textures/icons/fishing.png", price=150, size=0.1, level=4, importance=0, illegal=false, dangerous=false, } goods["Pulled Pork"] = {name="Pulled Pork", plural="Pulled Pork", description="The second most magical product derived from pigs.", icon="mods/pizzaplus/data/textures/icons/magick-trick.png", price=169, size=0.5, level=3, importance=2, illegal=false, dangerous=false, } goods["Hamburger"] = {name="Hamburger", plural="Hamburgers", description="A ground meat sandwich.", icon="mods/pizzaplus/data/textures/icons/hamburger.png", price=7741, size=1, level=6, importance=0, illegal=false, dangerous=false, } goods["Fish and Chips"] = {name="Fish and Chips", plural="Fish and Chips", description="Breaded, deep fried fish with deep fried potatos.", icon="mods/pizzaplus/data/textures/icons/fish-smoking.png", price=300, size=0.5, level=4, importance=0, illegal=false, dangerous=false, } goods["Bacon Sandwich"] = {name="Bacon Sandwich", plural="Bacon Sandwiches", description="A sandwich of cooked back bacon between bread that is usually spread with butter, and may be seasoned with ketchup or brown sauce.", icon="mods/pizzaplus/data/textures/icons/sliced-bread.png", price=150, size=0.1, level=4, importance=0, illegal=false, dangerous=false, } goods["Stuffing"] = {name="Stuffing", plural="Stuffing", description="Bread based dressing originally cooked in the cavity of a turkey.", icon="mods/pizzaplus/data/textures/icons/fleshy-mass.png", price=65, size=0.1, level=4, importance=0, illegal=false, dangerous=false, }
  13. I'd be eternally in your debt if some intrepid soul could make this work again. I need to have the ability to run routes at a loss and this is the perfect mechanism for me.
  14. Did you install any mods? That would be the kind of help that you get here. Assuming you did, did you also install the mods on your client? That has been my experience for missing things. Though the gates should be there, maybe you started in a sector that just didn't have any? Uncommon, but it does happen.
  15. From my observations, it might matter where in goodsindex you put the new stuff. When I first tried to implement this for testing on the server (kinda stupid in retrospect, though I wouldn't have caught this w/o it), suddenly all the factories and mines I'd made were making something different. When I un-built and re-built them they seemed to work, but when I put in some more stuff, boom, all the factories were messed up again. Going forward, I'm going to keep my new factories at the top of the file to make them easier to see and work with, but I'm going to add new goods to the bottom of the file so they don't mess up ordering. I will have to do some testing where I make some factories and then add some new goods and see if it messes things up.
  16. Alas, there are no cookies in Avorion... perhaps that can be fixed... I think I will re-do my mod then. If adding at the beginning is bad then that is the source of my problems. I kinda just took my cue from Lazerzwei's all production chains and put them at the top. It made it easier to work on the files as well. Do you think goodsindex and productionsindex will both need this? I have been adding factories at the top of productionsindex just for ease of finding them and keeping them all in one place, and it seems not to have caused problems up until now. However, the factories I was adding were all working on goods already in place and the pizza stuff was adding goods left and right. I guess with comments it shouldn't be a huge thing to relocate stuff to the bottom of the file from now on. The re-ordering might also explain some errors that happened with established factories when I loaded it on the server. Note to self: change this now. As for cookies, I do believe I can add those to Avorion ;-)
  17. I had this situation with my production partner. He accidentally sold one of my stations some "negative goods" and totally tanked rep with me. I found out, quite by accident, that the HaulGoods mod bypasses the trading interface so it would keep my cargo drones trading with him even when we had max negative relations.
  18. I think I answered my own question. I modified the debug menu and added in my incinerator as an option, it worked! function onCreateConsumerButtonPressed() if onClient() then invokeServerFunction("onCreateConsumerButtonPressed") return end local generator = SectorGenerator(Sector():getCoordinates()) local faction = Galaxy():createRandomFaction(Sector():getCoordinates()) local station local consumerType = math.random(1, 4) if consumerType == 1 then station = generator:createStation(faction, "data/scripts/entity/merchants/casino.lua"); elseif consumerType == 2 then station = generator:createStation(faction, "data/scripts/entity/merchants/biotope.lua"); elseif consumerType == 3 then station = generator:createStation(faction, "data/scripts/entity/merchants/habitat.lua"); elseif consumerType == 4 then station = generator:createStation(faction, "data/scripts/entity/merchants/incinerator.lua"); end station.position = Matrix() Placer.resolveIntersections() end
  19. HA! Found it! data/scripts/sectors/loneconsumer.lua (only showing relevant snippet) -- create a consumer local consumerType = math.random(1, 5) if consumerType == 1 then generator:createStation(faction, "data/scripts/entity/merchants/casino.lua"); elseif consumerType == 2 then generator:createStation(faction, "data/scripts/entity/merchants/biotope.lua"); elseif consumerType == 3 then generator:createStation(faction, "data/scripts/entity/merchants/habitat.lua"); elseif consumerType == 4 then generator:createResearchStation(faction); elseif consumerType == 5 then generator:createMilitaryBase(faction) end Not being that familiar with lua, will changing that top line to be "math.random(1, 10)" generate a number from 1 to 10 instead of 1 to 5?
  20. I have been testing in a singleplayer created just for testing. It might be worth trying a fresh galaxy. I shall report back. Edit: That seemed to do the trick. I wonder what that implies for the process of adding goods to an already established galaxy. Maybe it generated a factory needing a flawed version that had since been removed by fixing the error. No matter what I did to fix the error, that borked factory always wanted the flawed version. I know that even if you make changes to a factory in the file, anything already spawned in uses whatever stats/materials that were specified when it was spawned. You can't change the production stats and have it apply to already spawned stations, you have to spawn a new one to see the changes. Lesson learned, test well, then roll it out. I cannot thank you all enough. I did all I could and was blinded by that and needed a fresh set of eyes to see what I'd missed. You all deserve cookies.
  21. Thank you. This makes my path clear. Edit: Will the server care if you start it every time with the --seed? Or should that only be for the initial startup? Ok, the more I think about this the more questions I have. Here is the script I'm working with (slightly anonymized). It has been working great. In preparation for this adventure I made a new directory and copied in the blacklist, admin.xml, server.ini and all the other relevant things I want to carry over (ignoring the players and sectors directories and other stuff specific to the map). I altered the server.ini with the new seed I wanted. I then copied the script currently in use and altered it to match the new path(s), and added the --seed option. If I am correct in my thinking, I should just need to execute this new version of the startup script (below) instead of the old one. That sound about right? Will it generate the new map? while true do /opt/steamcmd/steamcmd.sh +login anonymous +force_install_dir /opt/avorion +app_update 565060 validate +quit validate +quit cp linux64/steamclient.so ./steamclient.so cp -Rf /opt/avorionworld/ServerName/ModInstall/* /opt/avorion cp /opt/avorionworld/ServerName/serverlog*.txt /opt/avorionworld/ServerName/Log_Backup/ bin/AvorionServer --galaxy-name ServerName --datapath /opt/avorionworld --public true --listed true --same-start-sector false --admin Admin'sSteamID --seed GalaxySeed echo "If you want to completely stop the server process now, press Ctrl+C before the time is up!" echo "Rebooting in:" for i in 5 4 3 2 1 do echo "$i..." sleep 1 done echo "Rebooting now!" done
  22. Ok, now we are wandering into demon possession territory. It is still giving me this error. 2017-11-28 13-24-54| error: Pizza Box is neither bought nor sold 2017-11-28 13-24-54| could not execute function 'Factory.updateServer' in '"data/scripts/entity/merchants/factory.lua"': 2017-11-28 13-24-54| data/scripts/lib/tradingmanager.lua:1123: attempt to perform arithmetic on local 'goodSize' (a nil value) 2017-11-28 13-24-54| stack traceback: 2017-11-28 13-24-54| data/scripts/lib/tradingmanager.lua:1123: in function <data/scripts/lib/tradingmanager.lua:1114> 2017-11-28 13-24-54| (...tail calls...) 2017-11-28 13-24-54| data/scripts/entity/merchants/factory.lua:497: in function <data/scripts/entity/merchants/factory.lua:457> I can't figure out why. With the errors already pointed out the box factory and the pizza factory are both working. (it seems anyway) I spawned one of each in and they have stuff to sell and list things they will buy. I conjured both pizza and boxes from the debug menu and sold the pizza to a casino and the boxes to a pizza factory. I went back and copy/pasted "Aluminium" (and all the other ingredients too) from goodsindex to the box factory. I did the same with "Pizza Box" for all instances of it in productions index, kinda hoping I'd missed a typo, but now they will all be identical. Seeing the error saying goodsize was nil, I double checked and the pizza box has all the size, importance, etc. Could the level/importance be messing things up? I just copied it from something else in the goodsindex. Not knowing what those were for exactly, I just tried to find a product that was similar-ish to the new ones I was adding and copied the information from that. productionsindex.lua --pizzaplus start table.insert(productions, {factory="${good} Manufacturing Plant ${size}", ingredients={{name="Slave", amount=1, optional=0}, {name="Solvent", amount=1, optional=0}}, results={{name="Soylent Green", amount=100}}, garbages={}}) table.insert(productions, {factory="The Matrix ${size}", ingredients={{name="Slave", amount=1, optional=0}, {name="Wire", amount=1, optional=0}, {name="Morn Drug", amount=1, optional=0}}, results={{name="Energy Cell", amount=500}, {name="Meat", amount=1}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Dough", amount=1, optional=0}, {name="Marinara Sauce", amount=20, optional=0}, {name="Cheese", amount=10, optional=0}, {name="Pizza Box", amount=10, optional=0}, {name="Pepperoni", amount=1, optional=1}, {name="Anchovy", amount=2, optional=1}, {name="Pineapple", amount=5, optional=1}, {name="Olives", amount=5, optional=1}, {name="Mushroom", amount=10, optional=1}, {name="Ham", amount=10, optional=1}, {name="Bacon", amount=5, optional=1}}, results={{name="Pizza", amount=1}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Cardboard", amount=1, optional=0}, {name="Energy Cell", amount=1, optional=0}, {name="Aluminium", amount=1, optional=0}, {name="Wire", amount=1, optional=0}}, results={{name="Pizza Box", amount=2}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Dairy", amount=5, optional=0}, {name="Chemicals", amount=1, optional=0}}, results={{name="Cheese", amount=3}}, garbages={{name="Water", amount=1}}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Wheat", amount=3, optional=0}, {name="Egg", amount=2, optional=0}, {name="Water", amount=1, optional=0}, {name="Fungus", amount=1, optional=0}}, results={{name="Dough", amount=5}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Tomato", amount=10, optional=0}, {name="Garlic", amount=2, optional=0}, {name="Spices", amount=1, optional=0}, {name="Mushrooms", amount=2, optional=0}}, results={{name="Marinara Sauce", amount=40}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Pork", amount=10, optional=0}, {name="Spices", amount=1, optional=0}, {name="Fungus", amount=1, optional=0}}, results={{name="Pepperoni", amount=3}}, garbages={}}) table.insert(productions, {factory="${good} Pickling Plant ${size}", ingredients={{name="Fish", amount=10, optional=0}, {name="Chemicals", amount=1, optional=0}, {name="Garlic", amount=3, optional=0}, {name="Cooking Oil", amount=1, optional=0}, {name="Spices", amount=1, optional=0}}, results={{name="Anchovy", amount=30}}, garbages={}}) table.insert(productions, {factory="${good} Extractor ${size}", ingredients={{name="Olives", amount=10, optional=0}, {name="Energy Cell", amount=1, optional=0}}, results={{name="Cooking Oil", amount=3}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Paper", amount=1, optional=0}, {name="Adhesive", amount=1, optional=0}, {name="Wood", amount=1, optional=0}}, results={{name="Cardboard", amount=5}}, garbages={}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=1, optional=0}, {name="Corn", amount=3, optional=0}}, results={{name="Egg", amount=5}, {name="Chicken", amount=1}}, garbages={}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=6, optional=1}, {name="Water", amount=40, optional=0}, {name="Fertilizer", amount=1, optional=0}}, results={{name="Pineapple", amount=20}}, garbages={{name="Oxygen", amount=8}}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=6, optional=1}, {name="Water", amount=30, optional=0}, {name="Fertilizer", amount=5, optional=0}}, results={{name="Tomato", amount=40}}, garbages={{name="Oxygen", amount=8}}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=6, optional=1}, {name="Water", amount=40, optional=0}, {name="Fertilizer", amount=5, optional=0}}, results={{name="Mushroom", amount=60}}, garbages={{name="Oxygen", amount=8}}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=6, optional=1}, {name="Water", amount=30, optional=0}, {name="Fertilizer", amount=7, optional=0}}, results={{name="Olives", amount=45}}, garbages={{name="Oxygen", amount=8}}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=1, optional=0}, {name="Water", amount=1, optional=0}}, results={{name="Garlic", amount=4}}, garbages={}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Water", amount=1, optional=0}, {name="Corn", amount=1, optional=1}, {name="Vegetable", amount=1, optional=1}, {name="Rice", amount=1, optional=1}}, results={{name="Pig", amount=1}}, garbages={{name="Fertilizer", amount=1}}}) table.insert(productions, {factory="${good} Processing Plant ${size}", ingredients={{name="Pig", amount=1, optional=0}, {name="Energy Cell", amount=1, optional=0}}, results={{name="Pork", amount=17}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Pork", amount=15, optional=0}, {name="Spices", amount=1, optional=0}, {name="Wood", amount=1, optional=0}, {name="Chemicals", amount=1, optional=0}}, results={{name="Bacon", amount=35}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Pork", amount=2, optional=0}, {name="Water", amount=1, optional=0}, {name="Spices", amount=1, optional=0}}, results={{name="Ham", amount=26}}, garbages={}}) goodsindex.lua --Start of pizzaplus goods["Anchovy"] = {name="Anchovy", plural="Anchovies", description="Fermented, pickled bait fish, suitable only as a cruel joke topping.", icon="data/textures/pizzaplus/icons/fried-fish.png", price=123, size=0.5, level=2, importance=0, illegal=false, dangerous=false, } goods["Bacon"] = {name="Bacon", plural="Bacon", description="Alchemy in food form, the most magical product derived from pigs.", icon="data/textures/pizzaplus/icons/planks.png", price=46, size=0.5, level=3, importance=2, illegal=false, dangerous=false, } goods["Cardboard"] = {name="Cardboard", plural="Cardboard", description="Strengthened paper product used in packaging.", icon="data/textures/pizzaplus/icons/folded-paper.png", price=56, size=1, level=2, importance=1, illegal=false, dangerous=false, } goods["Cheese"] = {name="Cheese", plural="Cheese", description="Wheels of delicious cheese.", icon="data/textures/pizzaplus/icons/cheese-wedge.png", price=217, size=0.5, level=4, importance=1, illegal=false, dangerous=false, } goods["Chicken"] = {name="Chicken", plural="Chickens", description="The pet that poops breakfast.", icon="data/textures/pizzaplus/icons/chicken.png", price=26, size=0.5, level=2, importance=2, illegal=false, dangerous=false, } goods["Cooking Oil"] = {name="Cooking Oil", plural="Cooking Oil", description="A barrel of vegetable oil used for cooking food.", icon="data/textures/pizzaplus/icons/oil-drum.png", price=490, size=1, level=1, importance=4, illegal=false, dangerous=false, } goods["Dough"] = {name="Dough", plural="Dough", description="A magical combinaion of protein rich flour, eggs, salt, and water.", icon="data/textures/pizzaplus/icons/dough-roller.png", price=79, size=0.5, level=2, importance=5, illegal=false, dangerous=false, } goods["Egg"] = {name="Egg", plural="Eggs", description="Which came first, the chicken or the egg?", icon="data/textures/pizzaplus/icons/big-egg.png", price=70, size=2, level=0, importance=2, illegal=false, dangerous=false, } goods["Garlic"] = {name="Garlic", plural="Garlic", description="A fragrant bulb that makes food worth eating.", icon="data/textures/pizzaplus/icons/garlic.png", price=291, size=0.3, level=5, importance=1, illegal=false, dangerous=false, } goods["Gluten Free Vegan Pizza"] = {name="Gluten Free Vegan Pizza", plural="Gluten Free Vegan Pizza", description="If you think this is actually food...", icon="data/textures/pizzaplus/icons/turd.png", price=26, size=0.5, level=2, importance=0, illegal=false, dangerous=true, } goods["Ham"] = {name="Ham", plural="Ham", description="The third most magical product derived from pigs.", icon="data/textures/pizzaplus/icons/ham-shank.png", price=20, size=0.5, level=3, importance=2, illegal=false, dangerous=false, } goods["Marinara Sauce"] = {name="Marinara Sauce", plural="Marinara Sauce", description="Tangy, herbed tomato sauce. Truly ambrosiacal application of tomatos.", icon="data/textures/icons/oil-drum.png", price=42, size=1, level=1, importance=2, illegal=false, dangerous=false, } goods["Mushroom"] = {name="Mushroom", plural="Mushrooms", description="A mushroom is the fleshy, spore-bearing fruiting body of a fungus.", icon="data/textures/icons/mushroom.png", price=45, size=1, level=3, importance=2, illegal=false, dangerous=false, } goods["Pepperoni"] = {name="Pepperoni", plural="Pepperoni", description="Spiced, fermented sausage, the only *real* pizza topping.", icon="data/textures/pizzaplus/icons/ham-shank.png", price=309, size=0.3, level=5, importance=1, illegal=false, dangerous=false, } goods["Pineapple"] = {name="Pineapple", plural="Pineapples", description="The pineapple is a tropical plant with an edible multiple fruit consisting of coalesced berries.", icon="data/textures/pizzaplus/icons/pineapple.png", price=84, size=0.5, level=1, importance=2, illegal=false, dangerous=false, } goods["Olives"] = {name="Olive", plural="Olives", description="A cured and fremented drupe from the olive tree.", icon="data/textures/pizzaplus/icons/olive.png", price=84, size=0.5, level=1, importance=2, illegal=false, dangerous=false, } goods["Pig"] = {name="Pig", plural="Pigs", description="The omnivorous source of that most magical of foods, bacon.", icon="data/textures/pizzaplus/icons/pig.png", price=132, size=1, level=2, importance=2, illegal=false, dangerous=false, } goods["Pork"] = {name="Pork", plural="Pork", description="Proto-bacon and proto-ham.", icon="data/textures/pizzaplus/icons/ham-shank.png", price=17, size=0.5, level=3, importance=2, illegal=false, dangerous=false, } goods["Pizza Box"] = {name="Pizza Box", plural="Pizza Boxes", description="A high-tech, yet grease absorbing, self heating pizza box.", icon="data/textures/icons/cannister.png", price=308, size=0.75, level=5, importance=4, illegal=false, dangerous=false, } goods["Pizza"] = {name="Pizza", plural="Pizzas", description="A high tech, self-heating box pre-loaded with a delicious pizza.", icon="data/textures/pizzaplus/icons/pizza-slice.png", price=10741, size=2.5, level=6, importance=0, illegal=false, dangerous=false, } goods["Soylent Green"] = {name="Soylent Green", plural="Soylent Green", description="Soylent Green is People!", icon="data/textures/icons/beams-aura.png", price=223, size=0.5, level=2, importance=0, illegal=false, dangerous=false, } goods["Tomato"] = {name="Tomato", plural="Tomatos", description="A large, juicy tomato.", icon="data/textures/pizzaplus/icons/apple-seeds.png", price=84, size=0.5, level=1, importance=2, illegal=false, dangerous=false, } --End of pizzaplus
  23. I am puzzled. The productions.lua error is gone. I think that was some factories w/o ingredients/results. I figured it was something I'd done in the productionsindex.lua. I went through and added each new factory one at a time to find the other errors. I can't seem to get the final two, the pizza box factory and the actual pizza factory. When I originally made the pizza factory I had a lot of optional ingredients (the toppings). Not wanting to chase through that, I fashioned a basic cheese pizza factory. When I spawn in one of those, it looks fine. The trade interface opens, there are amounts listed, the whole 9 yards. Opening the console it is giving me a repeated error because Pizza Box isn't bought or sold (i'd paste the error, but it would mean uppng my logging level). When I spawn in a box factory, it shows up as just "Station" and not as Pizza Box Factory like it should. Also when I open it, the interface is blank for Buy/Sell Goods. No buy tab, no sell tab, nothing listed, just empty window. I originally started this as "Self-Heating Pizza Box" and have slowly migrated to just "Pizza Box" during trouble shooting. In the interests of making sure I didn't have another typo, I actually ctrl-c copied the "Pizza Box" and pasted it into the box factory as the result, as an ingredient in the pizza factory, and in the goodsindex.lua. But it keeps telling me that Pizza Box isn't bought or sold. Relevant parts of the various files. productionsindex.lua -- This file was generated automatically with a tool. productions = {} --pizzaplus start table.insert(productions, {factory="${good} Manufacturing Plant ${size}", ingredients={{name="Slave", amount=1, optional=0}, {name="Solvent", amount=1, optional=0}}, results={{name="Soylent Green", amount=100}}, garbages={}}) table.insert(productions, {factory="The Matrix ${size}", ingredients={{name="Slave", amount=1, optional=0}, {name="Wire", amount=1, optional=0}, {name="Morn Drug", amount=1, optional=0}}, results={{name="Energy Cell", amount=500}, {name="Meat", amount=1}}, garbages={}}) --table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Dough", amount=1, optional=0}, {name="Marinara Sauce", amount=20, optional=0}, {name="Cheese", amount=10, optional=0}, {name="Self Heating Pizza Box", amount=10, optional=0}, {name="Pepperoni", amount=1, optional=1}, {name="Anchovy", amount=2, optional=1}, {name="Pineapple", amount=5, optional=1}, {name="Olives", amount=5, optional=1}, {name="Mushrooms", amount=10, optional=1}, {name="Ham", amount=10, optional=1}, {name="Bacon", amount=5, optional=1}}, {results={name="Self Heating Pizza", amount=1}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Cardboard", amount=1, optional=0}, {name="Energy Cell", amount=1, optional=0}, {name="Aluminum", amount=1, optional=0}, {name="Wire", amount=1, optional=0}}, results={{name="Pizza Box", amount=2}}, garbages={}}) table.insert(productions, {factory="Cheese Pizza Factory ${size}", ingredients={{name="Dough", amount=10, optional=0}, {name="Marinara Sauce", amount=20, optional=0}, {name="Cheese", amount=10, optional=0}, {name="Pizza Box", amount=10, optional=0}}, results={{name="Pizza", amount=1}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Dairy", amount=5, optional=0}, {name="Chemicals", amount=1, optional=0}}, results={{name="Cheese", amount=3}}, garbages={{name="Water", amount=1}}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Wheat", amount=3, optional=0}, {name="Egg", amount=2, optional=0}, {name="Water", amount=1, optional=0}, {name="Fungus", amount=1, optional=0}}, results={{name="Dough", amount=5}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Tomato", amount=10, optional=0}, {name="Garlic", amount=2, optional=0}, {name="Spices", amount=1, optional=0}, {name="Mushrooms", amount=2, optional=0}}, results={{name="Marinara Sauce", amount=40}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Pork", amount=10, optional=0}, {name="Spices", amount=1, optional=0}, {name="Fungus", amount=1, optional=0}}, results={{name="Pepperoni", amount=3}}, garbages={}}) table.insert(productions, {factory="${good} Pickling Plant ${size}", ingredients={{name="Fish", amount=10, optional=0}, {name="Chemicals", amount=1, optional=0}, {name="Garlic", amount=3, optional=0}, {name="Cooking Oil", amount=1, optional=0}, {name="Spices", amount=1, optional=0}}, results={{name="Anchovy", amount=30}}, garbages={}}) table.insert(productions, {factory="${good} Extractor ${size}", ingredients={{name="Olives", amount=10, optional=0}, {name="Energy Cell", amount=1, optional=0}}, results={{name="Cooking Oil", amount=3}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Paper", amount=1, optional=0}, {name="Adhesive", amount=1, optional=0}, {name="Wood", amount=1, optional=0}}, results={{name="Cardboard", amount=5}}, garbages={}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=1, optional=0}, {name="Corn", amount=3, optional=0}}, results={{name="Egg", amount=5}, {name="Chicken", amount=1}}, garbages={}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=6, optional=1}, {name="Water", amount=40, optional=0}, {name="Fertilizer", amount=1, optional=0}}, results={{name="Pineapple", amount=20}}, garbages={{name="Oxygen", amount=8}}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=6, optional=1}, {name="Water", amount=30, optional=0}, {name="Fertilizer", amount=5, optional=0}}, results={{name="Tomato", amount=40}}, garbages={{name="Oxygen", amount=8}}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=6, optional=1}, {name="Water", amount=40, optional=0}, {name="Fertilizer", amount=5, optional=0}}, results={{name="Mushroom", amount=60}}, garbages={{name="Oxygen", amount=8}}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=6, optional=1}, {name="Water", amount=30, optional=0}, {name="Fertilizer", amount=7, optional=0}}, results={{name="Olives", amount=45}}, garbages={{name="Oxygen", amount=8}}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Energy Cell", amount=1, optional=0}, {name="Water", amount=1, optional=0}}, results={{name="Garlic", amount=4}}, garbages={}}) table.insert(productions, {factory="${good} Farm ${size}", ingredients={{name="Water", amount=1, optional=0}, {name="Corn", amount=1, optional=1}, {name="Vegetable", amount=1, optional=1}, {name="Rice", amount=1, optional=1}}, results={{name="Pig", amount=1}}, garbages={{name="Fertilizer", amount=1}}}) table.insert(productions, {factory="${good} Processing Plant ${size}", ingredients={{name="Pig", amount=1, optional=0}, {name="Energy Cell", amount=1, optional=0}}, results={{name="Pork", amount=17}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Pork", amount=15, optional=0}, {name="Spices", amount=1, optional=0}, {name="Wood", amount=1, optional=0}, {name="Chemicals", amount=1, optional=0}}, results={{name="Bacon", amount=35}}, garbages={}}) table.insert(productions, {factory="${good} Factory ${size}", ingredients={{name="Pork", amount=2, optional=0}, {name="Water", amount=1, optional=0}, {name="Spices", amount=1, optional=0}}, results={{name="Ham", amount=26}}, garbages={}}) goodsindex.lua -- This file was generated automatically with a tool. goods = {} --Start of pizzaplus goods["Anchovy"] = {name="Anchovy", plural="Anchovies", description="Fermented, pickled bait fish, suitable only as a cruel joke topping.", icon="data/textures/pizzaplus/icons/fried-fish.png", price=123, size=0.5, level=2, importance=0, illegal=false, dangerous=false, } goods["Bacon"] = {name="Bacon", plural="Bacon", description="Alchemy in food form, the most magical product derived from pigs.", icon="data/textures/pizzaplus/icons/planks.png", price=46, size=0.5, level=3, importance=2, illegal=false, dangerous=false, } goods["Cardboard"] = {name="Cardboard", plural="Cardboard", description="Strengthened paper product used in packaging.", icon="data/textures/pizzaplus/icons/folded-paper.png", price=56, size=1, level=2, importance=1, illegal=false, dangerous=false, } goods["Cheese"] = {name="Cheese", plural="Cheese", description="Wheels of delicious cheese.", icon="data/textures/pizzaplus/icons/cheese-wedge.png", price=217, size=0.5, level=4, importance=1, illegal=false, dangerous=false, } goods["Chicken"] = {name="Chicken", plural="Chickens", description="The pet that poops breakfast.", icon="data/textures/pizzaplus/icons/chicken.png", price=26, size=0.5, level=2, importance=2, illegal=false, dangerous=false, } goods["Cooking Oil"] = {name="Cooking Oil", plural="Cooking Oil", description="A barrel of vegetable oil used for cooking food.", icon="data/textures/pizzaplus/icons/oil-drum.png", price=490, size=1, level=1, importance=4, illegal=false, dangerous=false, } goods["Dough"] = {name="Dough", plural="Dough", description="A magical combinaion of protein rich flour, eggs, salt, and water.", icon="data/textures/pizzaplus/icons/dough-roller.png", price=79, size=0.5, level=2, importance=5, illegal=false, dangerous=false, } goods["Egg"] = {name="Egg", plural="Eggs", description="Which came first, the chicken or the egg?", icon="data/textures/pizzaplus/icons/big-egg.png", price=70, size=2, level=0, importance=2, illegal=false, dangerous=false, } goods["Garlic"] = {name="Garlic", plural="Garlic", description="A fragrant bulb that makes food worth eating.", icon="data/textures/pizzaplus/icons/garlic.png", price=291, size=0.3, level=5, importance=1, illegal=false, dangerous=false, } goods["Gluten Free Vegan Pizza"] = {name="Gluten Free Vegan Pizza", plural="Gluten Free Vegan Pizza", description="If you think this is actually food...", icon="data/textures/pizzaplus/icons/turd.png", price=26, size=0.5, level=2, importance=0, illegal=false, dangerous=true, } goods["Ham"] = {name="Ham", plural="Ham", description="The third most magical product derived from pigs.", icon="data/textures/pizzaplus/icons/ham-shank.png", price=20, size=0.5, level=3, importance=2, illegal=false, dangerous=false, } goods["Marinara Sauce"] = {name="Marinara Sauce", plural="Marinara Sauce", description="Tangy, herbed tomato sauce. Truly ambrosiacal application of tomatos.", icon="data/textures/icons/oil-drum.png", price=42, size=1, level=1, importance=2, illegal=false, dangerous=false, } goods["Mushroom"] = {name="Mushroom", plural="Mushrooms", description="A mushroom is the fleshy, spore-bearing fruiting body of a fungus.", icon="data/textures/icons/mushroom.png", price=45, size=1, level=3, importance=2, illegal=false, dangerous=false, } goods["Pepperoni"] = {name="Pepperoni", plural="Pepperoni", description="Spiced, fermented sausage, the only *real* pizza topping.", icon="data/textures/pizzaplus/icons/ham-shank.png", price=309, size=0.3, level=5, importance=1, illegal=false, dangerous=false, } goods["Pineapple"] = {name="Pineapple", plural="Pineapples", description="The pineapple is a tropical plant with an edible multiple fruit consisting of coalesced berries.", icon="data/textures/pizzaplus/icons/pineapple.png", price=84, size=0.5, level=1, importance=2, illegal=false, dangerous=false, } goods["Olives"] = {name="Olive", plural="Olives", description="A cured and fremented drupe from the olive tree.", icon="data/textures/pizzaplus/icons/olive.png", price=84, size=0.5, level=1, importance=2, illegal=false, dangerous=false, } goods["Pig"] = {name="Pig", plural="Pigs", description="The omnivorous source of that most magical of foods, bacon.", icon="data/textures/pizzaplus/icons/pig.png", price=132, size=1, level=2, importance=2, illegal=false, dangerous=false, } goods["Pork"] = {name="Pork", plural="Pork", description="Proto-bacon and proto-ham.", icon="data/textures/pizzaplus/icons/ham-shank.png", price=17, size=0.5, level=3, importance=2, illegal=false, dangerous=false, } goods["Pizza Box"] = {name="Pizza Box", plural="Pizza Boxes", description="A high-tech, yet grease absorbing, self heating pizza box.", icon="data/textures/icons/cannister.png", price=308, size=0.75, level=5, importance=4, illegal=false, dangerous=false, } goods["Pizza"] = {name="Pizza", plural="Pizzas", description="A high tech, self-heating box pre-loaded with a delicious pizza.", icon="data/textures/pizzaplus/icons/pizza-slice.png", price=10741, size=2.5, level=6, importance=0, illegal=false, dangerous=false, } goods["Soylent Green"] = {name="Soylent Green", plural="Soylent Green", description="Soylent Green is People!", icon="data/textures/icons/beams-aura.png", price=223, size=0.5, level=2, importance=0, illegal=false, dangerous=false, } goods["Tomato"] = {name="Tomato", plural="Tomatos", description="A large, juicy tomato.", icon="data/textures/pizzaplus/icons/apple-seeds.png", price=84, size=0.5, level=1, importance=2, illegal=false, dangerous=false, } --End of pizzaplus
×
×
  • Create New...