Skip to content

Commit 55d3ff7

Browse files
change micro mech size requirement to <= 50% instead of <50% (#7114)
## About The Pull Request i play a character that has scale 50% and is thereby the size of one tile they can't fit in the micro mech and being below 50% can just obliterate you appearance-wise ## Why It's Good For The Game let the small creatures drive the small robots ## Changelog :cl: tweak: change micro mech size requirement to <= 50% instead of <50% /:cl:
1 parent 3ed42a9 commit 55d3ff7

File tree

1 file changed

+3
-2
lines changed
  • code/modules/vehicles/sealed/mecha/subtypes

1 file changed

+3
-2
lines changed

code/modules/vehicles/sealed/mecha/subtypes/micro.dm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
var/max_micro_weapon_equip = 0
44
var/list/micro_utility_equipment = new
55
var/list/micro_weapon_equipment = new
6+
var/size_requirement = 0.5
67

78

89

@@ -125,15 +126,15 @@
125126

126127
/obj/vehicle/sealed/mecha/micro/mob_can_enter(mob/entering, datum/event_args/actor/actor, silent, suppressed)
127128
var/mob/living/carbon/C = entering
128-
if (C.size_multiplier >= 0.5)
129+
if (C.size_multiplier > size_requirement)
129130
to_chat(C, "<span class='warning'>You can't fit in this suit!</span>")
130131
return FALSE
131132
else
132133
return ..()
133134

134135
/obj/vehicle/sealed/mecha/micro/move_inside_passenger()
135136
var/mob/living/carbon/C = usr
136-
if (C.size_multiplier >= 0.5)
137+
if (C.size_multiplier > size_requirement)
137138
to_chat(C, "<span class='warning'>You can't fit in this suit!</span>")
138139
return
139140
else

0 commit comments

Comments
 (0)