]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Objects/PersonType.cpp
Moved clothes boolean to PersonType to avoid test on rabbittype
[lugaru.git] / Source / Objects / PersonType.cpp
index 093dca38cf1645c5ef45c1e174327a84c85d1c1a..521a02cf2bf956fc8f8e50713e2a71a87af69ad9 100644 (file)
@@ -75,6 +75,12 @@ void PersonType::Load()
     types[wolftype].skins[1] = "Textures/FurWolfDark.jpg";
     types[wolftype].skins[2] = "Textures/FurWolfSnow.jpg";
 
+    types[wolftype].power = 2.5;
+    types[wolftype].defaultDamageTolerance = 300;
+    types[wolftype].defaultScale = .23;
+    types[wolftype].hasClaws = true;
+    types[wolftype].clothes = false;
+
     /* Rabbit */
     types[rabbittype].proportions[0] = 1.2;
     types[rabbittype].proportions[1] = 1.05;
@@ -123,4 +129,10 @@ void PersonType::Load()
     types[rabbittype].skins[7] = "Textures/FurChocolate.jpg";
     types[rabbittype].skins[8] = "Textures/FurBlackWhite.jpg";
     types[rabbittype].skins[9] = "Textures/FurBrownWhite.jpg";
+
+    types[rabbittype].power = 1;
+    types[rabbittype].defaultDamageTolerance = 200;
+    types[rabbittype].defaultScale = .2;
+    types[rabbittype].hasClaws = false;
+    types[rabbittype].clothes = true;
 }