mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Two New Skills (#26880)
* sure * cough, girders are something * what if I said this --------- Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
This commit is contained in:
@@ -400,7 +400,8 @@
|
||||
adjusted_time = (recipe.time * recipe.trait_modifier)
|
||||
else
|
||||
adjusted_time = recipe.time
|
||||
if(!do_after(builder, adjusted_time, target = builder))
|
||||
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))
|
||||
builder.balloon_alert(builder, "interrupted!")
|
||||
return
|
||||
if(!building_checks(builder, recipe, multiplier))
|
||||
@@ -428,6 +429,8 @@
|
||||
created.setDir(builder.dir)
|
||||
on_item_crafted(builder, created)
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user