I had some trouble with adding money and merchants to the world. I could not decide, should they be just an item in an inventory slot, or deserve some special treatment. So, finally decided to postpone this feature altogether, and add other things.
Better map generationI made nice automated dungeon generation module, which constructs a random map from a short specification like this:
@joint ,+/%$
@door ,+
@floor .,
@gen / = ,#
@gen % = +#
@gen $ = +,
@b ,+ = #
##/##
#...#
/...$
#...#
##/##
#####
,...,
#####
#####
,...,
#...#
##$##
#######
#.....#
#$###$#
You basically tell the program:
- what are possible building blocks
- what tiles are the joints (the places at which two blocks can be joined)
- rules for merging tiles
- tile randomization
- some post-processing
A few more examples (for other specifications):
This map generation module builds all
dungeons now. It also builds
houses in settlements.
I'm going to make a library or a command line tool that uses this generator, so everyone, if they will, should be able to use it for their projects. In fact, I already have a command line tool now, it is used to make those ascii screenshots. But I want to do it right, and it should works for all platforms. Maybe, it even worth rewriting the thing in C, I'm a bit uncertain about it.
Weapons and materialsAdded two alternative metals: Rusty steel, and high-quality (~Damascus) steel. Example with three daggers:
My current set of weapons (some of them, like polearms, are not in the game yet)
The oversized ones are way too heavy for normal people. If you wield them, the unit would be slowed down a lot. And they are very expensive too, so practically, they never really drop. Probably, they are waiting for giants, super-light alloys, mlthril or something like that
By the way, there is a great source of information
about swords:
https://www.youtube.com/user/scholagladiatoria/videos (Matt Easton)
Mobs' strength markingsSince mobs wield weapons, to quickly see who are dangerous, I added markings:
2 yellow dots - they are between x0.25 and x1, compared to your strength approximately,
3 orange dots - between x1 and x4 - they are likely to be stronger than you,
4 red dots - more than x4 stronger than you - real danger.
I think, I should add real doors, finally. Maybe, chests with stuff, and yeah, money. Because not only the player, but also several hundreds of NPC-heroes also should participate in trading, money should be implemented efficiently.