All posts tagged with "rumours of the space fungus meteor are purely rumours and any reported sightings of the space fungus meteor are probably caused by stahlmarkian propagandists"

Pickle That Fungus

We know what you really want: An excruciatingly detailed fungus pickling simulator. And I’m going to show you how it’s done. “What, more logistics simulation?” you gasp, somewhat overwhelmed with emotions you can not identify, will not identify. Yes, I answer, because if I’m going to be forced to write this thing two weeks in a row it’s either this or more Bizarre Literary Experiments and we all know how that turns out. (Of course we could always mix the two – a bizarre literary industrial logistics simulation experiment, but then I might be treading on China Mieville’s turf and that guy could totally beat me up.)

Let’s call it a two-part series if that makes you feel better.  Remember that episode of TNG where Riker said “Fire!” and it cut to the end of the season? It’s like that but without the cliffhanger. Or Riker. But we’ll make it work because we’ve got fungus and the luminous mycelium interfacing with the base of our neck, suggesting that this is a good idea after all and why don’t we continue discussing the laudable qualities of fungi.

The elusive black cup fungus - a delicacy, I hear.

Shhh. See there? It is the elusive black cup fungus – a delicacy, I hear.

So let’s walk through the process of adding a harvestable resource to the game and go into a bit more detail about creating a production chain from start to finish. All meat free!

{ read this article }

Posted in Clockwork Empires | Tagged , , , , , , , , , ,
26 Comments

Hooray for Scripting! (And Other Things We Did In The Past Two Weeks)

Way back in December, we had just implemented a bunch of the character logic for going through the world and doing things using our Finite State Machine model and utility functions. What we discovered was that writing the code for the FSMs themselves was, to put it frankly, a huge pain. Additionally, non-C++ programming members of the development team could not easily add new items and new behaviours to items (mines, buildings, trees, and the like.) Micah J Best, at the end of December, decided that we should use scripting to wrap some of the complexity and hide it from the end user, while simultaneously letting our development team create new objects and FSMs without requiring a programmer to go thrashing about in the codebase. I said, “Fine. Show me a proof of concept and then we’ll talk.”

Fundamentally, Gaslamp’s programming team operates based on spite. If somebody says “oh, well, we’ll never get that done in time”, or “oh, well, it’s too impractical”, somebody usually says “no, it well isn’t” and will jump to the bait. (I did this recently with a pipe system test.) Saying “Well, show me a proof of concept and we’ll talk” is equivalent to putting a red cape in front of a bull.

Over the holidays, Micah found himself stuck in Quebec. With nothing but inlaws, a language barrier, two laptops (one of which was destroyed by a cat), a turkey stuffed with poutine, and spite, he put together the first build of what is our new scripting system. It does, indeed, encapsulate all our programming decisions and is fairly powerful and flexible. We took apart all the character code we wrote in December, ported it to the new scripting system, and have now started using it to implement new things in game. It’s very powerful and, after some back-and-forth, I’m quite happy with how it’s turned out. We’re still fixing bugs and fine tuning how it all comes together, but let’s see how it all works…

{ read this article }

Posted in Clockwork Empires, Programming | Tagged , , , , , , , , , , , , , , , , ,
19 Comments