mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 22:26:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			532 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			532 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef _ESM_INGR_H
 | |
| #define _ESM_INGR_H
 | |
| 
 | |
| #include "esm_reader.hpp"
 | |
| 
 | |
| namespace ESM
 | |
| {
 | |
| 
 | |
| /*
 | |
|  * Alchemy ingredient
 | |
|  */
 | |
| 
 | |
| struct Ingredient
 | |
| {
 | |
|     struct IRDTstruct
 | |
|     {
 | |
|         float weight;
 | |
|         int value;
 | |
|         int effectID[4]; // Effect, 0 or -1 means none
 | |
|         int skills[4]; // SkillEnum related to effect
 | |
|         int attributes[4]; // Attribute related to effect
 | |
|     };
 | |
| 
 | |
|     IRDTstruct data;
 | |
|     std::string name, model, icon, script;
 | |
| 
 | |
|     std::string mId;
 | |
| 
 | |
|     void load(ESMReader &esm, const std::string& id);
 | |
| };
 | |
| }
 | |
| #endif
 |