I need help. It's my first time playing programming and I'm trying to make a sword that has the ability to turn into a bow (alt ability). The sword is already made (more or less). But the bow part is giving me more than a headache. I have tried to copy the code of both the basic shot and the bow specials, and tried to put them as a special ability, but nothing. It only lets me use the special skills of the swords. My question is, do I have to create the whole skill from scratch, or maybe I'm implementing the code wrong? Thats the activeitem thats the weaponability the lua.
If it is your first time programming you really want to start with something really simple and slowly work your way up. Not go head first into abyss. Here is a good starting Guide https://community.playstarbound.com/resources/unofficial-modding-ebook-2-0.2930/ I think my Book includes a Lua tutorial if it doesn't I wrote one here https://community.playstarbound.com/threads/lua-part-1-terms-and-strings-v1-2.84833/