Add scripted lightning weapon mods with interpolated anchored effects

This commit is contained in:
raptorreplica committed 2026-10-11 16:45:22 +11:00
1 parent 98465133aa
commit c0a6fd3431
50 files changed
+3500 -65

No files matched your search

+63
View File
@@ -319,6 +319,69 @@
},
"additionalProperties": false
},
{
"description": "Cosmetic lightning; pair with damage commands for gameplay effects.",
"type": "object",
"required": [
"op",
"to_x",
"to_y",
"x",
"y"
],
"properties": {
"anchor": {
"description": "Follow this entity's movement; zero is the player. Endpoints remain absolute coordinates at creation, preserving their initial offset.",
"default": null,
"type": [
"integer",
"null"
],
"format": "uint64",
"minimum": 0.0
},
"op": {
"type": "string",
"enum": [
"arc"
]
},
"ticks": {
"default": 3,
"type": "integer",
"format": "uint32",
"maximum": 12.0,
"minimum": 1.0
},
"to_anchor": {
"description": "Optional independent anchor for the destination endpoint.",
"default": null,
"type": [
"integer",
"null"
],
"format": "uint64",
"minimum": 0.0
},
"to_x": {
"type": "integer",
"format": "int32"
},
"to_y": {
"type": "integer",
"format": "int32"
},
"x": {
"type": "integer",
"format": "int32"
},
"y": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [