mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Merge branch 'master' of https://github.com/tgstation/tgstation into pulls-tg-to-fix-shit
This commit is contained in:
@@ -302,7 +302,11 @@
|
||||
data["recipes"] = recursively_build_recipes(recipes)
|
||||
return data
|
||||
|
||||
<<<<<<< HEAD
|
||||
/obj/item/stack/ui_act(action, params)
|
||||
=======
|
||||
/obj/item/stack/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state)
|
||||
>>>>>>> 4b4ae0958fe6b5d511ee6e24a5087599f61d70a3
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
@@ -369,7 +373,11 @@
|
||||
/obj/item/stack/proc/radial_check(mob/builder)
|
||||
if(QDELETED(builder) || QDELETED(src))
|
||||
return FALSE
|
||||
<<<<<<< HEAD
|
||||
if(builder.incapacitated())
|
||||
=======
|
||||
if(builder.incapacitated)
|
||||
>>>>>>> 4b4ae0958fe6b5d511ee6e24a5087599f61d70a3
|
||||
return FALSE
|
||||
if(!builder.is_holding(src))
|
||||
return FALSE
|
||||
@@ -400,8 +408,12 @@
|
||||
adjusted_time = (recipe.time * recipe.trait_modifier)
|
||||
else
|
||||
adjusted_time = recipe.time
|
||||
<<<<<<< HEAD
|
||||
var/skill_modifier = builder.mind.get_skill_modifier(/datum/skill/construction, SKILL_SPEED_MODIFIER) //SKYRAT EDIT: Construction Skill
|
||||
if(!do_after(builder, adjusted_time * skill_modifier, target = builder))
|
||||
=======
|
||||
if(!do_after(builder, adjusted_time, target = builder))
|
||||
>>>>>>> 4b4ae0958fe6b5d511ee6e24a5087599f61d70a3
|
||||
builder.balloon_alert(builder, "interrupted!")
|
||||
return
|
||||
if(!building_checks(builder, recipe, multiplier))
|
||||
@@ -430,12 +442,19 @@
|
||||
SEND_SIGNAL(created, COMSIG_ATOM_CONSTRUCTED, builder)
|
||||
on_item_crafted(builder, created)
|
||||
|
||||
<<<<<<< HEAD
|
||||
builder.mind.adjust_experience(/datum/skill/construction, 5) //SKYRAT EDIT: Construction Skill
|
||||
|
||||
// Use up the material
|
||||
use(recipe.req_amount * multiplier)
|
||||
builder.investigate_log("crafted [recipe.title]", INVESTIGATE_CRAFTING)
|
||||
|
||||
=======
|
||||
// Use up the material
|
||||
use(recipe.req_amount * multiplier)
|
||||
builder.investigate_log("crafted [recipe.title]", INVESTIGATE_CRAFTING)
|
||||
|
||||
>>>>>>> 4b4ae0958fe6b5d511ee6e24a5087599f61d70a3
|
||||
// Apply mat datums
|
||||
if((recipe.crafting_flags & CRAFT_APPLIES_MATS) && LAZYLEN(mats_per_unit))
|
||||
if(isstack(created))
|
||||
|
||||
Reference in New Issue
Block a user