Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 8 9 [10] 11 12

Author Topic: Random Magical Effect Generator  (Read 37749 times)

Tarran

  • Bay Watcher
  • Kind of back, but for how long?!
    • View Profile
Re: Random Magical Effect Generator
« Reply #135 on: June 03, 2012, 01:51:58 pm »

I'm thinking of adding more weather stuff. What's the latest good version now, since the latest is apparently #47? Is it still #19?
Logged
Quote from: Phantom
Unknown to most but the insane and the mystics, Tarran is actually Earth itself, as Earth is sentient like that planet in Avatar. Originally Earth used names such as Terra on the internet, but to protect it's identity it changed letters, now becoming the Tarran you know today.
Quote from: Ze Spy
Tarran has the "Tarran Bug", a bug which causes the affected character to repeatedly hit teammates while dual-wielding instead of whatever the hell he is shooting at.

Eagleon

  • Bay Watcher
    • View Profile
    • Soundcloud
Re: Random Magical Effect Generator
« Reply #136 on: June 03, 2012, 02:04:21 pm »

As far as I know, yes, 19. We can always merge changes if there's a skip because someone's added something at the same time.
Logged
Agora: open-source, next-gen online discussions with formal outcomes!
Music, Ballpoint
Support 100% Emigration, Everyone Walking Around Confused Forever 2044

Armok

  • Bay Watcher
  • God of Blood
    • View Profile
Re: Random Magical Effect Generator
« Reply #137 on: June 03, 2012, 02:07:36 pm »

yea, 19. The number only inflated because I got paranoid after firefox crashed every single time I tried to ruin it for a while and I lots a bunch of stuff.
Logged
So says Armok, God of blood.
Sszsszssoo...
Sszsszssaaayysss...
III...

Tarran

  • Bay Watcher
  • Kind of back, but for how long?!
    • View Profile
Re: Random Magical Effect Generator
« Reply #138 on: June 03, 2012, 02:31:41 pm »

Hm, I had a lot less ideas than I thought I had/more were covered than I thought.

Oh well, regardless, here: http://jsbin.com/idifof/48/edit
Logged
Quote from: Phantom
Unknown to most but the insane and the mystics, Tarran is actually Earth itself, as Earth is sentient like that planet in Avatar. Originally Earth used names such as Terra on the internet, but to protect it's identity it changed letters, now becoming the Tarran you know today.
Quote from: Ze Spy
Tarran has the "Tarran Bug", a bug which causes the affected character to repeatedly hit teammates while dual-wielding instead of whatever the hell he is shooting at.

Cerol Lenslens

  • Bay Watcher
    • View Profile
Re: Random Magical Effect Generator
« Reply #139 on: June 03, 2012, 03:42:52 pm »

http://jsbin.com/idifof/49/edit

Minor change to existing code - Names were still returning 'undefined' occasionally. Turns out the random number generator sucks and returns a number from 0 to the max number. This sucks because the thing was apparently always intended for use with arrays, yet will always return a range 1 greater than that of the array.

Right now I'm getting around this by simply changing the input to '<array>.length -1', which means it should now return with a number that won't break everything. Later I'll see if I can find my old random number-generating code, which had both min and max inputs so you knew exactly what your output range was.
Logged
"I've got a plan, hear me out on this one... I want to almost murder you."
"Boy, sure wish as Queen of the entire realm I had somebody to help me out with this. Advisor, tutor, anyone who knows what the hell they're looking at really.

Alas, the life of a Queen is a lonely one. Do the things with the whatsit."

GaxkangtheUnbound

  • Bay Watcher
  • To the skies!
    • View Profile
Re: Random Magical Effect Generator
« Reply #140 on: June 03, 2012, 04:46:43 pm »

