]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Objects/PersonType.cpp
Moved knife catching test to a method and removed hardcoded rabbittype test
[lugaru.git] / Source / Objects / PersonType.cpp
index 3dd392842d63bc2edbf5b604dc12bcbe2285f46b..0cf880c12d9bf7d36bef4111726dd582af6ef4f5 100644 (file)
@@ -79,6 +79,9 @@ void PersonType::Load()
     types[wolftype].defaultDamageTolerance = 300;
     types[wolftype].defaultScale = .23;
     types[wolftype].hasClaws = true;
+    types[wolftype].clothes = false;
+    types[wolftype].maxRunSpeed = 75;
+    types[wolftype].knifeCatchingType = 1;
 
     /* Rabbit */
     types[rabbittype].proportions[0] = 1.2;
@@ -133,4 +136,7 @@ void PersonType::Load()
     types[rabbittype].defaultDamageTolerance = 200;
     types[rabbittype].defaultScale = .2;
     types[rabbittype].hasClaws = false;
+    types[rabbittype].clothes = true;
+    types[rabbittype].maxRunSpeed = 55;
+    types[rabbittype].knifeCatchingType = 0;
 }