Updated files for 1.14
Tweaked: Swapped Mag_STANAGCoupled_30Rnd for Mag_STANAG_60Rnd as random cargo spawn Tweaked: Increased the lifetime for all hunting traps Fixed: Player could sometime spawn without disinfected rags Fixed: Swapped min and nominal value for Machete
This commit is contained in:
parent
bbec8ad7c5
commit
af25a4a3c2
@ -129,7 +129,7 @@
|
|||||||
<item name="Mag_STANAG_30Rnd" chance="0.05" />
|
<item name="Mag_STANAG_30Rnd" chance="0.05" />
|
||||||
<item name="Mag_CMAG_40Rnd" chance="0.025" />
|
<item name="Mag_CMAG_40Rnd" chance="0.025" />
|
||||||
<item name="Mag_SVD_10Rnd" chance="0.025" />
|
<item name="Mag_SVD_10Rnd" chance="0.025" />
|
||||||
<item name="Mag_STANAGCoupled_30Rnd" chance="0.025" />
|
<item name="Mag_STANAG_60Rnd" chance="0.025" />
|
||||||
<item name="Mag_AKM_Drum75Rnd" chance="0.025" />
|
<item name="Mag_AKM_Drum75Rnd" chance="0.025" />
|
||||||
</cargo>
|
</cargo>
|
||||||
|
|
||||||
|
@ -793,10 +793,10 @@
|
|||||||
<tag name="hunting" />
|
<tag name="hunting" />
|
||||||
</type>
|
</type>
|
||||||
<type name="Machete">
|
<type name="Machete">
|
||||||
<nominal>6</nominal>
|
<nominal>10</nominal>
|
||||||
<lifetime>5400</lifetime>
|
<lifetime>5400</lifetime>
|
||||||
<restock>0</restock>
|
<restock>0</restock>
|
||||||
<min>10</min>
|
<min>6</min>
|
||||||
<quantmin>-1</quantmin>
|
<quantmin>-1</quantmin>
|
||||||
<quantmax>-1</quantmax>
|
<quantmax>-1</quantmax>
|
||||||
<cost>100</cost>
|
<cost>100</cost>
|
||||||
@ -10788,15 +10788,15 @@
|
|||||||
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
||||||
</type>
|
</type>
|
||||||
<type name="RabbitSnareTrap">
|
<type name="RabbitSnareTrap">
|
||||||
<lifetime>7200</lifetime>
|
<lifetime>28800</lifetime>
|
||||||
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
||||||
</type>
|
</type>
|
||||||
<type name="FishNetTrap">
|
<type name="FishNetTrap">
|
||||||
<lifetime>7200</lifetime>
|
<lifetime>28800</lifetime>
|
||||||
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
||||||
</type>
|
</type>
|
||||||
<type name="SmallFishTrap">
|
<type name="SmallFishTrap">
|
||||||
<lifetime>7200</lifetime>
|
<lifetime>28800</lifetime>
|
||||||
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
||||||
</type>
|
</type>
|
||||||
<type name="Rag">
|
<type name="Rag">
|
||||||
|
@ -96,12 +96,11 @@ class CustomMission: MissionServer
|
|||||||
itemEnt = itemClothing.GetInventory().CreateInInventory( "Rag" );
|
itemEnt = itemClothing.GetInventory().CreateInInventory( "Rag" );
|
||||||
if ( Class.CastTo( itemBs, itemEnt ) )
|
if ( Class.CastTo( itemBs, itemEnt ) )
|
||||||
{
|
{
|
||||||
|
SetRandomHealth( itemEnt );
|
||||||
itemBs.SetQuantity( 4 );
|
itemBs.SetQuantity( 4 );
|
||||||
itemBs.SetCleanness( 1 );
|
itemBs.SetCleanness( 1 );
|
||||||
}
|
}
|
||||||
player.SetQuickBarEntityShortcut( itemEnt, 0 );
|
player.SetQuickBarEntityShortcut( itemEnt, 0 );
|
||||||
|
|
||||||
SetRandomHealth( itemEnt );
|
|
||||||
|
|
||||||
itemEnt = itemClothing.GetInventory().CreateInInventory( "RoadFlare" );
|
itemEnt = itemClothing.GetInventory().CreateInInventory( "RoadFlare" );
|
||||||
SetRandomHealth( itemEnt );
|
SetRandomHealth( itemEnt );
|
||||||
|
@ -130,7 +130,7 @@
|
|||||||
<item name="Mag_STANAG_30Rnd" chance="0.05" />
|
<item name="Mag_STANAG_30Rnd" chance="0.05" />
|
||||||
<item name="Mag_CMAG_40Rnd" chance="0.025" />
|
<item name="Mag_CMAG_40Rnd" chance="0.025" />
|
||||||
<item name="Mag_SVD_10Rnd" chance="0.025" />
|
<item name="Mag_SVD_10Rnd" chance="0.025" />
|
||||||
<item name="Mag_STANAGCoupled_30Rnd" chance="0.025" />
|
<item name="Mag_STANAG_60Rnd" chance="0.025" />
|
||||||
<item name="Mag_AKM_Drum75Rnd" chance="0.025" />
|
<item name="Mag_AKM_Drum75Rnd" chance="0.025" />
|
||||||
</cargo>
|
</cargo>
|
||||||
|
|
||||||
|
@ -793,10 +793,10 @@
|
|||||||
<tag name="hunting" />
|
<tag name="hunting" />
|
||||||
</type>
|
</type>
|
||||||
<type name="Machete">
|
<type name="Machete">
|
||||||
<nominal>6</nominal>
|
<nominal>10</nominal>
|
||||||
<lifetime>2700</lifetime>
|
<lifetime>2700</lifetime>
|
||||||
<restock>0</restock>
|
<restock>0</restock>
|
||||||
<min>10</min>
|
<min>6</min>
|
||||||
<quantmin>-1</quantmin>
|
<quantmin>-1</quantmin>
|
||||||
<quantmax>-1</quantmax>
|
<quantmax>-1</quantmax>
|
||||||
<cost>100</cost>
|
<cost>100</cost>
|
||||||
@ -11271,15 +11271,15 @@
|
|||||||
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
||||||
</type>
|
</type>
|
||||||
<type name="RabbitSnareTrap">
|
<type name="RabbitSnareTrap">
|
||||||
<lifetime>7200</lifetime>
|
<lifetime>28800</lifetime>
|
||||||
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
||||||
</type>
|
</type>
|
||||||
<type name="FishNetTrap">
|
<type name="FishNetTrap">
|
||||||
<lifetime>7200</lifetime>
|
<lifetime>28800</lifetime>
|
||||||
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
||||||
</type>
|
</type>
|
||||||
<type name="SmallFishTrap">
|
<type name="SmallFishTrap">
|
||||||
<lifetime>7200</lifetime>
|
<lifetime>28800</lifetime>
|
||||||
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0" />
|
||||||
</type>
|
</type>
|
||||||
<type name="Rag">
|
<type name="Rag">
|
||||||
|
@ -96,12 +96,11 @@ class CustomMission: MissionServer
|
|||||||
itemEnt = itemClothing.GetInventory().CreateInInventory( "Rag" );
|
itemEnt = itemClothing.GetInventory().CreateInInventory( "Rag" );
|
||||||
if ( Class.CastTo( itemBs, itemEnt ) )
|
if ( Class.CastTo( itemBs, itemEnt ) )
|
||||||
{
|
{
|
||||||
|
SetRandomHealth( itemEnt );
|
||||||
itemBs.SetQuantity( 4 );
|
itemBs.SetQuantity( 4 );
|
||||||
itemBs.SetCleanness( 1 );
|
itemBs.SetCleanness( 1 );
|
||||||
}
|
}
|
||||||
player.SetQuickBarEntityShortcut( itemEnt, 0 );
|
player.SetQuickBarEntityShortcut( itemEnt, 0 );
|
||||||
|
|
||||||
SetRandomHealth( itemEnt );
|
|
||||||
|
|
||||||
itemEnt = itemClothing.GetInventory().CreateInInventory( "RoadFlare" );
|
itemEnt = itemClothing.GetInventory().CreateInInventory( "RoadFlare" );
|
||||||
SetRandomHealth( itemEnt );
|
SetRandomHealth( itemEnt );
|
||||||
|
Loading…
Reference in New Issue
Block a user