Welcome to the Builder Academy

Question Trigger of the Day - Object Command Assemble

More
01 Jul 2013 18:45 #3290 by Rumble
Code:
Name: 'Object Command Assemble', VNum: [ 48], RNum: [ 48] Trigger Intended Assignment: Objects Trigger Type: Command , Numeric Arg: 7, Arg list: join Commands: * By Rumble of The Builder Academy tbamud.com 9091 * Assemble an orb onto a staff to make a new item. Trig attached to obj 189 eval currentroom %self.room% * Make sure they are in room 133 with the 2 objects. if %currentroom.vnum% == 133 && %actor.inventory(189)% && %actor.inventory(191)% * Purge 191, but leave 189 since we are going to %transform% it. %purge% %actor.inventory(191)% * lets make it a 50/50 chance of working. switch %random.2% case 1 %transform% 12 %send% %actor% As you join the orb to the staff it clicks into place. %echoaround% %actor% %actor.name% places an orb onto %actor.hisher% staff. break default %transform% 192 %send% %actor% As you try to join the orb to the staff it turns in your hands and snaps in half. %echoaround% %actor% %actor.name% tries to place an orb onto %actor.hisher% staff until the staff twists in %actor.hisher% hands and snaps in half. break done detach 48 %self.id% else %send% %actor% You can not do that here. end
If this was helpful please vote or leave a review for TBA.

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

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

Time to create page: 0.502 seconds