ID:159410
 
    verb
ChidoriT()
set hidden = 1//If this is set to 1 it allows the verb to be invisible in the info panels
if(usr.ChidoriT == 1)//Checks to see if the Slash skill is maxed
usr<<output("You have already Bought this skill.","output")//Tells the player that the skill is already maxed
else//If the Skill is not maxed
if(usr.ChidoriT == 0)//Checks to see if the Slash skill is level 2
switch(input("Would you like to Chidori?") in list("Yes","No"))//Asks the player if he/she wants to level the skill
if("Yes")//If the player chose 'Yes'
if(usr.Skillpnts <= 1)//Checks to see if the player's skill point is lower than 3 points.
usr<<output("Sorry you do not have enough Skill Points to Purchuse this skill.","output")
return
else//
usr.Skillpnts -=1 //Subtracts 3 skill points
usr.ChidoriT += 1//It levels the Slash skill to 3
usr.SkillPoints()//Calls the Skill Point proc(At the top of the page)
var/obj/Weapons/Sword/B = new/obj/Weapons/Sword
B.loc<<output("inventory ")
if("No")
return


so this is the code i have for my skill tree wat im having problems is wen they buy the skill i want it to appear in the skin (inventory) grid but i cant seem to make it locate the item there
Goggeeta wrote:
>   verb
> ChidoriT()
> set hidden = 1//If this is set to 1 it allows the verb to be invisible in the info panels
> if(usr.ChidoriT == 1)//Checks to see if the Slash skill is maxed
> usr<<output("You have already Bought this skill.","output")//Tells the player that the skill is already maxed
> else//If the Skill is not maxed
> if(usr.ChidoriT == 0)//Checks to see if the Slash skill is level 2
> switch(input("Would you like to Chidori?") in list("Yes","No"))//Asks the player if he/she wants to level the skill
> if("Yes")//If the player chose 'Yes'
> if(usr.Skillpnts <= 1)//Checks to see if the player's skill point is lower than 3 points.
> usr<<output("Sorry you do not have enough Skill Points to Purchuse this skill.","output")
> return
> else//
> usr.Skillpnts -=1 //Subtracts 3 skill points
> usr.ChidoriT += 1//It levels the Slash skill to 3
> usr.SkillPoints()//Calls the Skill Point proc(At the top of the page)
> var/obj/Weapons/Sword/B = new/obj/Weapons/Sword
> B.loc<<output("inventory ")
> if("No")
> return
>

so this is the code i have for my skill tree wat im having problems is wen they buy the skill i want it to appear in the skin (inventory) grid but i cant seem to make it locate the item there

You're using output() incorrectly there, please check it up on the DreamMaker reference (hit F1 in dreammaker). Also, you'll have to mess with the grid with more than just output, find out more about this in LummoxJr's DreamMaker article, it even teaches about grids and how you can display objects inside of it.

I can't leave links because I have to rush this so you'd have to find them yourself, unless someone kind could help out.

Bye, Haywire