| 71 | } |
| 72 | |
| 73 | void CEntityAlive::Load(LPCSTR section) |
| 74 | { |
| 75 | CEntity::Load(section); |
| 76 | conditions().LoadCondition(section); |
| 77 | conditions().LoadImmunities(pSettings->r_string(section, "immunities_sect"), pSettings); |
| 78 | |
| 79 | m_fFood = 100 * pSettings->r_float(section, "ph_mass"); |
| 80 | |
| 81 | // bloody wallmarks |
| 82 | if (0 == m_pBloodMarksVector) |
| 83 | LoadBloodyWallmarks(BLOOD_MARKS_SECT); |
| 84 | |
| 85 | if (0 == m_pFireParticlesVector) |
| 86 | LoadFireParticles("entity_fire_particles"); |
| 87 | |
| 88 | //биолог. вид к торому принадлежит монстр или персонаж |
| 89 | monster_community->set(pSettings->r_string(section, "species")); |
| 90 | } |
| 91 | |
| 92 | void CEntityAlive::LoadBloodyWallmarks(LPCSTR section) |
| 93 | { |
nothing calls this directly
no test coverage detected