Updated files for 1.13 game update

Added: M16-A2 assault rifle into military Tier 3,4 spawns
Added: 45 round KA-74 magazine into military Tier 3,4 spawns
Added: 60 round STANAG magazine into military Tier 5 spawns
Added: ATOG 6x48 Scope into military spawns and as rare spawn on Pioneer
Added: Crude and Oriental machete into civilian and farm spawns
Added: Tincture of iodine into medical spawns
Added: Officer infected into military infected spawns
Changed: Fresh spawn gear now includes two disinfected rags (previously 4 unclean)
Tweaked: Lowered number of normal machete in the world
Tweaked: Slightly increased chance of a scope spawning on Pioneer
Tweaked: Reduced max random quantity of pills in the vitamin bottle
Tweaked: Adjusted military infected spawn chances
Removed: Coupled STANAG magazine from spawns
This commit is contained in:
SumrakDZN 2021-07-12 20:12:53 +02:00
parent 669c450340
commit f555480919
8 changed files with 236 additions and 28 deletions

View File

@ -161,13 +161,26 @@
<item name="Mag_STANAG_30Rnd" chance="0.25" /> <item name="Mag_STANAG_30Rnd" chance="0.25" />
<item name="Mag_CMAG_30Rnd" chance="0.25" /> <item name="Mag_CMAG_30Rnd" chance="0.25" />
<item name="Mag_CMAG_40Rnd" chance="0.15" /> <item name="Mag_CMAG_40Rnd" chance="0.15" />
<item name="Mag_STANAGCoupled_30Rnd" chance="0.10" /> <item name="Mag_STANAG_60Rnd" chance="0.10" />
</attachments> </attachments>
<attachments chance="0.1"> <attachments chance="0.1">
<item name="M9A1_Bayonet" chance="0.50" /> <item name="M9A1_Bayonet" chance="0.50" />
<item name="M4_Suppressor" chance="0.50" /> <item name="M4_Suppressor" chance="0.50" />
</attachments> </attachments>
</type> </type>
<type name="M16A2">
<attachments chance="1.0">
<item name="Mag_CMAG_10Rnd" chance="0.10" />
<item name="Mag_CMAG_20Rnd" chance="0.15" />
<item name="Mag_STANAG_30Rnd" chance="0.25" />
<item name="Mag_CMAG_30Rnd" chance="0.25" />
<item name="Mag_CMAG_40Rnd" chance="0.15" />
<item name="Mag_STANAG_60Rnd" chance="0.10" />
</attachments>
<attachments chance="0.1">
<item name="M4_Suppressor" chance="1.00" />
</attachments>
</type>
<type name="Mosin9130"> <type name="Mosin9130">
<attachments chance="0.30"> <attachments chance="0.30">
<item name="Mosin_Compensator" chance="0.50" /> <item name="Mosin_Compensator" chance="0.50" />
@ -288,9 +301,10 @@
<attachments chance="0.30"> <attachments chance="0.30">
<item name="Mag_Scout_5Rnd" chance="1.00" /> <item name="Mag_Scout_5Rnd" chance="1.00" />
</attachments> </attachments>
<attachments chance="0.20"> <attachments chance="0.30">
<item name="M68Optic" chance="0.60" /> <item name="M68Optic" chance="0.60" />
<item name="ACOGOptic" chance="0.40" /> <item name="ACOGOptic" chance="0.30" />
<item name="ACOGOptic_6x" chance="0.10" />
</attachments> </attachments>
<attachments chance="0.10"> <attachments chance="0.10">
<item name="M4_Suppressor" chance="1.00" /> <item name="M4_Suppressor" chance="1.00" />
@ -1983,11 +1997,12 @@
<type name="ZmbM_SurvivorDean_Grey"> <type name="ZmbM_SurvivorDean_Grey">
<cargo preset="toolsgeneral" /> <cargo preset="toolsgeneral" />
</type> </type>
<type name="ZmbM_usSoldier_normal_Desert"> <type name="ZmbM_usSoldier_Officer_Desert">
<cargo preset="toolsmilitary" /> <cargo preset="toolsmilitary" />
<cargo preset="ammomilitary" /> <cargo preset="ammomilitary" />
<attachments preset="headsUS" /> <attachments chance="1.00">
<attachments preset="vestsUS" /> <item name="OfficerHat" chance="1.00" />
</attachments>
</type> </type>
<type name="ZmbM_usSoldier_normal_Woodland"> <type name="ZmbM_usSoldier_normal_Woodland">
<cargo preset="toolsmilitary" /> <cargo preset="toolsmilitary" />

View File

@ -71,12 +71,12 @@
<child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_PatrolNormal_Flat"/> <child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_PatrolNormal_Flat"/>
<child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_PatrolNormal_PautRev"/> <child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_PatrolNormal_PautRev"/>
<child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_PatrolNormal_Summer"/> <child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_PatrolNormal_Summer"/>
<child lootmax="0" lootmin="0" max="0" min="10" type="ZmbM_SoldierNormal"/> <child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_SoldierNormal"/>
<child lootmax="0" lootmin="0" max="0" min="20" type="ZmbM_nacSoldier_normal"/> <child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_usSoldier_Officer_Desert"/>
<child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_usSoldier_normal_Desert"/>
<child lootmax="0" lootmin="0" max="0" min="15" type="ZmbM_usSoldier_normal_Woodland"/>
<child lootmax="0" lootmin="0" max="0" min="15" type="ZmbM_ruSoldier_normal_Woodland1"/> <child lootmax="0" lootmin="0" max="0" min="15" type="ZmbM_ruSoldier_normal_Woodland1"/>
<child lootmax="0" lootmin="0" max="0" min="15" type="ZmbM_ruSoldier_normal_Woodland2"/> <child lootmax="0" lootmin="0" max="0" min="15" type="ZmbM_ruSoldier_normal_Woodland2"/>
<child lootmax="0" lootmin="0" max="0" min="20" type="ZmbM_usSoldier_normal_Woodland"/>
<child lootmax="0" lootmin="0" max="0" min="20" type="ZmbM_nacSoldier_normal"/>
</children> </children>
</event> </event>
<event name="InfectedIndustrial"> <event name="InfectedIndustrial">

View File

@ -144,6 +144,20 @@
<category name="rifles" /> <category name="rifles" />
<tag name="military" /> <tag name="military" />
</type> </type>
<type name="M16A2">
<nominal>2</nominal>
<lifetime>7200</lifetime>
<restock>1800</restock>
<min>1</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage />
<value user="Tier34" />
<category name="rifles" />
<tag name="military" />
</type>
<type name="Mosin9130"> <type name="Mosin9130">
<nominal>5</nominal> <nominal>5</nominal>
<lifetime>7200</lifetime> <lifetime>7200</lifetime>
@ -765,7 +779,7 @@
<tag name="hunting" /> <tag name="hunting" />
</type> </type>
<type name="Machete"> <type name="Machete">
<nominal>12</nominal> <nominal>6</nominal>
<lifetime>5400</lifetime> <lifetime>5400</lifetime>
<restock>0</restock> <restock>0</restock>
<min>10</min> <min>10</min>
@ -779,6 +793,36 @@
<tag name="civilian" /> <tag name="civilian" />
<tag name="farm" /> <tag name="farm" />
</type> </type>
<type name="CrudeMachete">
<nominal>3</nominal>
<lifetime>5400</lifetime>
<restock>0</restock>
<min>2</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage />
<value />
<category name="tools" />
<tag name="civilian" />
<tag name="farm" />
</type>
<type name="OrientalMachete">
<nominal>3</nominal>
<lifetime>5400</lifetime>
<restock>0</restock>
<min>2</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage />
<value />
<category name="tools" />
<tag name="civilian" />
<tag name="farm" />
</type>
<type name="FarmingHoe"> <type name="FarmingHoe">
<nominal>8</nominal> <nominal>8</nominal>
<lifetime>5400</lifetime> <lifetime>5400</lifetime>
@ -1750,7 +1794,7 @@
<category name="weapons" /> <category name="weapons" />
<tag name="military" /> <tag name="military" />
</type> </type>
<type name="Mag_STANAGCoupled_30Rnd"> <type name="Mag_STANAG_60Rnd">
<nominal>1</nominal> <nominal>1</nominal>
<min>1</min> <min>1</min>
<lifetime>5400</lifetime> <lifetime>5400</lifetime>
@ -1848,6 +1892,20 @@
<category name="weapons" /> <category name="weapons" />
<tag name="military" /> <tag name="military" />
</type> </type>
<type name="Mag_AK74_45Rnd">
<nominal>2</nominal>
<min>1</min>
<lifetime>5400</lifetime>
<restock>1500</restock>
<quantmin>25</quantmin>
<quantmax>100</quantmax>
<cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage />
<value user="Tier34" />
<category name="weapons" />
<tag name="military" />
</type>
<type name="Mag_SVD_10Rnd"> <type name="Mag_SVD_10Rnd">
<nominal>2</nominal> <nominal>2</nominal>
<min>1</min> <min>1</min>
@ -2223,6 +2281,20 @@
<category name="weapons" /> <category name="weapons" />
<tag name="military" /> <tag name="military" />
</type> </type>
<type name="ACOGOptic_6x">
<nominal>2</nominal>
<min>1</min>
<lifetime>5400</lifetime>
<restock>300</restock>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage />
<value />
<category name="weapons" />
<tag name="military" />
</type>
<type name="PUScopeOptic"> <type name="PUScopeOptic">
<nominal>10</nominal> <nominal>10</nominal>
<min>6</min> <min>6</min>
@ -2799,6 +2871,20 @@
<category name="tools" /> <category name="tools" />
<tag name="civilian" /> <tag name="civilian" />
</type> </type>
<type name="IodineTincture">
<nominal>8</nominal>
<min>6</min>
<lifetime>5400</lifetime>
<restock>0</restock>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage />
<value />
<category name="tools" />
<tag name="medical" />
</type>
<type name="PurificationTablets"> <type name="PurificationTablets">
<nominal>30</nominal> <nominal>30</nominal>
<min>25</min> <min>25</min>
@ -2835,7 +2921,7 @@
<lifetime>5400</lifetime> <lifetime>5400</lifetime>
<restock>0</restock> <restock>0</restock>
<quantmin>20</quantmin> <quantmin>20</quantmin>
<quantmax>100</quantmax> <quantmax>50</quantmax>
<cost>100</cost> <cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" /> <flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage /> <usage />

