name = world_db["ThingTypes"][type_id]["TT_NAME"]
inventory = inventory + name + "\n"
## 7DRL additions: GOD_MOOD, GOD_FAVOR
- string = str(world_db["GOD_MOOD"]) + "\n" + \
+ string = str(world_db["TURN"]) + "\n" + \
+ str(world_db["GOD_MOOD"]) + "\n" + \
str(world_db["GOD_FAVOR"]) + "\n" + \
- str(world_db["TURN"]) + "\n" + \
str(world_db["Things"][0]["T_LIFEPOINTS"]) + "\n" + \
str(world_db["Things"][0]["T_SATIATION"]) + "\n" + \
inventory + "%\n" + \
}
uint32_t linemax = textfile_width(file);
char * read_buf = try_malloc(linemax + 1, __func__);
+ world.turn = (uint16_t) read_value_from_line(read_buf, linemax, file);
world.godsmood = (int16_t) read_value_from_line(read_buf, linemax, file); //
world.godsfavor = (int16_t) read_value_from_line(read_buf, linemax, file); //
- world.turn = (uint16_t) read_value_from_line(read_buf, linemax, file);
world.player_lifepoints = (uint16_t) read_value_from_line(read_buf, linemax,
file);
world.player_satiation = (int16_t) read_value_from_line(read_buf, linemax,