diff --git a/common/media/clothing/clothingItems/Bandage_LeftLowerArm.xml b/common/media/clothing/clothingItems/Bandage_LeftLowerArm.xml new file mode 100644 index 0000000..387c27a --- /dev/null +++ b/common/media/clothing/clothingItems/Bandage_LeftLowerArm.xml @@ -0,0 +1,15 @@ + + + + + c99332ec-18fa-4d37-9049-9e6f6f7468e5 + false + false + false + + bodydmg\malebody01_bandages_lower_left_arm + Amputations\Bandages\MaleBody01_bandages_lower_left_arm + Amputations\Bandages\test + + + \ No newline at end of file diff --git a/common/media/textures/Amputations/Bandages/MaleBody01_bandages_lower_left_arm.png b/common/media/textures/Amputations/Bandages/MaleBody01_bandages_lower_left_arm.png new file mode 100644 index 0000000..669d275 Binary files /dev/null and b/common/media/textures/Amputations/Bandages/MaleBody01_bandages_lower_left_arm.png differ diff --git a/common/media/textures/Amputations/Bandages/test.png b/common/media/textures/Amputations/Bandages/test.png new file mode 100644 index 0000000..5b9f886 Binary files /dev/null and b/common/media/textures/Amputations/Bandages/test.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/Forearm/skin01_b.png b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin01_b.png new file mode 100644 index 0000000..60fc4af Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin01_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/Forearm/skin01_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin01_hairy_b.png new file mode 100644 index 0000000..e3ba3ac Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin01_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/Forearm/skin02_b.png b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin02_b.png new file mode 100644 index 0000000..84a4509 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin02_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/Forearm/skin02_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin02_hairy_b.png new file mode 100644 index 0000000..9a06a42 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin02_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/Forearm/skin03_b.png b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin03_b.png new file mode 100644 index 0000000..3a667a9 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin03_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/Forearm/skin03_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin03_hairy_b.png new file mode 100644 index 0000000..1994208 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin03_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/Forearm/skin04_b.png b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin04_b.png new file mode 100644 index 0000000..fabcc65 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin04_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/Forearm/skin04_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin04_hairy_b.png new file mode 100644 index 0000000..df15e88 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin04_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/Forearm/skin05_b.png b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin05_b.png new file mode 100644 index 0000000..1e9c92e Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin05_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/Forearm/skin05_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin05_hairy_b.png new file mode 100644 index 0000000..d472c8c Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/Forearm/skin05_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin01_b.png b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin01_b.png new file mode 100644 index 0000000..f966158 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin01_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin01_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin01_hairy_b.png new file mode 100644 index 0000000..b404d34 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin01_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin02_b.png b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin02_b.png new file mode 100644 index 0000000..384d9b4 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin02_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin02_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin02_hairy_b.png new file mode 100644 index 0000000..d1ba978 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin02_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin03_b.png b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin03_b.png new file mode 100644 index 0000000..b1b2b33 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin03_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin03_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin03_hairy_b.png new file mode 100644 index 0000000..20589d5 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin03_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin04_b.png b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin04_b.png new file mode 100644 index 0000000..c11be72 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin04_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin04_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin04_hairy_b.png new file mode 100644 index 0000000..a8938bb Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin04_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin05_b.png b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin05_b.png new file mode 100644 index 0000000..ccad2b4 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin05_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin05_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin05_hairy_b.png new file mode 100644 index 0000000..525c0f7 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged/UpperArm/skin05_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin01_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin01_b.png new file mode 100644 index 0000000..afc46a8 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin01_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin01_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin01_hairy_b.png new file mode 100644 index 0000000..028d6d8 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin01_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin02_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin02_b.png new file mode 100644 index 0000000..d929581 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin02_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin02_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin02_hairy_b.png new file mode 100644 index 0000000..919631f Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin02_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin03_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin03_b.png new file mode 100644 index 0000000..49d8edf Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin03_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin03_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin03_hairy_b.png new file mode 100644 index 0000000..5015812 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin03_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin04_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin04_b.png new file mode 100644 index 0000000..e714a49 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin04_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin04_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin04_hairy_b.png new file mode 100644 index 0000000..f6f0f29 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin04_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin05_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin05_b.png new file mode 100644 index 0000000..4fb6433 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin05_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin05_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin05_hairy_b.png new file mode 100644 index 0000000..17d340d Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/Forearm/skin05_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin01_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin01_b.png new file mode 100644 index 0000000..9e63388 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin01_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin01_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin01_hairy_b.png new file mode 100644 index 0000000..c8f023a Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin01_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin02_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin02_b.png new file mode 100644 index 0000000..08b893c Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin02_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin02_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin02_hairy_b.png new file mode 100644 index 0000000..4e5734e Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin02_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin03_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin03_b.png new file mode 100644 index 0000000..8c00b52 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin03_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin03_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin03_hairy_b.png new file mode 100644 index 0000000..fdba881 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin03_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin04_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin04_b.png new file mode 100644 index 0000000..b22eadd Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin04_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin04_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin04_hairy_b.png new file mode 100644 index 0000000..063b728 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin04_hairy_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin05_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin05_b.png new file mode 100644 index 0000000..b74d4b6 Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin05_b.png differ diff --git a/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin05_hairy_b.png b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin05_hairy_b.png new file mode 100644 index 0000000..038999a Binary files /dev/null and b/common/media/textures/Amputations/Human/Bandaged_Bloody/UpperArm/skin05_hairy_b.png differ diff --git a/dev_stuff/gen_amp_textures/input/MaleBody01_bandages_lower_left_arm.png b/dev_stuff/gen_amp_textures/input/MaleBody01_bandages_lower_left_arm.png new file mode 100644 index 0000000..669d275 Binary files /dev/null and b/dev_stuff/gen_amp_textures/input/MaleBody01_bandages_lower_left_arm.png differ diff --git a/dev_stuff/gen_amp_textures/input/bandage.png b/dev_stuff/gen_amp_textures/input/bandage.png new file mode 100644 index 0000000..e532de4 Binary files /dev/null and b/dev_stuff/gen_amp_textures/input/bandage.png differ diff --git a/dev_stuff/gen_amp_textures/input/bandages/MaleBody01_bandages_lower_arm.png b/dev_stuff/gen_amp_textures/input/bandages/MaleBody01_bandages_lower_arm.png new file mode 100644 index 0000000..f543f63 Binary files /dev/null and b/dev_stuff/gen_amp_textures/input/bandages/MaleBody01_bandages_lower_arm.png differ diff --git a/dev_stuff/gen_amp_textures/input/bandages/MaleBody01_bandages_lower_arm_blood.png b/dev_stuff/gen_amp_textures/input/bandages/MaleBody01_bandages_lower_arm_blood.png new file mode 100644 index 0000000..a50c778 Binary files /dev/null and b/dev_stuff/gen_amp_textures/input/bandages/MaleBody01_bandages_lower_arm_blood.png differ diff --git a/dev_stuff/gen_amp_textures/input/bandages/MaleBody01_bandages_upper_arm.png b/dev_stuff/gen_amp_textures/input/bandages/MaleBody01_bandages_upper_arm.png new file mode 100644 index 0000000..14300eb Binary files /dev/null and b/dev_stuff/gen_amp_textures/input/bandages/MaleBody01_bandages_upper_arm.png differ diff --git a/dev_stuff/gen_amp_textures/input/bandages/MaleBody01_bandages_upper_arm_blood.png b/dev_stuff/gen_amp_textures/input/bandages/MaleBody01_bandages_upper_arm_blood.png new file mode 100644 index 0000000..0526565 Binary files /dev/null and b/dev_stuff/gen_amp_textures/input/bandages/MaleBody01_bandages_upper_arm_blood.png differ diff --git a/dev_stuff/gen_amp_textures/main_bnd.py b/dev_stuff/gen_amp_textures/main_bnd.py new file mode 100644 index 0000000..f7de3c0 --- /dev/null +++ b/dev_stuff/gen_amp_textures/main_bnd.py @@ -0,0 +1,35 @@ +from pathlib import Path +from PIL import Image +import os + +input_bodies_path = Path('input/body') +input_bandages_path = Path('input/bandages') + +for body_filepath in input_bodies_path.glob('*.png'): # Only PNG files + for bandage_filepath in input_bandages_path.glob('*.png'): # Only PNG files + print(f'Processing {body_filepath.name} with {bandage_filepath.name}...') + base = Image.open(body_filepath) + overlay = Image.open(bandage_filepath) + + body_name = body_filepath.stem.replace('MaleBody', 'skin') + if body_name.endswith('a'): + body_name = body_name[:-1] + '_hairy_b' + else: + body_name = body_name + '_b' + + result = base.copy() + result.paste(overlay, (0, 0), mask=overlay) # Use overlay as its own mask + + if bandage_filepath.stem == 'MaleBody01_bandages_lower_arm': + output_path = 'output/Bandaged/Forearm/' + elif bandage_filepath.stem == 'MaleBody01_bandages_upper_arm': + output_path = 'output/Bandaged/UpperArm/' + elif bandage_filepath.stem == 'MaleBody01_bandages_lower_arm_blood': + output_path = 'output/Bandaged_Bloody/Forearm/' + elif bandage_filepath.stem == 'MaleBody01_bandages_upper_arm_blood': + output_path = 'output/Bandaged_Bloody/UpperArm/' + + + os.makedirs(output_path, exist_ok=True) + result.save(f'{output_path}/{body_name}.png') +