<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4930" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: Item conditions and Damage</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4930</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>Item conditions and Damage</title>
   <link>https://smaugmuds.afkmods.com/topic/item-conditions-and-damage-4930/&amp;p=24075#p24075</link>
   <description>objects have values ​​(if I remember correctly from value0 to value5) with different meanings based on the type of object (weapon, armor, light, food, etc). According to the code you posted for weapons and armor the value0 defines the condition of the object (for containers eg value3 is used). If you reach 0 you want the object not to be deleted, just intervene on the conditions that invoke the make_scraps function. If you want the system to keep a sense globally you could consider making th</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/item-conditions-and-damage-4930/&amp;p=24075#p24075</guid>
   <pubDate>Sat, 17 Sep 2022 16:01:48 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Matteo2303)</author>
  </item>
  <item>
   <title>Item conditions and Damage</title>
   <link>https://smaugmuds.afkmods.com/topic/item-conditions-and-damage-4930/&amp;p=24074#p24074</link>
   <description>[codebox] /* * Damage an object.						-Thoric * Affect player&#039;s AC if necessary. * Make object into scraps if necessary. * Send message about damaged object. */ obj_ret damage_obj( OBJ_DATA * obj ) { CHAR_DATA *ch; obj_ret objcode; if( IS_OBJ_STAT( obj, ITEM_PERMANENT ) ) return rNONE; ch = obj-&amp;gt;carried_by; objcode = rNONE; separate_obj( obj ); if( !IS_NPC( ch ) &amp;amp;&amp;amp; ( !IS_PKILL( ch ) || ( IS_PKILL( ch ) &amp;amp;&amp;amp; !IS_SET( ch-&amp;gt;pcdata-&amp;gt;flags, PCFLAG_GA</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/item-conditions-and-damage-4930/&amp;p=24074#p24074</guid>
   <pubDate>Sun, 4 Sep 2022 22:58:40 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Zedethar)</author>
  </item>
  <item>
   <title>Item conditions and Damage</title>
   <link>https://smaugmuds.afkmods.com/topic/item-conditions-and-damage-4930/&amp;p=24073#p24073</link>
   <description>Hey Everyone, As I have been recently delving into much area building I came across a rather bothersome issue. All gear I create with Area-Editor or in-game seems to get destroyed in intense combat. I almost want to remove it, I mean completely losing an item seems a bit extreme. Is there a setting or flag that can increase durability or some alternative?  </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/item-conditions-and-damage-4930/&amp;p=24073#p24073</guid>
   <pubDate>Sun, 4 Sep 2022 22:30:34 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Zedethar)</author>
  </item>
 </channel>
</rss>
