# Artifact armors not loading correctly

**URL:** <https://discourse.cataclysmdda.org/t/artifact-armors-not-loading-correctly/1195>\
**Category:** The Garage\
**Created:** [May 13, 2013, 2:05pm UTC](https://discourse.cataclysmdda.org/t/artifact-armors-not-loading-correctly/1195 "2013-05-13T14:05:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ejseto](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@ejseto](https://discourse.cataclysmdda.org/u/ejseto)\
**Post date:** [May 13, 2013, 2:05pm UTC](https://discourse.cataclysmdda.org/t/artifact-armors-not-loading-correctly/1195/1 "2013-05-13T14:05:37Z")

</div>

Artifact armors are not loading with the values listed in artifacts.gsav (at least if you edit the values). They are probably not being generated correctly either. The it\_artifact\_armor constructor calls the it\_armor constructor with an extra argument (“SOLID,” presumably equal to 1) causing all armor artifacts to have a volume of 1 and bumping all its other stats over.

> it\_artifact\_armor(std::string pid, unsigned int pprice, std::string pname, std::string pdes, char psym, nc\_color pcolor, material pm1, material pm2, unsigned short pvolume, unsigned short pweight, signed char pmelee\_dam, signed char pmelee\_cut, signed char pm\_to\_hit, unsigned pitem\_flags,
> 
> ```
> unsigned char pcovers, signed char pencumber,
> unsigned char pdmg_resist, unsigned char pcut_resist,
> unsigned char penv_resist, signed char pwarmth,
> unsigned char pstorage)
> 
> ```
> 
> :it\_armor(pid, 0, pprice, pname, pdes, psym, pcolor, pm1, pm2, SOLID,  
> pvolume, pweight, pmelee\_dam, pmelee\_cut, pm\_to\_hit, pitem\_flags,  
> pcovers, pencumber, pdmg\_resist, pcut\_resist, penv\_resist, pwarmth,  
> pstorage)

Removing the offending argument from the constructor seems to fix it.

---

<div class="post-metadata">

**Author:** ![Soron](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/soron/32/885_2.png) [@Soron](https://discourse.cataclysmdda.org/u/Soron)\
**Post date:** [May 13, 2013, 9:39pm UTC](https://discourse.cataclysmdda.org/t/artifact-armors-not-loading-correctly/1195/2 "2013-05-13T21:39:10Z")

</div>

Thanks for the precise bug report, fixing now.
