NPC and Quest Creation

Quests and Adventures

Introduction
Quests are an important aspect of the game in a way that it gives you a strong background for your skills, some of which you may never have thought would be of any use to you. Some quests allow you to earn Diamond, Clubs or Hearts Coins which you can collect and redeem (one of each) in your Herald's Headquarters in order to advance in levels (note: pending implementation of Missions Module; successful completion of missions will give you Spade Coins).

Quest Makers
Quest Makers are premium members who've earned the ability to create NPCs. These are: Pioneer Premiums, Royal Premiums, Quest Premiums and Exodus 3 Premiums. Since no new players can become Exodus 3, Quest or Pioneer Premiums, they will be able to become Quest Makers if they reach the age of 200 Days (Pioneers) or donate enough to get the Royal Premium designation. What's in it for Quest Makers? Quest Makers don't earn money or extra points for setting up cool Quests. But they earn the recognition of the development team as champions of creativity. Their honor is beyond monetary rewards, for they earn the recognition and respect of Heralds and the Game Creator for taking part in expanding the esoteric and boundless world of The King of Spades Universe.

Quests vs NPCs
There are many types of Quests, some NPCs are not part of Adventure Quests per se, but can be Vendor NPCs to boost the Superpowers of Player Characters (or add new superpowers to their empty superpower slots). There are many such NPCs in the TKOS Universe as of the time of writing this guide. From New York (Aimee Altier, who has a Research lab for granting superpowers to Cybernetic Superbeings), to Dr. Kemp in London, a descendant of the legendary Professor Kemp, whose student Griffin was the inventor of the Human Refraction Index Neutralizer Apparatus; the legendary Invisible Man. Other NPCs are set up with specific jobs or functions, such as a Bouncer, a Security Guard, even a Canine and are placed in buildings in order to guard them against unwelcome visitors. See below under "Basic NPC Commands" for more information on how to set up such NPCs.

Pets (Not Implemented)
Pets are set up the same way any NPC is set up (the instructions are highlighted below). The only difference is, pets are usually not of the average human or superbeing race (e.g. they can be a Horse, Wild Animal, Monster, Canine). They follow the NPC around and are capable of defending him or her against attacks by the "attack X" command. Also, pets need attention. If the master doesn't attend to them periodically, their morale will lower. If it becomes negative, they lose their attachment to their master, and hence, players who have the Animal Affinity superpower can tame them and hence, make them their own.

Step 1: Create your NPCs

Setting up your NPC
Register a new NPC as you would any Player Character in the Registration page. You don't need a real e-mail address for your NPC. Set up all the superpowers and skills that you think will be neccessary for the purpose of your NPC. Once you're done, note down the user-id and password of the NPC then log in with your main character. Click on Info - Inventory - Quest Creation then click on "Register a New NPC". You will be prompted for the user-id, password and the ethnicity of the NPC. Once you submit that information, your character will become a Non-Player Character, after which you can login to their account to set up their speech files. See above under "Quest Makers" for more information on how to be eligible to set up NPCs.

Outfitting your NPC
As with every player, your NPC gets $5000 to use as he pleases. Use this money to purchase clothing for the NPC and whatever items or weapons that they'll need for the purpose that you have created them with. If you need to give them a special item or an item that they can't afford but you as the master can, log on with your own player and give them the money or items by initiating a trade request as you would with any other player. Since the player is an NPC, you are allowed to open a new browser and log-in with your master character. This is useful for purposes such as trading, seeing how well they perform in speech, combat, etc.

NPC Jobs
To set your NPC's job, login as the NPC and go up to any Job Agency. The Job should be registered without doing the standard skill check. Provided the NPC has at least one of the primary jobs required for that profession. NPCs do not get paid for jobs since they can be set for whatever job possible in the game, including Royal Jobs, however, NPCs cannot function as normal players, therefore, an NPC job merely serves as a title, nothing else.

