Added, Updated and Removed Mods; Removed Backups

This commit is contained in:
2024-04-05 05:57:24 -04:00
parent 5caee9fba5
commit 6f19f2c70f
1209 changed files with 27057 additions and 41484 deletions
@@ -56,7 +56,7 @@
<string id="ui_mcm_mutant_loot_config_mutant_other_chance_mult">
<text>Other Mutant Loot Chance Multiplier</text>
</string>
<string id="ui_mcm_mutant_loot_config_mutant_pelt_chance_mult_desc">
<string id="ui_mcm_mutant_loot_config_mutant_other_chance_mult_desc">
<text>Multiplies the base drop chance of other mutant loot not mentioned above by this value (1.2 * 50% = 60%).</text>
</string>
@@ -56,7 +56,7 @@
<string id="ui_mcm_mutant_loot_config_mutant_other_chance_mult">
<text>Ìíîæèòåëü øàíñà äîáû÷è äðóãèõ ÷àñòåé ìóòàíòîâ</text>
</string>
<string id="ui_mcm_mutant_loot_config_mutant_pelt_chance_mult_desc">
<string id="ui_mcm_mutant_loot_config_mutant_other_chance_mult_desc">
<text>Óìíîæàåò áàçîâûé øàíñ âûïàäåíèÿ äðóãîé äîáû÷è ñ ìóòàíòîâ, íå óïîìÿíóòîé âûøå, íà ýòî çíà÷åíèå (1,2 * 50% = 60%).</text>
</string>
@@ -59,6 +59,10 @@ function ui_mutant_loot.loot_mutant(section, clsid, loot_table, npc, dont_create
local possible_items = utils_data.collect_section(ini_mutant, mutant)
if #possible_items < 1 then
printf("[CXV Mutant Loot] Mutant has no loot table. No modifications will be done...")
end
local sim = alife()
local npc_id = npc and npc:id()
local npc_pos = npc and npc:position()
@@ -80,13 +84,13 @@ function ui_mutant_loot.loot_mutant(section, clsid, loot_table, npc, dont_create
part_kind = get_part_kind(sec)
if part_kind and mutant_part_guaranteed[part_kind] == true then
printf("[CXV Mutant Loot] %s will be guaranteed (%s)", sec, part_kind)
-- printf("[CXV Mutant Loot] %s will be guaranteed (%s)", sec, part_kind)
chance = 1
elseif part_kind and mutant_part_chance_mult[part_kind] then
printf("[CXV Mutant Loot] %s will have its chances increased by %sx (%s)", sec, mutant_part_chance_mult[part_kind], part_kind)
-- printf("[CXV Mutant Loot] %s will have its chances increased by %sx (%s)", sec, mutant_part_chance_mult[part_kind], part_kind)
chance = (loot[3] and (loot[3] * mutant_part_chance_mult[part_kind])) or 1
else
printf("[CXV Mutant Loot] %s will have its chances increased by %sx (%s)", sec, mutant_other_chance_mult, part_kind)
-- printf("[CXV Mutant Loot] %s will have its chances increased by %sx (%s)", sec, mutant_other_chance_mult, part_kind)
chance = (loot[3] and (loot[3] * mutant_other_chance_mult)) or 1
end
else
@@ -123,7 +127,7 @@ function ui_mutant_loot.loot_mutant(section, clsid, loot_table, npc, dont_create
end
end
if not was_loot_given and is_cxv_enabled and failsafe_loot then
if not was_loot_given and is_cxv_enabled and failsafe_loot and (#possible_items > 0) then
printf("[CXV Mutant Loot] No loot was given. Attempting loot failsafe...")
loot = str_explode(possible_items[math.random(1,#possible_items)],",")
if (loot and loot[1] and loot[2]) then
+3 -3
View File
@@ -1,12 +1,12 @@
[General]
gameName=stalkeranomaly
modid=0
version=d2024.4.1.0
version=d2024.4.3.0
newestVersion=
category="-1,"
nexusFileStatus=1
installationFile=Mutant_Loot_Config.zip
repository=Nexus
installationFile=Mutant_Loot_Config_-_Update_2.zip
repository=
ignoredVersion=
comments=
notes=