Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 345 346 [347] 348 349 ... 777

Author Topic: Cataclysm: A Zombie-Survival Roguelike  (Read 1310939 times)

Whales

  • Bay Watcher
    • View Profile
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5190 on: August 13, 2011, 02:13:36 pm »

If you're weird, I'm weird for enjoying coding it more than playing video games ;)

The ammo stacking/crafting stuff will definitely be handy and will be preserved.
Logged
Cataclysm Source Code:  https://github.com/Whales/Cataclysm
Official Cataclysm Forums:  http://whalesdev.com/forums/index.php
My Twitter - mostly Cataclysm related:  http://twitter.com/#!/whalesdev

Join me in #cataclysmrl on irc.quakenet.org!

jc6036

  • Bay Watcher
  • Bilious Slick
    • View Profile
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5191 on: August 13, 2011, 02:20:53 pm »

Bluh, now I feel like I need to contribute something more than shitty stick art. . .maybe I will do a piece of fiction. I just dont have enough motivation to go and write it. Also, how many people here do we have over at the fan forums?
Logged

Whales

  • Bay Watcher
    • View Profile
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5192 on: August 13, 2011, 02:42:17 pm »

Bluh, now I feel like I need to contribute something more than shitty stick art. . .maybe I will do a piece of fiction. I just dont have enough motivation to go and write it. Also, how many people here do we have over at the fan forums?

Hard to say, I think the spambots outnumber real people!
Logged
Cataclysm Source Code:  https://github.com/Whales/Cataclysm
Official Cataclysm Forums:  http://whalesdev.com/forums/index.php
My Twitter - mostly Cataclysm related:  http://twitter.com/#!/whalesdev

Join me in #cataclysmrl on irc.quakenet.org!

Ordokai

  • Bay Watcher
    • View Profile
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5193 on: August 13, 2011, 02:58:14 pm »

Bluh, now I feel like I need to contribute something more than shitty stick art. . .maybe I will do a piece of fiction. I just dont have enough motivation to go and write it. Also, how many people here do we have over at the fan forums?

Hard to say, I think the spambots outnumber real people!

It's the beginning of most grand things !
Logged

Paul

  • Bay Watcher
  • Polite discourse with a dash of insanity.
    • View Profile
    • Need an affordable website? I can help.
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5194 on: August 13, 2011, 02:58:32 pm »

Found a rather obscure bug while messing with the use_charges code.

In the inventory loop it's comparing local_used to quantity, only local used gets set to 0 at each iteration after it gets added to used. This means if it has to take charges from multiple items, it will only ever stop if it takes all the charges from 1 item. This would only affect the recipes that use large amounts of something with charges (in the main branch, only ammo I guess?). Would probably mean making things that use more than 100 batteries would use every battery in your inventory, but I haven't explicitly tested.

Changing quantity to (quantity - used) everywhere it's used inside the loop fixes that.
Logged
Do you like Science Fiction? I'm writing the Weaveborn Saga over on Royal Road and my website. Link

jc6036

  • Bay Watcher
  • Bilious Slick
    • View Profile
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5195 on: August 13, 2011, 02:58:33 pm »

Hmmm. . .I had a couple of ideas for fiction, and once I get started I wont be able to stop, (writers, you know how that is) but I have to get to the point of getting the first paragraph down. .
Logged

Paul

  • Bay Watcher
  • Polite discourse with a dash of insanity.
    • View Profile
    • Need an affordable website? I can help.
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5196 on: August 13, 2011, 03:10:50 pm »

In a moment of insanity (or inspiration, depending on how you look at it) I decided to make molotovs only craftable with glass bottles. My reasoning is that I don't imagine a plastic bottle molotov would be very effective. You want your bottle to break where you throw it, not bounce.

This has the side effect of requiring an empty glass bottle for the first craft (second will have a bottle left from the first craft), since i'm making it check for the bottle separately. Which should inspire you to chug a bottle of booze before you start turning the rest of it into molotovs, so im still calling it a win.
Logged
Do you like Science Fiction? I'm writing the Weaveborn Saga over on Royal Road and my website. Link

GlyphGryph

  • Bay Watcher
    • View Profile
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5197 on: August 13, 2011, 03:13:30 pm »

Paul, I wonder if thats the bug that made Heroin use up all my adderal...
Logged

DalGren

  • Bay Watcher
  • Arcade survivor.
    • View Profile
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5198 on: August 13, 2011, 03:54:26 pm »

In a moment of insanity (or inspiration, depending on how you look at it) I decided to make molotovs only craftable with glass bottles. My reasoning is that I don't imagine a plastic bottle molotov would be very effective. You want your bottle to break where you throw it, not bounce.

This has the side effect of requiring an empty glass bottle for the first craft (second will have a bottle left from the first craft), since i'm making it check for the bottle separately. Which should inspire you to chug a bottle of booze before you start turning the rest of it into molotovs, so im still calling it a win.

Wasn't it possible to unload containers of fluids, too? </partypoop> But the glass bottle thing makes sense.
Logged
I often play devil's advocate for the sake of debate. Don't take it personally.

jc6036

  • Bay Watcher
  • Bilious Slick
    • View Profile
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5199 on: August 13, 2011, 03:58:01 pm »

So plastic bottles could have been used the entire time? . . .WTF! *facepalm*
Logged

Paul

  • Bay Watcher
  • Polite discourse with a dash of insanity.
    • View Profile
    • Need an affordable website? I can help.
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5200 on: August 13, 2011, 03:58:10 pm »

You want to pour out a bottle of booze rather than drink it?  :o

What kind of dwarf person are you?


Hmm, I'm trying to come up with a changelog for my latest version, but I was very ill and kind of out of it during a large part of the coding process on this version. I don't suppose "Items stack and other things might be different too." will work as a changelog? No?
« Last Edit: August 13, 2011, 04:02:57 pm by Paul »
Logged
Do you like Science Fiction? I'm writing the Weaveborn Saga over on Royal Road and my website. Link

jc6036

  • Bay Watcher
  • Bilious Slick
    • View Profile
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5201 on: August 13, 2011, 04:02:13 pm »

Jeez, at least get trashed first before you dump it/turn it into a molotov!
Logged

Paul

  • Bay Watcher
  • Polite discourse with a dash of insanity.
    • View Profile
    • Need an affordable website? I can help.
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5202 on: August 13, 2011, 04:05:29 pm »

lol, I'm having to use diffutils to figure out a changelog for my latest version.

Just one of the many reasons why I'm not a professional programmer.
Logged
Do you like Science Fiction? I'm writing the Weaveborn Saga over on Royal Road and my website. Link

BishopX

  • Bay Watcher
    • View Profile
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5203 on: August 13, 2011, 04:27:18 pm »

lol, I'm having to use diffutils to figure out a changelog for my latest version.

Just one of the many reasons why I'm not a professional programmer.

seems like you should have been commenting your code as you went...
Logged

Paul

  • Bay Watcher
  • Polite discourse with a dash of insanity.
    • View Profile
    • Need an affordable website? I can help.
Re: Cataclysm: A Zombie-Survival Roguelike
« Reply #5204 on: August 13, 2011, 04:30:07 pm »

It was easy enough. All I really did was add item stacking. Was thinking I added more, but I was remembering the stuff from the release I did the other day.

And I really should comment my code as I go. Maybe one day I'll learn to. One day!... :P

I'm tempted to change the way bread crafting works, but its such a minor thing I think I'll just leave it alone.

I just find it funny that when you bake a loaf of bread it comes in a plastic bag. I guess as part of the bread baking you're taking the two bottles (which also get consumed with the water); melting them down and forming them into a plastic bag; and putting the bread in it once it's done.
« Last Edit: August 13, 2011, 04:32:35 pm by Paul »
Logged
Do you like Science Fiction? I'm writing the Weaveborn Saga over on Royal Road and my website. Link
Pages: 1 ... 345 346 [347] 348 349 ... 777