Difference between revisions of "Script Hired NPC Dialog"

From PSwiki
Jump to navigation Jump to search
Line 1: Line 1:
This Dialog enables the Player to Hire a NPC to do tasks for the player or the guild.
This Dialog enables the Player to Script a hired NPC to do tasks for the player or the guild.


Dialog is under construction (See [[Scriptable Entities Design]]).
Dialog is under construction (See [[Scriptable Entities Design]]).
Line 6: Line 6:


= Input/Output Elements =
= Input/Output Elements =
This dialog should contains the following input /output elements:
This dialog should contains the following input/output elements:


== Display of current Hiring Fee ==
== Display of current Hiring Fee ==
Updated display showing the fee for the current configured Hire. Hire fee should be calculated by a math script server side.
Updated display showing the fee for the current configured Hire. Hire fee should be calculated by a math script server side.


== Select Service ==
== Display of Service type ==
Select service needed from a list of services:
Display the type of service this NPC was hired to do:
*Guard
*Guard
*Buy/Sell Hiring Players Items
*Merchant selling Player Items
*Buy/Sell Guild Items
*Merchant selling Guild Items
*[[Custom NPC Dialogue]]


== Select Hiring Period ==
== Display of Working Hours ==
Selection of hours, days, months or years to hire the NPC.
Selection of time of day the NPC will start to work and when he will stop work.
 
== Select Working Hours ==
Selection of time of day the NPC will start to work and number of hours up to maximum of a scriptable number of hours per day.


== Select Work Location ==
== Select Work Location ==
Line 30: Line 26:
If service is guard enable the user to select guard locations.
If service is guard enable the user to select guard locations.


== Identify Items to Sell/Buy ==
== Identify Items to Sell ==
If service is Buy/Sell...
Items to sell can be stored in a crate or storage.  


== Script Hired NPC ==
== Script Hired NPC ==
If services include [[Custom NPC Dialogue]] then enable user to enter [[Custom NPC Dialogue]] script.
Enable player to enter a [[Custom NPC Dialogue]] script.


=== Validate Script ===
=== Validate Script ===
Button to validate script. Hire button will not be available before script is validated OK if [[Custom NPC Dialogue]] is included as service.
Button to validate script. OK button will not be available before [[Custom NPC Dialogue]] script is valid.


== Hire Button ==
== OK Button ==
Button to confirm hiring.
Button to confirm scripting of hiring.

Revision as of 00:26, 25 December 2013

This Dialog enables the Player to Script a hired NPC to do tasks for the player or the guild.

Dialog is under construction (See Scriptable Entities Design).

TODO: Include picture and descriptions. Until created use text to describe whats planed to be included in this dialog.

Input/Output Elements

This dialog should contains the following input/output elements:

Display of current Hiring Fee

Updated display showing the fee for the current configured Hire. Hire fee should be calculated by a math script server side.

Display of Service type

Display the type of service this NPC was hired to do:

  • Guard
  • Merchant selling Player Items
  • Merchant selling Guild Items

Display of Working Hours

Selection of time of day the NPC will start to work and when he will stop work.

Select Work Location

Selection of a location identified by the player through Scriptable Entities Design#Define Locations activity to be the working location for the NPC.

Select Guard Locations

If service is guard enable the user to select guard locations.

Identify Items to Sell

Items to sell can be stored in a crate or storage.

Script Hired NPC

Enable player to enter a Custom NPC Dialogue script.

Validate Script

Button to validate script. OK button will not be available before Custom NPC Dialogue script is valid.

OK Button

Button to confirm scripting of hiring.