mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Merge pull request #4762 from Kurfursten/oldfixes
Bug Fixes for May 9th
This commit is contained in:
@@ -308,7 +308,7 @@ var/global/list/obj/machinery/light/alllights = list()
|
||||
else
|
||||
src.add_fingerprint(user)
|
||||
var/obj/item/weapon/light/L = W
|
||||
if(istype(L, light_type))
|
||||
if(L.fitting == fitting)
|
||||
status = L.status
|
||||
user << "You insert the [L.name]."
|
||||
switchcount = L.switchcount
|
||||
@@ -589,6 +589,7 @@ var/global/list/obj/machinery/light/alllights = list()
|
||||
var/rigged = 0 // true if rigged to explode
|
||||
var/brightness = 2 //how much light it gives off
|
||||
var/cost = 2 //How much power does it consume in an idle state?
|
||||
var/fitting = "tube"
|
||||
|
||||
/obj/item/weapon/light/tube
|
||||
name = "light tube"
|
||||
@@ -619,6 +620,7 @@ var/global/list/obj/machinery/light/alllights = list()
|
||||
icon_state = "bulb"
|
||||
base_state = "bulb"
|
||||
item_state = "contvapour"
|
||||
fitting = "bulb"
|
||||
g_amt = 100
|
||||
brightness = 5
|
||||
cost = 5
|
||||
|
||||
@@ -1511,7 +1511,7 @@ USE THIS CHEMISTRY DISPENSER FOR MAPS SO THEY START AT 100 ENERGY
|
||||
w_class = 2.0
|
||||
force = 2.0
|
||||
var/list/beakers = new/list()
|
||||
var/list/allowed_containers = list(/obj/item/weapon/reagent_containers/glass/beaker, /obj/item/weapon/reagent_containers/glass/bottle)
|
||||
var/list/allowed_containers = list(/obj/item/weapon/reagent_containers/glass, /obj/item/weapon/reagent_containers/food/drinks/soda_cans/)
|
||||
var/list/allowed_reactions = list(/datum/chemical_reaction/water, /datum/chemical_reaction/creatine,
|
||||
/datum/chemical_reaction/discount, /datum/chemical_reaction/peptobismol, /datum/chemical_reaction/phalanximine,
|
||||
/datum/chemical_reaction/stoxin, /datum/chemical_reaction/sterilizine, /datum/chemical_reaction/inaprovaline,
|
||||
|
||||
Reference in New Issue
Block a user