devlog

Masterworks

How players make unique items, what determines their stats and look, and how each world keeps them under control.

Today I’d like to show you a mechanic in Idlune that I think is pretty rare. Or maybe I only think so because I have less and less time to play, but I don’t remember seeing anything like it. I call it masterworks, after the first use for it that came to my mind. The same mechanic can be used for other things, though, and I’ll show you one idea at the end of this post.

What a masterwork is

The idea in my head went like this - a real master of a craft can make an item no one else can. Something like the work of a lifetime. Its stats and effects are unique, and so is its look.

On the official world, every character will most likely be able to make one masterwork, and only after mastering their craft. The limit isn’t final yet and could still change. If it stays that way and you make a unique sword, you won’t make a unique armour as well, although you could still get one by trading with another player.

It won’t be cheap, either. A masterwork costs a lot of time and a lot of materials.

How it works

A world declares blueprints such as Two-handed sword (masterwork). The blueprint lists the required materials and the optional ones. This sword might need ten bars of some very rare metal and a log of the rarest wood.

blueprint · masterwork Two-handed sword 24 h+ of work
needs
Starmetal bar ×10Elder log ×1
random

Damage 120–160 · attack every 2.8–3.4 s · look

extras
Swamp Beast Fang ×1–4poison? Fire Crystal ×1–2burn? Frost Crystal ×1–2slow? Troll Blood ×1lifesteal?
combos
  • Fang + Troll Bloodpoison stops healing?
  • Fire + Frost Crystalcracked blade: less damage?

You can add optional ingredients on top of those materials. Each one gives you a chance of adding an effect, while the right combination can give a stronger effect or a side effect you didn’t want. Throw in a Swamp Beast Fang and the sword might poison on hit. How much poison damage it does, and how often, isn’t certain. It isn’t even certain that the sword gets the effect at all. A blueprint can also let you add two, three or even more of the same ingredient. Adding more can raise the chance of that effect or make it stronger.

There’s no AI behind the stats. They’re decided by plain RNG and calculations. AI only handles one thing - the artwork. Every masterwork gets its own artwork, so even the way it looks is unique. The blueprint describes the item loosely enough that no two come out the same, but precisely enough that a two-handed sword doesn’t suddenly turn into a dagger. Even the optional ingredients can show up in the generated graphic.

A two-handed sword with a pale, blue-veined blade and a dark wooden crossguard.
two-handed sword · masterwork1 of 1
Pale Vigil Starmetal · elder wood Damage 152 · attack every 3 s No extras, no effect. forged by Morwen · 26h 10m of work
A two-handed sword from the same blueprint, with four small beast fangs in the crossguard and green venom running from them onto the base of the blade.
two-handed sword · masterwork1 of 1
Marshbite Starmetal · elder wood · Swamp Beast Fang ×4 Damage 131 · attack every 3.2 s Poisons on hit: 45 damage every 2 turns. forged by Brannoc · 24h 45m of work

What could go wrong

Of course, handing players tools like this is asking for trouble, and so is putting AI in a game. I think I’ve found a decent answer to most of it, maybe all.

Names. You name your masterwork, and we all know some names will be rude or just won’t fit the world. Every name has to be approved by the GM of that world. Until then, the item uses a placeholder such as Two-handed sword made by Vanth.

Artwork. AI art can come out badly or not fit the world. The answer is the same - the same person approves every picture, and if something’s wrong with it, it gets generated again.

Neither of these is as bad as it sounds because masterworks are slow and rare. I expect one to take at least 24 hours to make. Together with a limit like one per character, that should keep their number low enough for a GM to handle. Most likely, both the name and the picture will be approved before the work is even done.

Rerolling. A different problem is players trying to get a better roll by cheating. I went with the simplest solution I could think of, and it’s also pretty bulletproof - everything is rolled and saved the moment you start the work. Stopping halfway or trying another trick changes nothing. The item has been waiting since the start, and at the end you just find out what it is.

  1. start Start the work The materials are used up. Stats, effects and artwork are rolled and saved.
  2. 24 h
    wait Give it time At least 24 hours. Your character works, online or not.
  3. done Find out what it is Marshbite 1 of 1

Not only masterworks

Everything above is how masterworks will work on the official world. Other worlds can set them up differently: each one decides how many a character can make and how long they take, and a world with no limits at all is fine too.

But the same mechanic can also be used for something else entirely. As promised, here’s the idea I keep coming back to. It’s a lot crazier, and it comes from item randomizer mods. You might know the type - every enemy and every chest can hold any item, from the best to the worst. I think you could take it one step further and build a world where the items aren’t picked from a list of things that already exist. They’re made on the spot. You buy a sword from an NPC and get something completely random. Someone else buys a sword from the same NPC and gets something completely different.

Yes, I know it’s a mad idea. I still think it would find its fans, and for everyone else it could be a fun way to play for a while. The Idlune engine lets you build a world like that, and use this mechanic in plenty of other ways.

— Vanth