Skip to main content

Hoardomatic Client


I put together a simple interface for the hoard-building machinery as an alternative to running the code manually in Eclipse. Pretty simple: enter a target value for the hoard and press the button.


To customize the output, there's a collapsible section of checkboxes. Various flags can be thrown for items in the hoard. "Required" means that items must be of that type. "Forbidden" means that items of that type are automatically rejected.


The machinery does it's bit and puts the items in the text box at the bottom, from which they can be copied to something more legible. Just to make sure it's working, there's a little display of the value of the items in the hoard (not including coinage) which updates as it goes.


More or less functional, but it really shows where the limitations of the approach I took (purely random items accepted or rejected after generation, data in XML files). Notably, selecting a small number of required embellishments and any number of forbidden ones (for example, non-enchanted swords) makes it slow to a crawl because only a fraction of generated items are likely to fit the required conditions and those have a non-trivial chance of then meeting the requirements for rejection. And, of course, the real limitation here is tagging the items, for which I need to come up with a better approach.



Comments

Popular posts from this blog

The Last Pyramid

Today saw the publication of the final issue of Steve Jackson Games's Pyramid magazine, as was announced several months ago. Broadly speaking, it was the victim of generally rough times within the gaming industry.

I'm one of what is surely a small number of people who have been published in all three iterations of Pyramid. I'd had some previous contact with SJ Games--some stuff I helped with ended up in GURPS Cyberpunk, which in turn has doubtless gotten my name on the Federal Register of Dangerous Hoodlums--but it wasn't until the later days of the paper version of Pyramid that I finally got up the nerve to try my hand at writing an article. The result was a short piece on low-tech (mostly Medieval) economies, which became my first professionally published work.

This, apparently, was enough encouragement. Having seen how painless the process actually was, I started thinking in terms of writing for publication. It didn't hurt that around this time I went to work fo…

Fraxinetum

I came across another one of those historical footnotes which would in years past have prompted a Pyramid  article. With Pyramid still gone, here we go again:
Introduction The early Middle Ages were dangerous and chaotic for much of western Europe. Vikings raided along coasts and river from the north and all the way around Europe's west coast and into the Mediterranean. Magyars attacked from the east. And Muslims (mostly but certainly not all North African Berbers) took over most of Spain and raided elsewhere along the Mediterranean coast.

But while many people know at least about the existence of Muslim Spain, fewer people are aware of Muslim France.  For a time in the 8th through 10th centuries, large stretches of the south coast of France were under Muslim rule, and parts of that were administered from one of the world's most glamorous vacation spots. This was Medieval Fraxinetum.
History In 711 AD, things were going well for the expanding Muslim caliphate. An Arab-led Berb…

Writing GURPS Adventures

Someone over on the forum asked for advice on writing adventures for GURPS. Or more specifically, in context, writing GURPS adventures with an eye towards publication by SJ Games, which is a very different animal. Whatever method and structure you have for writing up adventures for your own use is, of course, the best and you should use it for your own purposes. But we're talking about commerce here, not just art, so this should be thought of as advice on how to do business with a particular publisher, not generally useful advice on how to write adventures.

I need to start by defining a term. SJ Games means something specific by "adventure." As the wish list uses the word, an adventure has a plot, or at least something plot-like in it. It presents a specific problem to solve through a progression of encounters. They are not sandboxes. Sandbox-style adventures, with their multiplicity of possible PC objectives, are, in the terminology of the wish list, locations. There ar…