# 3941: Stealing Queen's Order of Silk

from net.swordie.ms.client.character.skills.temp import CharacterTemporaryStat

karcasa = 2101013
tigun = 2101004
silk = 4031571
isTigun = sm.getnOptionByCTS(CharacterTemporaryStat.Morph) == 6

sm.setSpeakerID(karcasa)
if isTigun:
    sm.sendNext(''.join(["Okay, here it is. Please handle this with care. This silk is very, very hard to find. "
    "If it's damaged anywhere, you'll be in jail in no time. \r\n"
    "#fUI/UIWindow2.img/QuestIcon/4/0# \r\n"
    "1 #i", repr(silk), "##z", repr(silk), "#"]))
    if sm.canHold(silk):
        sm.giveItem(silk)
        sm.completeQuest(parentID)
    else:
        sm.sendSayOkay("Er, #p" + repr(tigun) + "#, it looks like you can't hold the silk. Talk to me again after you make some space.")
    
else:
    sm.sendSayOkay("Okay, here it is. Please handle this with... huh? #p" + repr(tigun) + "#, where did you go?")
# 3941: Stealing Queen's Order of Silk

from net.swordie.ms.client.character.skills.temp import CharacterTemporaryStat

karcasa = 2101013
tigun = 2101004
silk = 4031571
isTigun = sm.getnOptionByCTS(CharacterTemporaryStat.Morph) == 6

sm.setSpeakerID(karcasa)
if isTigun:
    sm.sendNext(''.join(["Okay, here it is. Please handle this with care. This silk is very, very hard to find. "
    "If it's damaged anywhere, you'll be in jail in no time. \r\n"
    "#fUI/UIWindow2.img/QuestIcon/4/0# \r\n"
    "1 #i", repr(silk), "##z", repr(silk), "#"]))
    if sm.canHold(silk):
        sm.giveItem(silk)
        sm.completeQuest(parentID)
    else:
        sm.sendSayOkay("Er, #p" + repr(tigun) + "#, it looks like you can't hold the silk. Talk to me again after you make some space.")
    
else:
    sm.sendSayOkay("Okay, here it is. Please handle this with... huh? #p" + repr(tigun) + "#, where did you go?")
# 3941: Stealing Queen's Order of Silk # \r\n" #i", repr(silk), "##z", repr(silk), "#"])) #p" + repr(tigun) + "#, it looks like you can't hold the silk. Talk to me again after you make some space.") #p" + repr(tigun) + "#, where did you go?")