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:
SumrakDZN 2021-10-26 00:38:46 +02:00
parent bbec8ad7c5
commit af25a4a3c2
6 changed files with 14 additions and 16 deletions

View File

@ -129,7 +129,7 @@
<item name="Mag_STANAG_30Rnd" chance="0.05" />
<item name="Mag_CMAG_40Rnd" 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" />
</cargo>

View File

@ -793,10 +793,10 @@
<tag name="hunting" />
</type>
<type name="Machete">
<nominal>6</nominal>
<nominal>10</nominal>
<lifetime>5400</lifetime>
<restock>0</restock>
<min>10</min>
<min>6</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<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" />
</type>
<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" />
</type>
<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" />
</type>
<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" />
</type>
<type name="Rag">

View File

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

View File

@ -130,7 +130,7 @@
<item name="Mag_STANAG_30Rnd" chance="0.05" />
<item name="Mag_CMAG_40Rnd" 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" />
</cargo>

View File

@ -793,10 +793,10 @@
<tag name="hunting" />
</type>
<type name="Machete">
<nominal>6</nominal>
<nominal>10</nominal>
<lifetime>2700</lifetime>
<restock>0</restock>
<min>10</min>
<min>6</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<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" />
</type>
<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" />
</type>
<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" />
</type>
<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" />
</type>
<type name="Rag">

View File

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