mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 01:49:19 +00:00
Fixes exploit and a tgui issue with Hypo vials
This commit is contained in:
@@ -53,6 +53,9 @@
|
||||
if (!mat_container)
|
||||
return
|
||||
|
||||
if(istype(O, /obj/item/stack/ore/bluespace_crystal/refined))
|
||||
return
|
||||
|
||||
ore_buffer -= O
|
||||
|
||||
if(O && O.refined_type)
|
||||
@@ -179,6 +182,11 @@
|
||||
if(user.transferItemToLoc(W, src))
|
||||
inserted_disk = W
|
||||
return TRUE
|
||||
|
||||
if(istype(W, /obj/item/stack/ore/bluespace_crystal/refined))
|
||||
to_chat(user, "<span class='notice'>[W] has already been refined!</span>")
|
||||
return
|
||||
|
||||
return ..()
|
||||
|
||||
/obj/machinery/mineral/ore_redemption/multitool_act(mob/living/user, obj/item/multitool/I)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -74,9 +74,9 @@
|
||||
<ui-button action='createBottle' params='{"many": 1}' state='{{data.bufferContents ? null : "disabled"}}' >Dispense Buffer to Bottles</ui-button>
|
||||
<br/>
|
||||
<br/>
|
||||
<ui-button action='createvial' params='{"many": 0}' state='{{data.bufferContents ? null : "disabled"}}' >Create Hypo Vial (max 30µ)</ui-button>
|
||||
<ui-button action='createVial' params='{"many": 0}' state='{{data.bufferContents ? null : "disabled"}}' >Create Hypo Vial (max 30µ)</ui-button>
|
||||
<br/>
|
||||
<ui-button action='createvial' params='{"many": 1}' state='{{data.bufferContents ? null : "disabled"}}' >Dispense Buffer to Hypo vials </ui-button>
|
||||
<ui-button action='createVial' params='{"many": 1}' state='{{data.bufferContents ? null : "disabled"}}' >Dispense Buffer to Hypo vials </ui-button>
|
||||
<br/>
|
||||
|
||||
</ui-display>
|
||||
|
||||
Reference in New Issue
Block a user