initial commit

This commit is contained in:
CPTN Cosmo 2026-04-26 21:01:44 +02:00
commit 7246e3f892
10 changed files with 1728 additions and 0 deletions

754
scripts/augments.js Normal file
View file

@ -0,0 +1,754 @@
export const DEFAULT_AUGMENTS = [
{
id: "bonded",
name: "Bonded",
effect: "Primary module for Ikonis hardware synchronization.",
cost: "",
img: "icons/magic/control/debuff-energy-hold-blue-yellow.webp",
effects: [
{
_id: "IkonisBondedEffX",
name: "Ikonis: Bonded",
type: "base",
img: "icons/magic/control/debuff-energy-hold-blue-yellow.webp",
system: {
changes: [
{
key: "system.bonuses.damage.primaryWeapon.bonus",
type: "add",
value: "@tier",
priority: null,
phase: "initial"
}
],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "force",
name: "Force",
effect: "+1 Damage",
cost: "Cost: 3 gears, 2 lenses, 4 aluminum, 1 capacitor",
img: "icons/commodities/gems/gem-cut-faceted-princess-purple.webp",
effects: [
{
_id: "IkonisForceEffXX",
name: "Ikonis: Force",
type: "base",
img: "icons/commodities/gems/gem-cut-faceted-princess-purple.webp",
system: {
changes: [
{
key: "system.bonuses.damage.physical.bonus",
type: "add",
value: "1",
priority: null,
phase: "initial"
}
],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "guard",
name: "Guard",
effect: "+1 Armor Score",
cost: "Cost: 3 wires, 2 silver, 2 platinum, 3 fuses",
img: "icons/commodities/gems/gem-cut-faceted-square-purple.webp",
effects: [
{
_id: "IkonisGuardEffXX",
name: "Ikonis: Guard",
type: "base",
img: "icons/commodities/gems/gem-cut-faceted-square-purple.webp",
system: {
changes: [
{
type: "armor",
phase: "initial",
value: {
current: 0,
max: "1",
interaction: "none",
damageThresholds: null
},
priority: 20
}
],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "converge",
name: "Converge",
effect: "+1 to attack rolls",
cost: "Cost: 4 coils, 2 crystals, 5 gold, 3 discs",
img: "icons/commodities/gems/gem-cut-square-green.webp",
effects: [
{
_id: "IkonisConvergeXX",
name: "Ikonis: Converge",
type: "base",
img: "icons/commodities/gems/gem-cut-square-green.webp",
system: {
changes: [
{
key: "system.bonuses.roll.attack.bonus",
type: "add",
value: "1",
priority: null,
phase: "initial"
}
],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "amplify",
name: "Amplify",
effect: "On a successful attack, roll an additional damage die and drop the lowest result.",
cost: "Cost: 4 crystals, 4 cobalt, 4 copper, 4 capacitors",
img: "icons/commodities/gems/gem-cut-table-green.webp",
effects: [
{
_id: "IkonisAmplifyXXX",
name: "Ikonis: Amplify",
type: "base",
img: "icons/commodities/gems/gem-cut-table-green.webp",
system: {
changes: [
{
key: "system.bonuses.damage.primaryWeapon.dice",
type: "add",
value: "1",
priority: null,
phase: "initial"
}
],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "scope",
name: "Scope",
effect: " Increase range by one step (Melee to Very Close, Close to Far, etc.).",
cost: "Cost: 5 lenses, 3 silver, 2 circuits, 2 relays",
img: "icons/commodities/gems/gem-faceted-asscher-blue.webp",
effects: [
{
_id: "IkonisScopeEffXX",
name: "Ikonis: Scope",
type: "base",
img: "icons/commodities/gems/gem-faceted-asscher-blue.webp",
system: {
changes: [],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "deny",
name: "Deny",
effect: "+2 Armor Score",
cost: "6 coils, 3 wire, 2 copper, 4 batteries",
img: "icons/commodities/gems/gem-faceted-cushion-teal-black.webp",
effects: [
{
_id: "IkonisGuardEffXX",
name: "Ikonis: Guard",
type: "base",
img: "icons/commodities/gems/gem-faceted-cushion-teal-black.webp",
system: {
changes: [
{
type: "armor",
phase: "initial",
value: {
current: 0,
max: "2",
interaction: "none",
damageThresholds: null
},
priority: 20
}
],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "target",
name: "Target",
effect: "+2 to attack rolls",
cost: "Cost: 10 wires, 7 gold, 5 fuses, 5 circuits, 2 batteries",
img: "icons/commodities/gems/gem-faceted-cushion-teal.webp",
effects: [
{
_id: "IkonisConvergeXX",
name: "Ikonis: Converge",
type: "base",
img: "icons/commodities/gems/gem-faceted-cushion-teal.webp",
system: {
changes: [
{
key: "system.bonuses.roll.attack.bonus",
type: "add",
value: "2",
priority: null,
phase: "initial"
}
],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "split",
name: "Split",
effect: "When you make an attack, mark a Stress to target another creature within range.",
cost: "12 gears, 5 lenses, 15 aluminum, 9 relays",
img: "icons/commodities/gems/gem-faceted-diamond-blue.webp",
actions: {
"IkonisSplitActXX": {
"name": "Split Attack",
"type": "action",
"_id": "IkonisSplitActXX",
"img": "icons/commodities/gems/gem-faceted-diamond-blue.webp",
"systemPath": "actions",
"baseAction": false,
"description": "When you make an attack, mark a Stress to target another creature within range.",
"chatDisplay": true,
"actionType": "action",
"name": "Mark a Stress",
"cost": [
{
"scalable": false,
"key": "stress",
"value": 1,
"itemId": null,
"step": null,
"consumeOnSuccess": false
}
],
"target": {
"type": "any",
"amount": 1
}
}
},
effects: [
{
_id: "IkonisSplitEffXX",
name: "Ikonis: Split",
type: "base",
img: "icons/commodities/gems/gem-faceted-diamond-blue.webp",
system: {
changes: [],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "fix",
name: "Fix",
effect: "When you deal Severe damage, clear a Hit Point.",
cost: "Cost: 6 coils, 4 wires, 1 crystal, 5 cobalt, 5 silver, 7 relays, 2 batteries",
img: "icons/commodities/gems/gem-faceted-diamond-green.webp",
actions: {
"IkonisFixActXXXX": {
"name": "Clear a Hit Point",
"type": "healing",
"_id": "IkonisFixActXXXX",
"img": "icons/commodities/gems/gem-faceted-diamond-green.webp",
"systemPath": "actions",
"baseAction": false,
"description": "Clear a Hit Point when you deal Severe damage.",
"chatDisplay": true,
"actionType": "action",
"healing": {
"parts": {
"hitPoints": {
"applyTo": "hitPoints",
"resultBased": false,
"value": {
"multiplier": "flat",
"flatMultiplier": 1,
"dice": "d6",
"bonus": null,
"custom": {
"enabled": true,
"formula": "1"
}
}
}
},
"includeBase": false,
"direct": false
}
}
},
effects: [
{
_id: "IkonisFixEffXXXX",
name: "Ikonis: Fix",
type: "base",
img: "icons/commodities/gems/gem-faceted-diamond-green.webp",
system: {
changes: [],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "scare",
name: "Scare",
effect: "When you critically succeed on an attack, the target must mark a Stress.",
cost: "Cost: 6 triggers, 8 copper, 9 aluminum, 10 discs",
img: "icons/commodities/gems/gem-faceted-diamond-pink.webp",
effects: [
{
_id: "IkonisScareEffXX",
name: "Ikonis: Scare",
type: "base",
img: "icons/commodities/gems/gem-faceted-diamond-pink.webp",
system: {
changes: [],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "sear",
name: "Sear",
effect: "+2 damage",
cost: "Cost: 11 triggers, 11 platinum, 11 circuits, 7 discs",
precompile: "Tier 2",
img: "icons/commodities/gems/gem-faceted-navette-red.webp",
effects: [
{
_id: "IkonisForceEffXX",
name: "Ikonis: Force",
type: "base",
img: "icons/commodities/gems/gem-faceted-navette-red.webp",
system: {
changes: [
{
key: "system.bonuses.damage.physical.bonus",
type: "add",
value: "2",
priority: null,
phase: "initial"
}
],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "absorb",
name: "Absorb",
effect: "You can mark an additional Armor Slot against incoming damage.",
cost: "Cost: 26 gears, 13 gold, 15 relays, 8 batteries",
precompile: "Tier 2",
img: "icons/commodities/gems/gem-faceted-hexagon-blue.webp",
effects: [
{
_id: "IkonisAbsorbEffX",
name: "Ikonis: Absorb",
type: "base",
img: "icons/commodities/gems/gem-faceted-hexagon-blue.webp",
system: {
changes: [
{
key: "system.rules.damageReduction.maxArmorMarked.value",
type: "add",
value: "1",
priority: null,
phase: "initial"
}
],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "kick",
name: "Kick",
effect: "On a successful attack, you can mark 2 Stress to force the target to mark an additional Hit Point.",
cost: "Cost: 33 triggers, 13 crystals, 23 cobalt, 16 discs",
precompile: "Tier 2",
img: "icons/commodities/gems/gem-faceted-oval-blue.webp",
actions: {
"IkonisKickActXX": {
"name": "Kick",
"type": "action",
"_id": "IkonisKickActXX",
"img": "icons/commodities/gems/gem-faceted-oval-blue.webp",
"systemPath": "actions",
"baseAction": false,
"description": "On a successful attack, you can mark 2 Stress to force the target to mark an additional Hit Point.",
"chatDisplay": true,
"actionType": "action",
"name": "Mark 2 Stress",
"cost": [
{
"scalable": false,
"key": "stress",
"value": 2,
"itemId": null,
"step": null,
"consumeOnSuccess": false
}
],
"target": {
"type": "any",
"amount": 1
}
}
},
effects: [
{
_id: "IkonisKickEffXXX",
name: "Ikonis: Kick",
type: "base",
img: "icons/commodities/gems/gem-faceted-oval-blue.webp",
system: {
changes: [],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "block",
name: "Block",
effect: "+3 Armor Score; 1 Evasion",
cost: "Cost: 27 crystals, 67 aluminum, 33 relays, 4 capacitors, 5 batteries",
precompile: "Tier 3",
img: "icons/commodities/gems/gem-faceted-octagon-yellow.webp",
effects: [
{
_id: "IkonisBlockEffXX",
name: "Ikonis: Block",
type: "base",
img: "icons/commodities/gems/gem-faceted-octagon-yellow.webp",
system: {
changes: [
{
type: "armor",
phase: "initial",
value: {
current: 0,
max: "3",
interaction: "none",
damageThresholds: null
},
priority: 20
},
{
key: "system.evasion",
type: "add",
value: "-1",
priority: null,
phase: "initial"
}
],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "zip",
name: "Zip",
effect: "Move up to Far range as part of an attack.",
cost: "Cost: 37 coils, 43 silver, 67 fuses, 12 capacitors",
precompile: "Tier 3",
img: "icons/commodities/gems/gem-faceted-oval-blue.webp",
effects: [
{
_id: "IkonisZipEffXXXX",
name: "Ikonis: Zip",
type: "base",
img: "icons/commodities/gems/gem-faceted-oval-blue.webp",
system: {
changes: [],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "bury",
name: "Bury",
effect: "+3 damage",
cost: "Cost: 28 triggers, 28 circuits, 28 relays, 1 relic",
precompile: "Tier 3",
img: "icons/commodities/gems/gem-faceted-radiant-blue.webp",
effects: [
{
_id: "IkonisBuryEffXXX",
name: "Ikonis: Bury",
type: "base",
img: "icons/commodities/gems/gem-faceted-radiant-blue.webp",
system: {
changes: [
{
key: "system.bonuses.damage.physical.bonus",
type: "add",
value: "3",
priority: null,
phase: "initial"
}
],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "follow",
name: "Follow",
effect: "Mark 2 Stress to reroll your attack.",
cost: "Cost: 75 gears, 67 lenses, 30 copper, 33 circuits",
precompile: "Tier 4",
img: "icons/commodities/gems/gem-faceted-radiant-red.webp",
actions: {
"IkonisFollowActXX": {
"name": "Follow",
"type": "action",
"_id": "IkonisFollowActXX",
"img": "icons/commodities/gems/gem-faceted-radiant-red.webp",
"systemPath": "actions",
"baseAction": false,
"description": "Mark 2 Stress to reroll your attack.",
"chatDisplay": true,
"actionType": "reroll",
"cost": [
{
"scalable": false,
"key": "stress",
"value": 2,
"itemId": null,
"step": null,
"consumeOnSuccess": false
}
],
"target": {
"type": "any",
"amount": 1
}
}
},
effects: [
{
_id: "IkonisFollowEffX",
name: "Ikonis: Follow",
type: "base",
img: "icons/commodities/gems/gem-faceted-radiant-red.webp",
system: {
changes: [],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
},
{
id: "override",
name: "Override",
effect: "Attack rolls have advantage.",
cost: "Cost: 63 wires, 71 gold, 58 discs, 5 relics",
precompile: "Tier 4",
img: "icons/commodities/gems/gem-faceted-round-white.webp",
effects: [
{
_id: "IkonisOverrideXX",
name: "Ikonis: Override",
type: "base",
img: "icons/commodities/gems/gem-faceted-round-white.webp",
system: {
changes: [
{
key: "system.advantageSources",
type: "add",
value: "1",
priority: null,
phase: "initial"
}
],
duration: { description: "", type: "" },
rangeDependence: { enabled: false, type: "withinRange", target: "hostile", range: "melee" },
stacking: null,
targetDispositions: []
},
disabled: false,
transfer: true,
statuses: [],
showIcon: 1,
flags: {}
}
]
}
];