csplit2.lua

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

trx.events.on_game_start(function()
  trx.objects.switch_type_generic_1.properties.switch_mode =
    trx.items.SwitchMode.SHOVE
  trx.items[18].properties.pickup_mode = trx.items.PickupMode.SARCOPHAGUS

  trx.objects.waterfall_1.properties.loop_sound =
    trx.items.WaterfallSound.WATER
  trx.objects.waterfall_2.properties.loop_sound =
    trx.items.WaterfallSound.WATER
  trx.objects.waterfall_3.properties.loop_sound =
    trx.items.WaterfallSound.WATER
end)

Back to the shipped scripts