Welcome to the Builder Academy

Question Rewarded triggers in some tba rooms

More
01 Feb 2022 15:11 #10009 by jandulio
I've noticed a few "reward" triggers in some rooms, and I understand the trigger code and what they do, but I'm confused as to why & when they are trigged.  For example, this one leading to the dumps in Midgaard.  What is the %object%?  Do I need to retrieve something to get rewarded?  Oh, and what is the 2 h 100?  I think 2 means "world", but unsure of the other 2 arguments.

#3004
Dump - 3030~
2 h 100
~
%send% %actor% You are awarded for outstanding performance.
%echoaround% %actor% %actor.name% has been awarded for being a good citizen.
eval value %object.cost% / 10
...

Please Log in or Create an account to join the conversation.

More
01 Feb 2022 18:30 #10010 by Rumble
TSTAT 3004 in the game to see the full trigger

Name: 'Dump - 3030', VNum: [ 3004], RNum: [ 808]
Trigger Intended Assignment: Rooms
Trigger Type: Drop , Numeric Arg: 100, Arg list: None
Commands:
%send% %actor% You are awarded for outstanding performance.
%echoaround% %actor% %actor.name% has been awarded for being a good citizen.
eval value %object.cost% / 10
if %value% > 50
set value 50
elseif %value% < 1
set value 1
end
if %actor.level% < 3
nop %actor.exp(%value%)%
else
nop %actor.gold(%value%)%
end
%purge% %object%

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

Please Log in or Create an account to join the conversation.

More
01 Feb 2022 18:45 #10011 by jandulio
Thanks @Rumble

The keyword "drop" is what I needed! TSTAT here I come!

Please Log in or Create an account to join the conversation.

Time to create page: 0.590 seconds