Event Constructor - NekomaDev/LiteDungeon GitHub Wiki

The Event Builder allows you to create a variety of events inside the dungeon. There are only a few triggers and actions available for now. This list is constantly updated and supplemented.
Trigger - an event that is called by the player. Action - action that the dungeon do.

Create Event

Let's make a simple dungeon. In which, after killing mobs, a treasure room opens, but a trap will be waiting for us there

  1. Let's create a new dungeon and teleport to it

  2. Now let's build a dungeon layout.
  3. Let's put a few mobs at the beginning so that they spawn at the start of the dungeon

    Set SUMMON=TRUE so that they will automatically spawn at the start of the dungeon

    You need to set their ID so that these mobs have a common group

  4. Great. Now let's add an action, if all zombies with this ID die, then the wall to the chest will open.
    First, let's create a wall.
    Now just click the tag on the wall and set the desired ID.

    Now click on the frame with the middle mouse, get a copy of this tag, and just put it on the remaining blocks.

    Great, we created a wall with ID=MY_ROOM now we will set an action so that the wall breaks if all zombies with a certain ID die.




    Now let's link the action to the ID wall.
    Now, when fire the kill_all trigger, an Action is start that is link with ID.
    Now click the middle mouse button on the frame, get a copy of the egg and place a copy of it (Just click on the blocks as if you want to put a block)
  5. Now let's make a trap. So that 2 spiders appear when opening the chest.

  6. Now let's make exit of the dungeon. Let's create a wall with ID=EXIT.

    And we'll add an event to create an exit when all the spiders die.
  7. Result: https://youtu.be/53DF4ebrO2A

Treasures

Go to the menu and create a treasure pattern


After you have set the pattern, go into the dungeon editing mode, go to the desired chest and press R-Click+Shift, then select the desired treasure pattern
At the start of the dungeon, loot will be generated in the chest according to the rules of your pattern

Custom Mobs

If you are using the MythicMobs/EcoMobs/Boss then set the custom name of the entity

Multiple actions

First you need to create a main trigger and assign it an ID

Instead of an event trigger, give it an ID. It will keep track of trigger IDs and will be activated when a trigger with that ID fires.

Now when we open the chest, 3 challenge cells will trigger

Tips

You can always create 1 tag or 1 mob egg, then clone it with the middle mouse button and place it in your dungeon