Closed fredi-68 closed 5 years ago
So I've checked some video footage of the original game and here is how things work: Loot tables that are set to mission only don't seem to be ever dropped from, at least not the normal way. This is true for VE rocket parts at least, they seem to be scripted. Each crate in the scene appears to only drop one kind of rocket part and each one is different. They are also only dropped if the player doesn't already have them. The same should be true for all other mission only drops (like faction tokens, which are only dropped for members of a faction and then substituted for the correct LOT). I will re enable the checks that disable drops from mission only tables and then look for a way of fixing the VE crates separately
Fixed via #40
Loot tables for VE crates are set to mission only, which I believe is to ensure that a player only gets one piece of each rocket? However, this means our current system (of simply ignoring any table indices that have the mission flag set) will not work since the player needs a rocket to escape the first level. Deactivated mission flag checking for now, investigate. Once we can manipulate loot tables through scripts, we should deactivate mission drops again. A script can check for a mission and enable certain loot tables if needed (like the rocket crates in VE, drop a rocket piece the player doesn't have or not drop anything).