Bugfix pass.
Fixed onRespawn & onDying scripts. Fixed XP awards. Added temple hospital & library.
This commit is contained in:
67
_module/nss/temple_surghb.nss
Normal file
67
_module/nss/temple_surghb.nss
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
Surgeon heartbeat. Make sure the dude is facing the operation table
|
||||
and spouts random jargon.
|
||||
|
||||
WWWWolf 2003-11-09
|
||||
*/
|
||||
|
||||
#include "temple_fun"
|
||||
|
||||
void main()
|
||||
{
|
||||
NormalHeartbeat();
|
||||
|
||||
if(TooBusyToConverse())
|
||||
return;
|
||||
|
||||
// Make sure the surgeon is at his waypoint - to make sure he
|
||||
// keeps smashing his hands to correct direction
|
||||
// even if he turns around to babble.
|
||||
FaceToMyLocation();
|
||||
|
||||
// Mutter various pieces of surgical jargon.
|
||||
switch(d12(1)) {
|
||||
default:
|
||||
case 1:
|
||||
ActionSpeakString("Scissors.");
|
||||
break;
|
||||
case 2:
|
||||
ActionSpeakString("Scalpel.");
|
||||
ActionPlayAnimation(ANIMATION_FIREFORGET_STEAL);
|
||||
break;
|
||||
case 3:
|
||||
ActionSpeakString("Bone saw.");
|
||||
ActionPlayAnimation(ANIMATION_FIREFORGET_STEAL);
|
||||
break;
|
||||
case 4:
|
||||
ActionSpeakString("Hammer.");
|
||||
break;
|
||||
case 5:
|
||||
ActionSpeakString("*tsk* *tsk* Axe, please.");
|
||||
break;
|
||||
case 6:
|
||||
ActionSpeakString("Knife.");
|
||||
ActionPlayAnimation(ANIMATION_FIREFORGET_STEAL);
|
||||
break;
|
||||
case 7:
|
||||
ActionSpeakString("3/8 size gouger.");
|
||||
ActionPlayAnimation(ANIMATION_FIREFORGET_STEAL);
|
||||
break;
|
||||
case 8:
|
||||
ActionSpeakString("Hook.");
|
||||
ActionPlayAnimation(ANIMATION_FIREFORGET_STEAL);
|
||||
break;
|
||||
case 9:
|
||||
ActionSpeakString("Lancet.");
|
||||
break;
|
||||
case 10:
|
||||
ActionSpeakString("Needle and thread.");
|
||||
break;
|
||||
case 11:
|
||||
ActionSpeakString("Okay, prepare for amputation.");
|
||||
break;
|
||||
case 12:
|
||||
ActionSpeakString("Could you sharpen this one?");
|
||||
break;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user