[MIRROR] Brings the monkey back down (body horror edition/addition.) [MDB IGNORE] (#19572)

* Brings the monkey back down (body horror edition/addition.) (#73325)

## About The Pull Request
Let me paint you a story.
A long time ago monkeys once rested their feet on the floor, this was a
time of bliss and peace. But sometime around the horrors of making
monkeys subtypes of humans did an atrocity occur.

![image](https://user-images.githubusercontent.com/55666666/217657059-5c960ab4-c3de-493c-ac12-28de99b43d7f.png)
**The monkeys were moved up.**
I thought this was bad, and alot of people on the forum tended to agree
with me

![image](https://user-images.githubusercontent.com/55666666/217657707-120354c7-b1a5-4d93-8813-8e10e142bd92.png)
This was do to some purpose of adjusting them so it could be easier to
fit item sprites onto them instead of preforming the hours of work
refractoring to make the heights of the items dynamic and adjustable. A
simple pixel shift may have sufficed, but you see, such a change would
NEVER allow the frankensteining of monkey and human features together.
This is that refractor.

In essence, the following is now true.
A top_offset can now be generated for a human based on a varible on
their chest and legs. By default, and as is true with human legs and
chests, this variable is ZERO by default. Monkey legs and chest have
NEGATIVE values proportionate and onto how much smaller their sprite is
compared to humans. Other bodyparts, as well as any other accociated
overlays, or clothing will automatically be offset to this axis. THIS
MEANS THAT MONKEYS ARE ON THE FLOOR. But is means something else too.
Something more freakish,

![image](https://user-images.githubusercontent.com/55666666/217659439-bc0b1a35-76c8-4490-b869-770180605822.png)
**What abominable monsters**, unreachable by players as long as we can't
stitch monkeys and humans together (oh but just wait until the feature
freeze ends)
Oh but you might be thinking, if legs can make a mob go down.
can it make a mob

**go**
**up??**

**OH NO**

![image](https://user-images.githubusercontent.com/55666666/217707042-0d53022f-d93a-4262-a5ce-ef15a99eb897.png)

![image](https://user-images.githubusercontent.com/55666666/217707060-779f5901-ab90-4a64-9ca7-0b147e24f099.png)

![image](https://user-images.githubusercontent.com/55666666/217707821-23d7457c-5881-40ae-8d9d-c9fbd645aba6.png)

These lads are stepping, and have been implemented solely for proof of
concept as a way to flex the system I have created and remain
inaccessible without admin intervention.

But really, when all is said and done, all this PR does in terms of
player facing changes is move the monkey back down.

![image](https://user-images.githubusercontent.com/55666666/217708365-b6922a6d-08d0-4267-8713-4f8dac29038e.png)
Oh and fixed monkey husked which have been broken for who knows how
long.

![image](https://user-images.githubusercontent.com/55666666/217708464-5a9b6f89-4223-4ae5-a21e-3a274a9f8db8.png)
## Why It's Good For The Game
The monkey is restored to its original position. Tools now exist to have
legs and torsos of varying heights. Monkey Husking is fixed.
## Changelog
🆑 itseasytosee
fix: Monkeys ues the proper husk sprites.
imageadd: The monkey has been moved back down to its lower, more
submissive position.
refactor: Your bodyparts are now dynamically rendered at a height
relevant to the length of your legs and torso, what does this mean for
you? Not much to be honest, but you might see a monkey pop up a bit if
you cut its legs off.
admin: The Tallboy is here
/🆑

---------

Co-authored-by: Fikou <23585223+Fikou@ users.noreply.github.com>
Co-authored-by: san7890 <the@ san7890.com>

* Brings the monkey back down (body horror edition/addition.)

* Update species.dm

* Delete infuser_entries.dm

---------

Co-authored-by: itseasytosee <55666666+itseasytosee@users.noreply.github.com>
Co-authored-by: Fikou <23585223+Fikou@ users.noreply.github.com>
Co-authored-by: san7890 <the@ san7890.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-03-10 06:08:55 +00:00
committed by GitHub
co-authored by Fikou san7890 itseasytosee Gandalf
parent ca0e0983c7
commit d240a2a0af
23 changed files with 152 additions and 189 deletions
@@ -184,6 +184,8 @@
var/unarmed_damage_high = 1
///Damage at which attacks from this bodypart will stun
var/unarmed_stun_threshold = 2
/// How many pixels this bodypart will offset the top half of the mob, used for abnormally sized torsos and legs
var/top_offset = 0
/// Traits that are given to the holder of the part. If you want an effect that changes this, don't add directly to this. Use the add_bodypart_trait() proc
var/list/bodypart_traits = list()
+3
View File
@@ -319,6 +319,9 @@
/obj/item/bodypart/head/monkey
icon = 'icons/mob/species/monkey/bodyparts.dmi'
icon_static = 'icons/mob/species/monkey/bodyparts.dmi'
icon_husk = 'icons/mob/species/monkey/bodyparts.dmi'
husk_type = "monkey"
icon_state = "default_monkey_head"
limb_id = SPECIES_MONKEY
bodytype = BODYTYPE_MONKEY | BODYTYPE_ORGANIC
+26 -1
View File
@@ -36,13 +36,16 @@
/obj/item/bodypart/chest/monkey
icon = 'icons/mob/species/monkey/bodyparts.dmi'
icon_static = 'icons/mob/species/monkey/bodyparts.dmi'
icon_husk = 'icons/mob/species/monkey/bodyparts.dmi'
husk_type = "monkey"
top_offset = -5
icon_state = "default_monkey_chest"
limb_id = SPECIES_MONKEY
should_draw_greyscale = FALSE
is_dimorphic = FALSE
wound_resistance = -10
bodytype = BODYTYPE_MONKEY | BODYTYPE_ORGANIC
acceptable_bodytype = BODYTYPE_MONKEY
acceptable_bodytype = BODYTYPE_HUMANOID
dmg_overlay_type = SPECIES_MONKEY
/obj/item/bodypart/chest/alien
@@ -162,6 +165,8 @@
/obj/item/bodypart/arm/left/monkey
icon = 'icons/mob/species/monkey/bodyparts.dmi'
icon_static = 'icons/mob/species/monkey/bodyparts.dmi'
icon_husk = 'icons/mob/species/monkey/bodyparts.dmi'
husk_type = "monkey"
icon_state = "default_monkey_l_arm"
limb_id = SPECIES_MONKEY
should_draw_greyscale = FALSE
@@ -263,6 +268,8 @@
/obj/item/bodypart/arm/right/monkey
icon = 'icons/mob/species/monkey/bodyparts.dmi'
icon_static = 'icons/mob/species/monkey/bodyparts.dmi'
icon_husk = 'icons/mob/species/monkey/bodyparts.dmi'
husk_type = "monkey"
icon_state = "default_monkey_r_arm"
limb_id = SPECIES_MONKEY
bodytype = BODYTYPE_MONKEY | BODYTYPE_ORGANIC
@@ -370,6 +377,9 @@
/obj/item/bodypart/leg/left/monkey
icon = 'icons/mob/species/monkey/bodyparts.dmi'
icon_static = 'icons/mob/species/monkey/bodyparts.dmi'
icon_husk = 'icons/mob/species/monkey/bodyparts.dmi'
husk_type = "monkey"
top_offset = -3
icon_state = "default_monkey_l_leg"
limb_id = SPECIES_MONKEY
should_draw_greyscale = FALSE
@@ -461,6 +471,9 @@
/obj/item/bodypart/leg/right/monkey
icon = 'icons/mob/species/monkey/bodyparts.dmi'
icon_static = 'icons/mob/species/monkey/bodyparts.dmi'
icon_husk = 'icons/mob/species/monkey/bodyparts.dmi'
husk_type = "monkey"
top_offset = -3
icon_state = "default_monkey_r_leg"
limb_id = SPECIES_MONKEY
should_draw_greyscale = FALSE
@@ -484,3 +497,15 @@
can_be_disabled = FALSE
max_damage = 100
should_draw_greyscale = FALSE
/obj/item/bodypart/leg/right/tallboy
limb_id = SPECIES_TALLBOY
top_offset = 23
unarmed_damage_low = 30
unarmed_damage_low = 50
/obj/item/bodypart/leg/left/tallboy
limb_id = SPECIES_TALLBOY
top_offset = 23
unarmed_damage_low = 30
unarmed_damage_low = 50