mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-30 22:26:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			359 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			359 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include "loadalch.hpp"
 | |
| 
 | |
| namespace ESM
 | |
| {
 | |
| void Potion::load(ESMReader &esm, const std::string& id)
 | |
| {
 | |
|     mId = id;
 | |
| 
 | |
|     model = esm.getHNString("MODL");
 | |
|     icon = esm.getHNOString("TEXT"); // not ITEX here for some reason
 | |
|     script = esm.getHNOString("SCRI");
 | |
|     name = esm.getHNOString("FNAM");
 | |
|     esm.getHNT(data, "ALDT", 12);
 | |
|     effects.load(esm);
 | |
| }
 | |
| }
 |