mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-21 03:52:54 +01:00
Makes 50% difference able to be picked up
This commit is contained in:
@@ -310,7 +310,8 @@
|
||||
msg += attempt_vr(src,"examine_weight",args) //VOREStation Code
|
||||
msg += attempt_vr(src,"examine_nutrition",args) //VOREStation Code
|
||||
msg += attempt_vr(src,"examine_bellies",args) //VOREStation Code
|
||||
msg += attempt_vr(src,"examine_size",args) //VOREStation Code
|
||||
msg += attempt_vr(src,"examine_pickup_size",args) //VOREStation Code
|
||||
msg += attempt_vr(src,"examine_step_size",args) //VOREStation Code
|
||||
|
||||
if(mSmallsize in mutations)
|
||||
msg += "[T.He] [T.is] small halfling!\n"
|
||||
|
||||
@@ -141,8 +141,15 @@
|
||||
|
||||
return FALSE
|
||||
|
||||
/mob/living/carbon/human/proc/examine_size(mob/living/carbon/human/H)
|
||||
/mob/living/carbon/human/proc/examine_pickup_size(mob/living/carbon/human/H)
|
||||
var/message = ""
|
||||
if((H.get_effective_size() - src.get_effective_size()) >= 0.75)
|
||||
if((H.get_effective_size() - src.get_effective_size()) >= 0.50)
|
||||
message = "<font color='blue'>They are small enough that you could easily pick them up!</font>\n"
|
||||
return message
|
||||
|
||||
|
||||
/mob/living/carbon/human/proc/examine_step_size(mob/living/carbon/human/H)
|
||||
var/message = ""
|
||||
if((H.get_effective_size() - src.get_effective_size()) >= 0.75)
|
||||
message = "<font color='blue'>They are small enough that you could easily trample them!</font>\n"
|
||||
return message
|
||||
@@ -124,7 +124,7 @@ var/const/RESIZE_A_SMALLTINY = (RESIZE_SMALL + RESIZE_TINY) / 2
|
||||
if(H.buckled)
|
||||
usr << "<span class='notice'>You have to unbuckle \the [H] before you pick them up.</span>"
|
||||
return 0
|
||||
if(size_diff >= 0.75)
|
||||
if(size_diff >= 0.50)
|
||||
src.holder_type = /obj/item/weapon/holder/micro
|
||||
var/obj/item/weapon/holder/m_holder = get_scooped(H)
|
||||
src.holder_type = src.holder_default
|
||||
@@ -144,7 +144,7 @@ var/const/RESIZE_A_SMALLTINY = (RESIZE_SMALL + RESIZE_TINY) / 2
|
||||
// Both small! Go ahead and
|
||||
now_pushing = 0
|
||||
return 1
|
||||
if(abs(src.get_effective_size() - tmob.get_effective_size()) >= 0.75)
|
||||
if(abs(src.get_effective_size() - tmob.get_effective_size()) >= 0.50)
|
||||
now_pushing = 0
|
||||
if(src.get_effective_size() > tmob.get_effective_size())
|
||||
var/mob/living/carbon/human/H = src
|
||||
|
||||
Reference in New Issue
Block a user