Added dwarf

This commit is contained in:
lisbiskup 2024-08-03 19:32:23 +02:00
parent 637427e103
commit 4a526cbb77
8 changed files with 187 additions and 2 deletions

View File

@ -1,11 +1,18 @@
{
"powers": [
"fantasy_origins:rocket_jump",
"fantasy_origins:engineer",
"fantasy_origins:thick_skin",
"fantasy_origins:efficient_miner",
"fantasy_origins:heavy_boots",
"fantasy_origins:glutton",
"fantasy_origins:photophobic"
],
"icon": {
"item": "minecraft:iron_pickaxe"
},
"order": 0,
"impact": 2,
"impact": 1,
"name": "Dwarf",
"description": "DESCRIPTION"
"description": "Dwarves are industrious underground dwellers who specialize in mining and explosives."
}

View File

@ -0,0 +1,9 @@
{
"type": "origins:modify_break_speed",
"name": "Mine Dweller",
"description": "Your strong arms and powerful tools allow you to dig more efficiently.",
"modifier": {
"operation": "multiply_base_multiplicative",
"value": 0.75
}
}

View File

@ -0,0 +1,16 @@
{
"type": "origins:active_self",
"name": "Engineer",
"description": "You always keep a crafting table on hand.",
"entity_action": {
"type": "origins:crafting_table"
},
"cooldown": 1,
"hud_render": {
"should_render": false
},
"key": {
"key": "key.origins.secondary_active",
"continuous": false
}
}

View File

@ -0,0 +1,10 @@
{
"type": "origins:modify_exhaustion",
"name": "Glutton",
"description": "You require lots of food.",
"modifier": {
"name": "Increased exhaustion",
"operation": "multiply_base_multiplicative",
"value": 0.75
}
}

View File

@ -0,0 +1,55 @@
{
"type": "origins:multiple",
"name": "Heavy Boots",
"description": "Your heavy boots strike the earth like a thunder.",
"fall_resistance": {
"type": "origins:modify_damage_taken",
"damage_condition": {
"type": "origins:in_tag",
"tag": "minecraft:is_fall"
},
"modifier": {
"name": "Resistant to fall damage",
"operation": "multiply_base_multiplicative",
"value": -0.75
}
},
"shockwave": {
"type": "origins:action_on_land",
"entity_action": {
"type": "origins:and",
"actions": [
{
"type": "origins:explode",
"power": 3,
"destruction_type": "break",
"damage_self": false,
"create_fire": false
},
{
"type": "origins:spawn_particles",
"particle": {
"type": "minecraft:explosion",
"params": ""
},
"count": 64,
"speed": 0.0,
"spread": {
"x": 4.0,
"y": 4.0,
"z": 4.0
}
},
{
"type": "origins:play_sound",
"sound": "minecraft:entity.generic.explode"
}
]
},
"condition": {
"type": "origins:fall_distance",
"comparison": ">",
"compare_to": 16
}
}
}

View File

@ -0,0 +1,29 @@
{
"type": "origins:action_over_time",
"name": "Photophobic",
"description": "Exposure to sunlight weakens your body.",
"entity_action": {
"type": "origins:apply_effect",
"effects": [
{
"effect": "minecraft:weakness",
"duration": 200,
"amplifier": 0,
"is_ambient": true,
"show_particles": false
},
{
"effect": "minecraft:slowness",
"duration": 200,
"amplifier": 0,
"is_ambient": true,
"show_particles": false
}
]
},
"interval": 20,
"condition": {
"type": "origins:exposed_to_sun"
}
}

View File

@ -0,0 +1,45 @@
{
"type": "origins:active_self",
"name": "Rocket Jump",
"description": "The most compound dwarven explosives allow you to launch yourself into the air.",
"cooldown": 200,
"hud_render": {
"should_render": true,
"bar_index": 0,
"icon_index": 0
},
"key": {
"key": "key.origins.primary_active",
"continuous": false
},
"entity_action": {
"type": "origins:and",
"actions": [
{
"type": "origins:spawn_particles",
"particle": {
"type": "minecraft:campfire_cosy_smoke",
"params": ""
},
"count": 64,
"speed": 0.0,
"spread": {
"x": 2.0,
"y": 2.0,
"z": 2.0
}
},
{
"type": "origins:play_sound",
"sound": "minecraft:entity.generic.explode"
},
{
"type": "origins:add_velocity",
"space": "world",
"y": 2,
"set": true,
"client": false
}
]
}
}

View File

@ -0,0 +1,14 @@
{
"type": "origins:modify_damage_taken",
"name": "Thick Skin",
"description": "Your tough skin makes you invulnerable to explosions.",
"damage_condition": {
"type": "origins:in_tag",
"tag": "minecraft:is_explosion"
},
"modifier": {
"name": "Invulnerable to explosions",
"operation": "multiply_base_multiplicative",
"value": -1.0
}
}