/
com/planet_ink/coffee_mud/Abilities/
com/planet_ink/coffee_mud/Abilities/Common/
com/planet_ink/coffee_mud/Abilities/Diseases/
com/planet_ink/coffee_mud/Abilities/Druid/
com/planet_ink/coffee_mud/Abilities/Fighter/
com/planet_ink/coffee_mud/Abilities/Prayers/
com/planet_ink/coffee_mud/Abilities/Properties/
com/planet_ink/coffee_mud/Abilities/Skills/
com/planet_ink/coffee_mud/Abilities/Songs/
com/planet_ink/coffee_mud/Abilities/Spells/
com/planet_ink/coffee_mud/Abilities/Thief/
com/planet_ink/coffee_mud/Abilities/Traps/
com/planet_ink/coffee_mud/Areas/interfaces/
com/planet_ink/coffee_mud/Behaviors/
com/planet_ink/coffee_mud/CharClasses/interfaces/
com/planet_ink/coffee_mud/Commands/
com/planet_ink/coffee_mud/Commands/interfaces/
com/planet_ink/coffee_mud/Exits/interfaces/
com/planet_ink/coffee_mud/Items/Armor/
com/planet_ink/coffee_mud/Items/Basic/
com/planet_ink/coffee_mud/Items/MiscMagic/
com/planet_ink/coffee_mud/Items/Software/
com/planet_ink/coffee_mud/Items/Weapons/
com/planet_ink/coffee_mud/Libraries/interfaces/
com/planet_ink/coffee_mud/Locales/
com/planet_ink/coffee_mud/Locales/interfaces/
com/planet_ink/coffee_mud/MOBS/
com/planet_ink/coffee_mud/MOBS/interfaces/
com/planet_ink/coffee_mud/Races/
com/planet_ink/coffee_mud/Races/interfaces/
com/planet_ink/coffee_mud/WebMacros/
com/planet_ink/coffee_mud/WebMacros/interfaces/
com/planet_ink/coffee_mud/application/
com/planet_ink/coffee_mud/core/smtp/
com/planet_ink/siplet/applet/
lib/
resources/examples/
resources/fakedb/
resources/quests/delivery/
resources/quests/diseased/
resources/quests/drowning/
resources/quests/gobwar/
resources/quests/holidays/
resources/quests/robbed/
resources/quests/smurfocide/
resources/quests/stolen/
resources/quests/templates/
resources/quests/treasurehunt/
resources/quests/vengeance/
web/
web/admin.templates/
web/admin/images/
web/pub.templates/
web/pub/images/mxp/
web/pub/sounds/
# this script is for the shopkeeper chosen to be robbed
ONCE_PROG
QUESTCHAT Help! My store in $a has been ROBBED!!
mpsetvar $i ROBBED  ''
mpset $i MONEY 0
~

QUEST_TIME_PROG robbed -1
	mpsetvar $i ROBBED ''
	mpsetvar * ROBBED ''
	mpsetvar $i MONEY ''
	mpsetvar * MONEY ''
~

SPEECH_PROG trouble problem robbed stole rob thief quest help trouble? problem? robbed? stole? rob? thief? quest? help?
	IF VAR($i ROBBED == RECOVER)
		say "$n" I've already been helped, thanks.
	ELSE
		say "$n" That dirty thief made out of here with my gold.  Get my money back and I'll have a reward.
	ENDIF
~

QUEST_TIME_PROG robbed 5
	QUESTCHAT Five minutes to retreive my money, or I'll have to get the law...
~

GIVE_PROG gold
	IF VAR($i ROBBED == RECOVER)
		say "$n" I've already been helped, but thanks.
	ELSE
		IF QUESTWINNER($n robbed)
			say "$n" You've already completed this quest!
			drop $o
		ELSE
			IF VAR($n ROBBED == KILLER)
				IF GOLDAMT($o >= 5000)
					mpsetvar $i ROBBED RECOVER
					mpsetvar $n ROBBED  ''
					say "$n" Thank you very much.  I hope he didn't give you too much trouble.  Here is your reward:
					mpexp $n 50%
					mpoload QuestPoint
					give "a quest point" "$n"
					mpoload 100
					give 100 "$n"
					mpquestwin $n robbed
					mpendquest robbed
				ELSE
					say "$n" Are you trying to insult me?  I just got robbed of more than THAT!
					drop $o
				ENDIF
			ELSE
				say "$n" What's this?  This is not my money! Get MY money back!
				drop $o
			ENDIF
		ENDIF
	ENDIF
~