mob
Merchant
icon = 'NPCs.dmi'
icon_state = "Clothing"
name = "{NPC}Merchant"
npc = 1
verb
Talk()
set category = "NPC's"
set src in oview(2)
switch(input("Yo sup, wanna buy some clothes?", text) in list ("Yes","No"))
if("Yes")
switch(input("What do you want to buy?", text) in list ("BlackMask","DarkRedMask","GreenMask","GreyMask","OrangeMask","PurpleMask","RedMask","WhiteMask","Ninja Suit","Flower Cloak"))
if("BlackMask")
var/K = new/obj/BlackMask
K:loc = usr
usr << "<b>Have a nice day!"
if("DarkRedMask")
var/K = new/obj/DarkRedMask
K:loc = usr
usr << "<b>Have a nice day!"
if("GreenMask")
var/K = new/obj/GreenMask
K:loc = usr
usr << "<b>Have a nice day!"
if("GreyMask")
var/K = new/obj/GreyMask
K:loc = usr
usr << "<b>Have a nice day!"
if("OrangeMask")
var/K = new/obj/OrangeMask
K:loc = usr
usr << "<b>Have a nice day!"
if("PurpleMask")
var/K = new/obj/PurpleMask
K:loc = usr
usr << "<b>Have a nice day!"
if("RedMask")
var/K = new/obj/RedMask
K:loc = usr
usr << "<b>Have a nice day!"
if("WhiteMask")
var/K = new/obj/WhiteMask
K:loc = usr
usr << "<b>Have a nice day!"
if("Flower Cloak")
var/K = new/obj/flowercloak
K:loc = usr
usr << "<b>Have a nice day!"
if("Ninja Suit")
var/K = new/obj/ninja
K:loc = usr
usr << "<b>Have a nice day!"
Problem description:
And I keep getting this once I press compile:
Codes\Mob.dm:403:error: /obj/BlackMask: undefined type path
Codes\Mob.dm:407:error: /obj/DarkRedMask: undefined type path
Codes\Mob.dm:411:error: /obj/GreenMask: undefined type path
Codes\Mob.dm:415:error: /obj/GreyMask: undefined type path
Codes\Mob.dm:419:error: /obj/OrangeMask: undefined type path
Codes\Mob.dm:423:error: /obj/PurpleMask: undefined type path
Codes\Mob.dm:427:error: /obj/RedMask: undefined type path
Codes\Mob.dm:431:error: /obj/WhiteMask: undefined type path