ID:1045456
 
(See the best response by NNAAAAHH.)
obj/cloudssword
icon = 'AllDAWEAPONSEVARNEEDED.dmi'
cloudssword
icon_state = "Gigantic Sword"
layer = 8
verb
equip()
src << "<b>You equip a sword.</b>"
usr.overlays += /obj/AllDAWEAPONSEVARNEEDED/GiganticSword
unequip()
src << "<b>You unequip a sword.</b>"
usr.overlays += /obj/AllDAWEAPONSEVARNEEDED/GiganticSword
turf.dm:55:error: /obj/AllDAWEAPONSEVARNEEDED/GiganticSword: undefined type path
turf.dm:58:error: /obj/AllDAWEAPONSEVARNEEDED/GiganticSword: undefined type path

Try adding the type path it says you're missing:

obj/AllDAWEAPONSEVARNEEDED/GiganticSword


Now just give it traits or whatever the weapon does.
In response to Michael480
Best response
Probably because you are trying to add a icon and icon_state as if it were a obj, replace usr.overlays += /obj/icon/icon_state with the actual obj path, or anything of the like.
In response to Speedro
Speedro wrote:
Try adding the type path it says you're missing:

obj/AllDAWEAPONSEVARNEEDED/GiganticSword

Now just give it traits or whatever the weapon does.

i did but its the same error
In response to NNAAAAHH
i tiring that form out but still it wont let me
It seems that what you want to add is /obj/cloudssword.
usr.overlays += /obj/cloudssword

or
usr.overlays += type
In response to Jemai1
Jemai1 wrote:
It seems that what you want to add is /obj/cloudssword.
> usr.overlays += /obj/cloudssword
>

or
> usr.overlays += type
>

man thanks your the boss now i got to make it underlays for it