mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Converts slapcrafting into a bespoke element (#84226)
## About The Pull Request Converts slapcrafting into a bespoke element, used to be ac omponent ## Why It's Good For The Game Noticed this was a big C and realized there was no real reason for that. It's the same recipe shared across different items. ## Changelog N/A --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
@@ -140,8 +140,8 @@
|
||||
|
||||
var/static/list/slapcraft_recipe_list = list(/datum/crafting_recipe/meteorslug, /datum/crafting_recipe/pulseslug, /datum/crafting_recipe/dragonsbreath, /datum/crafting_recipe/ionslug)
|
||||
|
||||
AddComponent(
|
||||
/datum/component/slapcrafting,\
|
||||
AddElement(
|
||||
/datum/element/slapcrafting,\
|
||||
slapcraft_recipes = slapcraft_recipe_list,\
|
||||
)
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
return
|
||||
var/static/list/slapcraft_recipe_list = list(/datum/crafting_recipe/advancedegun, /datum/crafting_recipe/tempgun, /datum/crafting_recipe/beam_rifle)
|
||||
|
||||
AddComponent(
|
||||
/datum/component/slapcrafting,\
|
||||
AddElement(
|
||||
/datum/element/slapcrafting,\
|
||||
slapcraft_recipes = slapcraft_recipe_list,\
|
||||
)
|
||||
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
return
|
||||
var/static/list/slapcraft_recipe_list = list(/datum/crafting_recipe/ebow)
|
||||
|
||||
AddComponent(
|
||||
/datum/component/slapcrafting,\
|
||||
AddElement(
|
||||
/datum/element/slapcrafting,\
|
||||
slapcraft_recipes = slapcraft_recipe_list,\
|
||||
)
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
return
|
||||
var/static/list/slapcraft_recipe_list = list(/datum/crafting_recipe/xraylaser, /datum/crafting_recipe/hellgun, /datum/crafting_recipe/ioncarbine)
|
||||
|
||||
AddComponent(
|
||||
/datum/component/slapcrafting,\
|
||||
AddElement(
|
||||
/datum/element/slapcrafting,\
|
||||
slapcraft_recipes = slapcraft_recipe_list,\
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user