• Fixed critical entrypoint stage main crash upon initializing game

Print

Entity Action Type

Prints a message to the console and optionally sends it to the player's chat.

Type ID: sync:print

Fields

Field Type Default Description
message String The message to be printed.
show_in_chat Boolean false If true, the message will also be sent to the player's chat.
logger_id String "Sync/PrintAction" The identifier used for the console logger. This allows customization of the log prefix.

Examples

"entity_action": {
    "type": "sync:print",
    "message": "Player activated power!",
    "show_in_chat": true,
    "logger_id": "MyMod/CustomAction"
}

This example will print "Player activated power!" to the console with the prefix "MyMod/CustomAction" and also display it in the player's chat.

"entity_action": {
    "type": "sync:print",
    "message": "Debug information",
    "show_in_chat": false
}

This example will print "Debug information" to the console using the default "Sync/PrintAction" identifier, but won't show it in chat.

  • Fixed Pose Power not displaying the right pose when power is active.
  • Reworked Model Flip power and added a new flip_view boolean field.
  • Added an entity_in_radius entity condition type, which checks whether there's a specified number of entities that fulfill the specified bi-entity condition within the radius of an area relative to the entity's feet.

NOTE: In the context of this entity condition type, the 'actor' is the entity while the 'target' are the entities within the radius of the specified area.

It accepts these fields:

Field Type Default Description
bientity_condition Bi-entity Condition Type The bi-entity condition to evaluate on either or both the actor and target(s).
shape String "cube" Determines the shape of the area used for checking how many entities fulfill the bi-entity condition. Accepts "cube", "star", or "sphere".
radius Float Determines the radius of the area used for checking how many entities fulfill the bi-entity condition.
comparison Comparison ">=" Determines how the amount of entities that fulfill the bi-entity condition should be compared to a specific value.
compare_to Integer 1 The value at which the amount of entities that fulfill the bi-entity condition will be compared to.

Project members

Overgrown

Creator

Details

Licensed MIT
Published 3 months ago
Updated 2 months ago