View File

@ -95,7 +95,10 @@ class CustomMission: MissionServer
itemEnt = itemClothing.GetInventory().CreateInInventory( "Rag" ); itemEnt = itemClothing.GetInventory().CreateInInventory( "Rag" );
if ( Class.CastTo( itemBs, itemEnt ) ) if ( Class.CastTo( itemBs, itemEnt ) )
itemBs.SetQuantity( 4 ); {
itemBs.SetQuantity( 2 );
itemBs.SetCleanness( 1 );
}
player.SetQuickBarEntityShortcut( itemEnt, 0 ); player.SetQuickBarEntityShortcut( itemEnt, 0 );
SetRandomHealth( itemEnt ); SetRandomHealth( itemEnt );

View File

@ -161,13 +161,26 @@
<item name="Mag_STANAG_30Rnd" chance="0.25" /> <item name="Mag_STANAG_30Rnd" chance="0.25" />
<item name="Mag_CMAG_30Rnd" chance="0.25" /> <item name="Mag_CMAG_30Rnd" chance="0.25" />
<item name="Mag_CMAG_40Rnd" chance="0.15" /> <item name="Mag_CMAG_40Rnd" chance="0.15" />
<item name="Mag_STANAGCoupled_30Rnd" chance="0.10" /> <item name="Mag_STANAG_60Rnd" chance="0.10" />
</attachments> </attachments>
<attachments chance="0.1"> <attachments chance="0.1">
<item name="M9A1_Bayonet" chance="0.50" /> <item name="M9A1_Bayonet" chance="0.50" />
<item name="M4_Suppressor" chance="0.50" /> <item name="M4_Suppressor" chance="0.50" />
</attachments> </attachments>
</type> </type>
<type name="M16A2">
<attachments chance="1.0">
<item name="Mag_CMAG_10Rnd" chance="0.10" />
<item name="Mag_CMAG_20Rnd" chance="0.15" />
<item name="Mag_STANAG_30Rnd" chance="0.25" />
<item name="Mag_CMAG_30Rnd" chance="0.25" />
<item name="Mag_CMAG_40Rnd" chance="0.15" />
<item name="Mag_STANAG_60Rnd" chance="0.10" />
</attachments>
<attachments chance="0.1">
<item name="M4_Suppressor" chance="1.00" />
</attachments>
</type>
<type name="Mosin9130"> <type name="Mosin9130">
<attachments chance="0.30"> <attachments chance="0.30">
<item name="Mosin_Compensator" chance="0.50" /> <item name="Mosin_Compensator" chance="0.50" />
@ -288,9 +301,10 @@
<attachments chance="0.30"> <attachments chance="0.30">
<item name="Mag_Scout_5Rnd" chance="1.00" /> <item name="Mag_Scout_5Rnd" chance="1.00" />
</attachments> </attachments>
<attachments chance="0.20"> <attachments chance="0.30">
<item name="M68Optic" chance="0.60" /> <item name="M68Optic" chance="0.60" />
<item name="ACOGOptic" chance="0.40" /> <item name="ACOGOptic" chance="0.30" />
<item name="ACOGOptic_6x" chance="0.10" />
</attachments> </attachments>
<attachments chance="0.10"> <attachments chance="0.10">
<item name="M4_Suppressor" chance="1.00" /> <item name="M4_Suppressor" chance="1.00" />
@ -2212,11 +2226,12 @@
<type name="ZmbM_SurvivorDean_Grey"> <type name="ZmbM_SurvivorDean_Grey">
<cargo preset="toolsgeneral" /> <cargo preset="toolsgeneral" />
</type> </type>
<type name="ZmbM_usSoldier_normal_Desert"> <type name="ZmbM_usSoldier_Officer_Desert">
<cargo preset="toolsmilitary" /> <cargo preset="toolsmilitary" />
<cargo preset="ammomilitary" /> <cargo preset="ammomilitary" />
<attachments preset="headsUS" /> <attachments chance="1.00">
<attachments preset="vestsUS" /> <item name="OfficerHat" chance="1.00" />
</attachments>
</type> </type>
<type name="ZmbM_usSoldier_normal_Woodland"> <type name="ZmbM_usSoldier_normal_Woodland">
<cargo preset="toolsmilitary" /> <cargo preset="toolsmilitary" />

