mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
Primitive bandages and cloth recipes
This commit is contained in:
@@ -5,7 +5,10 @@
|
||||
|
||||
/datum/crafting_recipe
|
||||
var/name = "" //in-game display name
|
||||
var/list/reqs = list() //type paths of items consumed associated with how many are needed
|
||||
/// type paths of items consumed associated with how many are needed
|
||||
/// Note that stacks have special handling: the logic accounts for having '23' available
|
||||
/// in the case of just having one stack of 23 amount, so stack/steel = 23 is fine
|
||||
var/list/reqs = list()
|
||||
var/list/blacklist = list() //type paths of items explicitly not allowed as an ingredient
|
||||
var/result //type path of item resulting from this craft
|
||||
/// String defines of items needed but not consumed. Lazy list.
|
||||
@@ -44,13 +47,3 @@
|
||||
|
||||
/datum/crafting_recipe/proc/on_craft_completion(mob/user, atom/result)
|
||||
return
|
||||
|
||||
/datum/crafting_recipe/stunprod
|
||||
name = "Stunprod"
|
||||
result = /obj/item/weapon/melee/baton/cattleprod
|
||||
reqs = list(/obj/item/weapon/handcuffs/cable = 1,
|
||||
/obj/item/stack/rods = 1,
|
||||
/obj/item/weapon/tool/wirecutters = 1)
|
||||
time = 40
|
||||
category = CAT_WEAPONRY
|
||||
subcategory = CAT_WEAPON
|
||||
@@ -0,0 +1,13 @@
|
||||
/datum/crafting_recipe/cloth
|
||||
name = "Cloth bolt"
|
||||
result = /obj/item/stack/material/cloth
|
||||
reqs = list(/obj/item/stack/material/fiber = 3)
|
||||
time = 40
|
||||
category = CAT_PRIMAL
|
||||
|
||||
/datum/crafting_recipe/crude_bandage
|
||||
name = "Crude bandages (x10)"
|
||||
result = /obj/item/stack/medical/crude_pack
|
||||
reqs = list(/obj/item/stack/material/cloth = 2)
|
||||
time = 40
|
||||
category = CAT_PRIMAL
|
||||
@@ -0,0 +1,9 @@
|
||||
/datum/crafting_recipe/stunprod
|
||||
name = "Stunprod"
|
||||
result = /obj/item/weapon/melee/baton/cattleprod
|
||||
reqs = list(/obj/item/weapon/handcuffs/cable = 1,
|
||||
/obj/item/stack/rods = 1,
|
||||
/obj/item/weapon/tool/wirecutters = 1)
|
||||
time = 40
|
||||
category = CAT_WEAPONRY
|
||||
subcategory = CAT_WEAPON
|
||||
@@ -356,6 +356,8 @@
|
||||
#include "code\datums\components\crafting\crafting_external.dm"
|
||||
#include "code\datums\components\crafting\recipes.dm"
|
||||
#include "code\datums\components\crafting\tool_quality.dm"
|
||||
#include "code\datums\components\crafting\recipes\primitive.dm"
|
||||
#include "code\datums\components\crafting\recipes\weapons.dm"
|
||||
#include "code\datums\elements\_element.dm"
|
||||
#include "code\datums\elements\light_blocking.dm"
|
||||
#include "code\datums\elements\turf_transparency.dm"
|
||||
|
||||
Reference in New Issue
Block a user