Wednesday, February 15, 2012

Bags. Bags everywhere.

Containers took a few days longer than expected due to having to redo my spaghetti code. Thankfully the action functions were stable enough to keep so I only had to rewrite the 'Put In/Get From' checks. After many hairs pulled out containers are completed (for now). Containers can carry a variable maximum amount of weight and are used in conjunction with the 'Get X From' and 'Put X In' commands (See Helpfile Image 5 For More Info). I need to update the 'Get/Drop' Helpfile to include that you can also 'Get All From' and 'Put All In' which will attempt to Get/Put objects in a container either in the Player's Inventory, Gear, or on the ground, until that bag is full or until the Player can carry no more. I decided to allow the Player to use 'Get From/Put In' with containers on the ground because NPC corpses will be containers, allowing for easier looting.

Smaller updates include adding support for background colors (See Debug Menus In Top Of Images 1 & 4), which I will be utilizing more in menus and such. An 'Empty' command was added for emptying out containers either Held, in the Inventory, or on the Ground. All the objects in the target container are emptied out onto the ground. I also added a 'Junk' command to destroy objects if the Player wishes to clear a room a bit. The Player can also 'Junk All'. '/Clear' can be used to clear the display buffer if it gets too busy, and lastly, the MUDder in me wanted to go 'hm', so even though this is a Single-Player Game, I decided to add emotes. There are only a few for now; 'Cheer', 'Jump', 'Sigh', 'Scratch', and 'Hm' or 'Hmm'. The next big project will be the crafting system, which I am still deciding how I will go about. What I am 75% sure about is that the basic 'Resource' objects such as lumber and rocks will probably be used to make primitive Tools, which will then be the basis for the entire Crafting System. Primitive Tools will then be used to make more complex tools, and so on. After that I'll have a game I feel comfortable with people testing, so I hope to be releasing a demo once crafting is implemented.

Get, Drop, and Junk commands.
Bags. Bags everywhere.

Seems correct..
Emotes!

Initial Help Files



3 comments:

  1. Replies
    1. Not yet, mainly because there isn't much to do besides look around, pick up stuff, and put it into bags. After I get crafting going then I will look into packaging this game for a testable demo!

      Delete