View File

@ -89,12 +89,12 @@
<child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_PatrolNormal_Flat"/> <child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_PatrolNormal_Flat"/>
<child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_PatrolNormal_PautRev"/> <child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_PatrolNormal_PautRev"/>
<child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_PatrolNormal_Summer"/> <child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_PatrolNormal_Summer"/>
<child lootmax="0" lootmin="0" max="0" min="10" type="ZmbM_SoldierNormal"/> <child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_SoldierNormal"/>
<child lootmax="0" lootmin="0" max="0" min="20" type="ZmbM_nacSoldier_normal"/> <child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_usSoldier_Officer_Desert"/>
<child lootmax="0" lootmin="0" max="0" min="5" type="ZmbM_usSoldier_normal_Desert"/>
<child lootmax="0" lootmin="0" max="0" min="15" type="ZmbM_usSoldier_normal_Woodland"/>
<child lootmax="0" lootmin="0" max="0" min="15" type="ZmbM_ruSoldier_normal_Woodland1"/> <child lootmax="0" lootmin="0" max="0" min="15" type="ZmbM_ruSoldier_normal_Woodland1"/>
<child lootmax="0" lootmin="0" max="0" min="15" type="ZmbM_ruSoldier_normal_Woodland2"/> <child lootmax="0" lootmin="0" max="0" min="15" type="ZmbM_ruSoldier_normal_Woodland2"/>
<child lootmax="0" lootmin="0" max="0" min="20" type="ZmbM_usSoldier_normal_Woodland"/>
<child lootmax="0" lootmin="0" max="0" min="20" type="ZmbM_nacSoldier_normal"/>
</children> </children>
</event> </event>
<event name="InfectedIndustrial"> <event name="InfectedIndustrial">

View File

