I've been working on a world map sort of thing. Using a string in each grid entry to hold a series of data, then the explode function to extract them for individual use.
Just on the test server (my computer! heh) at the moment I've got it that goblins send out magically animated wooden automatons, to steal from and even try to kill villagers - and you have a choice of fighting it directly, or trying to keep safe and just help villagers get past it without sticking your neck out (though the villagers will get hurt...). Which ever you choose, it records your game name along with the result.
Also I've made it that you can build escape fortifications - these are for escaping from raptors and drift monsters, who can bite or claw through a car engine block in one swipe, so you seriously don't have the armour to stand there (let alone hit points, you'd just be cut in half). You can choose to do a quickie job or really put in some effort make a safe set up. Again it records who built the escape fortification.
Latter I'm hoping to impliment a way your character can gather the ingrediants for thermite, then when a raptor or drift monster assaults the escape fortification trying to get at the player to eat them, they can attack back to some degree (the creatures skins are, through mystical enhancement, steel tough)
Still haven't implemented Jacks suggestion of climbing a tree! LOL. Will get to that, as it'll let you see if there are escape fortifications in neighbouring grid positions (ie, a safe route to take), and a chance to see any raptors or drift monsters.