File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8181
8282 for (var /quality in output_selection)
8383 var /datum /reagent/hormone/H
84- var /effect = initial(H. name)
8584 if (ispath(quality, / datum / reagent/ hormone))
8685 H = quality
87-
88- new_output_qualities |= initial(H . name)
89- new_output_qualities[effect] = quality
86+ var / effect = initial(H . name)
87+ new_output_qualities |= effect
88+ new_output_qualities[effect] = quality
9089
9190 O. output_qualities = new_output_qualities
9291 .. ()
Original file line number Diff line number Diff line change 4141 . = .. ()
4242
4343/ datum / component/ modification/ organ/ check_item( obj / item/ I, mob / living/ user)
44- .. ()
44+ . = .. ()
45+ if (!. )// hero . saves me from actually fixing the nightmare inheritance of this code
46+ return FALSE
4547
4648 if (istype(I, / obj / item/ organ))
4749 var /obj /item/organ/O = I
4850
4951 var /organ_nature = modifications[ORGAN_NATURE ] ? modifications[ORGAN_NATURE ] : O. nature
50-
5152 if (LAZYFIND (apply_to_qualities, organ_nature))
5253 return TRUE
5354
Original file line number Diff line number Diff line change 413413 current_blood = initial(current_blood)
414414 for (var /woundtype in wounddatums)
415415 remove_wound (wounddatums[woundtype])
416+ handle_organ_eff ()// makes sure the organ is properly re-added to internal_organs_by_efficiency
416417
417418// Store these so we can properly restore them when installing/removing mods
418419/ obj / item/ organ/ internal/ proc / initialize_organ_efficiencies()
You can’t perform that action at this time.
0 commit comments