Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@ local whitelisted_maps = {
["l04_darkvalley"] = 1,
["k02_trucks_cemetery"] = 0,
["l09_deadcity"] = 0,
["l03_agroprom"] = 0,
["l03_agroprom"] = 1,
["l06_rostok"] = 1,
["l07_military"] = 0,
["l08_yantar"] = 0,
["jupiter"] = 0,
["l03u_agr_underground"] = 0,
["l03u_agr_underground"] = 1,
["l10_limansk"] = 0,
["l08u_brainlab"] = 0,
["l10_red_forest"] = 0,
Expand All @@ -213,7 +213,7 @@ local whitelisted_maps = {
["l13_generators"] = 0,
["l13u_warlab"] = 0,
["pripyat"] = 0,
["y04_pole"] = 0,
["y04_pole"] = 1,
}

local north_factions = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,16 @@ task_functor.general_warfare_fetch_task = function(task_id,field,p,tsk) -- xQd,
end
end

function has_bad_part(v, obj)
local parts_condition = item_parts.get_parts_con(obj)
for _, value in pairs(parts_condition) do
if value < v then
return true
else
return false
end
end
end

---------------------------< Status functor >---------------------------
task_status_functor.actor_has_fetch_item = function(tsk,task_id)
Expand All @@ -666,10 +676,10 @@ task_status_functor.actor_has_fetch_item = function(tsk,task_id)

if (item ~= nil) then
if (task_id == "esc_2_12_stalker_nimble_task_1" or task_id == "jup_b220_trapper_task_3") then
if (item:condition() >= 0.9) then
tsk.stage = 1
else
if has_bad_part(0.8, item) or item:condition() <= 0.8 then
tsk.stage = 0
else
tsk.stage = 1
end
else
local count = load_var(actor,task_id.."_fetch_count")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ammo_class = ammo_20x70_buck
hit_impulse = 40
hit_power = 0.8, 0.8, 0.8, 0.8

fire_dispersion_base = 0.06
fire_dispersion_base = 0.10
fire_dispersion_condition_factor = 0.0001

visual = dynamics\weapons\wpn_eft_mts_255\wpn_eft_mts_255_world.ogf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ function mechanized_warfare_requirements()
return (
(has_alife_info("agr_smart_terrain_1_6_army_mechanic_stalker_upgrade_tier_3"))
or (has_alife_info("army_south_mechan_mlr_upgrade_tier_3"))
or (has_alife_info("zat_tech_mlr_upgrade_tier_3"))
or (has_alife_info("bar_visitors_stalker_mechanic_upgrade_tier_3"))
or (has_alife_info("cit_killers_merc_mechanic_stalker_upgrade_tier_3"))
or (has_alife_info("dasc_tech_mlr_upgrade_tier_3"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ af_death

;--------------------------

[af_fire_t0]
af_atom
af_dragon_eye
af_peas
af_sandstone
af_sun

[af_fire_t1]
af_itcher
af_dummy_glassbeads
Expand All @@ -79,6 +86,13 @@ af_fireball
af_fire
af_baloon

[af_chem_t0]
af_black_angel
af_fountain
af_grapes
af_kislushka
af_skull_miser

[af_chem_t1]
af_cristall_flower
af_blood
Expand All @@ -95,6 +109,14 @@ af_fuzz_kolobok
af_baloon
af_glass

[af_elec_t0]
af_elektron
af_fonar
af_generator
af_kogot
af_moh
af_tapeworm

[af_elec_t1]
af_dummy_battery
af_electra_sparkler
Expand All @@ -103,28 +125,40 @@ af_electra_sparkler
af_cristall
af_ring
af_electra_moonlight
af_sponge

[af_elec_t3]
af_electra_flash
af_ice

[af_grav_t0]
af_ball
af_cell
af_chelust
af_cocoon
af_repei
af_spaika

[af_grav_t1]
af_medusa
af_mincer_meat
af_night_star
af_soul

[af_grav_t2]
af_vyvert
af_empty
af_gravi
af_sponge
af_fuzz_kolobok

[af_grav_t3]
af_full_empty
af_gold_fish
af_glass

[af_psi_t0]
af_ear
af_lighthouse
af_medallion
af_signet
af_zhelch

[af_psi_t1]
af_cristall_flower
Expand All @@ -147,6 +181,11 @@ af_black_spray
[af_death]
af_death_lamp

[af_special]
af_bat
af_serofim
af_star_phantom

[af_class_weak_low]
af_skull_miser
af_ear
Expand Down
Loading