joby2.lua

Shipped with TRX as data/trx/ship/games/tr4/scripts/joby2.lua.

trx.events.on_game_start(function()
  trx.objects.animating_16.properties.collidable = false
  trx.items[116].properties.switch_mode = trx.items.SwitchMode.HIDDEN_REACH
  trx.items[118].properties.switch_mode = trx.items.SwitchMode.HIDDEN_REACH
  trx.items[120].properties.switch_mode = trx.items.SwitchMode.HIDDEN_REACH
  trx.items[122].properties.switch_mode = trx.items.SwitchMode.HIDDEN_REACH
  trx.items[123].properties.switch_mode = trx.items.SwitchMode.HIDDEN_REACH
  trx.items[124].properties.switch_mode = trx.items.SwitchMode.HIDDEN_PICKUP
  trx.items[125].properties.switch_mode = trx.items.SwitchMode.HIDDEN_REACH
  trx.items[126].properties.switch_mode = trx.items.SwitchMode.HIDDEN_REACH
  trx.items[127].properties.switch_mode = trx.items.SwitchMode.HIDDEN_REACH
  trx.items[128].properties.switch_mode = trx.items.SwitchMode.HIDDEN_REACH
  trx.items[129].properties.switch_mode = trx.items.SwitchMode.HIDDEN_REACH
  trx.items[130].properties.switch_mode = trx.items.SwitchMode.HIDDEN_REACH
  trx.items[131].properties.switch_mode = trx.items.SwitchMode.HIDDEN_REACH
  trx.items[139].properties.pickup_mode = trx.items.PickupMode.HIDDEN
end)

Back to the shipped scripts