MONSTER KILL QUEST WITH NO SCRIPTS

A Monster Kill Quest where the player can keep count of Kills.

  • dnel57
  • 12/23/2020 11:30 PM
  • 2006 views
This is an enemy kill quest using Variables, Item Count
(by the player) and Battle Processing.
This is not for random encounters.
In all the enemy kill quests I have looked at, ONLY the quest giver can
keep count of how many kills you have done. This way the player will know how many he has without running back to the quest giver.
By the way, this will work if you don't want to keep track yourself.
Just don't create the item to be tracked and delete everything that has to do with the item.

I have set up a simple map(understatement) for this in case you want to
make one for this.



For this quest, the Quest Giver wants 5 Skeletons killed.
First, create the Skeleton.
I used the Skeleton From Database/Actors Monster 1 page.




Autonomous Movement: Random
Options: Walking, Stepping
Priority: Same as Characters
Trigger: Autorun

Page2



Conditions : Create a switch. Call it Took Kill Quest.
This is so you can't interact with the Skeletons before you take the Quest.

Options: Walking, Stepping
Priority: Same as characters
Trigger: Player touch

Now you need to create an Item called Kill.


Make it a Key Item
Price: 0,
Consume: No
Scope: None
You can add an icon if you have one but, not necessary.
Back to Page2


Now, under Comments:
(Optional)Set move route Turn toward Player
so the enemy will face the player before the battle starts.

Next@Control Variables
Create a Variable name it Kill.
Your Variable number may be different, Mine just happened to be 0002.


Variable: Single
Operation: Add
Constant: 1
Click OK.

This will add one Kill to the Quest Giver's count each time you kill one.
Under that the next@
Change Item Kill +1


Click OK.
This will add one Kill to your Key Items so you will know how many you have at all times.

Now, you have an Item called Kill and a Variable called Kill.
The Quest Giver will keep track of the Variables and the Player will keep track of the items at the same time
Next@
Battle Processing



Make sure not to check Can Escape or Continue if lose..
Next@
Control Self Switch A is ON

That page is done.

Page3




Conditions: Self Switch A is ON.
Graphic: none
Options: Through
Priority: Below Characters so you don't bump into the event.


Next,Create a Skeleton Enemy in your database.


You can use the one in the Enemy list, but I borrowed one from Thalzon's Battlers. I made them very weak so I could test quicker.

Once you have done that, make a Troop for it.



Make sure to leave Don't Run as is.

Now, for the Quest giver
He wants you to kill 5 Skeletons.
Page 1




Choose a character graphic for your Quester.
Priority: Same as Characters
Trigger: Action Button
Under Comments:
Create a conversation of your liking with the Quester establishing what he wants and that you will do it.
Once you have accepted the Quest:
@ Controll Switches: Took Kill Quest is ON
@ Control Self Switch A is ON

Page 2



Conditions: Self Swich A is ON
Under Comments:
Open a Conditional Branch


Variable
Equal to
0
Make sure Set Handling is not checked.


@ Open another Conditional Branch directly under Branch End of the previous branch.

This time do it the same but make it Equal to 1
Make sure Set Handling is not checked.


Open another Conditional Branch
directly under Branch End of the previous branch.

This time do it the same but make it Not Equal to 5
Make sure Set Handling is not checked.



Directly under this one, make a Show Text
(Quester) You have \V Kills.

Whereas this is Not Equal to 5, the only numbers not covered are 2, 3 and 4.
With the code \V, the Quester will tell you if you have 2, 3,or 4
Kills.


One more Coditional Branch This time Equal to 5
directly under Branch End of the previous branch.
Make sure Set Handling is not checked.

This one will be for when you have them all.
Directly under the Conditional Branch the next@
Show Text:(Quester) Wow, you got them all!
Here is your 500G.
Directly under that, on the next@ you can make a text for the player saying
Something like "We can sure use this"
Next@ Text no graphic "Got 500G"
Next@ Change Gold +500
Play SE Item or Coin work fine for this.
Next@ Change Items Kill-5 This removes the 5 Kills from your Key Items.
Next@ Control Self Switch B is ON

Page 3



This is where Self Switch B takes you.
So, all you have to do is click on Self Switch B is ON
and Show Text: Quester Thank you.
Now all he will say is Thank you.
And that's it.

Any questions, feel free to leave a message. I check no less than daily.