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
ID:1045456
Nov 9 2012, 3:24 am (Edited by moderator on Nov 9 2012, 3:37 am)
(See the best response by NNAAAAHH.)
|
|
Try adding the type path it says you're missing:
obj/AllDAWEAPONSEVARNEEDED/GiganticSword Now just give it traits or whatever the weapon does. |
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 |
turf.dm:58:error: /obj/AllDAWEAPONSEVARNEEDED/GiganticSword: undefined type path