SCRIPT #1: Loanshark Request Script
DESC: A person has asked the loanshark for some chyen. The basic job of this script is inform the person asking how much they will get and how much they will owe, and when they will owe it. The person will have to verbally confirm to the loanshark that they want the loan.
SCRIPT USES: $npc_centric_script
VARIABLES PROVIDED:
%player - OBJECT (the object of the person asking for the loan)
%payout - INTEGER (how much the person will get)
%fee - INTEGER (how much the fee is)
%owes - INTEGER (how much the person will owe)
%due - STRING (in how many weeks it will be due, i.e. '4 weeks')
SCRIPT #2: Loanshark Payout Script
DESC: A person has confirmed that they do indeed want the loan. Now the loanshark needs to actually pay them. Assume that the loanshark has money available. He should also make a point of letting them know what would happen if they don't pay it back.
SCRIPT USES: $npc_centric_script
VARIABLES PROVIDED:
%player - OBJECT (the object of the person asking for the loan)
%payout - INTEGER (how much the person will get)
%fee - INTEGER (how much the fee is)
%owes - INTEGER (how much the person will owe)
%due - STRING (in how many weeks it will be due, i.e. '4 weeks')
SCRIPT #3: Loanshark Paidup Script
DESC: The person has paid enough to the loanshark cover what he owes. The loanshark should tell the person as much.
SCRIPT USES: $npc_centric_script
VARIABLES PROVIDED:
%player - OBJECT (the person who has paid the loanshark)
%owes - INTEGER (how much is still owed, should be 0)
%remaining - STRING (how much time they have left expressed in the best units, i.e. '4 days' or '7 minutes')
SCRIPT #4: Loanshark Still Owes Script
DESC: The person has paid some of what is owed to the loanshark but it is not yet overdue. The loanshark should remind the person how much is still owed and how much time they have left.
SCRIPT USES: $npc_centric_script
VARIABLES PROVIDED:
%player - OBJECT (the person who has paid the loanshark)
%owes - INTEGER (how much is still owed)
%remaining - STRING (how much time they have left expressed in the best units, i.e. '4 days' or '7 minutes')
SCRIPT #5: Loanshark Still Owes Overdue Script
DESC: The person has paid some of what is owed to the loanshark AND its overdue. The loanshark will have marked the person for 'death'. The loanshark should tell the person that their a dead man walking. The loanshark should not initate combat itself.
SCRIPT USES: $npc_centric_script
VARIABLES PROVIDED:
%player - OBJECT (the person who has paid the loanshark)
%owes - INTEGER (how much is still owed)
%remaining - STRING (the phrase 'no time')
SCRIPT #6: Loanshark Paidup Overdue Script
DESC: The person has finally paid what is owed to the loanshark but it was overdue. This person would of had a hardtime making this payment, as getting to the loanshark would mean going through its goons who should be attacking ;) The loanshark will unmark the person for 'death' at this point.
SCRIPT USES: $npc_centric_script
VARIABLES PROVIDED:
%player - OBJECT (the person who has paid the loanshark)
%owes - INTEGER (how much is still owed, should be 0)
%remaining - STRING (the phrase 'no time')
And that about does it for the scripts that are needed for him. I think should keep some people busy. Have Fun.
~ J