diff --git a/src/main/resources/assets/faithful/lang/en_us.json b/src/main/resources/assets/faithful/lang/en_us.json index 0134bac..2d5dbe8 100644 --- a/src/main/resources/assets/faithful/lang/en_us.json +++ b/src/main/resources/assets/faithful/lang/en_us.json @@ -75,5 +75,15 @@ "origin.faithful.merfolk.name": "Merfolk", "origin.faithful.merfolk.description": "Mythical creatures of the ocean.", "power.faithful.merfolk-powers/gills.name": "Gills", - "power.faithful.merfolk-powers/gills.description": "Merfolk can breathe underwater, but are slowed on land." + "power.faithful.merfolk-powers/gills.description": "Merfolk can breathe underwater, but are slowed on land.", + + //-----harpy-----// + "origin.faithful.druid.name": "Druid", + "origin.faithful.druid.description": "Magicians who use nature to heal others.", + "power.faithful.druid-powers/healing.name": "Healing Aura", + "power.faithful.druid-powers/healing.description": "Druids can exude a short healing aura that heals the living and harms the dead.", + "power.faithful.druid-powers/nature_aura.name": "Nature's Aura", + "power.faithful.druid-powers/nature_aura.description": "Crops around you seem to grow faster.", + "power.faithful.druid-powers/resistance.name": "Nature's Resistance", + "power.faithful.druid-powers/resistance.description": "When on certain blocks like grass, Druids gain slight damage resistance." } \ No newline at end of file diff --git a/src/main/resources/data/faithful/origins/druid.json b/src/main/resources/data/faithful/origins/druid.json new file mode 100644 index 0000000..49d9108 --- /dev/null +++ b/src/main/resources/data/faithful/origins/druid.json @@ -0,0 +1,10 @@ +{ + "powers": [ + "faithful:druid-powers/healing", + "faithful:druid-powers/resistance", + "faithful:druid-powers/nature_aura" + ], + "icon": "minecraft:dirt", + "order": 1009, + "impact": 1 +} \ No newline at end of file diff --git a/src/main/resources/data/faithful/powers/druid-powers/healing.json b/src/main/resources/data/faithful/powers/druid-powers/healing.json new file mode 100644 index 0000000..1ac0c66 --- /dev/null +++ b/src/main/resources/data/faithful/powers/druid-powers/healing.json @@ -0,0 +1,25 @@ +{ + "type": "origins:active_self", + "key": "primary", + "entity_action": { + "type": "origins:area_of_effect", + "radius": 12, + "include_target": true, + "bientity_action": { + "type": "origins:target_action", + "action": { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:regeneration", + "duration": 600, + "amplifier": 1 + } + } + } + }, + "cooldown": 2400, + "hud_render": { + "sprite_location": "origins:textures/gui/community/spiderkolo/resource_bar_02.png", + "bar_index": "22" + } +} \ No newline at end of file diff --git a/src/main/resources/data/faithful/powers/druid-powers/nature_aura.json b/src/main/resources/data/faithful/powers/druid-powers/nature_aura.json new file mode 100644 index 0000000..001103d --- /dev/null +++ b/src/main/resources/data/faithful/powers/druid-powers/nature_aura.json @@ -0,0 +1,26 @@ +{ + "type": "origins:action_over_time", + "interval": 1, + "entity_action": { + "type": "origins:block_action_at", + "block_action": { + "type": "origins:area_of_effect", + "radius": 9, + "shape": "cube", + "block_condition": { + "type": "origins:block_state", + "property": "age" + }, + "block_action": { + "type": "origins:chance", + "chance": 0.001, + "action": { + "type": "origins:modify_block_state", + "property": "age", + "operation": "add", + "change": 1 + } + } + } + } +} \ No newline at end of file diff --git a/src/main/resources/data/faithful/powers/druid-powers/resistance.json b/src/main/resources/data/faithful/powers/druid-powers/resistance.json new file mode 100644 index 0000000..484b9a2 --- /dev/null +++ b/src/main/resources/data/faithful/powers/druid-powers/resistance.json @@ -0,0 +1,23 @@ +{ + "condition": { + "type": "origins:block_in_radius", + "radius": 1, + "block_condition": { + "type": "origins:in_tag", + "tag": "faithful:natural" + } + }, + "type": "origins:action_over_time", + "interval": 5, + "entity_action": { + "type": "origins:apply_effect", + "effects": [ + { + "effect": "minecraft:resistance", + "duration": 35, + "show_particles": false, + "show_icon": false + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/data/faithful/tags/blocks/natural.json b/src/main/resources/data/faithful/tags/blocks/natural.json new file mode 100644 index 0000000..e7e2c3a --- /dev/null +++ b/src/main/resources/data/faithful/tags/blocks/natural.json @@ -0,0 +1,10 @@ +{ + "replace": false, + "values": [ + "#minecraft:logs_that_burn", + "#minecraft:crimson_stems", + "#minecraft:warped_stems", + "#minecraft:dirt", + "#minecraft:leaves" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/origins/origin_layers/origin.json b/src/main/resources/data/origins/origin_layers/origin.json index ca44260..b996711 100644 --- a/src/main/resources/data/origins/origin_layers/origin.json +++ b/src/main/resources/data/origins/origin_layers/origin.json @@ -9,6 +9,7 @@ "faithful:goblin", "faithful:harpy", "faithful:merfolk", + "faithful:druid", { "condition": { "type": "origins:equipped_item",