mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
Makes some more lists lazy (#94388)
Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
co-authored by
SyncIt21
MrMelbert
parent
b88e1a1328
commit
53ed83bb9d
@@ -16,7 +16,7 @@
|
||||
// Only regular lasguns can be slapcrafted
|
||||
if(type != /obj/item/gun/energy/laser)
|
||||
return
|
||||
var/static/list/slapcraft_recipe_list = list(/datum/crafting_recipe/xraylaser, /datum/crafting_recipe/hellgun, /datum/crafting_recipe/ioncarbine)
|
||||
var/static/list/slapcraft_recipe_list = list(/datum/crafting_recipe/laser/xraylaser, /datum/crafting_recipe/laser/hellgun, /datum/crafting_recipe/laser/ioncarbine)
|
||||
AddElement(
|
||||
/datum/element/slapcrafting,\
|
||||
slapcraft_recipes = slapcraft_recipe_list,\
|
||||
|
||||
Reference in New Issue
Block a user