Basic NPC commands
Non-Player-Characters respond to basic commands only from their masters or people who've assimilated them, the following are the enabled commands as of the date of the last update of this document: defend yourself (This will turn on their ability to attack and defend. They will only attack players that attack them, including the master. This is useful for sparring or bouncer NPCs).
attack all (This will make them attack anyone who enters the room or area (if it's combat enabled) except for team members and the master. This is useful for security guard or monster NPCs)
attack no one (Makes them non-combatants. They can't attack and can't be attacked this way).
follow me (An important command if you want to relocate your NPC. Be careful, because your NPC can attack players if they are combat-enabled wherever you go, so it might be useful to set them to "defend yourself" first). Note that only one player or NPC can follow you at a time.
X Y is your new master Warning! This command is irreversible. Only use it after you're sure that you've received the payment for the NPC if you're selling it. (You say this command to your NPC followed by the name of the person (who should be in your room at the time of the NPC exchange). The NPC should obey and start taking commands ONLY from the new master; he, she or it will no longer recognize commands from you). Note that you should also give the user-id and password of the NPC to whoever it is you've sold or given the NPC to. So that the player can train the NPC or change their bios and outfit them according to their own needs.
attack X Y (Usually for pets who have the command "defend yourself" on). This will override whatever previous commands the pet had and will only attack the person that the Master has ordered them to attack. Note: You can use "attack me" if you want to practice fighting with your NPC/Pet

Step 2: Set up NPC Speech

NPC Chat
You are not allowed to say words through the normal chat text box to players. However, you can set up NPC Speech Files to interact with players for quests, etc. You can write an unlimited number of NPC Speech Files. Each one is activated with a Trigger, and each one is responded with an NPC Response.

Speech File Triggers

Keywords
These are keywords, passwords or inquiries that the player asks or tells the NPC. If the NPC recognizes any keyword as part of that speech file trigger, the NPC will respond. Here are some examples:
Speech File 1 - Keywords: hello, what's up (Respond with text: Hey there, friend! Ouch.)
Speech File 2 - Keywords: ouch, you ok, help (Respond with text: Yes, please. I am in pain.)
Speech File 3 - Keywords: pain (Respond with text: I wish I could get an Ointment).
Speech File 4 - Keywrods: ointment (Respond with text: Yes, John Malcolm sells it in the Herb Shop inside the Hong Kong's Victoria Tower)
And so on... This NPC will develop a quest briefing, with which a player can choose to perform, or ignore without consequence. Each quest can have an unlimited number of NPCs, but you don't need to make your quest too easy (e.g. two NPCs standing next to each other in the same room) or too hard (ten NPCs spread out across the globe), but do keep your Quest-seekers interested and in-tune with the quest by giving them rewards as they go along.

Payments
If you give the player a specific some of money that they've requested, they will give you something back, or a special keyword to give to another NPC. Example:
Speech File 5 - Cash: ($500) (Respond with text: No, that's how much I was supposed to pay you if you GIVE me the Ointment. Oh well, more money for me, hehe.)

Items
If you give the NPC a quest item that you've created, or a common device, they will respond. Examples:
Speech File 6 - Item: (Ointment) (Respond with text: Thank you, kind one! In return, I shall give you some money, and tell you about the Secret of the Forbidden Emerald) (Give Cash $500)

Actions
If the player perform a specific action, they will respond. Example: Speech File 7 - Action: (First Aid) (Respond with text: Well, that's not exactly what I was looking for, but thanks anyway. Here's $250 for your troubles) (Give Cash $250)

Speech File Responses
An NPC responds by giving the NPC a Quest Item that the master has created, cash, or an advice or a password that can be used in another quest, or with another NPC as part of the current quest. You can also add "actions" to your Speech response text by using HTML tags for setting the font to blue (i.e. actions). For example:

En Peasea says to The Adventuror [11/28/2003 2:00:00 PM]
Let me show you something...
En Peasea opens a cupboard and takes out an old manuscript...

Other Speech File options
Finally, there are some options that you need to set in order to customize your Speech File. One of them is Interaction Times, this is one of three choice: Unlimited (which is the default for interactions), One Time (The player can only do this interaction once. Otherwise, if it's a reward, a player can keep repeating the quest over and over with getting the rewards endlessly. This defeats the purpose of Quest Creation) or Once and go to sleep (i.e. the player does the interaction, then the NPC gives the response and goes to sleep so that no one else can perform this quest, this is important for giving huge rewards which an NPC can only give once, or for giving items that you want to remain rare in the game and owned by only one character at a time).

Special Boosts As Rewards
If your quest requires a special skill or superpower boost, send an e-mail to quest@thekingofspades.com highlighting which skill or superpower you think the Quester should give. The game master who responds to your e-mail will check the quest and will grant the boost if the quest is deserving enough, please give 24-48 hours for your quest to be looked upon. If your quest fulfills the requirement for a Level Coin, your NPC will be able to give one. Read the next section for more information on Level Coins.

Level Coin rewards (Not Implemented)
These Coins are collected by players and are redeemed at their Herald's home for a level-up. You'll need a Spades Coin (done in Missions) and one of the other three coin types in order to up each level.
Diamond Coins: The Quest must be business-related, involving two city travels or more and can only be performed once per player. I.e. the quest requires the player to find and give the NPC a valuable or rare quest item. For this to be achieved, the item must be appraisable for $5,000 or more. Read the appraisal section for more details.
Club Coins: The Quest must be combat-related, involving capturing, killing or knocking out two NPCs of more than average difficulty or one NPC of the combat-related attributes capped. The NPC must be hidden and can only be found by performing a Quest that involves travelling in two cities or more.
Heart Coins: The Quest must be relationship-related, involving finding or saving a person that is related to the NPC. If it's finding, the character must be hard to find and can only be found by using clues that the Quest NPCs give. If it's saving a person, it must involve combat of one or more persons of varying difficulty.
If a player redeems one of each of the four types of coins (the Spades Coins are given through missions), he or she is eligible for a Level-Up.

Step 3: Set up Quest Keys and Items
(Not Implemented)