diff --git a/data/feathermc/origins/dog.json b/data/feathermc/origins/dog.json new file mode 100644 index 0000000..5f53c5c --- /dev/null +++ b/data/feathermc/origins/dog.json @@ -0,0 +1,16 @@ +{ + "name": "Doggo", + "description": "A canine creature with two states. Good boy and stimky!", + "icon": { + "id": "minecraft:bone" + }, + "powers": [ + "feathermc:dog_diet", + "feathermc:bites", + "feathermc:wet_fur", + "feathermc:bark", + "feathermc:cookie_policy" + ], + "order": 5, + "impact": 2 +} diff --git a/data/feathermc/powers/bark.json b/data/feathermc/powers/bark.json new file mode 100644 index 0000000..d73945f --- /dev/null +++ b/data/feathermc/powers/bark.json @@ -0,0 +1,77 @@ +{ + "type": "origins:multiple", + "name": "Bark", + "description": "bark bark bark bark bark bark", + "self_bark": { + "type": "origins:active_self", + "key": { + "key": "key.origins.primary_active", + "continuous": false + }, + "retain_state": false, + "entity_action": { + "type": "origins:choice", + "actions": [ + { + "element": { + "type": "origins:play_sound", + "sound": "minecraft:entity.wolf.ambient" + }, + "weight": 4 + }, + { + "element": { + "type": "origins:play_sound", + "sound": "minecraft:entity.wolf.ambient", + "pitch": 0.8 + }, + "weight": 4 + }, + { + "element": { + "type": "origins:play_sound", + "sound": "minecraft:entity.wolf.ambient", + "pitch": 1.2 + }, + "weight": 4 + }, + { + "element": { + "type": "origins:play_sound", + "sound": "minecraft:entity.wolf.pant" + }, + "weight": 4 + }, + { + "element": { + "type": "origins:play_sound", + "sound": "minecraft:entity.wolf.howl" + }, + "weight": 1 + }, + { + "element": { + "type": "origins:play_sound", + "sound": "minecraft:entity.wolf.growl" + }, + "weight": 1 + } + ] + } + }, + "damage_whine": { + "type": "origins:action_when_damage_taken", + "entity_action": { + "type": "origins:play_sound", + "sound": "minecraft:entity.wolf.whine" + }, + "cooldown": 20 + }, + "death_howl": { + "type": "origins:action_on_death", + "entity_action": { + "type": "origins:play_sound", + "sound": "minecraft:entity.wolf.death" + } + } +} diff --git a/data/feathermc/powers/bites.json b/data/feathermc/powers/bites.json new file mode 100644 index 0000000..c0df145 --- /dev/null +++ b/data/feathermc/powers/bites.json @@ -0,0 +1,18 @@ +{ + "type": "origins:attribute", + "name": "Bites", + "description": "You bite instead of punch!", + "badges": [ + { + "type": "origins:tooltip", + "sprite": "minecraft:textures/item/stone_sword.png", + "text": "Increased unarmed damage" + } + ], + "modifier": { + "id": "bites_a", + "attribute": "minecraft:generic.attack_damage", + "amount": 2, + "operation": "add_value" + } +} diff --git a/data/feathermc/powers/cookie_policy.json b/data/feathermc/powers/cookie_policy.json new file mode 100644 index 0000000..4378707 --- /dev/null +++ b/data/feathermc/powers/cookie_policy.json @@ -0,0 +1,44 @@ +{ + "type": "origins:multiple", + "name": "Cookie Policy", + "description": "You shouldn't accept cookies from others. You really shouldn't.", + "badges": [ + { + "type": "origins:tooltip", + "sprite": "minecraft:textures/item/cookie.png", + "text": "Is it worth it?" + } + ], + "cookie_bang": { + "type": "origins:action_on_being_used", + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "item": "minecraft:cookie" + } + }, + "bientity_action": { + "type": "origins:target_action", + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:explode", + "power": 20, + "destruction_type": "keep", + "damage_self": false, + "create_fire": true + }, + { + "type": "origins:apply_effect", + "effect": { + "id": "minecraft:hunger", + "duration": 50, + "amplifier": 255 + } + } + ] + } + } + } +} diff --git a/data/feathermc/powers/dog_diet.json b/data/feathermc/powers/dog_diet.json new file mode 100644 index 0000000..bdcb74f --- /dev/null +++ b/data/feathermc/powers/dog_diet.json @@ -0,0 +1,101 @@ +{ + "type": "origins:multiple", + "name": "Dog Diet", + "description": "You can eat bones. As a treat!", + "badges": [ + { + "type": "origins:tooltip", + "sprite": "minecraft:textures/item/bone.png", + "text": "Eating a bone takes a while but gives 4 hunger. Counts as meat." + }, + { + "type": "origins:tooltip", + "sprite": "minecraft:textures/item/cookie.png", + "text": "Can I eat those?" + }, + { + "type": "origins:tooltip", + "sprite": "minecraft:textures/item/bone.png", + "text": "You love getting treats by others. Who's a good boy?" + } + ], + "edible_bones": { + "type": "origins:edible_item", + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "item": "minecraft:bone" + } + }, + "food_component": { + "nutrition": 4, + "saturation": 1, + "meat": true + }, + "use_action": "eat" + }, + "feed_treat": { + "type": "origins:action_on_being_used", + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "item": "minecraft:bone" + } + }, + "held_item_action": { + "type": "origins:consume", + "amount": 1 + }, + "bientity_action": { + "type": "origins:target_action", + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "id": "minecraft:saturation", + "duration": 10, + "amplifier": 2 + } + }, + { + "type": "origins:apply_effect", + "effect": { + "id": "minecraft:speed", + "duration": 100, + "amplifier": 5 + } + } + ] + } + } + }, + "cookie_death": { + "type": "origins:action_on_item_use", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:damage", + "amount": 18, + "damage_type": "minecraft:starve" + }, + { + "type": "origins:apply_effect", + "effect": { + "id": "minecraft:hunger", + "duration": 50, + "amplifier": 255 + } + } + ] + }, + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "item": "minecraft:cookie" + } + } + } +} diff --git a/data/feathermc/powers/wet_fur.json b/data/feathermc/powers/wet_fur.json new file mode 100644 index 0000000..6d72fcd --- /dev/null +++ b/data/feathermc/powers/wet_fur.json @@ -0,0 +1,20 @@ +{ + "type": "origins:multiple", + "name": "Wet Fur", + "description": "Your fur soaks up water like a sponge which makes you slower when wet.", + "badges": [ + { + "type": "origins:tooltip", + "sprite": "minecraft:textures/item/water_bucket.png", + "text": "When you're soaked wet, you're slow!" + } + ], + "swim": { + "type": "origins:modify_swim_speed", + "modifier": { + "id": "swim_m", + "operation": "add_value", + "amount": -0.01 + } + } +} diff --git a/data/origins/origin_layers/origin.json b/data/origins/origin_layers/origin.json index 3408988..e84b368 100644 --- a/data/origins/origin_layers/origin.json +++ b/data/origins/origin_layers/origin.json @@ -5,6 +5,7 @@ "feathermc:bat", "feathermc:gato", "feathermc:fox", + "feathermc:dog", "feathermc:protogen", "feathermc:dragon" ]