Modding Help Coding help for a quest item for Techs 2.0

Discussion in 'Starbound Modding' started by greenRAM, Aug 7, 2017.

  1. greenRAM

    greenRAM Giant Laser Beams

    This is what I have so far: I want to create buyable techs. Basically, the idea is to sell quest items that will make the techs show up. To keep it simple I made it like a food quest where the item triggers the quest, then having the item fulfills the quest objectives of the quest. The problem is at this part. The quest script that allows you to show or equip techs is the instance.lua. This is used for the Tech missions. While the script that works with quest-item types of quests is the main.lua. Being coding illiterate, I'm not sure what to do from here to make the main.lua behave more like the instance.lua in giving out techs as completion rewards.

    Does anyone knows what part of the instance.lua script allow you to add techs through a .questtemplate? I hate to ask for someone to create an entirely new script for me, but if this ends up being beyond what I can do by trial and error I might need that level of assistance to go any further with this idea.

Share This Page