Physical attributes in creaturedump

develop
Petr Mrázek 2010-04-09 02:14:47 +02:00
parent 409e3ffcf0
commit aa32e79fea
1 changed files with 9 additions and 2 deletions

@ -205,8 +205,15 @@ void printCreature(DFHack::API & DF, const DFHack::t_creature & creature)
} }
*/ */
cout << endl; cout << endl;
cout << "happiness: " << creature.happiness /*<< ", strength: " << creature.strength << ", agility: " cout << "happiness: " << creature.happiness
<< creature.agility << ", toughness: " << creature.toughness << ", money: " << creature.money*/ << ", id: " << creature.id; << ", strength: " << creature.strength.level
<< ", agility: " << creature.agility.level
<< ", toughness: " << creature.toughness.level
<< ", endurance: " << creature.endurance.level
<< ", recuperation: " << creature.recuperation.level
<< ", disease resistance: " << creature.disease_resistance.level
//<< ", money: " << creature.money
<< ", id: " << creature.id;
/* /*
if(creature.squad_leader_id != -1) if(creature.squad_leader_id != -1)
{ {