Skip to content

Call Global Functions

Ganja Panda edited this page Jun 27, 2026 · 2 revisions

Call Global Functions

PWAL exposes several Call Global Function commands through PWAL:Daemon.

These commands are mainly for:

  • Hotkeys
  • Console command runners
  • Bat files
  • External command bindings
  • Advanced user automation

Normal users do not need these commands unless they are setting up hotkeys or custom command shortcuts.

The main in-game interface is still the PandaWorks AutoLoot Terminal.

Command Format

PWAL CGF commands use this format:

cgf "PWAL:Daemon.FunctionName"

Example:

cgf "PWAL:Daemon.OpenTerminal"

If you type the command wrong, it will not work.

Papyrus is not forgiving. It has the emotional warmth of a vending machine in a morgue.

Important Notes

These commands are public command bridges.

They forward to PWAL backend services.

They do not directly contain inventory logic, transfer logic, loot scanning, validation, destination resolution, or space salvage processing.

That is intentional.

PWAL:Daemon is the public entry point.

The actual work is handled by PWAL’s backend systems.

Some commands depend on game state, runtime state, valid storage references, valid ship cargo, or enabled framework systems.

If a command does nothing, that does not automatically mean the command is broken.

It may mean there was nothing valid for PWAL to do.

Terminal and Toggle Commands

Open Main Terminal

cgf "PWAL:Daemon.OpenTerminal"

Opens the main PandaWorks AutoLoot Terminal.

Use this for full configuration.

This is the safest command to use if you need access to the main PWAL setup menu.

Toggle Looting

cgf "PWAL:Daemon.ToggleLooting"

Toggles PWAL looting on or off.

If looting is off, PWAL will not loot.

This affects normal looting and supported framework processing that depends on looting being enabled.

Do not turn looting off and then report that nothing loots.

The panda is asleep because you told it to sleep.

Toggle Logging

cgf "PWAL:Daemon.ToggleLogging"

Toggles PWAL logging on or off.

Use logging for testing and bug reports.

Turn it off during normal play if you do not need debug output.

Logs are useful when something goes wrong.

Logs are annoying when everything is fine.

Inventory Commands

Open PandaWorks Inventory

cgf "PWAL:Daemon.OpenPandaWorks"

Opens PandaWorks Inventory.

This is PWAL’s dedicated storage container.

PandaWorks Inventory is useful for normal storage loot such as junk, misc items, overflow loot, and other items you do not want dumped into player inventory.

Current contraband routing does not default to PandaWorks Inventory.

Current contraband routing uses the Lodge Safe while PandaWorks Inventory scanner behavior is being reviewed.

Open Lodge Safe

cgf "PWAL:Daemon.OpenLodgeSafe"

Opens the Lodge Safe.

The Lodge Safe is used for supported storage behavior and current contraband routing.

If you are checking contraband collected by PWAL, check the Lodge Safe first unless you manually moved it somewhere else.

Open Ship Cargo

cgf "PWAL:Daemon.OpenShipCargo"

Opens the player ship cargo hold.

This requires a valid player home ship.

If the player does not have a valid home ship, this command may fail safely.

The panda cannot open cargo for a ship the game has not properly assigned.

Supported space salvage routes into Player Ship Cargo.

If you are checking asteroid deposits, space cargo, or destroyed hostile ship debris handled by PWAL, use this command or the Utility Device to check ship cargo.

Transfer Commands

Transfer commands move items between supported storage locations.

Transfers are not auto-looting.

Auto-looting collects nearby loot.

Transfers move items that are already stored.

Transfer commands do not create items.

Transfer commands do not scan nearby loot.

Transfer commands do not process space salvage.

Send PandaWorks To Ship

cgf "PWAL:Daemon.SendPandaWorksToShip"

Sends items from PandaWorks Inventory to Player Ship Cargo.

This requires valid ship cargo.

If you do not have a valid home ship, this command may fail safely.

Send Resources To Ship

cgf "PWAL:Daemon.SendResourcesToShip"

Sends supported resources from PandaWorks Inventory to Player Ship Cargo.

This is intended for resource cleanup and cargo organization.

This command only moves eligible items that are actually present in the source container.

If PandaWorks Inventory has no eligible resources, nothing moves.

That is not a bug.

Send PandaWorks To Lodge

cgf "PWAL:Daemon.SendPandaWorksToLodge"

Sends items from PandaWorks Inventory to the Lodge Safe.

This requires the Lodge Safe destination to be available.

Send Valuables To Player

cgf "PWAL:Daemon.SendValuablesToPlayer"

Sends supported valuable items to the player.

Use this when you want important stored items moved back to your inventory.

Only supported/eligible items move.

Send Cargo Hold To PandaWorks

cgf "PWAL:Daemon.SendCargoHoldToPandaWorks"

Sends items from Player Ship Cargo to PandaWorks Inventory.

This requires valid ship cargo.

If ship cargo is empty, unavailable, or not exposed by the game state, nothing useful will happen.

Space Salvage and CGF Commands

Space salvage does not have to be manually triggered with CGF commands.

Supported space salvage is part of the PWAL framework.

Confirmed supported in version 1.1.2:

  • Asteroid deposits
  • Space cargo
  • Destroyed hostile ship debris

Space salvage uses its own backend pipeline and routes recovered loot into Player Ship Cargo.

The useful CGF command for checking space salvage results is:

cgf "PWAL:Daemon.OpenShipCargo"

Use that to open ship cargo and confirm recovered salvage arrived.

Do not expect space salvage to appear in player inventory by default.

The panda put it in the ship.

Contraband and CGF Commands

