Skip to content
Snippets Groups Projects
Commit cbdb5739 authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'another-brand-fix' into 'pregmod-master'

belly brand fix

See merge request pregmodfan/fc-pregmod!4695
parents ab427131 f19ed713
No related branches found
No related tags found
No related merge requests found
......@@ -598,8 +598,8 @@ App.Desc.brand = function(slave, surface) {
if (slave.brand) {
bellyAccessory = slave.bellyAccessory;
if (setup.fakeBellies.includes(bellyAccessory) && slave.brand["belly"] !== 0) {
r += `${His} fake belly has ${slave.brand["belly"]} branded on it. `;
if (setup.fakeBellies.includes(bellyAccessory) && slave.brand.belly) {
r += `${His} fake belly has ${slave.brand.belly} branded on it. `;
} else {
for (let [key, value] of Object.entries(slave.brand)) {
if (r === ``) {
......
......@@ -197,7 +197,6 @@ $He has
<<if $activeSlave.hears != -2 && $activeSlave.earImplant != 1>>
<<set $activeSlave.hears = -1>>
<</if>>
<<set $activeSlave.brand["left ear"] = 0, $activeSlave.brand["right ear"] = 0>>
<<else>>
<<if $activeSlave.earShape != "pointy">>
| [[Reshape into small elfin ears|Surgery Degradation][$activeSlave.earShape = "pointy", cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave), $activeSlave.health -= 10, $surgeryType = "earMinor"]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment