mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 17:14:47 +01:00
[MIRROR] Pens and iron rods can embed again (#3670)
* Pens and iron rods can embed again (#57181) * Pens and iron rods can embed again Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
This commit is contained in:
@@ -998,6 +998,7 @@ GLOBAL_VAR_INIT(embedpocalypse, FALSE) // if true, all items will be able to emb
|
||||
///For when you want to add/update the embedding on an item. Uses the vars in [/obj/item/var/embedding], and defaults to config values for values that aren't set. Will automatically detach previous embed elements on this item.
|
||||
/obj/item/proc/updateEmbedding()
|
||||
if(!LAZYLEN(embedding))
|
||||
disableEmbedding()
|
||||
return
|
||||
|
||||
AddElement(/datum/element/embed,\
|
||||
|
||||
@@ -25,7 +25,7 @@ GLOBAL_LIST_INIT(rod_recipes, list ( \
|
||||
attack_verb_continuous = list("hits", "bludgeons", "whacks")
|
||||
attack_verb_simple = list("hit", "bludgeon", "whack")
|
||||
hitsound = 'sound/weapons/gun/general/grenade_launch.ogg'
|
||||
embedding = list()
|
||||
embedding = list(embed_chance = 50)
|
||||
novariants = TRUE
|
||||
matter_amount = 2
|
||||
cost = 250
|
||||
|
||||
Reference in New Issue
Block a user