fixes stepping under interactions and allows more size pref sizes

unga dunga
This commit is contained in:
Dahlular
2020-07-10 23:50:10 -06:00
parent ac17603201
commit 43ed6b41f9
2 changed files with 14 additions and 13 deletions
+3 -2
View File
@@ -69,9 +69,10 @@
#define BREASTS_SIZE_HUGE 16
#define BREASTS_SIZE_MASSIVE 17
#define BREASTS_SIZE_GIGA 25
//Bodysize Limits
#define MIN_BODYSIZE 80
#define MAX_BODYSIZE 120
#define MIN_BODYSIZE 50
#define MAX_BODYSIZE 150
#define BREASTS_SIZE_MIN BREASTS_SIZE_A
#define BREASTS_SIZE_DEF BREASTS_SIZE_D
+11 -11
View File
@@ -63,12 +63,12 @@ mob/living/get_effective_size()
to_chat(tmob,"<span class='notice'>[H] steps over you carefully!</span>")
return 1
//Smaller person stepping under a larger person
if(tmob.get_effective_size() > get_effective_size())
H.forceMove(tmob.loc)
now_pushing = 0
micro_step_under(tmob)
return 1
//Smaller person stepping under a larger person
if(abs(tmob.get_effective_size()/get_effective_size()) <= 2)
H.forceMove(tmob.loc)
now_pushing = 0
micro_step_under(tmob)
return 1
//Stepping on disarm intent -- TO DO, OPTIMIZE ALL OF THIS SHIT
/mob/living/proc/handle_micro_bump_other(var/mob/living/tmob)
@@ -136,11 +136,11 @@ mob/living/get_effective_size()
tmob.mob_pickup_micro_feet(H)
return 1
if(tmob.get_effective_size() > get_effective_size())
H.forceMove(tmob.loc)
now_pushing = 0
micro_step_under(tmob)
return 1
if(abs(tmob.get_effective_size()/get_effective_size()) <= 2)
H.forceMove(tmob.loc)
now_pushing = 0
micro_step_under(tmob)
return 1
//smaller person stepping under another person... TO DO, fix and allow special interactions with naga legs to be seen
/mob/living/proc/micro_step_under(var/mob/living/tmob)