This repository was archived by the owner on May 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
modules/reagents/chemistry/machinery Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 190190 return TRUE
191191 if (allocated_points + params[" amount" ] < user. get_skill(params[" skill" ]))
192192 return TRUE
193- if (allocated_skills[params[" skill" ]] + params[" amount" ] > (4 + HAS_TRAIT (user, TRAIT_EXCEPTIONAL_SKILL )))
193+ if (allocated_skills[params[" skill" ]] + params[" amount" ] + user . get_skill(params[ " skill " ]) > (4 + HAS_TRAIT (user, TRAIT_EXCEPTIONAL_SKILL )))
194194 return TRUE
195- if (allocated_skills[params[" skill" ]] + params[" amount" ] < user . get_skill(params[ " skill " ]) )
195+ if (allocated_skills[params[" skill" ]] + params[" amount" ] < 0 )
196196 return TRUE
197197 allocated_skills[params[" skill" ]] += params[" amount" ]
198198 allocated_points += params[" amount" ]
Original file line number Diff line number Diff line change 265265 if (! is_operational() || QDELETED (cell))
266266 return
267267 var /reagent = GLOB . name2reagent[params[" reagent" ]]
268- if (beaker && dispensable_reagents . Find( reagent))
268+ if (beaker && can_display_reagent( usr , reagent))
269269 var /datum /reagents/R = beaker. reagents
270270 var /free = R. maximum_volume - R. total_volume
271271 var /actual = min(amount, (cell. charge * powerefficiency)* 10 , free)
You can’t perform that action at this time.
0 commit comments