created third training type for misc skills
This commit is contained in:
parent
863019182f
commit
b99f8343fc
4 changed files with 282 additions and 2 deletions
|
@ -5,7 +5,9 @@
|
|||
"effects": [
|
||||
"craftAtTown",
|
||||
"maethalion_boost_trainDamage",
|
||||
"maethalion_boost_trainDefense"
|
||||
]
|
||||
"maethalion_boost_trainDefense",
|
||||
"maethalion_boost_trainMisc"
|
||||
],
|
||||
"stats": {}
|
||||
}
|
||||
]
|
265
assets/data/effects/maethalion_boost_trainMisc.json
Normal file
265
assets/data/effects/maethalion_boost_trainMisc.json
Normal file
|
@ -0,0 +1,265 @@
|
|||
{
|
||||
"id": "maethalion_boost_trainMisc",
|
||||
"info": {
|
||||
"dataVersion": 1,
|
||||
"sourceFile": "maethalion_boost_trainMisc",
|
||||
"modId": "cecilkorik_training",
|
||||
"author": "cecilkorik"
|
||||
},
|
||||
"type": "OVERLAND_ABILITY",
|
||||
"verb": "MANEUVER",
|
||||
"ability": { "icon": "battledance", "category": "crafting", "priority": "0" },
|
||||
"targets": [
|
||||
{
|
||||
"template": "SELF_SITE",
|
||||
"aspects": [ "SELF", "workingStation", "NO_JOBS_ACTIVE" ],
|
||||
"aspectValues": [
|
||||
{ "id": "infestedTile*", "forbidden": true }
|
||||
],
|
||||
"forbidJobIds": [ "maethalion_boost_job_train*" ]
|
||||
},
|
||||
{ "role": "target", "template": "OVERLAND_TILE", "range": "0" },
|
||||
{
|
||||
"template": "CHOICE",
|
||||
"promptScript": [
|
||||
{
|
||||
"class": "comicNode_Panel",
|
||||
"panel": {
|
||||
"size": "full",
|
||||
"bg": "comicBG_classAbility_hunter.jpg",
|
||||
"actorSlots": [
|
||||
{
|
||||
"assetSpec": "asset:ui/misc/battleModifier_courage.png",
|
||||
"role": null,
|
||||
"focus": "foot",
|
||||
"anchor": { "x": 0.238, "y": 0.393 },
|
||||
"size": 0.3,
|
||||
"nameTag": "none",
|
||||
"foot": { "rotate": 0 }
|
||||
},
|
||||
{
|
||||
"assetSpec": "figure:human/items/item_axe_lumber.png",
|
||||
"role": null,
|
||||
"focus": "foot",
|
||||
"anchor": { "x": 0.119, "y": 0.234 },
|
||||
"size": 0.3499,
|
||||
"nameTag": "none",
|
||||
"foot": { "rotate": -30 }
|
||||
},
|
||||
{
|
||||
"assetSpec": "scenery:drauven_basketSpears.png",
|
||||
"role": null,
|
||||
"focus": "foot",
|
||||
"anchor": { "x": 0.374, "y": 0.274 },
|
||||
"size": 0.4297,
|
||||
"nameTag": "none"
|
||||
},
|
||||
{
|
||||
"assetSpec": "item:item_sword_old.png",
|
||||
"role": null,
|
||||
"focus": "foot",
|
||||
"anchor": { "x": 0.066, "y": 0.284 },
|
||||
"size": 0.3499,
|
||||
"drawDepth": 6,
|
||||
"nameTag": "none",
|
||||
"foot": { "rotate": -144.455 }
|
||||
},
|
||||
{
|
||||
"assetSpec": "figure:human/items/item_staff_crook.png",
|
||||
"role": null,
|
||||
"focus": "foot",
|
||||
"anchor": { "x": 0.077, "y": 0.299 },
|
||||
"size": 0.2251,
|
||||
"drawDepth": 7,
|
||||
"nameTag": "none"
|
||||
}
|
||||
],
|
||||
"textSlots": [
|
||||
{
|
||||
"textSourceFile": "maethalion_boost_trainMisc",
|
||||
"textKey": "~01~prompt~panel_001~1_narration",
|
||||
"style": "narration",
|
||||
"padXFraction": 0.461,
|
||||
"padYFraction": 0.332,
|
||||
"widthFraction": 0.5
|
||||
},
|
||||
{
|
||||
"textSourceFile": "maethalion_boost_trainMisc",
|
||||
"textKey": "~01~prompt~panel_001~2_darken",
|
||||
"style": "darken",
|
||||
"padXFraction": 0.25,
|
||||
"padYFraction": 0.04,
|
||||
"shrinkToFitText": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
{
|
||||
"id": "one",
|
||||
"script": [
|
||||
{
|
||||
"class": "comicNode_Panel",
|
||||
"panel": {
|
||||
"size": "fourth",
|
||||
"bg": "comicBG_abstractSky.jpg",
|
||||
"actorSlots": [
|
||||
{
|
||||
"assetSpec": "asset:ui/misc/battleModifier_fortitude.png",
|
||||
"role": null,
|
||||
"focus": "foot",
|
||||
"anchor": { "x": 0.5, "y": 0.45 },
|
||||
"size": 0.2,
|
||||
"nameTag": "none"
|
||||
}
|
||||
],
|
||||
"textSlots": [
|
||||
{
|
||||
"textSourceFile": "maethalion_boost_trainMisc",
|
||||
"textKey": "~02~choice_one~panel_001~1_narration",
|
||||
"style": "narration"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"ifTargetIsPresent": "self"
|
||||
},
|
||||
{
|
||||
"id": "two",
|
||||
"script": [
|
||||
{
|
||||
"class": "comicNode_Panel",
|
||||
"panel": {
|
||||
"size": "fourth",
|
||||
"bg": "comicBG_abstractRadialYellow.jpg",
|
||||
"actorSlots": [
|
||||
{
|
||||
"assetSpec": "asset:ui/misc/battleModifier_fortitude.png",
|
||||
"role": null,
|
||||
"focus": "foot",
|
||||
"anchor": { "x": 0.5, "y": 0.45 },
|
||||
"size": 0.2,
|
||||
"nameTag": "none"
|
||||
}
|
||||
],
|
||||
"textSlots": [
|
||||
{
|
||||
"textSourceFile": "maethalion_boost_trainMisc",
|
||||
"textKey": "~03~choice_two~panel_001~1_narration",
|
||||
"style": "narration"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"ifTargetIsPresent": "self"
|
||||
},
|
||||
{
|
||||
"id": "three",
|
||||
"script": [
|
||||
{
|
||||
"class": "comicNode_Panel",
|
||||
"panel": {
|
||||
"size": "fourth",
|
||||
"bg": "comicBG_abstractOrangeLight.jpg",
|
||||
"actorSlots": [
|
||||
{
|
||||
"assetSpec": "asset:ui/misc/battleModifier_fortitude.png",
|
||||
"role": null,
|
||||
"focus": "foot",
|
||||
"anchor": { "x": 0.5, "y": 0.45 },
|
||||
"size": 0.2,
|
||||
"nameTag": "none"
|
||||
}
|
||||
],
|
||||
"textSlots": [
|
||||
{
|
||||
"textSourceFile": "maethalion_boost_trainMisc",
|
||||
"textKey": "~04~choice_three~panel_001~1_narration",
|
||||
"style": "narration"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"ifTargetIsPresent": "self"
|
||||
},
|
||||
{
|
||||
"id": "cancel",
|
||||
"script": [
|
||||
{
|
||||
"class": "comicNode_Panel",
|
||||
"panel": {
|
||||
"size": "fourth",
|
||||
"bgAuto": "atSite",
|
||||
"textSlots": [
|
||||
{
|
||||
"textSourceFile": "maethalion_boost_trainMisc",
|
||||
"textKey": "~05~choice_cancel~panel_001~1_darken",
|
||||
"style": "darken",
|
||||
"padXFraction": 0.25,
|
||||
"padYFraction": 0.45,
|
||||
"widthFraction": 0.5
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"uiCancel": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"outcomes": [
|
||||
{
|
||||
"class": "IfPlayerChose",
|
||||
"ifPlayerChose": "one",
|
||||
"then": {
|
||||
"class": "DoAll",
|
||||
"outcomes": [
|
||||
{
|
||||
"class": "NewJob",
|
||||
"effectId": "maethalion_boost_job_train|Athletics|SPEED|0.5",
|
||||
"post": "self",
|
||||
"injectedRoles": [ "self", "target" ],
|
||||
"promptSlotsImmediately": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"class": "IfPlayerChose",
|
||||
"ifPlayerChose": "two",
|
||||
"then": {
|
||||
"class": "DoAll",
|
||||
"outcomes": [
|
||||
{
|
||||
"class": "NewJob",
|
||||
"effectId": "maethalion_boost_job_train|Charisma|CHARISMA|5.0",
|
||||
"post": "self",
|
||||
"injectedRoles": [ "self", "target" ],
|
||||
"promptSlotsImmediately": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"class": "IfPlayerChose",
|
||||
"ifPlayerChose": "three",
|
||||
"then": {
|
||||
"class": "DoAll",
|
||||
"outcomes": [
|
||||
{
|
||||
"class": "NewJob",
|
||||
"effectId": "maethalion_boost_job_train|Tenacity|TENACITY|5.0",
|
||||
"post": "self",
|
||||
"injectedRoles": [ "self", "target" ],
|
||||
"promptSlotsImmediately": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
4
assets/text/aspects/aspects_en_GB.properties
Normal file
4
assets/text/aspects/aspects_en_GB.properties
Normal file
|
@ -0,0 +1,4 @@
|
|||
#suppress inspection "UnusedProperty" for whole file
|
||||
|
||||
maethalion_boost_train.blurb=$param0 +$param2
|
||||
maethalion_boost_train.name=Training
|
|
@ -0,0 +1,9 @@
|
|||
#suppress inspection "UnusedProperty" for whole file
|
||||
.longName=Train up your Hero's Abilities
|
||||
.name=
|
||||
~01~prompt~panel_001~1_narration=Create a Training Job at this Location\n\n - Train [b][green]Movement Speed[][] + 0.5\n - Train [b][white]Charisma[][] + 5\n - Train [b][orange]Tenacity[][] + 5\n\n(Usually takes 10 about days for a single Hero)
|
||||
~01~prompt~panel_001~2_darken=[header][gold]Train up your Hero's Abilities![][]
|
||||
~02~choice_one~panel_001~1_narration=Train [b][green]Movement[][] + 0.5
|
||||
~03~choice_two~panel_001~1_narration=Train [b][white]Charisma[] []+ 5
|
||||
~04~choice_three~panel_001~1_narration=Train [b][orange]Tenacity[][] + 5
|
||||
~05~choice_cancel~panel_001~1_darken=(Not Now)
|
Loading…
Add table
Reference in a new issue