ID:150962
 
turf
  puddle
  bottle


mob
  tweetle_beetle
    var
      obj/equipped

  poodle
    var
      obj/lunch

  fox


obj
  paddle

  noodles


datum
  battle
    var
      name
      mob/side_1
      mob/side_2
      fox_check = FALSE
      mob/fox/F

    proc/get_battle_type()
      if (istype(side_1, /mob/tweetle_beetle) && istype(side_2, /mob/tweetle_beetle))
        if(loc == puddle)
          if (istype(side_1.equipped, /obj/paddle) && istype(side_2.equipped, /obj/paddle))
            if (loc.loc == bottle)
              for(F in loc.loc)
                fox_check = TRUE
                break
              if(fox_check)
                name = "tweetle beetle noodle poodle bottles paddled muddled duddled fuddled wuddled fox in socks"
              else
                name = "tweetle beetle bottle puddle paddle battle muddle"
                else
                  if (loc.loc == poodle && istype(loc.loc:lunch, obj/noodles))
                    name = "muddle puddle tweetle poodle beetle noodle bottle paddle battle"
                  else
                name = "tweetle beetle puddle paddle battle"
          else
            name = "tweetle beetle puddle battle"
        else
          name = "tweetle beetle battle"
      return name


mob/skysaw

(With thanks to Lexy's ifthefrogisonthelogthenmovethefrogwiththelog() function)
I will fix it on a boat, I will fix it in a moat, I will fix it with green eggs and ham, I will fix it, sir I am!

if(loc == puddle)

if (loc.loc == bottle)

if (loc.loc == poodle && istype(loc.loc:lunch, obj/noodles))

Where exactly is puddle and bottle being set, gentleman? =)
datum
battle
var
name
mob/side_1
mob/side_2
fox_check = FALSE
mob/fox/F

proc/get_battle_type()
if (istype(side_1, /mob/tweetle_beetle) && istype(side_2, /mob/tweetle_beetle))
if(loc == puddle)
if (istype(side_1.equipped, /obj/paddle) && istype(side_2.equipped, /obj/paddle))
if (loc.loc == bottle)
for(F in loc.loc)
fox_check = TRUE
break
if(fox_check)
name = "tweetle beetle noodle poodle bottles paddled muddled duddled fuddled wuddled fox in socks"
else
name = "tweetle beetle bottle puddle paddle battle muddle"
else
if (loc.loc == poodle && istype(loc.loc:lunch, obj/noodles))
name = "muddle puddle tweetle poodle beetle noodle bottle paddle battle"
else
name = "tweetle beetle puddle paddle battle"
else
name = "tweetle beetle puddle battle"
else
name = "tweetle beetle battle"
return name

Your indents are screwed up. The line "name = "muddle puddle tweetle poodle beetle noodle bottle paddle battle"" should be indented twice over, as should the two lines immediately following. Also, this code could concievably erase the hard drive on your computer and the computers of everyone you love if you don't start hosting My Life As A Spy more often.
In response to Leftley
Also, this code could concievably erase the hard drive on your computer and the computers of everyone you love if you don't start hosting My Life As A Spy more often.

Oh, right. That's on the fifth line, by the way.
In response to Spuzzum
On 6/24/01 6:24 pm Spuzzum wrote:
I will fix it on a boat, I will fix it in a moat, I will fix it with green eggs and ham, I will fix it, sir I am!

if(loc == puddle)

if (loc.loc == bottle)

if (loc.loc == poodle && istype(loc.loc:lunch, obj/noodles))

Where exactly is puddle and bottle being set, gentleman? =)

Had it in there, smart guy!

to wit:

turf
puddle
bottle
In response to Leftley
Your indents are screwed up. The line "name = "muddle puddle tweetle poodle beetle noodle bottle paddle battle"" should be indented twice over, as should the two lines immediately following. Also, this code could concievably erase the hard drive on your computer and the computers of everyone you love if you don't start hosting My Life As A Spy more often.

To the first I'll plead forum bug (because who could prove me wrong?)

To the second, trust me... it will be worth the wait. :-)

Besides I need a way to entually permanently host this. Dantom space seems to be used up for the moment. I was hoping for a blastoff package.
In response to Skysaw
Had it in there, smart guy!

to wit:

turf
puddle
bottle

No, no, no, indeed you didn't.

You're looking for if(istype(loc.loc,/turf/bottle)). if(loc.loc == bottle) makes no sense. Unless I totally misunderstood entirely, which is possible with the riddles you made. =)
In response to Skysaw
To the second, trust me... it will be worth the wait. :-)

You think I'm kidding, don't you? I can tell you this, no game that could possibly be made within the physics of the world we live in could be worth the wait of you reformatting and possibly buying a new hard drive and rebuilding it from scratch. So start hosting!
In response to Spuzzum
On 6/24/01 7:51 pm Spuzzum wrote:
Had it in there, smart guy!

to wit:

turf
puddle
bottle

No, no, no, indeed you didn't.

You're looking for if(istype(loc.loc,/turf/bottle)). if(loc.loc == bottle) makes no sense. Unless I totally misunderstood entirely, which is possible with the riddles you made. =)

Well then you compile it and test it... I'm not gonna try it!

*nervously backs away from the keyboard*