mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
Fixed werid stuff.
This commit is contained in:
@@ -127,15 +127,9 @@
|
|||||||
name = "Repeating dart gun"
|
name = "Repeating dart gun"
|
||||||
icon_state = "rapiddartgun"
|
icon_state = "rapiddartgun"
|
||||||
item_state = "rapiddartgun"
|
item_state = "rapiddartgun"
|
||||||
max_syringes = 1
|
|
||||||
|
|
||||||
/obj/item/gun/syringe/dart/rapiddart/Initialize()
|
/obj/item/gun/syringe/dart/rapiddart/CheckParts(list/parts_list)
|
||||||
update_capacity()
|
var/obj/item/reagent_containers/glass/beaker/B = locate(/obj/item/reagent_containers/glass/beaker) in parts_list
|
||||||
.=..()
|
|
||||||
|
|
||||||
/obj/item/gun/syringe/dart/rapiddart/proc/update_capacity()
|
|
||||||
var/obj/item/reagent_containers/glass/beaker/B = locate(/obj/item/reagent_containers/glass/beaker) in src
|
|
||||||
message_admins("found[B]")
|
|
||||||
|
|
||||||
if(istype(B, /obj/item/reagent_containers/glass/beaker/large))
|
if(istype(B, /obj/item/reagent_containers/glass/beaker/large))
|
||||||
desc = "[initial(desc)] A modification of the dart gun's pressure chamber has been perfomed using a [B], extending it's holding size to [max_syringes]."
|
desc = "[initial(desc)] A modification of the dart gun's pressure chamber has been perfomed using a [B], extending it's holding size to [max_syringes]."
|
||||||
@@ -156,3 +150,4 @@
|
|||||||
else
|
else
|
||||||
max_syringes = 1
|
max_syringes = 1
|
||||||
desc = "[initial(desc)] It has a [B] strapped to it, but it doesn't seem to be doing anything."
|
desc = "[initial(desc)] It has a [B] strapped to it, but it doesn't seem to be doing anything."
|
||||||
|
..()
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -84,7 +84,7 @@
|
|||||||
<br/>
|
<br/>
|
||||||
<ui-button action='createDart' params='{"many": 0}' state='{{data.bufferContents ? null : "disabled"}}' >Create SmartDart (max 20µ)</ui-button>
|
<ui-button action='createDart' params='{"many": 0}' state='{{data.bufferContents ? null : "disabled"}}' >Create SmartDart (max 20µ)</ui-button>
|
||||||
<br/>
|
<br/>
|
||||||
<ui-button action='createDart' params='{"many": 1}' state='{{data.bufferContents ? null : "disabled"}}' >Create multiple SmartDarts </ui-button>
|
<ui-button action='createDart' params='{"many": 1}' state='{{data.bufferContents ? null : "disabled"}}' >Create Multiple SmartDarts </ui-button>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
</ui-display>
|
</ui-display>
|
||||||
|
|||||||
Reference in New Issue
Block a user