ChoMar Posted January 30, 2017 Share Posted January 30, 2017 A new helptext what turrets / systems & other is availible would be nice... or did i just not read it Link to comment Share on other sites More sharing options...
Aki Posted January 30, 2017 Author Share Posted January 30, 2017 A new helptext what turrets / systems & other is availible would be nice... or did i just not read it I have added in-game list for all available materials/rarities/turrets/upgrades: /inventory available <type>. Command help is now also available via /inventory help (same thing as /help inventory). Link to comment Share on other sites More sharing options...
RivalTaunt Posted January 30, 2017 Share Posted January 30, 2017 The way the help with the inventory command worked was tedious. I made some alterations to make it more simple and easy to find how to get the help you would need. I never coded in this lua stuff. But it does work. /inventory <null> "Usage: /inventory help , upgrades? , turrets? , materials?, rarity?" /inventory help "Modifies inventory of a player. Usage:\n/inventory turret <type> [rarity] [material] [tech] [amount]\n/inventory upgrade <script> [rarity] [amount]\n/inventory available <turrets|upgrades|materials|rarities>" and.. /inventory upgrades? as well as the rest print out the available lists. having to type out /inventory available , over and over was inefficient. also by adding in the null agr it rendered most if not all of your invalid inputs obsolete. inventory.lua Link to comment Share on other sites More sharing options...
Aki Posted January 30, 2017 Author Share Posted January 30, 2017 The way the help with the inventory command worked was tedious. I made some alterations to make it more simple and easy to find how to get the help you would need. I never coded in this lua stuff. But it does work. /inventory <null> "Usage: /inventory help , upgrades? , turrets? , materials?, rarity?" /inventory help "Modifies inventory of a player. Usage:\n/inventory turret <type> [rarity] [material] [tech] [amount]\n/inventory upgrade <script> [rarity] [amount]\n/inventory available <turrets|upgrades|materials|rarities>" and.. /inventory upgrades? as well as the rest print out the available lists. having to type out /inventory available , over and over was inefficient. also by adding in the null agr it rendered most if not all of your invalid inputs obsolete. I mean, it still works in the same way. The main reason behind "available" action was to avoid additional actions you have just added. It can be changed to something shorter ("list"?) or maybe work with short aliases for each action, but the general design won't be changed, because it is there to make command readable and structured not fast. Notes taken, I will make it shorter and probably add aliases. I won't use your code though. Your code indeed works, but it is not entirely valid (null). On a side note, you don't need to type it over and over. Just type it once then use history. ;) Thank you for your feedback. Link to comment Share on other sites More sharing options...
PanzerSniper Posted January 31, 2017 Share Posted January 31, 2017 It would be cool to have a mod where you can just add crew to your ship something like where if you type /crew <type of crew> <# of crew> you would get those crew. I always have problems with crew in creative and I personally thought it would be cool to have as many crew as you need. Link to comment Share on other sites More sharing options...
Aki Posted January 31, 2017 Author Share Posted January 31, 2017 You can now add selected crewmen to the ship with that script pointed by msyteryx. It was planned from the beginning. Link to comment Share on other sites More sharing options...
Anexgohan Posted January 31, 2017 Share Posted January 31, 2017 Hi, How would I make this work with the mod "Mining System/Module" Balance Changes. - Increases The Distance so I can generate the increased efficiency mining laser by using the /inventory command Link to comment Share on other sites More sharing options...
Aki Posted January 31, 2017 Author Share Posted January 31, 2017 Hi, How would I make this work with the mod "Mining System/Module" Balance Changes. - Increases The Distance so I can generate the increased efficiency mining laser by using the /inventory command If you have overwritten old script with the new one, then you can just use: /inventory upgrade mining legendary Link to comment Share on other sites More sharing options...
Anexgohan Posted January 31, 2017 Share Posted January 31, 2017 If you have overwritten old script with the new one, then you can just use: /inventory upgrade mining legendary Hi, tried this but it still spawns the normal vanilla turrets, what am I doing wrong can you give steps of how it worked for you. Link to comment Share on other sites More sharing options...
Aki Posted January 31, 2017 Author Share Posted January 31, 2017 Make sure you have installed both mods correctly: It means that you have newest inventory.lua file in your data/scripts/commands and you have overwritten data/scripts/systems/miningupgrade.lua with Kane's version of it. Once you have done this, then simply type this in chat: /inventory upgrade mining exotic Or choose any other rarity. Link to comment Share on other sites More sharing options...
PanzerSniper Posted February 1, 2017 Share Posted February 1, 2017 Yay thanks for responding to the request many thanks! :D Link to comment Share on other sites More sharing options...
raiden11 Posted February 1, 2017 Share Posted February 1, 2017 thx for mod Some requests for commands if you can add fighter command Link to comment Share on other sites More sharing options...
SpeedBreaker Posted February 1, 2017 Share Posted February 1, 2017 can you add teleport? mov to pos X? is that a lot of code or easy? that i need i want search my 5 ships :( Link to comment Share on other sites More sharing options...
Redux Posted February 2, 2017 Share Posted February 2, 2017 I'm getting this error atm. Linux server. could not execute function 'initialize' in '"data/scripts/player/cmd/sethome.lua"': data/scripts/player/cmd/sethome.lua:28: attempt to perform arithmetic on a string value stack traceback: data/scripts/player/cmd/sethome.lua:28: in function <data/scripts/player/cmd/sethome.lua:3> Setting script "data/scripts/player/cmd/sethome.lua" to invalid. Link to comment Share on other sites More sharing options...
ghostslayer1020 Posted February 2, 2017 Share Posted February 2, 2017 Question about /crew I saved it correctly (i think) and tried to add crew to my ship by entering /crew add mechanic 5000 Nothing happened, so i tried /crew fill Still nothing. My question is that this was a singleplayer file that i was running before I got the /crew command, does the command only work in single player or can it be used in servers, but the server must be made after the mod is saved? Thanks in advance Link to comment Share on other sites More sharing options...
Jeric_ Posted February 2, 2017 Share Posted February 2, 2017 Is there a way to abbreviate the command like /inv tur upg avai? Link to comment Share on other sites More sharing options...
jyoumon Posted February 2, 2017 Share Posted February 2, 2017 Hey! excellent mod so far, been able to refit and modify most designs and test their fits pretty well so far. But i have a question, is it possible to "Give" other players items through this command? or is this restricted to Admins only/single player only? And yes i know i can just send it through mail after I get them, im just asking if its possible to skip a step there :P Link to comment Share on other sites More sharing options...
LeRougePanda Posted February 3, 2017 Share Posted February 3, 2017 Really liking the idea of the /sethome command, although when I try to use it in game it says "You can only do that in a home sector" Confused, I thought the point of the mod was to set a sector to a home sector? Link to comment Share on other sites More sharing options...
bakwardub Posted February 3, 2017 Share Posted February 3, 2017 Same problem as LeRougePanda Link to comment Share on other sites More sharing options...
Guest Alopix Posted February 3, 2017 Share Posted February 3, 2017 Sweet work! Link to comment Share on other sites More sharing options...
Aki Posted February 3, 2017 Author Share Posted February 3, 2017 Really liking the idea of the /sethome command, although when I try to use it in game it says "You can only do that in a home sector" Confused, I thought the point of the mod was to set a sector to a home sector? Same problem as LeRougePanda and I'm getting this error atm. Linux server. could not execute function 'initialize' in '"data/scripts/player/cmd/sethome.lua"': data/scripts/player/cmd/sethome.lua:28: attempt to perform arithmetic on a string value stack traceback: data/scripts/player/cmd/sethome.lua:28: in function <data/scripts/player/cmd/sethome.lua:3> Setting script "data/scripts/player/cmd/sethome.lua" to invalid. Sorry for that, update script and it should work as intended. Link to comment Share on other sites More sharing options...
AstroOwl Posted February 3, 2017 Share Posted February 3, 2017 Request: command for showing price (money and minerals) of currently boarded ship. Would be useful for those who like to plan ships in creative mode. Thanks for your work, very helpful commands =) Link to comment Share on other sites More sharing options...
bakwardub Posted February 3, 2017 Share Posted February 3, 2017 Thanks for the code, it works well. edit: I am not sure. But I think the code for the crew has a problem. Sometimes we can have a captain in each ship, but this one does not execute orders. I change ships or reverse the captains, and the problem remains. Link to comment Share on other sites More sharing options...
Aki Posted February 3, 2017 Author Share Posted February 3, 2017 Request: command for showing price (money and minerals) of currently boarded ship. Would be useful for those who like to plan ships in creative mode. Added /price. edit: I am not sure. But I think the code for the crew has a problem. Sometimes we can have a captain in each ship, but this one does not execute orders. I change ships or reverse the captains, and the problem remains. I wasn't able to reproduce it, could you explain it a little bit more? I have build over 10 ships and filled them with crews. All of them took orders and executed them. Link to comment Share on other sites More sharing options...
Ertil87 Posted February 4, 2017 Share Posted February 4, 2017 am i going crazy or was there a list of the /turret and /system commands here ? what were the name of the systems again :( Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now