Thursday, January 20, 2022
LuminariMUD is a unique MUD using Pathfinder/D20 rules and set in a fantasy world of heroes, villains and a world facing a threat that may destroy them all. The game is in an open state, but with plenty of development and world-refinement happening to improve and polish our game. With plenty of lore, and a world map of over 4 million rooms, there's a lot to explore and discover. We cater to PvE lovers and RP, with some PvP goodies coming down the pipe. Our crafting system is deep and allows for unique descriptions and stats you can decide on yourself. We have a GUI for Mudlet and also play well in other MUD clients. We highly encourage those who want to try us out to join our discord server as well. We hope to see you in game!

Trigger-of-the-Day Bell-ringer

Home Forums Building Trigger-of-the-Day Bell-ringer

Viewing 0 reply threads
  • Author
    Posts
    • #2174
      jordan
      Participant

      This is the first of probably many to come, originally it was just a tbamud forum thing that Rumble started and I liked so much that I suggested it to Zusuk and Ornir to see what they thought of this idea of posting triggers that they would like to highlight in the game. I hope this is going to be helpful to other builders and people that would like to see what is behind-the-scenes of what it takes to make an area come to life. Without much other to say let’s get down to business of the trigger.

      Ok, I was tasked with developing a trigger for the German GamerCon Festival with the idea of the trigger coming from Zusuk and some help with the trigger; With also help from: Treyorn(made it work), Ornir, and Rumble(original design). This was for people of the German GamerCon festival to find an object that would give them something for reading the description. The trigger purpose is to check to see if people read the description of the room and have done what it says, giving them a little experience points for the trouble of ringing the bell for the whole zone to hear and try to find where the bell ring is coming from.

      
      Name: 'Bell ringer achievement',  VNum: [145200], RNum: [ 1660]
      Trigger Intended Assignment: Rooms
      Trigger Type: Command , Numeric Arg: 100, Arg list: *
      Commands:
      if %cmd.car% == ring
        if bell /= %arg%
      *
      * Checks to see if the bell has been rang by the player
      *
          if %actor.varexists(bell_ringer)%
            %echoaround% %actor.name% struggles as %actor.heshe% pushes on the button.
            %send% %actor% You push the button putting all your weight into it, and it slowly gives.
            wait 1 sec
            %zoneecho% The bell rings.
            %send% %actor% You have the bell achievement.
      *
      * If it hasn't then it runs the first-time bell-ringer.
      *
          else
      *
            %echoaround% %actor.name% struggles as %actor.heshe% pushes on the button.
            %send% %actor% You push the button putting all your weight into it, and it slowly gives.
            wait 1 sec
            %zoneecho% The bell rings.
            %send% %actor% Congratulations: You have rung the bell. You receive 100 exp for ringing the bell.
            nop %actor.exp(100)%
            set bell_ringer 1
            remote bell_ringer %actor.id%
          end
        else
          %send% %actor% You have to choose something to ring.
        end
      else
        return 0
      end
      
Viewing 0 reply threads
  • You must be logged in to reply to this topic.