@ -144,6 +144,20 @@
<category name="rifles" /> <category name="rifles" />
<tag name="military" /> <tag name="military" />
</type> </type>
<type name="M16A2">
<nominal>3</nominal>
<lifetime>3600</lifetime>
<restock>1800</restock>
<min>2</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage />
<value user="Tier34" />
<category name="rifles" />
<tag name="military" />
</type>
<type name="Mosin9130"> <type name="Mosin9130">
<nominal>10</nominal> <nominal>10</nominal>
<lifetime>3600</lifetime> <lifetime>3600</lifetime>
@ -765,7 +779,7 @@
<tag name="hunting" /> <tag name="hunting" />
</type> </type>
<type name="Machete"> <type name="Machete">
<nominal>12</nominal> <nominal>6</nominal>
<lifetime>2700</lifetime> <lifetime>2700</lifetime>
<restock>0</restock> <restock>0</restock>
<min>10</min> <min>10</min>
@ -779,6 +793,36 @@
<tag name="civilian" /> <tag name="civilian" />
<tag name="farm" /> <tag name="farm" />
</type> </type>
<type name="CrudeMachete">
<nominal>3</nominal>
<lifetime>2700</lifetime>
<restock>0</restock>
<min>2</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage />
<value />
<category name="tools" />
<tag name="civilian" />
<tag name="farm" />
</type>
<type name="OrientalMachete">
<nominal>3</nominal>
<lifetime>2700</lifetime>
<restock>0</restock>
<min>2</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage />
<value />
<category name="tools" />
<tag name="civilian" />
<tag name="farm" />
</type>
<type name="FarmingHoe"> <type name="FarmingHoe">
<nominal>8</nominal> <nominal>8</nominal>
<lifetime>2700</lifetime> <lifetime>2700</lifetime>
@ -1750,7 +1794,7 @@
<category name="weapons" /> <category name="weapons" />
<tag name="military" /> <tag name="military" />
</type> </type>
<type name="Mag_STANAGCoupled_30Rnd"> <type name="Mag_STANAG_60Rnd">
<nominal>2</nominal> <nominal>2</nominal>
<min>1</min> <min>1</min>
<lifetime>2700</lifetime> <lifetime>2700</lifetime>
@ -1848,6 +1892,20 @@
<category name="weapons" /> <category name="weapons" />
<tag name="military" /> <tag name="military" />
</type> </type>
<type name="Mag_AK74_45Rnd">
<nominal>3</nominal>
<min>2</min>
<lifetime>2700</lifetime>
<restock>1500</restock>
<quantmin>25</quantmin>
<quantmax>100</quantmax>
<cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage />
<value user="Tier34" />
<category name="weapons" />
<tag name="military" />
</type>
<type name="Mag_SVD_10Rnd"> <type name="Mag_SVD_10Rnd">
<nominal>4</nominal> <nominal>4</nominal>
<min>3</min> <min>3</min>
@ -2223,6 +2281,20 @@
<category name="weapons" /> <category name="weapons" />
<tag name="military" /> <tag name="military" />
</type> </type>
<type name="ACOGOptic_6x">
<nominal>3</nominal>
<min>2</min>
<lifetime>2700</lifetime>
<restock>300</restock>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage />
<value />
<category name="weapons" />
<tag name="military" />
</type>
<type name="PUScopeOptic"> <type name="PUScopeOptic">
<nominal>12</nominal> <nominal>12</nominal>
<min>7</min> <min>7</min>
@ -2799,6 +2871,20 @@
<category name="tools" /> <category name="tools" />
<tag name="civilian" /> <tag name="civilian" />
</type> </type>
<type name="IodineTincture">
<nominal>8</nominal>
<min>6</min>
<lifetime>2700</lifetime>
<restock>0</restock>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage />
<value />
<category name="tools" />
<tag name="medical" />
</type>
<type name="PurificationTablets"> <type name="PurificationTablets">
<nominal>30</nominal> <nominal>30</nominal>
<min>25</min> <min>25</min>
@ -2835,7 +2921,7 @@
<lifetime>2700</lifetime> <lifetime>2700</lifetime>
<restock>0</restock> <restock>0</restock>
<quantmin>20</quantmin> <quantmin>20</quantmin>
<quantmax>100</quantmax> <quantmax>50</quantmax>
<cost>100</cost> <cost>100</cost>
<flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" /> <flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" />
<usage /> <usage />

View File

@ -95,7 +95,10 @@ class CustomMission: MissionServer
itemEnt = itemClothing.GetInventory().CreateInInventory( "Rag" ); itemEnt = itemClothing.GetInventory().CreateInInventory( "Rag" );
if ( Class.CastTo( itemBs, itemEnt ) ) if ( Class.CastTo( itemBs, itemEnt ) )
itemBs.SetQuantity( 4 ); {
itemBs.SetQuantity( 2 );
itemBs.SetCleanness( 1 );
}
player.SetQuickBarEntityShortcut( itemEnt, 0 ); player.SetQuickBarEntityShortcut( itemEnt, 0 );
SetRandomHealth( itemEnt ); SetRandomHealth( itemEnt );