Complete implementation of Shade origin
-added shade origin -implemented invisibility power for shade origin
This commit is contained in:
@@ -29,6 +29,12 @@
|
|||||||
"power.terraoriginum.wraith-powers/torment1.name": "Torment",
|
"power.terraoriginum.wraith-powers/torment1.name": "Torment",
|
||||||
"power.terraoriginum.wraith-powers/torment1.description": "The Wraith recalls the eons of agony it suffered, causing it's body to respond to the trauma by strengthening itself. Expends ectoplasm quickly.",
|
"power.terraoriginum.wraith-powers/torment1.description": "The Wraith recalls the eons of agony it suffered, causing it's body to respond to the trauma by strengthening itself. Expends ectoplasm quickly.",
|
||||||
"power.terraoriginum.wraith-powers/charred.name": "Charred",
|
"power.terraoriginum.wraith-powers/charred.name": "Charred",
|
||||||
"power.terraoriginum.wraith-powers/charred.description": "Wraiths are burned of torment, which gives them a literally charred appearance."
|
"power.terraoriginum.wraith-powers/charred.description": "Wraiths are burned of torment, which gives them a literally charred appearance.",
|
||||||
|
|
||||||
|
//-----Shade-----//
|
||||||
|
"origin.terraoriginum.shade.name": "Shade",
|
||||||
|
"origin.terraoriginum.shade.description": "Shades are shy ghostly entities, generally choosing to remain hidden from other non-ghostly entities.",
|
||||||
|
"power.terraoriginum.shade-powers/invisibility1.name": "Invisibility",
|
||||||
|
"power.terraoriginum.shade-powers/invisibility1.description": "Shades have the ability to turn their entire bodies, including any armour they are wearing, entirely invisible. The invisibility is counteracted by the glowing effect and expends some ectoplasm"
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -5,6 +5,7 @@
|
|||||||
"terraoriginum:demon",
|
"terraoriginum:demon",
|
||||||
"terraoriginum:spirit",
|
"terraoriginum:spirit",
|
||||||
"terraoriginum:wraith",
|
"terraoriginum:wraith",
|
||||||
|
"terraoriginum:shade",
|
||||||
{
|
{
|
||||||
"condition": {
|
"condition": {
|
||||||
"type": "origins:equipped_item",
|
"type": "origins:equipped_item",
|
||||||
|
|||||||
20
src/main/resources/data/terraoriginum/origins/shade.json
Normal file
20
src/main/resources/data/terraoriginum/origins/shade.json
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"powers": [
|
||||||
|
"terraoriginum:shade-powers/invisibility1",
|
||||||
|
"terraoriginum:shade-powers/invisibility2",
|
||||||
|
"terraoriginum:shade-powers/invisibility3",
|
||||||
|
"terraoriginum:spirit-powers/ectoplasm",
|
||||||
|
"terraoriginum:spirit-powers/ectodiff",
|
||||||
|
"terraoriginum:spirit-powers/lackofectodmg",
|
||||||
|
"terraoriginum:spirit-powers/skin",
|
||||||
|
"terraoriginum:spirit-powers/phasing1",
|
||||||
|
"terraoriginum:spirit-powers/phasing2",
|
||||||
|
"terraoriginum:spirit-powers/phasing3",
|
||||||
|
"terraoriginum:spirit-powers/undead",
|
||||||
|
"terraoriginum:spirit-powers/nightvis",
|
||||||
|
"terraoriginum:ectotest"
|
||||||
|
],
|
||||||
|
"icon": "minecraft:black_candle",
|
||||||
|
"order": 1004,
|
||||||
|
"impact": 3
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"type": "origins:toggle",
|
||||||
|
"active_by_default": false,
|
||||||
|
"key": {
|
||||||
|
"key": "key.origins.primary_active",
|
||||||
|
"continuous": false
|
||||||
|
},
|
||||||
|
"retain_state": false,
|
||||||
|
"condition": {
|
||||||
|
"type": "origins:resource",
|
||||||
|
"resource": "terraoriginum:spirit-powers/ectoplasm",
|
||||||
|
"comparison": ">=",
|
||||||
|
"compare_to": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"type": "origins:invisibility",
|
||||||
|
"render_armor": false,
|
||||||
|
"render_outline": true,
|
||||||
|
"condition": {
|
||||||
|
"type": "origins:power_active",
|
||||||
|
"power": "terraoriginum:shade-powers/invisibility1"
|
||||||
|
},
|
||||||
|
"hidden": true
|
||||||
|
}
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"type": "origins:action_over_time",
|
||||||
|
"interval": 20,
|
||||||
|
"hidden": true,
|
||||||
|
"entity_action": {
|
||||||
|
"type": "origins:if_else_list",
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"condition": {
|
||||||
|
"type": "origins:power_active",
|
||||||
|
"power": "terraoriginum:shade-powers/invisibility1"
|
||||||
|
},
|
||||||
|
"action": {
|
||||||
|
"type": "origins:and",
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"type": "origins:change_resource",
|
||||||
|
"resource": "terraoriginum:spirit-powers/ectoplasm",
|
||||||
|
"change": -5,
|
||||||
|
"operation": "add"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user