Tuesday, March 19, 2013

Innswich Peek 1

Click to embiggen
Here's a shot of Innswich in development. One of the things I'm toying with right now is the way health regenerates, and using the food bar to prevent health from changing after a set point. I think this is similar to the rules of UHC, but I'm not sure.

Unfortunately, I've run into a snag with the way the food bar is handled. Though a diminishing effect exists, Hunger, there is no recovery effect. This is entirely different from the way Instant Health and Instant Damage work.

There are three ways to recover the food bar:
  1. Eat food. This is not automatic.
  2. Be killed. Can be automatically done, but it's silly for the flow of the map.
  3. Edit player data using an NBT editor. Not useful, because it's done outside the game.
I tried to increase the foodlevel using negative amplifications of Hunger, but it didn't work. Even if it did, it doesn't work with command blocks- only potions.

Thus, until I can control a player's foodLevel in more than one direction, I can't use this reliably. I have to assume players have any amount of health between 1 and 20, and thus lean on the side of keeping the food bar full at all times.

I hate that every adventure map turns into a food binge.

1 comment:

  1. We definitely need a way to better control the food bar.

    ReplyDelete