I'm creating a mod and it will be great if someone can help me by giving ideas to develop this mod further. In this mod the player will be able to create a robot (a glitch npc) to be his assistant. I called it Pearias. The Pearias can follow you around, heal you when your health is low, tell you ingame time/coordinate and even dance. I'll stay away from combat ability, so it can't never fight. It's still in heavy development, for now not much it can do. I am taking suggestions on what more it can do. You can give your suggestions here. They can also talk with each other and you can give some jokes for their dialog selection. I'll credit the people who give good suggestion and accepted to the development of this mod. Here is the link to contribute again: https://docs.google.com/spreadsheet/ccc?key=0AvfSq6GAasZ3dGJ0VG1CUUl1RmVsMGxsOTRPMTRrRWc&usp=sharing
Really nifty idea- Personally I would rather see him only on the ship. i wouldn't want him following me around in the game world..
Im quite curious how you are going to get him to follow you from planet to planet, or even off the ship for that matter... Thats the problem Im facing with my NPCs
For now I've been able to make it like pets. Upon death it spawns a memory chip that retain the memory (generation seed, exp point, level, inventory, etc) and if you throw it, the Pearias will be reborn. I've also figured out how to instantly kill it. I haven't thought on how it will properly teleport. Here's the fun part. Since a Pearias can store items and a Pearias itself can be an item (a memory chip). Some inception like shit can happen by storing a Pearias memory chip inside another and change it to chip and store inside another and so on. To prevent that, if a memory chip is taken into another Pearias inventory, it will take over the body to revive itself. The one who took the memory chip will burn its core and melt. Haha..
Worldcrafter suggested that I make it into a shop. The item won't be sold out. It will sell infinitely until you take the item out of inventory. However you can't get any profit from the selling, too bad. Here's the progress.
Oh well youre using a tech now. Could make the NPC be non-persistent and use the tech to spawn a new copy of your NPC on-world. Not sure how you are going about saving the items so unloading the npc or unequipping the tech could be an issue.
You should wait for the whole merchant thing. There is code in the game right now which is adding functionality to merchants but it is disabled in the client build. I am guessing only developer build has it now. It essentially makes NPC merchants scan their sorrundings and selll you stuff accordingly. What is interesting thought though - wouldn't that technically make the spawning merchant sell your own things back to you? Its a quesiton we will have to wait and see.
From discovering how to add our own item in the merchant selling list, I could guess how they are going to do that and it's nothing new. What I need now is to track whether an item has been bought, or better yet if I can customize the functionality of the (shop) interface instead of only the appearance. Indeed you can buy back from the merchant. You can even duplicate your item by setting zero price and buy it.
Tiy mentioned it in the "Future of starbound post" http://playstarbound.com/the-future-of-starbound/http://playstarbound.com/the-future-of-starbound/ The first point - NPC scans area around them and improves their inventories. You can find the code i believe in the merchant.config - there will be a variable "area scan"
Oh oh oh. Yeah I knew that much. I thought there was new Lua support coming out. Ruffz and myself use Lua to give dynamic inventories for the merchants. That much we can already do ourselves. We both are awaiting hooks for things like how much a player purchased, and what. That's what we both are waiting for, and what I thought you were talking about.
I do believe that is what the container API you showed me is for. If the merchants scan the container - using the container API it will be able to add it to its inventory. Then when you buy it - it can remove it from the container also. So more then likely this is the ground work only for this.
Also both you 2 are show offs. Just want to make that clear Psh i am struggling to make an object detect orientation. You have tech based gui's.
Nah I think he just got ahold of PenguinToasts UI stuff that Penguin has been working hard on for a while: http://community.playstarbound.com/index.php?resources/tech-ui-builder.1702/
Ah thanks - though this is still way above my level. I think ill stick to simple things before i start dreaming of building a fully automated lua death star which can destroy planets.