Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node commands #7

Merged
merged 13 commits into from
Sep 5, 2024
Merged

Conversation

rndmorris
Copy link
Contributor

@rndmorris rndmorris commented Sep 2, 2024

Adds a command action to summon a new node

Configuration Changes

commands."updateNode Enabled" Enables or disables the new updateNode action.
commands."summonNode Enabled" Enables or disables the new summonNode action.

Features

updateNode

Usage: /tmixins updateNode <x> <y> <z> [-t <node_type>] [-m <node_modifier>] [-a <aspect1> <amount1>[ -a <aspect2> <amount2>[ ...]]] [-r <aspect1>[ -r <aspect2>[ ...]]]

Argument Description
<x> <y> <z> Required. The coordinates of the node to update.
-t <node_type> Optional. Replace the node's type (hungry, pure, etc).
-m <node_modifier> Optional. Replace the node's modifier (bright, fading, pale, or none).
-a <aspect> <amount> Optional. Set the node's capacity in the chosen aspect to the chosen amount.
-r <aspect> Optional. Remove the chosen aspect from the node.

Update an existing node at the specified coordinates.

summonNode

Usage: /tmixins summonNode <x> <y> <z> [-t <node_type>] [-m <node_modifier>] [--small] [-a <aspect1> <amount1>[ -a <aspect2> <amount2>[ ...]]]

Argument Description
<x> <y> <z> Required. The coordinates at which to create a new node.
-t <node_type> Optional. Specify the new node's type (hungry, pure, etc). If not set, node type will be random.
-m <node_modifier> Optional. Specify the new node's modifier (bright, fading, pale, or none). If not set, node modifier will be random.
--small Optional. If set, the node will generate with few aspects in low capacities. No effect if any aspects are specified by -a.
-a <aspect> <amount> Optional. Overrides --small. If set, the node will have the specified amount of the specified aspect. Can be set multiple times, adding a new aspect each time. If not set, the node's aspects will be random.

Summon a random node at the specified coordinates. The node's properties can be overridden by specifying additional optional arguments.

@rndmorris rndmorris changed the title Node command Node commands Sep 4, 2024
@unicornbloods unicornbloods merged commit c06ef83 into unicornbloods:master Sep 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants