Author Topic: Hammers of Doom  (Read 852 times)

Today, as I was routinely hacking about in my server, I thought I might add new weapons to my DM.
But first I wanted to remove all the rocket launchers, and make sure I didn't miss any.

That was simple enough:
Code: [Select]
function rmItem(%brickOfGroup) {
   BrickGroup_8470.getObject(%brickOfGroup).setItem();
}

for(%i=0; %i<=BrickGroup_8470; %i++) { rmItem(%i); }

Note: I do all of this at my DM server at night while it is nearly empty because people get mad and leave, not to return the next day. However if you would still like to see stuff like this, the name of my server is "Bob & Rob - Host's Good Ol' DM" and its up 24/7 (for now at least).

But then I felt like having some more fun, I wanted to set an item on EVERY BRICK!
Code: [Select]
function addHammer(%brickOfGroup) {
   BrickGroup_8470.getObject(%brickOfGroup).setItem("hammerItem");
}

for(%i=0; %i<=BrickGroup_8470; %i++) { addHammer(%i); }
The following (as well as a bunch of lag) is the result:
« Last Edit: August 02, 2009, 10:25:21 PM by BobAndRob »

The hammers are taking over.
You can't go outside.
You aren't safe in your own home.
Your running out of food.
You sir, are royally forgeted.

Cool :3


Lol, I took another pic