Personal Crafting - Initial Commit

This commit is contained in:
SamCroswell
2016-07-15 16:25:37 -04:00
parent 324e4b92a9
commit 0466499f86
33 changed files with 507 additions and 302 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
/obj/item/device/guitar/Topic(href, href_list)
song.Topic(href, href_list)
/datum/table_recipe/guitar
/datum/crafting_recipe/guitar
name = "Guitar"
result = /obj/item/device/guitar
reqs = list(/obj/item/stack/sheet/wood = 5,
+2 -1
View File
@@ -70,6 +70,7 @@
overlays += "[icon_state]-charge[ratio]"
/obj/item/weapon/defibrillator/CheckParts()
..()
bcell = locate(/obj/item/weapon/stock_parts/cell) in contents
update_icon()
@@ -561,4 +562,4 @@
update_icon()
else
to_chat(user, "<span class='notice'>You need to target your patient's chest with [src].</span>")
return
return
@@ -165,6 +165,7 @@
return
/obj/item/weapon/flamethrower/CheckParts()
..()
weldtool = locate(/obj/item/weapon/weldingtool) in contents
igniter = locate(/obj/item/device/assembly/igniter) in contents
update_icon()
@@ -226,4 +227,4 @@
var/target_turf = get_turf(owner)
ignite_turf(target_turf, 100)
qdel(ptank)
return 1 //It hit the flamethrower, not them
return 1 //It hit the flamethrower, not them
@@ -94,6 +94,7 @@
range = pick(2,2,2,3,3,3,4)
/obj/item/weapon/grenade/iedcasing/CheckParts()
..()
var/obj/item/weapon/reagent_containers/food/drinks/cans/can = locate() in contents
if(can)
underlays += can
@@ -132,7 +132,7 @@
maxWeightClass = 7
gasPerThrow = 5
/datum/table_recipe/improvised_pneumatic_cannon //Pretty easy to obtain but
/datum/crafting_recipe/improvised_pneumatic_cannon //Pretty easy to obtain but
name = "Pneumatic Cannon"
result = /obj/item/weapon/pneumatic_cannon/ghetto
tools = list(/obj/item/weapon/weldingtool,
+1 -1
View File
@@ -35,7 +35,7 @@
sleep(8)
delayed = 0
/datum/table_recipe/picket_sign
/datum/crafting_recipe/picket_sign
name = "Picket Sign"
result = /obj/item/weapon/picket_sign
reqs = list(/obj/item/stack/rods = 1,
+2 -1
View File
@@ -24,6 +24,7 @@
return
/obj/item/weapon/melee/baton/CheckParts()
..()
bcell = locate(/obj/item/weapon/stock_parts/cell) in contents
update_icon()
@@ -205,4 +206,4 @@
else if(!bcell)
icon_state = "stunprod_nocell"
else
icon_state = "stunprod"
icon_state = "stunprod"