Here's some effects from the code you guys have been making:
Quote
It is chilly and frosty outside twice. You go numb all over intermittently.
Congratulations, captain obvious.
Quote
You turn into a bear, and then you experience your greatest joy one thousand, three hundred and thirty seven times.
The initiation of a carebear.
Quote
The walls bleed around you until you successfully pass through the Cavern of Screams.
Sounds like I'm already in the Cavern of Screams. . .
Quote
You gain unmatched skill in mahjong, and then you are cursed to only speak in Words of Power until you spend a night in a haunted house.
Mahjong ro dah?
Quote
You grow a demon's tail, then you grow a pair of white feathery wings, and finally you turn into a fish.
Well, now I'm a demonic angelfish.
Quote
You become undead, and then you turn into a bear until you save the life of an innocent.
Great, now I'm gonna be used by some random Witch Doctor. . .
Quote
You are trapped in an ever-shifting labyrinth, but only while you are asleep.
DiCaprio is gonna have a hard time stealing my secrets.
Quote
Your nose turns silver and begins attacking you, then you are cursed to only speak in rhyme.
My silvery nose is attacking me/I rip it off and now I'm free
Logged
Proud of my heritage.
Prepare to lose your sanity.

Armok

  • Bay Watcher
  • God of Blood
    • View Profile
Re: Random Magical Effect Generator
« Reply #141 on: June 03, 2012, 05:40:09 pm »

So... any ideas what to do with the code I made? It should be working already if not for these bullshit bugs with array indexes, and I rewrote everything like 3 times but I just don't have the experience with these messy arrays needed to have a chance at fixing this and spent way, way to long on it already. If we get it working it'd dramatically improve just about everything, allowing for all sorts of cool tricks of recursion and for new categories with tags and everything to be added as easily as an extra string is now...
Logged
So says Armok, God of blood.
Sszsszssoo...
Sszsszssaaayysss...
III...

Cerol Lenslens

  • Bay Watcher
    • View Profile
Re: Random Magical Effect Generator
« Reply #142 on: June 03, 2012, 07:22:17 pm »

So... any ideas what to do with the code I made? It should be working already if not for these bullshit bugs with array indexes, and I rewrote everything like 3 times but I just don't have the experience with these messy arrays needed to have a chance at fixing this and spent way, way to long on it already. If we get it working it'd dramatically improve just about everything, allowing for all sorts of cool tricks of recursion and for new categories with tags and everything to be added as easily as an extra string is now...


The version in the spoiler appears to work like you wanted. (Of course, it's still missing most of the results to make testing easier, which is why it's spoiled: so nobody uses it as the latest.)
Logged
"I've got a plan, hear me out on this one... I want to almost murder you."
"Boy, sure wish as Queen of the entire realm I had somebody to help me out with this. Advisor, tutor, anyone who knows what the hell they're looking at really.

Alas, the life of a Queen is a lonely one. Do the things with the whatsit."

Teneb

  • Bay Watcher
  • (they/them) Penguin rebellion
    • View Profile
Re: Random Magical Effect Generator
« Reply #143 on: June 03, 2012, 09:30:57 pm »

Using the spoilered one in the post above I got...

Quote
You gain the enmity of Lord Michael 'The Digger' Maliussson VII for an hour.
Quote
You turn into a housecat. The sun shifts to noon-high and glares brightly.
Quote
Your name is changed to Joanna 'Ripper' Johnson, and then you turn into a horse for a week.
Quote
You gain the enmity of Lady Pauline 'Callahansbane' Callahan intermittently.
Quote
You gain the enmity of Lord John 'Butch' Smith IV, and then you are cursed to only speak in Klingon repeatedly.
Quote
Your name is changed to Joanna 'Crusher' Smythe Jr., and then you gain unmatched skill in opera singing all day, every February 29th.
Quote
You gain the enmity of Lady Pauline 'Crusher' Smith. It is warm and misty outside.
I've made quite lot of enemies today it seems.
Logged
Monstrous Manual: D&D in DF
Quote from: Tack
What if “slammed in the ass by dead philosophers” is actually the thing which will progress our culture to the next step?

Armok

  • Bay Watcher
  • God of Blood
    • View Profile
Re: Random Magical Effect Generator
« Reply #144 on: June 04, 2012, 10:30:10 am »

So... any ideas what to do with the code I made? It should be working already if not for these bullshit bugs with array indexes, and I rewrote everything like 3 times but I just don't have the experience with these messy arrays needed to have a chance at fixing this and spent way, way to long on it already. If we get it working it'd dramatically improve just about everything, allowing for all sorts of cool tricks of recursion and for new categories with tags and everything to be added as easily as an extra string is now...


The version in the spoiler appears to work like you wanted. (Of course, it's still missing most of the results to make testing easier, which is why it's spoiled: so nobody uses it as the latest.)
OMG yessss, awesome! It's *perfect*. Any idea why my nearly identical method didn't work.

