This repository was archived by the owner on Jan 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -295,9 +295,9 @@ function OneManArmy:UpdateActivity()
295
295
-- Get any Actor from the CPU's native tech
296
296
local passenger = nil ;
297
297
if math.random () >= self :GetCrabToHumanSpawnRatio (PresetMan :GetModuleID (self .CPUTechName )) then
298
- passenger = RandomAHuman (" Any " , self .CPUTechName );
298
+ passenger = RandomAHuman (" Actors - Light " , self .CPUTechName );
299
299
else
300
- passenger = RandomACrab (" Any " , self .CPUTechName );
300
+ passenger = RandomACrab (" Actors - Mecha " , self .CPUTechName );
301
301
end
302
302
-- Equip it with tools and guns if it's a humanoid
303
303
if IsAHuman (passenger ) then
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ function OneManArmy:UpdateActivity()
251
251
-- Set the ship up with a cargo of a few armed and equipped actors
252
252
for i = 1 , actorsInCargo do
253
253
-- Get any Actor from the CPU's native tech
254
- local passenger = RandomAHuman (" Any " , self .CPUTechName );
254
+ local passenger = RandomAHuman (" Actors - " .. ( self . Difficulty > 75 and " Heavy " or " Light " ) , self .CPUTechName );
255
255
passenger :AddInventoryItem (CreateHDFirearm (" Light Digger" , " Base.rte" ));
256
256
257
257
-- Set AI mode and team so it knows who and what to fight for!
You can’t perform that action at this time.
0 commit comments