Current PWAL behavior routes contraband to the Lodge Safe.

The useful CGF command for checking contraband is:

cgf "PWAL:Daemon.OpenLodgeSafe"

PandaWorks Inventory is being reviewed because it became visible to the contraband scanner unexpectedly.

Until that behavior is fully understood and corrected, Lodge Safe routing is the safer current behavior.

Do not use OpenPandaWorks and assume contraband is missing if you have not checked the Lodge Safe.

Legacy Lazy Panda Compatibility Commands

PWAL also includes legacy-style command aliases for Lazy Panda compatibility.

These exist so older habits, hotkeys, bat files, or command setups can still map cleanly.

New setups should prefer the newer Send... and OpenPandaWorks names.

Open Holding Inventory

cgf "PWAL:Daemon.OpenHoldingInventory"

Legacy alias for:

cgf "PWAL:Daemon.OpenPandaWorks"

Move All To Ship

cgf "PWAL:Daemon.MoveAllToShip"

Legacy alias for:

cgf "PWAL:Daemon.SendPandaWorksToShip"

Move Resources To Ship

cgf "PWAL:Daemon.MoveResourcesToShip"

Legacy alias for:

cgf "PWAL:Daemon.SendResourcesToShip"

Move Inventory To Lodge Safe

cgf "PWAL:Daemon.MoveInventoryToLodgeSafe"

Legacy alias for:

cgf "PWAL:Daemon.SendPandaWorksToLodge"

Move Valuables To Player

cgf "PWAL:Daemon.MoveValuablesToPlayer"

Legacy alias for:

cgf "PWAL:Daemon.SendValuablesToPlayer"

Move All From Ship To PandaWorks

cgf "PWAL:Daemon.MoveAllFromShipToPandaWorks"

Legacy alias for:

cgf "PWAL:Daemon.SendCargoHoldToPandaWorks"

Recommended Commands For New Setups

Use these for new hotkeys or command runners:

  • cgf "PWAL:Daemon.OpenTerminal"
  • cgf "PWAL:Daemon.ToggleLooting"
  • cgf "PWAL:Daemon.ToggleLogging"
  • cgf "PWAL:Daemon.OpenPandaWorks"
  • cgf "PWAL:Daemon.OpenLodgeSafe"
  • cgf "PWAL:Daemon.OpenShipCargo"
  • cgf "PWAL:Daemon.SendPandaWorksToShip"
  • cgf "PWAL:Daemon.SendResourcesToShip"
  • cgf "PWAL:Daemon.SendPandaWorksToLodge"
  • cgf "PWAL:Daemon.SendValuablesToPlayer"
  • cgf "PWAL:Daemon.SendCargoHoldToPandaWorks"

Suggested Hotkey Uses

Good hotkey candidates:

  • Open main terminal
  • Toggle looting
  • Open PandaWorks Inventory
  • Open Lodge Safe
  • Open Ship Cargo
  • Toggle logging while testing

Be careful with transfer commands on hotkeys.

Transfer commands move stored items.

If you bind them to something easy to press accidentally, do not blame the panda when your storage gets reorganized because your thumb slipped.

If A Command Does Nothing

Check:

  • Did you type the command exactly?
  • Is PWAL installed correctly?
  • Is the plugin enabled?
  • Are the scripts installed?
  • Is the destination available?
  • Does the command require ship cargo?
  • Does the command require Lodge Safe access?
  • Does the source container actually contain eligible items?
  • Are you using the current release?
  • Is looting enabled, if the command depends on active looting behavior?
  • Are you expecting a transfer command to loot nearby items?

For transfer commands, an empty source container means nothing moves.

That is not a bug.

There was nothing to move.

If A Ship Command Fails

Ship commands require a valid player home ship.

Check:

  • Do you have a home ship?
  • Is ship cargo available?
  • Are you checking the correct ship?
  • Are you early in the game before ship access is fully established?
  • Is another mod affecting ship cargo or home ship behavior?

Ship cargo depends on Starfield’s game state.

If the game does not provide a valid ship cargo target, PWAL cannot force reality to cooperate.

If A Lodge Safe Command Fails

Lodge Safe commands require the Lodge Safe destination to be available.

Check:

  • Is the Lodge Safe available in your current game state?
  • Are Lodge-related settings enabled, if applicable?
  • Are you checking the correct storage?
  • Was the command blocked because the destination was unavailable?

Current contraband routing uses the Lodge Safe.

If contraband is missing, check Lodge Safe first.

If A Transfer Command Moves Less Than Expected

Some transfer commands only move eligible items.

Examples:

  • Resource transfers only move supported resources.
  • Valuable transfers only move supported valuables.
  • Ship transfers require ship cargo to be available.
  • Empty source containers move nothing.

Transfers are not magic.

They move what the framework can safely identify and transfer.

Compatibility Notes

Do not blindly stack CGF command runners with other mods that also move inventory, open ship cargo, process contraband, or manage storage.

If another mod changes ship cargo, storage containers, contraband behavior, or inventory transfer behavior, test carefully.

If two systems try to move the same inventory at the same time, results can get weird.

This is not unique to PWAL.

This is what happens when multiple systems grab the same cursed Bethesda wires.

Summary

PWAL:Daemon provides stable public CGF command names.

Use these commands for hotkeys, command runners, bat files, or advanced automation.

Normal users should use the in-game terminal menus unless they specifically want external command bindings.

Space salvage does not need a CGF command to run.

Supported space salvage routes into Player Ship Cargo.

Current contraband routing uses Lodge Safe.

Type commands exactly.

Check the correct destination.

Do not ask Papyrus for mercy.

Clone this wiki locally