Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Main
- {
- questname "Your First Kill"
- version 1.0
- }
- State Begin
- {
- desc "Talk to Honai"
- action AddNpcText(1, "Hello, my name is Honai.");
- action AddNpcText(1, "I will teach you how to start your adventure young Kokiri!");
- action AddNpcText(1, "Kill one rat for me, pressing CTRL to kill them.");
- action AddNpcInput(1, 1, "I know how to do it OK!?");
- action AddNpcInput(1, 2, "Ok, but I want extra exp!");
- rule InputNpc( 1 ) goto Coward
- rule InputNpc( 2 ) goto KillRat
- }
- State KillRat
- {
- desc "Kill 1 Rat"
- rule KilledNpcs(2, 1) goto TalkToHonai
- }
- State TalkToHonai
- {
- desc "Talk to Honai"
- action AddNpcText(1, "Well done young one. Here is your reward!");
- action AddNpcInput(1, 1, "Accept Reward");
- rule InputNpc( 1 ) goto Reward
- }
- State Reward
- {
- action GiveExp(300);
- action ShowHint("You have gained 300 Exp!");
- action End();
- }
- State Coward
- {
- action AddNpcText(1, "Ok, good luck. More exp for me!");
- action Reset();
- }
Advertisement
Add Comment
Please, Sign In to add comment