-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into surface_connection
- Loading branch information
Showing
25 changed files
with
656 additions
and
489 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Game.ImportLibrary("actors/props/savestation/scripts/savestation_original.lc") | ||
function SaveStation.ShowDialogChoice(_ARG_0_, _ARG_1_) | ||
Usable._oUsableObject = _ARG_0_ | ||
GUI.LaunchMessage(_ARG_1_, "Usable.OnDialogAccepted", "SaveStation.OnDialogDeclined") | ||
end | ||
function SaveStation.Dummy() | ||
end | ||
function SaveStation.WarpToStart() | ||
Game.LoadScenario("c10_samus", Init.sStartingScenario, Init.sStartingActor, "samus", 1) | ||
end | ||
function SaveStation.OnDialogDeclined() | ||
Usable._oUsableObject.USABLE:OnDialogDeclined() | ||
GUI.LaunchMessage("Warp to Start?", "SaveStation.WarpToStart", " SaveStation.Dummy()") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Game.ImportLibrary("actors/props/samusship/scripts/samusship_original.lc") | ||
function SamusShip.ShowDialogChoice(_ARG_0_, _ARG_1_) | ||
Usable._oUsableObject = _ARG_0_ | ||
GUI.LaunchMessage(_ARG_1_, "Usable.OnDialogAccepted", "SamusShip.OnDialogDeclined") | ||
end | ||
function SamusShip.Dummy() | ||
end | ||
function SamusShip.WarpToStart() | ||
Game.LoadScenario("c10_samus", Init.sStartingScenario, Init.sStartingActor, "samus", 1) | ||
end | ||
function SamusShip.OnDialogDeclined() | ||
Usable._oUsableObject.USABLE:OnDialogDeclined() | ||
GUI.LaunchMessage("Warp to Start?", "SamusShip.WarpToStart", " SamusShip.Dummy()") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Doors = {} | ||
|
||
function Doors.Dummy() | ||
end | ||
function Doors.RemoveDoors(_ARG_0_) | ||
local actor_name = _ARG_0_.sName | ||
-- GUI.LaunchMessage(actor_name, "Doors.Dummy", "") | ||
local ending = string.sub(actor_name, -2) | ||
if ending == "_o" then | ||
actor_name = string.sub(actor_name, 0, -3) | ||
end | ||
|
||
if Game.GetEntity(actor_name) ~= nil then | ||
Game.DeleteEntity(actor_name) | ||
Scenario.WriteToBlackboard("entity_" .. actor_name .. "_dead", "b", true) | ||
end | ||
if Game.GetEntity(actor_name .. "_o") ~= nil then | ||
Game.DeleteEntity(actor_name .. "_o") | ||
Scenario.WriteToBlackboard("entity_" .. actor_name .. "_o_dead", "b", true) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.