Added "integrated_armor", "regenerative_light"

Added power "integrated_armor"
    Gives 4 armor by default and removes it eventually when a chestplate is worn
    Also makes wearing armor invisible BUT Customizable Player Models is breaking that.

Added power "regenerative_light"
    Slowly regenerates health (1 health every 6 sec) when standing in light level 15
main
Pandro 4 days ago
parent e8450646b6
commit beff141fbb
Signed by: pandro
SSH Key Fingerprint: SHA256:iBUZSuDxqYr4hYpe9U3BA9NJmXKpbGt4H0S8hUwIbrA

@ -2,7 +2,10 @@
"name": "Protogen", "name": "Protogen",
"description": "An artificial creature designed to adapt to its surroundings.", "description": "An artificial creature designed to adapt to its surroundings.",
"powers": [ "powers": [
"feathermc:pumpkin_hate" "feathermc:pumpkin_hate",
"feathermc:regenerative_light",
"feathermc:bulwark",
"feathermc:integrated_armor"
], ],
"order": 9, "order": 9,
"impact": 2 "impact": 2

@ -0,0 +1,41 @@
{
"type": "origins:multiple",
"name": "Integrated Armor",
"description": "Your armor is part of you. You are lightly armored by default and others can not see your armor.",
"badges": [
{
"type": "origins:tooltip",
"sprite": "minecraft:textures/item/iron_chestplate.png",
"text": "You get a bit of chest armor by default."
},
{
"type": "origins:tooltip",
"sprite": "minecraft:textures/item/ender_eye.png",
"text": "Armor you wear is invisible."
}
],
"invisible_armor": {
"type": "origins:prevent_feature_render",
"feature": "armor"
},
"default_armor": {
"type": "origins:conditioned_attribute",
"modifier": {
"id": "default_armor_mod",
"attribute": "minecraft:generic.armor",
"operation": "add_value",
"amount": 4
},
"tick_rate": 100,
"condition": {
"type": "origins:equipped_item",
"inverted": true,
"equipment_slot": "chest",
"item_condition": {
"type": "origins:armor_value",
"comparison": ">",
"compare_to": 0
}
}
}
}

@ -0,0 +1,25 @@
{
"type": "origins:multiple",
"name": "Regnerative Light",
"description": "Being exposed to bright light sources slowly heals you.",
"badges": [
{
"type": "origins:tooltip",
"sprite": "minecraft:textures/block/glowstone.png",
"text": "Being in bright light slowly regenerates health."
}
],
"regeneration": {
"type": "origins:action_over_time",
"entity_action": {
"type": "origins:heal",
"amount": 1
},
"interval": 120,
"condition": {
"type": "origins:brightness",
"comparison": ">=",
"compare_to": 1.0
}
}
}
Loading…
Cancel
Save