Porting content now...

EDIT: "your mother get stricken with amnesia, and then you turn into a horse until you learn the value of friendship."

EDIT2: ok, I've spent WAAAAY to long on this, but I've gotten a lot done. I've entered everything up to and am next going to start on the Single Body Parts. Here's the file, again, very much in progress, but should give a good idea what I'm going for. Also, I'm skiping over the weather for now, since it's probably easier to just do over from the begining.
« Last Edit: June 04, 2012, 02:20:23 pm by Armok »
Logged
So says Armok, God of blood.
Sszsszssoo...
Sszsszssaaayysss...
III...

Armok

  • Bay Watcher
  • God of Blood
    • View Profile
Re: Random Magical Effect Generator
« Reply #145 on: June 05, 2012, 07:32:44 am »

DUMP.

Starting to work on this again, but it'd be nice to know what someone else thing about it. I've probably put more effort into this then the original creator by now.

Ok, now it should actually be finished and done, but there are more incomprehensible errors, link: http://jsbin.com/idifof/69/edit#source
« Last Edit: June 05, 2012, 08:53:15 am by Armok »
Logged
So says Armok, God of blood.
Sszsszssoo...
Sszsszssaaayysss...
III...

Ehndras

  • Bay Watcher
  • Voidwalker
    • View Profile
Re: Random Magical Effect Generator
« Reply #146 on: June 05, 2012, 12:21:06 pm »

Quote
Local gravity reverses and then you grow a pair of black dragon wings.

Fuck. Yeah.

Quote
You are filled with overwhelming peace and joy and then you have an incredible orgasm for an hour.

Nice.

Quote
You become inexplicably aroused and then you turn into a wolf.

Must... Not... Post... Twilight joke...

Quote
Your penis, if any, turns navy blue and becomes electric-proof, then a pile of gold appears in front of you.

Magical porn star?

Quote
Your navel begins glowing repeatedly. Your ass grows flowers on it twice.

The... Fuck?

Quote
Your ass begins glowing and then you become more fleetfooted permanently.

...I can live with that?

Quote
You remember everything you have forgotten, then you are filled with arcane energies, and finally gems and jewelry materialize near you.

I fucking WISH.

Quote
Your right hand screams. Your ass has an orgasm repeatedly.

... o.O
Logged
Quote from: Yoink
You're never too old to enjoy flying body parts.  
Quote from: Vector
Ehndras, you are the prettiest man I have ever seen
Quote from: Dorsidwarf
"I am a member of Earth. I enjoy to drink the water. In Earth we have an internal skeleton."

Akura

  • Bay Watcher
    • View Profile
Re: Random Magical Effect Generator
« Reply #147 on: June 05, 2012, 12:39:43 pm »

I wonder if it's possible to write an SCP file about something that causes these effects to happen.

Quote
You become physically stronger and then you punch the first person you see repeatedly.
I can work with that.

Quote
A torrential rain falls and then you become drunk for a week.
Beer rain.
Logged
Quote
They asked me how well I understood theoretical physics. I told them I had a theoretical degree in physics. They said welcome aboard.
... Yes, the hugs are for everyone.  No stabbing, though.  Just hugs.

miauw62

  • Bay Watcher
  • Every time you get ahead / it's just another hit
    • View Profile
Re: Random Magical Effect Generator
« Reply #148 on: June 05, 2012, 12:41:12 pm »

Quote
A torrential rain falls and then you become drunk for a week.
Beer rain.
It has started raining dwarf  blood!
Logged

Quote from: NW_Kohaku
they wouldn't be able to tell the difference between the raving confessions of a mass murdering cannibal from a recipe to bake a pie.
Knowing Belgium, everyone will vote for themselves out of mistrust for anyone else, and some kind of weird direct democracy coalition will need to be formed from 11 million or so individuals.

Armok

  • Bay Watcher
  • God of Blood
    • View Profile
Re: Random Magical Effect Generator
« Reply #149 on: June 05, 2012, 03:18:23 pm »

No comments on the changes I spent hours and hours making? :?
Logged
So says Armok, God of blood.
Sszsszssoo...
Sszsszssaaayysss...
III...
Pages: 1 ... 8 9 [10] 11 12