Snippet – Giving NPC’s the String and Short Commands

Editing

By giving mobiles the ability to use the immortal commands STRING and SHORT, amazing things can happen. In my next post, I’m going to show you how to write three scripts that will give your cities a plethora of randomly named NPC’s. Those scripts depend on this snippet.

Please note, this snippet is compatible with version 1.69s_beta5.

mp_cmds.cpp

add to the delcarations near the top:

DECLARE_DO_FUN( do_short);
DECLARE_DO_FUN( do_string);

Then around line 197 in the table of mp commands, add the following:

	{"short",do_short,"Works just like the Imm command SHORT."},	
	{"string",do_string,"Works just like the Imm command STRING."},	

Read moreSnippet – Giving NPC’s the String and Short Commands

The Minimum Viable Product Approach

Northwest Akir

One of the greatest hopes that I have for Lands of Oneiro is that the world that will be one worth exploring and the stories will be fun to experience.  With the date for the first alpha test approaching, I want to create the smallest game possible that would be:

  • at least nominally fun to play – a test of the game design concept overall.
  • provides useful testing feedback – from both the game engine and the play-testers.

So far one of the greatest challenges I have had while working on Lands of Oneiro is the loss of focus on creating a fully functional albeit tiny game.

Read moreThe Minimum Viable Product Approach

Snippet – Cooking

This snippet makes use of the existing mixedit feature of the Dawn of Time Codebase to create a cooking system for crafters. The cooking snippet makes use of the herbalism code. Recipes are built the same way with mixedit. You will need to create item types POT and PAN for players to cook their food in. They’ll also need a fire nearby. Compatible with version R of Dawn of Time.

Read moreSnippet – Cooking