The code where the item should be added to the inventory
Player
Gun {icon_state="rei"}
obj/SkillButtons/ReiGunButton
The object that should be bought
obj/SkillButtons
ReiGunButton
icon='icons.dmi'
icon_state="rei"
Click()
usr.Rei_Blast()
Problem description:
compiles with no errors lets me buy the skill then poof nothing ohh I have also tried the following
src.contents += new/obj/SkillButtons/ReiGunButton
usr.contents += new/obj/SkillButtons/ReiGunButton
and those brought up alot of errors
new/obj/SkillButtons/ReiGunButton(src)
Or
- Hashir