diff options
author | Reid <reidyaro@gmail.com> | 2016-03-21 12:59:39 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-03-21 13:00:48 +0100 |
commit | e6be64b109b0449540f01f02b81eb535d860e4ce (patch) | |
tree | c90843e46bc0e036dd8752623599ceb42eb5ebb2 /npc/001-1/calypsan.txt | |
parent | dc56b3b68b9cb5b6b8bfdf12fe2a3f935ecd5f9a (diff) | |
download | serverdata-e6be64b109b0449540f01f02b81eb535d860e4ce.tar.gz serverdata-e6be64b109b0449540f01f02b81eb535d860e4ce.tar.bz2 serverdata-e6be64b109b0449540f01f02b81eb535d860e4ce.tar.xz serverdata-e6be64b109b0449540f01f02b81eb535d860e4ce.zip |
Separate calypsan's shop into two shop, one for cashmere and one for cotton.
Diffstat (limited to 'npc/001-1/calypsan.txt')
-rw-r--r-- | npc/001-1/calypsan.txt | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/npc/001-1/calypsan.txt b/npc/001-1/calypsan.txt index c4086190..7d33fc66 100644 --- a/npc/001-1/calypsan.txt +++ b/npc/001-1/calypsan.txt @@ -33,6 +33,26 @@ l("If yoiis wants to see a different use for the cards he can yeye for Resa at the light armor shop for a description of the styling cards."); } + function sell_dye { + speech 5, l("For what kind of tissue?"); + .@tissue_type = select (l("Cotton"), l("Cashmere")); + + closedialog; + switch (.@shop == 1) + { + case 1: + shop "Cotton#Dye001-1"; + break; + case 2: + shop "Cashmere#Dye001-1"; + break; + default: + debugmes "Calypsan script error, tissue_type is incorrect"; + break; + } + close; + } + speech 4, l("Yoiis envies a rainbow in the sky?"), l("It is possible to yeye your cloth with my beautiful dyes."), @@ -60,9 +80,9 @@ break; case 1: - closedialog; - shop "Store#Calypsan001-1"; + sell_dye; close; + case 2: explain_dyes; break; |