Loner-StrikeReference

Reference

Shop

4 Game Mode Studio nodes. Pick one for its pins, settings and limits.

Open Shop Menu

actionshop.menu

Shows a player the shop's menu.

Inputs (3)
Run Flow
Runs this node.
Shop Entity
Shop: an entity (a thing in the map). Needs a wire.
Player Player
The player. Needs a wire.
Outputs (1)
Then Flow
Goes on when it's done.
Notes (1)

Needs Loner-Strike's components plugin, which comes with the app.

Open or Close Shop

actionshop.open

Opens the shop for business, or closes it.

Inputs (3)
Run Flow
Runs this node.
Shop Entity
Shop: an entity (a thing in the map). Needs a wire.
Open Yes/No
Open: yes or no. Leave it empty to use the setting.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (1)
Open
On or off. A wire into the pin of the same name is used instead. Default: true.
Notes (1)

Needs Loner-Strike's components plugin, which comes with the app.

Shop Price

valueshop.price

An item's price now (by its name or what it gives); -1 if the shop doesn't sell it.

Inputs (1)
Shop Entity
Shop: an entity (a thing in the map). Needs a wire.
Outputs (1)
Price Number
Price: a number.
Settings (1)
Item
Text: letters, digits, spaces and plain punctuation. Default: ammo. Up to 40.
Notes (1)

Needs Loner-Strike's components plugin, which comes with the app.

Shop Purchase

eventshop.on_buy

A player bought something at a shop (an @item is the mode's to give here).

Outputs (5)
Then Flow
Goes on when it's done.
Shop Entity
Shop: an entity (a thing in the map).
Player Player
The player.
Item Text
Item: text.
Price Number
Price: a number.
Notes (1)

Needs Loner-Strike's components plugin, which comes with the app.

Made from the app's own catalog (nodes.json, nodehelp.json, limits.ts), so it matches the app.