Skip to content

Commit

Permalink
Digitigrade mutation (#65942)
Browse files Browse the repository at this point in the history
* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Adds knock down chance

Also removes carry-weight penalty.

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update character.cpp

* Update character.cpp

* Update character.cpp

* Update character.cpp

* Update character.cpp

* Update character.cpp

* Update mutations.json

* Remove knockdown

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update character.cpp

* Update data/json/mutations/mutations.json

Co-authored-by: Drew4484 <[email protected]>

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update mutations.json

Closed loop-hole in speed boost logic.

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Drew4484 <[email protected]>
  • Loading branch information
3 people authored Jul 1, 2023
1 parent 391a7f4 commit cef2327
Showing 1 changed file with 74 additions and 1 deletion.
75 changes: 74 additions & 1 deletion data/json/mutations/mutations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3947,7 +3947,7 @@
"visibility": 1,
"description": "The bottoms of your feet are strongly padded. You receive no movement penalty for not wearing shoes, and even receive a 10% bonus when moving barefoot.",
"types": [ "SOLES" ],
"category": [ "BATRACHIAN", "RABBIT", "URSINE", "FELINE", "LUPINE", "SPIDER" ],
"category": [ "BATRACHIAN", "RABBIT", "URSINE", "FELINE", "LUPINE", "SPIDER", "BEAST" ],
"flags": [ "TOUGH_FEET" ]
},
{
Expand All @@ -3963,6 +3963,79 @@
"movecost_modifier": 0.88,
"category": [ "BATRACHIAN", "RABBIT", "FELINE", "LUPINE", "SPIDER" ]
},
{
"type": "mutation",
"id": "ANIMAL_FEET",
"name": { "str": "Digitigrade Legs" },
"points": -1,
"visibility": 2,
"ugliness": 2,
"description": "The heels of your feet have shifted up off the ground in a rather animalistic fashion, reducing your carry weight limit and preventing you from wearing shoes. These hind feet are a bad match for human arms, but could pair well with matching forepaws.",
"types": [ "FEET" ],
"prereqs": [ "PADDED_FEET" ],
"category": [ "LUPINE", "FELINE", "BEAST", "RABBIT" ],
"changes_to": [ "RABBIT_FEET" ],
"wet_protection": [ { "part": "foot_l", "neutral": 10 }, { "part": "foot_r", "neutral": 10 } ],
"restricts_gear": [ "foot_l", "foot_r" ],
"destroys_gear": true,
"weight_capacity_modifier": 0.8,
"triggers": [
[
{
"condition": {
"and": [
{ "u_has_move_mode": "run" },
{ "not": "u_can_drop_weapon" },
{ "u_has_any_trait": [ "THRESH_BEAST", "THRESH_FELINE", "THRESH_LUPINE" ] },
{ "u_has_trait": "PAWS" }
]
},
"msg_on": { "text": "You drop down on all fours." },
"msg_off": { "text": "You rise up to walk on your hind feet." }
}
]
],
"enchantments": [
{
"condition": {
"and": [
{ "u_has_move_mode": "crouch" },
{ "not": "u_can_drop_weapon" },
{ "u_has_any_trait": [ "THRESH_LUPINE", "THRESH_FELINE", "THRESH_BEAST" ] }
]
},
"values": [ { "value": "MOVE_COST", "multiply": -0.15 }, { "value": "CARRY_WEIGHT", "multiply": 0.35 } ]
},
{
"condition": {
"and": [
{ "u_has_move_mode": "run" },
{ "not": "u_can_drop_weapon" },
{ "u_has_any_trait": [ "THRESH_LUPINE", "THRESH_FELINE", "THRESH_BEAST" ] },
{ "u_has_trait": "PAWS" }
]
},
"values": [ { "value": "MOVE_COST", "multiply": -0.15 }, { "value": "CARRY_WEIGHT", "multiply": 0.35 } ]
},
{
"condition": {
"or": [
"u_can_drop_weapon",
{ "u_has_move_mode": "walk" },
{
"and": [
{ "not": "u_can_drop_weapon" },
{ "not": { "u_has_trait": "THRESH_LUPINE" } },
{ "not": { "u_has_trait": "THRESH_FELINE" } },
{ "not": { "u_has_trait": "THRESH_BEAST" } }
]
}
]
},
"values": [ { "value": "MOVE_COST", "multiply": -0.1 } ]
}
]
},
{
"type": "mutation",
"id": "FELINE_LEAP",
Expand Down

0 comments on commit cef2327

Please sign in to comment.