mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[MIRROR] Minerals have been refactored so costs and minerals in items are now in terms of mineral defines. [MDB IGNORE] (#20916)
* Minerals have been refactored so costs and minerals in items are now in terms of mineral defines. * AI GEN RUN ONE --------- Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
co-authored by
ArcaneMusic
Gandalf
parent
05598c7c69
commit
c4d4e1da63
@@ -73,8 +73,14 @@
|
||||
//windows affected by Nar'Sie turn this color.
|
||||
#define NARSIE_WINDOW_COLOUR "#7D1919"
|
||||
|
||||
//The amount of materials you get from a sheet of mineral like iron/diamond/glass etc
|
||||
#define MINERAL_MATERIAL_AMOUNT 2000
|
||||
// Defines related to the custom materials used on objects.
|
||||
///The amount of materials you get from a sheet of mineral like iron/diamond/glass etc. 2000 Units.
|
||||
#define SHEET_MATERIAL_AMOUNT 2000
|
||||
///The amount of materials you get from half a sheet. Used in standard object quantities. 1000 units.
|
||||
#define HALF_SHEET_MATERIAL_AMOUNT (SHEET_MATERIAL_AMOUNT/2)
|
||||
///The amount of materials used in the smallest of objects, like pens and screwdrivers. 100 units.
|
||||
#define SMALL_MATERIAL_AMOUNT (HALF_SHEET_MATERIAL_AMOUNT/10)
|
||||
|
||||
//The maximum size of a stack object.
|
||||
#define MAX_STACK_SIZE 50
|
||||
//maximum amount of cable in a coil
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
|
||||
// Slowdown values.
|
||||
/// The slowdown value of one [MINERAL_MATERIAL_AMOUNT] of plasteel.
|
||||
/// The slowdown value of one [SHEET_MATERIAL_AMOUNT] of plasteel.
|
||||
#define MATERIAL_SLOWDOWN_PLASTEEL (0.05)
|
||||
/// The slowdown value of one [MINERAL_MATERIAL_AMOUNT] of alien alloy.
|
||||
/// The slowdown value of one [SHEET_MATERIAL_AMOUNT] of alien alloy.
|
||||
#define MATERIAL_SLOWDOWN_ALIEN_ALLOY (0.1)
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
/obj/item/weaponcrafting/stock
|
||||
name = "rifle stock"
|
||||
desc = "A classic rifle stock that doubles as a grip, roughly carved out of wood."
|
||||
custom_materials = list(/datum/material/wood = MINERAL_MATERIAL_AMOUNT * 6)
|
||||
custom_materials = list(/datum/material/wood = SHEET_MATERIAL_AMOUNT * 6)
|
||||
resistance_flags = FLAMMABLE
|
||||
icon = 'icons/obj/weapons/improvised.dmi'
|
||||
icon_state = "riflestock"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
This datum should be used for handling mineral contents of machines and whatever else is supposed to hold minerals and make use of them.
|
||||
|
||||
Variables:
|
||||
amount - raw amount of the mineral this container is holding, calculated by the defined value MINERAL_MATERIAL_AMOUNT=2000.
|
||||
amount - raw amount of the mineral this container is holding, calculated by the defined value SHEET_MATERIAL_AMOUNT=SHEET_MATERIAL_AMOUNT.
|
||||
max_amount - max raw amount of mineral this container can hold.
|
||||
sheet_type - type of the mineral sheet the container handles, used for output.
|
||||
parent - object that this container is being used by, used for output.
|
||||
@@ -295,7 +295,7 @@
|
||||
return (max_amount - total_amount)
|
||||
|
||||
|
||||
/// For consuming a dictionary of materials. mats is the map of materials to use and the corresponding amounts, example: list(M/datum/material/glass =100, datum/material/iron=200)
|
||||
/// For consuming a dictionary of materials. mats is the map of materials to use and the corresponding amounts, example: list(M/datum/material/glass =100, datum/material/iron=SMALL_MATERIAL_AMOUNT * 2)
|
||||
/datum/component/material_container/proc/use_materials(list/mats, multiplier=1)
|
||||
if(!mats || !length(mats))
|
||||
return FALSE
|
||||
@@ -333,18 +333,18 @@
|
||||
if(!target)
|
||||
var/atom/parent_atom = parent
|
||||
target = parent_atom.drop_location()
|
||||
if(materials[M] < (sheet_amt * MINERAL_MATERIAL_AMOUNT))
|
||||
sheet_amt = round(materials[M] / MINERAL_MATERIAL_AMOUNT)
|
||||
if(materials[M] < (sheet_amt * SHEET_MATERIAL_AMOUNT))
|
||||
sheet_amt = round(materials[M] / SHEET_MATERIAL_AMOUNT)
|
||||
var/count = 0
|
||||
while(sheet_amt > MAX_STACK_SIZE)
|
||||
new M.sheet_type(target, MAX_STACK_SIZE, null, list((M) = MINERAL_MATERIAL_AMOUNT))
|
||||
new M.sheet_type(target, MAX_STACK_SIZE, null, list((M) = SHEET_MATERIAL_AMOUNT))
|
||||
count += MAX_STACK_SIZE
|
||||
use_amount_mat(sheet_amt * MINERAL_MATERIAL_AMOUNT, M)
|
||||
use_amount_mat(sheet_amt * SHEET_MATERIAL_AMOUNT, M)
|
||||
sheet_amt -= MAX_STACK_SIZE
|
||||
if(sheet_amt >= 1)
|
||||
new M.sheet_type(target, sheet_amt, null, list((M) = MINERAL_MATERIAL_AMOUNT))
|
||||
new M.sheet_type(target, sheet_amt, null, list((M) = SHEET_MATERIAL_AMOUNT))
|
||||
count += sheet_amt
|
||||
use_amount_mat(sheet_amt * MINERAL_MATERIAL_AMOUNT, M)
|
||||
use_amount_mat(sheet_amt * SHEET_MATERIAL_AMOUNT, M)
|
||||
return count
|
||||
|
||||
|
||||
@@ -410,14 +410,14 @@
|
||||
|
||||
/// Turns a material amount into the amount of sheets it should output
|
||||
/datum/component/material_container/proc/amount2sheet(amt)
|
||||
if(amt >= MINERAL_MATERIAL_AMOUNT)
|
||||
return round(amt / MINERAL_MATERIAL_AMOUNT)
|
||||
if(amt >= SHEET_MATERIAL_AMOUNT)
|
||||
return round(amt / SHEET_MATERIAL_AMOUNT)
|
||||
return FALSE
|
||||
|
||||
/// Turns an amount of sheets into the amount of material amount it should output
|
||||
/datum/component/material_container/proc/sheet2amount(sheet_amt)
|
||||
if(sheet_amt > 0)
|
||||
return sheet_amt * MINERAL_MATERIAL_AMOUNT
|
||||
return sheet_amt * SHEET_MATERIAL_AMOUNT
|
||||
return FALSE
|
||||
|
||||
|
||||
@@ -450,8 +450,8 @@
|
||||
"name" = material.name,
|
||||
"ref" = REF(material),
|
||||
"amount" = amount,
|
||||
"sheets" = round(amount / MINERAL_MATERIAL_AMOUNT),
|
||||
"removable" = amount >= MINERAL_MATERIAL_AMOUNT,
|
||||
"sheets" = round(amount / SHEET_MATERIAL_AMOUNT),
|
||||
"removable" = amount >= SHEET_MATERIAL_AMOUNT,
|
||||
"color" = material.greyscale_colors
|
||||
))
|
||||
|
||||
|
||||
@@ -223,7 +223,7 @@
|
||||
desc = "Stores recorder holocalls."
|
||||
icon_state = "holodisk"
|
||||
obj_flags = UNIQUE_RENAME
|
||||
custom_materials = list(/datum/material/iron = 100, /datum/material/glass = 100)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT, /datum/material/glass = SMALL_MATERIAL_AMOUNT)
|
||||
var/datum/holorecord/record
|
||||
//Preset variables
|
||||
var/preset_image_type
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
if(!istype(target_item))
|
||||
return
|
||||
|
||||
target_item.slowdown += MATERIAL_SLOWDOWN_PLASTEEL * amount / MINERAL_MATERIAL_AMOUNT
|
||||
target_item.slowdown += MATERIAL_SLOWDOWN_PLASTEEL * amount / SHEET_MATERIAL_AMOUNT
|
||||
|
||||
/datum/material/alloy/plasteel/on_removed_obj(obj/item/target_item, amount, material_flags)
|
||||
. = ..()
|
||||
@@ -54,7 +54,7 @@
|
||||
if(!istype(target_item))
|
||||
return
|
||||
|
||||
target_item.slowdown -= MATERIAL_SLOWDOWN_PLASTEEL * amount / MINERAL_MATERIAL_AMOUNT
|
||||
target_item.slowdown -= MATERIAL_SLOWDOWN_PLASTEEL * amount / SHEET_MATERIAL_AMOUNT
|
||||
|
||||
/** Plastitanium
|
||||
*
|
||||
@@ -163,7 +163,7 @@
|
||||
if(!istype(target_item))
|
||||
return
|
||||
|
||||
target_item.slowdown += MATERIAL_SLOWDOWN_ALIEN_ALLOY * amount / MINERAL_MATERIAL_AMOUNT
|
||||
target_item.slowdown += MATERIAL_SLOWDOWN_ALIEN_ALLOY * amount / SHEET_MATERIAL_AMOUNT
|
||||
|
||||
/datum/material/alloy/alien/on_removed_obj(obj/item/target_item, amount, material_flags)
|
||||
. = ..()
|
||||
@@ -172,4 +172,4 @@
|
||||
if(!istype(target_item))
|
||||
return
|
||||
|
||||
target_item.slowdown -= MATERIAL_SLOWDOWN_ALIEN_ALLOY * amount / MINERAL_MATERIAL_AMOUNT
|
||||
target_item.slowdown -= MATERIAL_SLOWDOWN_ALIEN_ALLOY * amount / SHEET_MATERIAL_AMOUNT
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
make_edible(T, amount, material_flags)
|
||||
|
||||
/datum/material/meat/proc/make_edible(atom/source, amount, material_flags)
|
||||
var/nutriment_count = 3 * (amount / MINERAL_MATERIAL_AMOUNT)
|
||||
var/oil_count = 2 * (amount / MINERAL_MATERIAL_AMOUNT)
|
||||
var/nutriment_count = 3 * (amount / SHEET_MATERIAL_AMOUNT)
|
||||
var/oil_count = 2 * (amount / SHEET_MATERIAL_AMOUNT)
|
||||
source.AddComponent(/datum/component/edible, \
|
||||
initial_reagents = list(/datum/reagent/consumable/nutriment = nutriment_count, /datum/reagent/consumable/cooking_oil = oil_count), \
|
||||
foodtypes = RAW | MEAT | GROSS, \
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
make_edible(T, amount, material_flags)
|
||||
|
||||
/datum/material/pizza/proc/make_edible(atom/source, amount, material_flags)
|
||||
var/nutriment_count = 3 * (amount / MINERAL_MATERIAL_AMOUNT)
|
||||
var/oil_count = 2 * (amount / MINERAL_MATERIAL_AMOUNT)
|
||||
var/nutriment_count = 3 * (amount / SHEET_MATERIAL_AMOUNT)
|
||||
var/oil_count = 2 * (amount / SHEET_MATERIAL_AMOUNT)
|
||||
source.AddComponent(/datum/component/edible, \
|
||||
initial_reagents = list(/datum/reagent/consumable/nutriment = nutriment_count, /datum/reagent/consumable/cooking_oil = oil_count), \
|
||||
foodtypes = GRAIN | MEAT | DAIRY | VEGETABLES, \
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
)
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
sharpness = SHARP_POINTY
|
||||
custom_materials = list(/datum/material/biomass = 500)
|
||||
custom_materials = list(/datum/material/biomass = SMALL_MATERIAL_AMOUNT * 5)
|
||||
/// What mob "fired" our tongue
|
||||
var/datum/weakref/fired_by_ref
|
||||
/// if we missed our target
|
||||
|
||||
@@ -304,7 +304,7 @@
|
||||
|
||||
/obj/machinery/autolathe/proc/AfterMaterialInsert(obj/item/item_inserted, id_inserted, amount_inserted)
|
||||
if(istype(item_inserted, /obj/item/stack/ore/bluespace_crystal))
|
||||
use_power(MINERAL_MATERIAL_AMOUNT / 10)
|
||||
use_power(SHEET_MATERIAL_AMOUNT / 10)
|
||||
else if(item_inserted.has_material_type(/datum/material/glass))
|
||||
flick("autolathe_r", src)//plays glass insertion animation by default otherwise
|
||||
else
|
||||
|
||||
@@ -354,5 +354,5 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/button/door, 24)
|
||||
desc = "Used for building buttons."
|
||||
icon_state = "button"
|
||||
result_path = /obj/machinery/button
|
||||
custom_materials = list(/datum/material/iron=MINERAL_MATERIAL_AMOUNT)
|
||||
custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT)
|
||||
pixel_shift = 24
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
desc = "The basic construction for Nanotrasen-Always-Watching-You cameras."
|
||||
icon = 'icons/obj/machines/camera.dmi'
|
||||
icon_state = "cameracase"
|
||||
custom_materials = list(/datum/material/iron=400, /datum/material/glass=250)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT * 4, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 2.5)
|
||||
result_path = /obj/structure/camera_assembly
|
||||
wall_external = TRUE
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/defibrillator_mount, 28)
|
||||
desc = "A frame for a defibrillator mount. Once placed, it can be removed with a wrench."
|
||||
icon = 'icons/obj/machines/defib_mount.dmi'
|
||||
icon_state = "defibrillator_mount"
|
||||
custom_materials = list(/datum/material/iron = 300, /datum/material/glass = 100)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 3, /datum/material/glass = SMALL_MATERIAL_AMOUNT)
|
||||
w_class = WEIGHT_CLASS_BULKY
|
||||
result_path = /obj/machinery/defibrillator_mount
|
||||
pixel_shift = 28
|
||||
@@ -221,5 +221,5 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/defibrillator_mount, 28)
|
||||
name = "unhooked PENLITE defibrillator mount"
|
||||
desc = "A frame for a PENLITE defibrillator mount. Unlike the normal mount, it can passively recharge the unit inside."
|
||||
icon_state = "penlite_mount"
|
||||
custom_materials = list(/datum/material/iron = 300, /datum/material/glass = 100, /datum/material/silver = 50)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 3, /datum/material/glass = SMALL_MATERIAL_AMOUNT, /datum/material/silver = SMALL_MATERIAL_AMOUNT * 0.5)
|
||||
result_path = /obj/machinery/defibrillator_mount/charging
|
||||
|
||||
@@ -245,7 +245,7 @@
|
||||
material_modifier = 0.25
|
||||
|
||||
/obj/machinery/door/airlock/plasma/Initialize(mapload)
|
||||
custom_materials = custom_materials ? custom_materials : list(/datum/material/plasma = 20000)
|
||||
custom_materials = custom_materials ? custom_materials : list(/datum/material/plasma = SHEET_MATERIAL_AMOUNT * 10)
|
||||
. = ..()
|
||||
|
||||
/obj/machinery/door/airlock/plasma/block_superconductivity() //we don't stop the heat~
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
|
||||
var/list/using_materials
|
||||
var/starting_amount = 0
|
||||
var/iron_cost = 1000
|
||||
var/glass_cost = 1000
|
||||
var/iron_cost =HALF_SHEET_MATERIAL_AMOUNT
|
||||
var/glass_cost =HALF_SHEET_MATERIAL_AMOUNT
|
||||
var/power_used = 1000
|
||||
|
||||
var/mode = DRONE_READY
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
/obj/machinery/drone_dispenser/Initialize(mapload)
|
||||
. = ..()
|
||||
var/datum/component/material_container/materials = AddComponent(/datum/component/material_container, list(/datum/material/iron, /datum/material/glass), MINERAL_MATERIAL_AMOUNT * MAX_STACK_SIZE * 2, MATCONTAINER_EXAMINE|BREAKDOWN_FLAGS_DRONE_DISPENSER, allowed_items=/obj/item/stack)
|
||||
var/datum/component/material_container/materials = AddComponent(/datum/component/material_container, list(/datum/material/iron, /datum/material/glass), SHEET_MATERIAL_AMOUNT * MAX_STACK_SIZE * 2, MATCONTAINER_EXAMINE|BREAKDOWN_FLAGS_DRONE_DISPENSER, allowed_items=/obj/item/stack)
|
||||
materials.insert_amount_mat(starting_amount)
|
||||
materials.precise_insertion = TRUE
|
||||
using_materials = list(/datum/material/iron = iron_cost, /datum/material/glass = glass_cost)
|
||||
@@ -80,8 +80,8 @@
|
||||
dispense_type = /obj/effect/mob_spawn/ghost_role/drone/snowflake
|
||||
end_create_message = "dispenses a snowflake drone shell."
|
||||
// Those holoprojectors aren't cheap
|
||||
iron_cost = 2000
|
||||
glass_cost = 2000
|
||||
iron_cost =SHEET_MATERIAL_AMOUNT
|
||||
glass_cost =SHEET_MATERIAL_AMOUNT
|
||||
power_used = 2000
|
||||
starting_amount = 10000
|
||||
|
||||
|
||||
@@ -184,11 +184,11 @@
|
||||
while(nutrients >= nutrient_to_meat)
|
||||
nutrients -= nutrient_to_meat
|
||||
var/atom/meat = new C.type_of_meat (drop_location())
|
||||
meat.set_custom_materials(list(GET_MATERIAL_REF(/datum/material/meat/mob_meat, C) = MINERAL_MATERIAL_AMOUNT * 4))
|
||||
meat.set_custom_materials(list(GET_MATERIAL_REF(/datum/material/meat/mob_meat, C) = SHEET_MATERIAL_AMOUNT * 4))
|
||||
while(nutrients >= nutrient_to_meat / 3)
|
||||
nutrients -= nutrient_to_meat / 3
|
||||
var/atom/meat = new /obj/item/food/meat/rawcutlet/plain (drop_location())
|
||||
meat.set_custom_materials(list(GET_MATERIAL_REF(/datum/material/meat/mob_meat, C) = round(MINERAL_MATERIAL_AMOUNT * (4/3))))
|
||||
meat.set_custom_materials(list(GET_MATERIAL_REF(/datum/material/meat/mob_meat, C) = round(SHEET_MATERIAL_AMOUNT * (4/3))))
|
||||
nutrients = 0
|
||||
|
||||
/obj/machinery/fat_sucker/screwdriver_act(mob/living/user, obj/item/I)
|
||||
|
||||
@@ -811,7 +811,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/newscaster, 30)
|
||||
name = "newscaster frame"
|
||||
desc = "Used to build newscasters, just secure to the wall."
|
||||
icon_state = "newscaster"
|
||||
custom_materials = list(/datum/material/iron=14000, /datum/material/glass=8000)
|
||||
custom_materials = list(/datum/material/iron= SHEET_MATERIAL_AMOUNT * 7, /datum/material/glass= SHEET_MATERIAL_AMOUNT * 4)
|
||||
result_path = /obj/machinery/newscaster
|
||||
pixel_shift = 30
|
||||
|
||||
|
||||
@@ -1061,7 +1061,7 @@ DEFINE_BITFIELD(turret_flags, list(
|
||||
icon = 'icons/obj/machines/turret_control.dmi'
|
||||
icon_state = "control_frame"
|
||||
result_path = /obj/machinery/turretid
|
||||
custom_materials = list(/datum/material/iron=MINERAL_MATERIAL_AMOUNT)
|
||||
custom_materials = list(/datum/material/iron= SHEET_MATERIAL_AMOUNT)
|
||||
pixel_shift = 29
|
||||
|
||||
/obj/item/gun/proc/get_turret_properties()
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
/obj/machinery/sheetifier/Initialize(mapload)
|
||||
. = ..()
|
||||
// AddComponent(/datum/component/material_container, list(/datum/material/meat, /datum/material/hauntium), MINERAL_MATERIAL_AMOUNT * MAX_STACK_SIZE * 2, MATCONTAINER_EXAMINE|BREAKDOWN_FLAGS_SHEETIFIER, typesof(/datum/material/meat) + /datum/material/hauntium, list(/obj/item/food/meat, /obj/item/photo), null, CALLBACK(src, PROC_REF(CanInsertMaterials)), CALLBACK(src, PROC_REF(AfterInsertMaterials))) // SKYRAT EDIT CHANGE
|
||||
AddComponent(/datum/component/material_container, list(/datum/material/hauntium), MINERAL_MATERIAL_AMOUNT * MAX_STACK_SIZE * 2, MATCONTAINER_EXAMINE|BREAKDOWN_FLAGS_SHEETIFIER, /datum/material/hauntium, list(/obj/item/photo), null, CALLBACK(src, PROC_REF(CanInsertMaterials)), CALLBACK(src, PROC_REF(AfterInsertMaterials))) // SKYRAT EDIT CHANGE - REMOVES MEAT FROM SHEETIFIER
|
||||
|
||||
AddComponent(/datum/component/material_container, list(/datum/material/meat, /datum/material/hauntium), SHEET_MATERIAL_AMOUNT * MAX_STACK_SIZE * 2, MATCONTAINER_EXAMINE|BREAKDOWN_FLAGS_SHEETIFIER, typesof(/datum/material/meat) + /datum/material/hauntium, list(/obj/item/food/meat, /obj/item/photo), null, CALLBACK(src, PROC_REF(CanInsertMaterials)), CALLBACK(src, PROC_REF(AfterInsertMaterials)))
|
||||
|
||||
/obj/machinery/sheetifier/update_overlays()
|
||||
. = ..()
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
name = "status display frame"
|
||||
desc = "Used to build status displays, just secure to the wall."
|
||||
icon_state = "unanchoredstatusdisplay"
|
||||
custom_materials = list(/datum/material/iron=14000, /datum/material/glass=8000)
|
||||
custom_materials = list(/datum/material/iron= SHEET_MATERIAL_AMOUNT * 7, /datum/material/glass= SHEET_MATERIAL_AMOUNT * 4)
|
||||
result_path = /obj/machinery/status_display/evac
|
||||
pixel_shift = 32
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
* * affected_turf - Turf to transform.
|
||||
*/
|
||||
/datum/dimension_theme/proc/apply_materials(turf/affected_turf)
|
||||
var/list/custom_materials = list(GET_MATERIAL_REF(material) = MINERAL_MATERIAL_AMOUNT)
|
||||
var/list/custom_materials = list(GET_MATERIAL_REF(material) = SHEET_MATERIAL_AMOUNT)
|
||||
|
||||
if (istype(affected_turf, /turf/open/floor/material) || istype(affected_turf, /turf/closed/wall/material))
|
||||
affected_turf.set_custom_materials(custom_materials)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
throwforce = 0
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
custom_materials = list(/datum/material/gold = 50)
|
||||
custom_materials = list(/datum/material/gold = SMALL_MATERIAL_AMOUNT * 0.5)
|
||||
/// This is where our laws get put at for the module
|
||||
var/list/laws = list()
|
||||
/// Used to skip laws being checked (for reset & remove boards that have no laws)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
worn_icon_state = "painter"
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
|
||||
custom_materials = list(/datum/material/iron=50, /datum/material/glass=50)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 0.5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 0.5)
|
||||
|
||||
flags_1 = CONDUCT_1
|
||||
item_flags = NOBLUDGEON
|
||||
@@ -157,7 +157,7 @@
|
||||
icon = 'icons/obj/objects.dmi'
|
||||
icon_state = "decal_sprayer"
|
||||
inhand_icon_state = "decal_sprayer"
|
||||
custom_materials = list(/datum/material/iron=50, /datum/material/glass=50)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 0.5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 0.5)
|
||||
initial_ink_type = /obj/item/toner/large
|
||||
/// The current direction of the decal being printed
|
||||
var/stored_dir = 2
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
throw_speed = 2
|
||||
throw_range = 4
|
||||
demolition_mod = 1.5
|
||||
custom_materials = list(/datum/material/iron=13000)
|
||||
custom_materials = list(/datum/material/iron= SHEET_MATERIAL_AMOUNT * 6.5)
|
||||
attack_verb_continuous = list("saws", "tears", "lacerates", "cuts", "chops", "dices")
|
||||
attack_verb_simple = list("saw", "tear", "lacerate", "cut", "chop", "dice")
|
||||
hitsound = SFX_SWING_HIT
|
||||
|
||||
@@ -118,7 +118,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
name = "firebrand"
|
||||
desc = "An unlit firebrand. It makes you wonder why it's not just called a stick."
|
||||
smoketime = 40 SECONDS
|
||||
custom_materials = list(/datum/material/wood = MINERAL_MATERIAL_AMOUNT)
|
||||
custom_materials = list(/datum/material/wood = SHEET_MATERIAL_AMOUNT)
|
||||
grind_results = list(/datum/reagent/carbon = 2)
|
||||
|
||||
/obj/item/match/firebrand/Initialize(mapload)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
inhand_icon_state = "electronic"
|
||||
lefthand_file = 'icons/mob/inhands/items/devices_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/items/devices_righthand.dmi'
|
||||
custom_materials = list(/datum/material/glass = 1000)
|
||||
custom_materials = list(/datum/material/glass = HALF_SHEET_MATERIAL_AMOUNT)
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
grind_results = list(/datum/reagent/silicon = 20)
|
||||
greyscale_colors = CIRCUIT_COLOR_GENERIC
|
||||
|
||||
@@ -678,7 +678,7 @@
|
||||
icon = 'icons/obj/art/crayons.dmi'
|
||||
icon_state = "crayonbox"
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
custom_materials = list(/datum/material/cardboard = 2000)
|
||||
custom_materials = list(/datum/material/cardboard = SHEET_MATERIAL_AMOUNT)
|
||||
|
||||
/obj/item/storage/crayons/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
item_flags = NOBLUDGEON
|
||||
lefthand_file = 'icons/mob/inhands/items/devices_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/items/devices_righthand.dmi'
|
||||
custom_materials = list(/datum/material/iron=250, /datum/material/glass=500)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 2.5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 5)
|
||||
var/max_duration = 3000
|
||||
var/duration = 300
|
||||
var/last_use = 0
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon = 'icons/obj/module.dmi'
|
||||
icon_state = "boris"
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
custom_materials = list(/datum/material/iron = 50, /datum/material/glass = 300)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 0.5, /datum/material/glass = SMALL_MATERIAL_AMOUNT * 3)
|
||||
var/recharging = FALSE
|
||||
var/circuits = 5 //How many circuits the pseudocircuit has left
|
||||
var/static/recycleable_circuits = typecacheof(list(
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
flags_1 = CONDUCT_1
|
||||
slot_flags = ITEM_SLOT_BELT
|
||||
custom_materials = list(/datum/material/iron=50, /datum/material/glass=20)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 0.5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 0.2)
|
||||
actions_types = list(/datum/action/item_action/toggle_light)
|
||||
light_system = MOVABLE_LIGHT_DIRECTIONAL
|
||||
light_range = 4
|
||||
@@ -335,7 +335,7 @@
|
||||
var/trash_type = /obj/item/trash/flare
|
||||
/// If the light source can be extinguished
|
||||
var/can_be_extinguished = FALSE
|
||||
custom_materials = list(/datum/material/plastic=50)
|
||||
custom_materials = list(/datum/material/plastic= SMALL_MATERIAL_AMOUNT * 0.5)
|
||||
|
||||
/obj/item/flashlight/flare/Initialize(mapload)
|
||||
. = ..()
|
||||
@@ -360,7 +360,7 @@
|
||||
if(on && victim.ignite_mob())
|
||||
message_admins("[ADMIN_LOOKUPFLW(user)] set [key_name_admin(victim)] on fire with [src] at [AREACOORD(user)]")
|
||||
user.log_message("set [key_name(victim)] on fire with [src]", LOG_ATTACK)
|
||||
|
||||
|
||||
return ..()
|
||||
|
||||
/obj/item/flashlight/flare/toggle_light()
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
worn_icon_state = "electronic"
|
||||
lefthand_file = 'icons/mob/inhands/items/devices_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/items/devices_righthand.dmi'
|
||||
custom_materials = list(/datum/material/iron=250, /datum/material/glass=500)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 2.5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 5)
|
||||
var/max_shield_integrity = 250
|
||||
var/shield_integrity = 250
|
||||
var/max_fields = 3
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
slot_flags = ITEM_SLOT_BELT
|
||||
item_flags = NOBLUDGEON
|
||||
custom_materials = list(/datum/material/iron = 150, /datum/material/glass = 150)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 1.5, /datum/material/glass = SMALL_MATERIAL_AMOUNT * 1.5)
|
||||
|
||||
var/last_perceived_radiation_danger = null
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
flags_1 = CONDUCT_1
|
||||
item_flags = NOBLUDGEON
|
||||
slot_flags = ITEM_SLOT_BELT
|
||||
custom_materials = list(/datum/material/iron=500, /datum/material/glass=500)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 5)
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
var/turf/pointer_loc
|
||||
var/energy = 10
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
throw_speed = 3
|
||||
drop_sound = 'sound/items/handling/multitool_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/multitool_pickup.ogg'
|
||||
custom_materials = list(/datum/material/iron=50, /datum/material/glass=20)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 0.5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 0.2)
|
||||
custom_premium_price = PAYCHECK_COMMAND * 3
|
||||
toolspeed = 1
|
||||
usesound = 'sound/weapons/empty.ogg'
|
||||
@@ -133,7 +133,7 @@
|
||||
icon = 'icons/obj/abductor.dmi'
|
||||
icon_state = "multitool"
|
||||
belt_icon_state = "multitool_alien"
|
||||
custom_materials = list(/datum/material/iron = 5000, /datum/material/silver = 2500, /datum/material/plasma = 5000, /datum/material/titanium = 2000, /datum/material/diamond = 2000)
|
||||
custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT * 2.5, /datum/material/silver = SHEET_MATERIAL_AMOUNT * 1.25, /datum/material/plasma = SHEET_MATERIAL_AMOUNT * 2.5, /datum/material/titanium = SHEET_MATERIAL_AMOUNT, /datum/material/diamond = SHEET_MATERIAL_AMOUNT)
|
||||
toolspeed = 0.1
|
||||
|
||||
/obj/item/multitool/cyborg//SKYRAT EDIT - ICON OVERRIDEN BY AESTHETICS - SEE MODULE
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
item_flags = NOBLUDGEON
|
||||
var/paint_color = "grey"
|
||||
|
||||
custom_materials = list(/datum/material/iron=5000, /datum/material/glass=2000)
|
||||
custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT * 2.5, /datum/material/glass = SHEET_MATERIAL_AMOUNT)
|
||||
|
||||
/obj/item/pipe_painter/afterattack(atom/A, mob/user, proximity_flag)
|
||||
. = ..()
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
throwforce = 5
|
||||
throw_speed = 1
|
||||
throw_range = 2
|
||||
custom_materials = list(/datum/material/iron=750)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT* 7.5)
|
||||
var/max_heat = 5e7 // Maximum contained heat before exploding. Not actual temperature.
|
||||
var/internal_heat = 0 // Contained heat, goes down every tick.
|
||||
var/mode = DISCONNECTED // DISCONNECTED, CLAMPED_OFF, OPERATING
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
flags_1 = CONDUCT_1
|
||||
slot_flags = ITEM_SLOT_BACK
|
||||
w_class = WEIGHT_CLASS_HUGE
|
||||
custom_materials = list(/datum/material/iron=10000, /datum/material/glass=2500)
|
||||
custom_materials = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT *5, /datum/material/glass=SHEET_MATERIAL_AMOUNT * 1.25)
|
||||
|
||||
var/on = TRUE
|
||||
var/code = 2
|
||||
|
||||
@@ -28,7 +28,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
|
||||
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
|
||||
worn_icon_state = "headset"
|
||||
custom_materials = list(/datum/material/iron=75)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT * 0.75)
|
||||
subspace_transmission = TRUE
|
||||
canhear_range = 0 // can't hear headsets from very far away
|
||||
|
||||
|
||||
@@ -178,7 +178,7 @@
|
||||
icon_state = "intercom"
|
||||
result_path = /obj/item/radio/intercom/unscrewed
|
||||
pixel_shift = 26
|
||||
custom_materials = list(/datum/material/iron = 75, /datum/material/glass = 25)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 0.75, /datum/material/glass = SMALL_MATERIAL_AMOUNT * 0.25)
|
||||
|
||||
MAPPING_DIRECTIONAL_HELPERS(/obj/item/radio/intercom, 26)
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
custom_materials = list(/datum/material/iron=75, /datum/material/glass=25)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT * 0.75, /datum/material/glass=SMALL_MATERIAL_AMOUNT * 0.25)
|
||||
obj_flags = USES_TGUI
|
||||
|
||||
///if FALSE, broadcasting and listening dont matter and this radio shouldnt do anything
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
tool_behaviour = TOOL_ANALYZER
|
||||
custom_materials = list(/datum/material/iron=30, /datum/material/glass=20)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT * 0.3, /datum/material/glass=SMALL_MATERIAL_AMOUNT * 0.2)
|
||||
grind_results = list(/datum/reagent/mercury = 5, /datum/reagent/iron = 5, /datum/reagent/silicon = 5)
|
||||
var/cooldown = FALSE
|
||||
var/cooldown_time = 250
|
||||
@@ -206,7 +206,7 @@
|
||||
icon_state = "analyzerranged"
|
||||
worn_icon_state = "analyzer"
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
custom_materials = list(/datum/material/iron = 100, /datum/material/glass = 20, /datum/material/gold = 300, /datum/material/bluespace=200)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT, /datum/material/glass = SMALL_MATERIAL_AMOUNT * 0.2, /datum/material/gold = SMALL_MATERIAL_AMOUNT*3, /datum/material/bluespace=SMALL_MATERIAL_AMOUNT*2)
|
||||
grind_results = list(/datum/reagent/mercury = 5, /datum/reagent/iron = 5, /datum/reagent/silicon = 5)
|
||||
|
||||
/obj/item/analyzer/ranged/afterattack(atom/target, mob/user, proximity_flag, click_parameters)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
custom_materials = list(/datum/material/iron=200)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT *2)
|
||||
var/mode = SCANNER_VERBOSE
|
||||
var/scanmode = SCANMODE_HEALTH
|
||||
var/advanced = FALSE
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
custom_materials = list(/datum/material/iron=200)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*2)
|
||||
|
||||
var/list/discovered = list() //hit a dna console to update the scanners database
|
||||
var/list/buffer
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
throwforce = 0
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
custom_materials = list(/datum/material/iron=30, /datum/material/glass=20)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*0.30, /datum/material/glass=SMALL_MATERIAL_AMOUNT * 0.20)
|
||||
|
||||
/obj/item/slime_scanner/attack(mob/living/M, mob/living/user)
|
||||
if(user.stat || !user.can_read(src)) //SKYRAT EDIT: Blind People Can Analyze Again
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
worn_icon_state = "electronic"
|
||||
lefthand_file = 'icons/mob/inhands/items/devices_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/items/devices_righthand.dmi'
|
||||
custom_materials = list(/datum/material/iron=150)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT * 1.5)
|
||||
|
||||
/obj/item/t_scanner/suicide_act(mob/living/carbon/user)
|
||||
user.visible_message(span_suicide("[user] begins to emit terahertz-rays into [user.p_their()] brain with [src]! It looks like [user.p_theyre()] trying to commit suicide!"))
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
slot_flags = ITEM_SLOT_BELT
|
||||
custom_materials = list(/datum/material/iron=60, /datum/material/glass=30)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT * 0.6, /datum/material/glass=SMALL_MATERIAL_AMOUNT * 0.3)
|
||||
force = 2
|
||||
throwforce = 2
|
||||
speech_span = SPAN_TAPE_RECORDER
|
||||
@@ -374,7 +374,7 @@
|
||||
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
custom_materials = list(/datum/material/iron=20, /datum/material/glass=5)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT * 0.2, /datum/material/glass = SMALL_MATERIAL_AMOUNT * 0.05)
|
||||
force = 1
|
||||
throwforce = 0
|
||||
obj_flags = UNIQUE_RENAME //my mixtape
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
throw_speed = 2
|
||||
throw_range = 1
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
custom_materials = list(/datum/material/iron=5000,/datum/material/plasma=500)
|
||||
custom_materials = list(/datum/material/iron= SHEET_MATERIAL_AMOUNT * 2.5, /datum/material/plasma= SMALL_MATERIAL_AMOUNT * 5)
|
||||
/// how long the seal takes to place on the door
|
||||
var/seal_time = 3 SECONDS
|
||||
/// how long it takes to remove the seal from a door
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
throw_range = 7
|
||||
force = 10
|
||||
demolition_mod = 1.25
|
||||
custom_materials = list(/datum/material/iron = 90)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 0.9)
|
||||
attack_verb_continuous = list("slams", "whacks", "bashes", "thunks", "batters", "bludgeons", "thrashes")
|
||||
attack_verb_simple = list("slam", "whack", "bash", "thunk", "batter", "bludgeon", "thrash")
|
||||
dog_fashion = /datum/dog_fashion/back
|
||||
@@ -57,7 +57,7 @@
|
||||
throwforce = 2
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
force = 3
|
||||
custom_materials = list(/datum/material/iron = 50, /datum/material/glass = 40)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT* 0.5, /datum/material/glass = SMALL_MATERIAL_AMOUNT * 0.4)
|
||||
max_water = 30
|
||||
sprite_name = "miniFE"
|
||||
dog_fashion = null
|
||||
@@ -76,7 +76,7 @@
|
||||
throwforce = 1
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
force = 3
|
||||
custom_materials = list(/datum/material/iron = 50, /datum/material/glass = 40)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 0.5, /datum/material/glass = SMALL_MATERIAL_AMOUNT * 0.4)
|
||||
max_water = 30
|
||||
sprite_name = "coolant"
|
||||
dog_fashion = null
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
throw_speed = 1
|
||||
throw_range = 5
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
custom_materials = list(/datum/material/iron=500)
|
||||
custom_materials = list(/datum/material/iron= HALF_SHEET_MATERIAL_AMOUNT * 0.5)
|
||||
resistance_flags = FIRE_PROOF
|
||||
trigger_guard = TRIGGER_GUARD_NORMAL
|
||||
light_system = MOVABLE_LIGHT
|
||||
|
||||
@@ -353,7 +353,7 @@
|
||||
icon = 'icons/obj/food/frozen_treats.dmi'
|
||||
icon_state = "popsicle_stick"
|
||||
desc = "This humble little stick usually carries a frozen treat, at the moment it seems freed from this Atlassian burden."
|
||||
custom_materials = list(/datum/material/wood = 20)
|
||||
custom_materials = list(/datum/material/wood = SMALL_MATERIAL_AMOUNT * 0.20)
|
||||
resistance_flags = FLAMMABLE
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
force = 0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/obj/item/food/meat
|
||||
custom_materials = list(/datum/material/meat = MINERAL_MATERIAL_AMOUNT * 4)
|
||||
custom_materials = list(/datum/material/meat = SHEET_MATERIAL_AMOUNT * 4)
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
icon = 'icons/obj/food/meat.dmi'
|
||||
var/subjectname = ""
|
||||
|
||||
@@ -166,7 +166,7 @@
|
||||
icon_state = "bowl"
|
||||
base_icon_state = "bowl"
|
||||
reagent_flags = OPENCONTAINER | DUNKABLE
|
||||
custom_materials = list(/datum/material/glass = 500)
|
||||
custom_materials = list(/datum/material/glass = SMALL_MATERIAL_AMOUNT*5)
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
custom_price = PAYCHECK_CREW * 0.6
|
||||
fill_icon_thresholds = list(0)
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
throw_speed = 3
|
||||
throw_range = 5
|
||||
custom_materials = list(/datum/material/iron=500)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 5)
|
||||
breakouttime = 1 MINUTES
|
||||
armor_type = /datum/armor/restraints_handcuffs
|
||||
custom_price = PAYCHECK_COMMAND * 0.35
|
||||
@@ -148,7 +148,7 @@
|
||||
var/cable_color = CABLE_COLOR_RED
|
||||
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
|
||||
custom_materials = list(/datum/material/iron=150, /datum/material/glass=75)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 1.5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 0.75)
|
||||
breakouttime = 30 SECONDS
|
||||
cuffsound = 'sound/weapons/cablecuff.ogg'
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
throw_speed = 2
|
||||
throw_range = 5
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
custom_materials = list(/datum/material/glass=500)
|
||||
custom_materials = list(/datum/material/glass= SMALL_MATERIAL_AMOUNT * 5)
|
||||
///the implant within the case
|
||||
var/obj/item/implant/imp = null
|
||||
///Type of implant this will spawn as imp upon being spawned
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
throw_speed = 3
|
||||
throw_range = 5
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
custom_materials = list(/datum/material/iron=600, /datum/material/glass=200)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT * 6, /datum/material/glass=SMALL_MATERIAL_AMOUNT *2)
|
||||
///The implant in our implanter
|
||||
var/obj/item/implant/imp = null
|
||||
///Type of implant this will spawn as imp upon being spawned
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
name = "plastic potted plant"
|
||||
desc = "A fake, cheap looking, plastic tree. Perfect for people who kill every plant they touch."
|
||||
icon_state = "plant-26"
|
||||
custom_materials = (list(/datum/material/plastic = 8000))
|
||||
custom_materials = (list(/datum/material/plastic = SHEET_MATERIAL_AMOUNT * 4))
|
||||
trimmable = FALSE
|
||||
|
||||
/obj/item/kirbyplants/fullysynthetic/Initialize(mapload)
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
throwforce = 0
|
||||
throw_speed = 3
|
||||
throw_range = 5
|
||||
custom_materials = list(/datum/material/iron=80)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 0.8)
|
||||
flags_1 = CONDUCT_1
|
||||
attack_verb_continuous = list("attacks", "stabs", "pokes")
|
||||
attack_verb_simple = list("attack", "stab", "poke")
|
||||
@@ -72,7 +72,7 @@
|
||||
force = 0
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
throwforce = 0
|
||||
custom_materials = list(/datum/material/plastic=80)
|
||||
custom_materials = list(/datum/material/plastic = SMALL_MATERIAL_AMOUNT * 0.8)
|
||||
custom_price = PAYCHECK_LOWER * 1
|
||||
|
||||
/obj/item/kitchen/fork/plastic/Initialize(mapload)
|
||||
@@ -92,7 +92,7 @@
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
throwforce = 0
|
||||
throw_range = 5
|
||||
custom_materials = list(/datum/material/plastic = 100)
|
||||
custom_materials = list(/datum/material/plastic = SMALL_MATERIAL_AMOUNT)
|
||||
attack_verb_continuous = list("prods", "whiffs", "scratches", "pokes")
|
||||
attack_verb_simple = list("prod", "whiff", "scratch", "poke")
|
||||
sharpness = SHARP_EDGED
|
||||
@@ -150,7 +150,7 @@
|
||||
throwforce = 5
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
custom_materials = list(/datum/material/wood = MINERAL_MATERIAL_AMOUNT * 1.5)
|
||||
custom_materials = list(/datum/material/wood = SHEET_MATERIAL_AMOUNT * 1.5)
|
||||
resistance_flags = FLAMMABLE
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
attack_verb_continuous = list("bashes", "batters", "bludgeons", "thrashes", "whacks")
|
||||
@@ -166,7 +166,7 @@
|
||||
inhand_icon_state = "metal_rolling_pin"
|
||||
force = 12
|
||||
flags_1 = CONDUCT_1
|
||||
custom_materials = list(/datum/material/iron = MINERAL_MATERIAL_AMOUNT * 1.5, /datum/material/plastic = MINERAL_MATERIAL_AMOUNT * 1.5)
|
||||
custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT * 1.5, /datum/material/plastic = SHEET_MATERIAL_AMOUNT * 1.5)
|
||||
custom_price = PAYCHECK_CREW * 2
|
||||
bare_wound_bonus = 14
|
||||
|
||||
@@ -188,7 +188,7 @@
|
||||
attack_verb_simple = list("whack", "spoon", "tap")
|
||||
attack_verb_continuous = list("whacks", "spoons", "taps")
|
||||
armor_type = /datum/armor/kitchen_spoon
|
||||
custom_materials = list(/datum/material/iron=120)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 1.2)
|
||||
custom_price = PAYCHECK_LOWER * 2
|
||||
tool_behaviour = TOOL_MINING
|
||||
toolspeed = 25 // Literally 25 times worse than the base pickaxe
|
||||
@@ -296,7 +296,7 @@
|
||||
name = "plastic spoon"
|
||||
icon_state = "plastic_spoon"
|
||||
force = 0
|
||||
custom_materials = list(/datum/material/plastic=120)
|
||||
custom_materials = list(/datum/material/plastic = SMALL_MATERIAL_AMOUNT * 1.2)
|
||||
toolspeed = 75 // The plastic spoon takes 5 minutes to dig through a single mineral turf... It's one, continuous, breakable, do_after...
|
||||
custom_price = PAYCHECK_LOWER * 1
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
throw_speed = 3
|
||||
throw_range = 6
|
||||
custom_materials = list(/datum/material/iron=12000)
|
||||
custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT * 6)
|
||||
attack_verb_continuous = list("slashes", "stabs", "slices", "tears", "lacerates", "rips", "dices", "cuts")
|
||||
attack_verb_simple = list("slash", "stab", "slice", "tear", "lacerate", "rip", "dice", "cut")
|
||||
sharpness = SHARP_EDGED
|
||||
@@ -94,7 +94,7 @@
|
||||
flags_1 = CONDUCT_1
|
||||
force = 15
|
||||
throwforce = 10
|
||||
custom_materials = list(/datum/material/iron=18000)
|
||||
custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT * 6)
|
||||
attack_verb_continuous = list("slices", "dices", "chops", "cubes", "minces", "juliennes", "chiffonades", "batonnets")
|
||||
attack_verb_simple = list("slice", "dice", "chop", "cube", "mince", "julienne", "chiffonade", "batonnet")
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
@@ -171,7 +171,7 @@
|
||||
attack_verb_continuous = list("shanks", "shivs")
|
||||
attack_verb_simple = list("shank", "shiv")
|
||||
armor_type = /datum/armor/none
|
||||
custom_materials = list(/datum/material/glass=400)
|
||||
custom_materials = list(/datum/material/glass = SMALL_MATERIAL_AMOUNT * 4)
|
||||
|
||||
/obj/item/knife/shiv/Initialize(mapload)
|
||||
flags_1 &= ~CONDUCT_1
|
||||
@@ -185,7 +185,7 @@
|
||||
force = 9
|
||||
throwforce = 13
|
||||
armor_type = /datum/armor/shiv_plasma
|
||||
custom_materials = list(/datum/material/glass=400, /datum/material/plasma=200)
|
||||
custom_materials = list(/datum/material/glass=SMALL_MATERIAL_AMOUNT *4, /datum/material/plasma=SMALL_MATERIAL_AMOUNT * 2)
|
||||
|
||||
/datum/armor/shiv_plasma
|
||||
melee = 25
|
||||
@@ -205,7 +205,7 @@
|
||||
throw_range = 7
|
||||
wound_bonus = 10
|
||||
armor_type = /datum/armor/shiv_titanium
|
||||
custom_materials = list(/datum/material/glass=400, /datum/material/titanium=200)
|
||||
custom_materials = list(/datum/material/glass=SMALL_MATERIAL_AMOUNT * 4, /datum/material/titanium=SMALL_MATERIAL_AMOUNT * 2)
|
||||
|
||||
/datum/armor/shiv_titanium
|
||||
melee = 25
|
||||
@@ -228,7 +228,7 @@
|
||||
wound_bonus = 10
|
||||
bare_wound_bonus = 20
|
||||
armor_type = /datum/armor/shiv_plastitanium
|
||||
custom_materials = list(/datum/material/glass=400, /datum/material/alloy/plastitanium=200)
|
||||
custom_materials = list(/datum/material/glass= SMALL_MATERIAL_AMOUNT * 4, /datum/material/alloy/plastitanium= SMALL_MATERIAL_AMOUNT * 2)
|
||||
|
||||
/datum/armor/shiv_plastitanium
|
||||
melee = 50
|
||||
|
||||
@@ -727,7 +727,7 @@
|
||||
cell_hit_cost = 2000
|
||||
throw_stun_chance = 99 //Have you prayed today?
|
||||
convertible = FALSE
|
||||
custom_materials = list(/datum/material/iron = 10000, /datum/material/glass = 4000, /datum/material/silver = 10000, /datum/material/gold = 2000)
|
||||
custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT * 5, /datum/material/glass = SHEET_MATERIAL_AMOUNT*2, /datum/material/silver = SHEET_MATERIAL_AMOUNT*5, /datum/material/gold = SHEET_MATERIAL_AMOUNT)
|
||||
|
||||
/obj/item/melee/baton/security/boomerang/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
attack_verb_continuous = list("flogs", "whips", "lashes", "disciplines")
|
||||
attack_verb_simple = list("flog", "whip", "lash", "discipline")
|
||||
hitsound = 'sound/weapons/chainhit.ogg'
|
||||
custom_materials = list(/datum/material/iron = 1000)
|
||||
custom_materials = list(/datum/material/iron = HALF_SHEET_MATERIAL_AMOUNT)
|
||||
|
||||
/obj/item/melee/chainofcommand/suicide_act(mob/living/user)
|
||||
user.visible_message(span_suicide("[user] is strangling [user.p_them()]self with [src]! It looks like [user.p_theyre()] trying to commit suicide!"))
|
||||
@@ -79,7 +79,7 @@
|
||||
attack_verb_continuous = list("slashes", "cuts")
|
||||
attack_verb_simple = list("slash", "cut")
|
||||
hitsound = 'sound/weapons/rapierhit.ogg'
|
||||
custom_materials = list(/datum/material/iron = 1000)
|
||||
custom_materials = list(/datum/material/iron = HALF_SHEET_MATERIAL_AMOUNT)
|
||||
wound_bonus = 10
|
||||
bare_wound_bonus = 25
|
||||
|
||||
@@ -446,7 +446,7 @@
|
||||
greyscale_colors = "#FFFFFF"
|
||||
|
||||
material_flags = MATERIAL_EFFECTS | MATERIAL_ADD_PREFIX | MATERIAL_GREYSCALE | MATERIAL_AFFECT_STATISTICS //Material type changes the prefix as well as the color.
|
||||
custom_materials = list(/datum/material/iron = 12000) //Defaults to an Iron Mace.
|
||||
custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT*6) //Defaults to an Iron Mace.
|
||||
slot_flags = ITEM_SLOT_BELT
|
||||
force = 14
|
||||
w_class = WEIGHT_CLASS_BULKY
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
w_class = WEIGHT_CLASS_BULKY
|
||||
throw_speed = 2
|
||||
throw_range = 3
|
||||
custom_materials = list(/datum/material/iron = 7500, /datum/material/glass = 100)
|
||||
custom_materials = list(/datum/material/iron = HALF_SHEET_MATERIAL_AMOUNT * 7.5, /datum/material/glass = SMALL_MATERIAL_AMOUNT)
|
||||
var/open = TRUE
|
||||
var/locked = FALSE
|
||||
var/list/occupants = list()
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
righthand_file = 'icons/mob/inhands/items/devices_righthand.dmi'
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
custom_materials = list(/datum/material/iron = 500, /datum/material/glass = 250)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 5, /datum/material/glass = SMALL_MATERIAL_AMOUNT * 2.5)
|
||||
var/active = FALSE
|
||||
var/atom/movable/target //The thing we're searching for
|
||||
var/minimum_range = 0 //at what range the pinpointer declares you to be at your destination
|
||||
|
||||
@@ -644,11 +644,11 @@ GLOBAL_VAR_INIT(icon_holographic_window, init_holographic_window())
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
|
||||
custom_materials = list(/datum/material/iron=12000, /datum/material/glass=8000)
|
||||
custom_materials = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT *6, /datum/material/glass=SHEET_MATERIAL_AMOUNT*4)
|
||||
var/ammoamt = 40
|
||||
|
||||
/obj/item/rcd_ammo/large
|
||||
custom_materials = list(/datum/material/iron=48000, /datum/material/glass=32000)
|
||||
custom_materials = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT*24, /datum/material/glass=SHEET_MATERIAL_AMOUNT*16)
|
||||
ammoamt = 160
|
||||
|
||||
/obj/item/construction/rcd/combat/admin
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
throw_speed = 3
|
||||
throw_range = 5
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
custom_materials = list(/datum/material/iron=100000)
|
||||
custom_materials = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT*50)
|
||||
req_access = list(ACCESS_ENGINE_EQUIP)
|
||||
armor_type = /datum/armor/item_construction
|
||||
resistance_flags = FIRE_PROOF
|
||||
|
||||
@@ -221,7 +221,7 @@ GLOBAL_LIST_INIT(transit_tube_recipes, list(
|
||||
throw_range = 5
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
slot_flags = ITEM_SLOT_BELT
|
||||
custom_materials = list(/datum/material/iron=75000, /datum/material/glass=37500)
|
||||
custom_materials = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT*37.5, /datum/material/glass=SHEET_MATERIAL_AMOUNT*18.75)
|
||||
armor_type = /datum/armor/item_pipe_dispenser
|
||||
resistance_flags = FIRE_PROOF
|
||||
///Sparks system used when changing device in the UI
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
desc = "A medieval wooden buckler."
|
||||
icon_state = "buckler"
|
||||
inhand_icon_state = "buckler"
|
||||
custom_materials = list(/datum/material/wood = MINERAL_MATERIAL_AMOUNT * 10)
|
||||
custom_materials = list(/datum/material/wood = SHEET_MATERIAL_AMOUNT * 10)
|
||||
resistance_flags = FLAMMABLE
|
||||
block_chance = 30
|
||||
max_integrity = 55
|
||||
@@ -88,7 +88,7 @@
|
||||
desc = "Bears an inscription on the inside: <i>\"Romanes venio domus\"</i>."
|
||||
icon_state = "roman_shield"
|
||||
inhand_icon_state = "roman_shield"
|
||||
custom_materials = list(/datum/material/iron=8500)
|
||||
custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT * 4.25)
|
||||
max_integrity = 65
|
||||
shield_break_sound = 'sound/effects/grillehit.ogg'
|
||||
shield_break_leftover = /obj/item/stack/sheet/iron
|
||||
@@ -104,7 +104,7 @@
|
||||
desc = "A shield adept at blocking blunt objects from connecting with the torso of the shield wielder."
|
||||
icon_state = "riot"
|
||||
inhand_icon_state = "riot"
|
||||
custom_materials = list(/datum/material/glass=7500, /datum/material/iron=1000)
|
||||
custom_materials = list(/datum/material/glass= SHEET_MATERIAL_AMOUNT * 3.75, /datum/material/iron= HALF_SHEET_MATERIAL_AMOUNT)
|
||||
transparent = TRUE
|
||||
max_integrity = 75
|
||||
shield_break_sound = 'sound/effects/glassbr3.ogg'
|
||||
@@ -287,7 +287,7 @@
|
||||
icon_state = "teleriot"
|
||||
inhand_icon_state = "teleriot"
|
||||
worn_icon_state = "teleriot"
|
||||
custom_materials = list(/datum/material/iron = 3600, /datum/material/glass = 3600, /datum/material/silver = 270, /datum/material/titanium = 180)
|
||||
custom_materials = list(/datum/material/iron = HALF_SHEET_MATERIAL_AMOUNT * 3.6, /datum/material/glass = HALF_SHEET_MATERIAL_AMOUNT * 3.6, /datum/material/silver = SMALL_MATERIAL_AMOUNT * 2.7, /datum/material/titanium = SMALL_MATERIAL_AMOUNT * 1.8)
|
||||
slot_flags = null
|
||||
force = 3
|
||||
throwforce = 3
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/obj/item/shrapnel // frag grenades
|
||||
name = "shrapnel shard"
|
||||
custom_materials = list(/datum/material/iron=50)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 0.5)
|
||||
weak_against_armour = TRUE
|
||||
icon = 'icons/obj/shards.dmi'
|
||||
icon_state = "large"
|
||||
@@ -84,6 +84,6 @@
|
||||
|
||||
/obj/item/shrapnel/capmine
|
||||
name = "\improper AP shrapnel shard"
|
||||
custom_materials = list(/datum/material/iron=50)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 0.5)
|
||||
weak_against_armour = TRUE
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
demolition_mod = 0.75
|
||||
embedding = list("impact_pain_mult" = 2, "remove_pain_mult" = 4, "jostle_chance" = 2.5)
|
||||
armour_penetration = 10
|
||||
custom_materials = list(/datum/material/iron=1000, /datum/material/glass=2000)
|
||||
custom_materials = list(/datum/material/iron = HALF_SHEET_MATERIAL_AMOUNT, /datum/material/glass= HALF_SHEET_MATERIAL_AMOUNT * 2)
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
attack_verb_continuous = list("attacks", "pokes", "jabs", "tears", "lacerates", "gores")
|
||||
attack_verb_simple = list("attack", "poke", "jab", "tear", "lacerate", "gore")
|
||||
@@ -70,7 +70,7 @@
|
||||
if(/obj/item/shard/plasma)
|
||||
force = 11
|
||||
throwforce = 21
|
||||
custom_materials = list(/datum/material/iron=1000, /datum/material/alloy/plasmaglass=2000)
|
||||
custom_materials = list(/datum/material/iron= HALF_SHEET_MATERIAL_AMOUNT, /datum/material/alloy/plasmaglass= HALF_SHEET_MATERIAL_AMOUNT * 2)
|
||||
icon_prefix = "spearplasma"
|
||||
force_unwielded = 11
|
||||
force_wielded = 19
|
||||
@@ -80,7 +80,7 @@
|
||||
throwforce = 21
|
||||
throw_range = 8
|
||||
throw_speed = 5
|
||||
custom_materials = list(/datum/material/iron=1000, /datum/material/alloy/titaniumglass=2000)
|
||||
custom_materials = list(/datum/material/iron= HALF_SHEET_MATERIAL_AMOUNT, /datum/material/alloy/titaniumglass= HALF_SHEET_MATERIAL_AMOUNT * 2)
|
||||
wound_bonus = -10
|
||||
force_unwielded = 13
|
||||
force_wielded = 18
|
||||
@@ -91,7 +91,7 @@
|
||||
throwforce = 22
|
||||
throw_range = 9
|
||||
throw_speed = 5
|
||||
custom_materials = list(/datum/material/iron=1000, /datum/material/alloy/plastitaniumglass=2000)
|
||||
custom_materials = list(/datum/material/iron= HALF_SHEET_MATERIAL_AMOUNT, /datum/material/alloy/plastitaniumglass= HALF_SHEET_MATERIAL_AMOUNT * 2)
|
||||
wound_bonus = -10
|
||||
bare_wound_bonus = 20
|
||||
force_unwielded = 13
|
||||
@@ -216,11 +216,9 @@
|
||||
|
||||
throwforce = 22
|
||||
armour_penetration = 15 //Enhanced armor piercing
|
||||
custom_materials = list(/datum/material/bone=7000)
|
||||
force_unwielded = 8 // SKYRAT EDIT CHANGE - ORIGINAL: 12
|
||||
force_wielded = 16 // SKYRAT EDIT CHANGE - ORIGINAL: 20
|
||||
|
||||
reach = 2 // SKYRAT EDIT ADD
|
||||
custom_materials = list(/datum/material/bone = HALF_SHEET_MATERIAL_AMOUNT * 7)
|
||||
force_unwielded = 12
|
||||
force_wielded = 20
|
||||
|
||||
/*
|
||||
* Bamboo Spear
|
||||
@@ -233,6 +231,6 @@
|
||||
desc = "A haphazardly-constructed bamboo stick with a sharpened tip, ready to poke holes into unsuspecting people."
|
||||
|
||||
throwforce = 22 //Better to throw
|
||||
custom_materials = list(/datum/material/bamboo=40000)
|
||||
custom_materials = list(/datum/material/bamboo = SHEET_MATERIAL_AMOUNT * 20)
|
||||
force_unwielded = 10
|
||||
force_wielded = 18
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
singular_name = "bluespace crystal"
|
||||
dye_color = DYE_COSMIC
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
mats_per_unit = list(/datum/material/bluespace=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/bluespace=SHEET_MATERIAL_AMOUNT)
|
||||
points = 50
|
||||
refined_type = /obj/item/stack/sheet/bluespace_crystal
|
||||
grind_results = list(/datum/reagent/bluespace = 20)
|
||||
@@ -54,7 +54,7 @@
|
||||
/obj/item/stack/ore/bluespace_crystal/artificial
|
||||
name = "artificial bluespace crystal"
|
||||
desc = "An artificially made bluespace crystal, it looks delicate."
|
||||
mats_per_unit = list(/datum/material/bluespace=MINERAL_MATERIAL_AMOUNT*0.5)
|
||||
mats_per_unit = list(/datum/material/bluespace=SHEET_MATERIAL_AMOUNT*0.5)
|
||||
blink_range = 4 // Not as good as the organic stuff!
|
||||
points = 0 //nice try
|
||||
refined_type = null
|
||||
@@ -69,7 +69,7 @@
|
||||
inhand_icon_state = null
|
||||
singular_name = "bluespace polycrystal"
|
||||
desc = "A stable polycrystal, made of fused-together bluespace crystals. You could probably break one off."
|
||||
mats_per_unit = list(/datum/material/bluespace=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/bluespace=SHEET_MATERIAL_AMOUNT)
|
||||
attack_verb_continuous = list("bluespace polybashes", "bluespace polybatters", "bluespace polybludgeons", "bluespace polythrashes", "bluespace polysmashes")
|
||||
attack_verb_simple = list("bluespace polybash", "bluespace polybatter", "bluespace polybludgeon", "bluespace polythrash", "bluespace polysmash")
|
||||
novariants = TRUE
|
||||
|
||||
@@ -135,7 +135,7 @@ GLOBAL_LIST_INIT(rod_recipes, list ( \
|
||||
color = "#5286b9ff"
|
||||
flags_1 = CONDUCT_1
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
mats_per_unit = list(/datum/material/iron=1000, /datum/material/plasma=500, /datum/material/titanium=2000)
|
||||
mats_per_unit = list(/datum/material/iron=1000, /datum/material/plasma=SMALL_MATERIAL_AMOUNT*5, /datum/material/titanium=SHEET_MATERIAL_AMOUNT)
|
||||
max_amount = 30
|
||||
resistance_flags = FIRE_PROOF | LAVA_PROOF
|
||||
merge_type = /obj/item/stack/rods/lava
|
||||
|
||||
@@ -21,7 +21,7 @@ GLOBAL_LIST_INIT(glass_recipes, list ( \
|
||||
singular_name = "glass sheet"
|
||||
icon_state = "sheet-glass"
|
||||
inhand_icon_state = "sheet-glass"
|
||||
mats_per_unit = list(/datum/material/glass=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/glass=SHEET_MATERIAL_AMOUNT)
|
||||
armor_type = /datum/armor/sheet_glass
|
||||
resistance_flags = ACID_PROOF
|
||||
merge_type = /obj/item/stack/sheet/glass
|
||||
@@ -92,7 +92,7 @@ GLOBAL_LIST_INIT(pglass_recipes, list ( \
|
||||
singular_name = "plasma glass sheet"
|
||||
icon_state = "sheet-pglass"
|
||||
inhand_icon_state = "sheet-pglass"
|
||||
mats_per_unit = list(/datum/material/alloy/plasmaglass=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/alloy/plasmaglass=SHEET_MATERIAL_AMOUNT)
|
||||
material_type = /datum/material/alloy/plasmaglass
|
||||
armor_type = /datum/armor/sheet_plasmaglass
|
||||
resistance_flags = ACID_PROOF
|
||||
@@ -151,7 +151,7 @@ GLOBAL_LIST_INIT(reinforced_glass_recipes, list ( \
|
||||
singular_name = "reinforced glass sheet"
|
||||
icon_state = "sheet-rglass"
|
||||
inhand_icon_state = "sheet-rglass"
|
||||
mats_per_unit = list(/datum/material/iron=MINERAL_MATERIAL_AMOUNT * 0.5, /datum/material/glass=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT * 0.5, /datum/material/glass=SHEET_MATERIAL_AMOUNT)
|
||||
armor_type = /datum/armor/sheet_rglass
|
||||
resistance_flags = ACID_PROOF
|
||||
merge_type = /obj/item/stack/sheet/rglass
|
||||
@@ -188,7 +188,7 @@ GLOBAL_LIST_INIT(prglass_recipes, list ( \
|
||||
singular_name = "reinforced plasma glass sheet"
|
||||
icon_state = "sheet-prglass"
|
||||
inhand_icon_state = "sheet-prglass"
|
||||
mats_per_unit = list(/datum/material/alloy/plasmaglass=MINERAL_MATERIAL_AMOUNT, /datum/material/iron = MINERAL_MATERIAL_AMOUNT * 0.5)
|
||||
mats_per_unit = list(/datum/material/alloy/plasmaglass=SHEET_MATERIAL_AMOUNT, /datum/material/iron = SHEET_MATERIAL_AMOUNT * 0.5)
|
||||
armor_type = /datum/armor/sheet_plasmarglass
|
||||
resistance_flags = ACID_PROOF
|
||||
material_flags = NONE
|
||||
@@ -221,7 +221,7 @@ GLOBAL_LIST_INIT(titaniumglass_recipes, list(
|
||||
singular_name = "titanium glass sheet"
|
||||
icon_state = "sheet-titaniumglass"
|
||||
inhand_icon_state = "sheet-titaniumglass"
|
||||
mats_per_unit = list(/datum/material/alloy/titaniumglass=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/alloy/titaniumglass=SHEET_MATERIAL_AMOUNT)
|
||||
material_type = /datum/material/alloy/titaniumglass
|
||||
armor_type = /datum/armor/sheet_titaniumglass
|
||||
resistance_flags = ACID_PROOF
|
||||
@@ -249,7 +249,7 @@ GLOBAL_LIST_INIT(plastitaniumglass_recipes, list(
|
||||
singular_name = "plastitanium glass sheet"
|
||||
icon_state = "sheet-plastitaniumglass"
|
||||
inhand_icon_state = "sheet-plastitaniumglass"
|
||||
mats_per_unit = list(/datum/material/alloy/plastitaniumglass=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/alloy/plastitaniumglass=SHEET_MATERIAL_AMOUNT)
|
||||
material_type = /datum/material/alloy/plastitaniumglass
|
||||
armor_type = /datum/armor/sheet_plastitaniumglass
|
||||
material_flags = NONE
|
||||
@@ -279,7 +279,7 @@ GLOBAL_LIST_INIT(plastitaniumglass_recipes, list(
|
||||
inhand_icon_state = "shard-glass"
|
||||
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
|
||||
custom_materials = list(/datum/material/glass=MINERAL_MATERIAL_AMOUNT)
|
||||
custom_materials = list(/datum/material/glass=SHEET_MATERIAL_AMOUNT)
|
||||
attack_verb_continuous = list("stabs", "slashes", "slices", "cuts")
|
||||
attack_verb_simple = list("stab", "slash", "slice", "cut")
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
@@ -394,7 +394,7 @@ GLOBAL_LIST_INIT(plastitaniumglass_recipes, list(
|
||||
throwforce = 11
|
||||
icon_state = "plasmalarge"
|
||||
inhand_icon_state = "shard-plasma"
|
||||
custom_materials = list(/datum/material/alloy/plasmaglass=MINERAL_MATERIAL_AMOUNT)
|
||||
custom_materials = list(/datum/material/alloy/plasmaglass=SHEET_MATERIAL_AMOUNT)
|
||||
icon_prefix = "plasma"
|
||||
weld_material = /obj/item/stack/sheet/plasmaglass
|
||||
shiv_type = /obj/item/knife/shiv/plasma
|
||||
@@ -406,7 +406,7 @@ GLOBAL_LIST_INIT(plastitaniumglass_recipes, list(
|
||||
throwforce = 12
|
||||
icon_state = "titaniumlarge"
|
||||
inhand_icon_state = "shard-titanium"
|
||||
custom_materials = list(/datum/material/alloy/titaniumglass=MINERAL_MATERIAL_AMOUNT)
|
||||
custom_materials = list(/datum/material/alloy/titaniumglass=SHEET_MATERIAL_AMOUNT)
|
||||
icon_prefix = "titanium"
|
||||
weld_material = /obj/item/stack/sheet/titaniumglass
|
||||
shiv_type = /obj/item/knife/shiv/titanium
|
||||
@@ -419,7 +419,7 @@ GLOBAL_LIST_INIT(plastitaniumglass_recipes, list(
|
||||
throwforce = 12
|
||||
icon_state = "plastitaniumlarge"
|
||||
inhand_icon_state = "shard-plastitanium"
|
||||
custom_materials = list(/datum/material/alloy/plastitaniumglass=MINERAL_MATERIAL_AMOUNT)
|
||||
custom_materials = list(/datum/material/alloy/plastitaniumglass=SHEET_MATERIAL_AMOUNT)
|
||||
icon_prefix = "plastitanium"
|
||||
weld_material = /obj/item/stack/sheet/plastitaniumglass
|
||||
shiv_type = /obj/item/knife/shiv/plastitanium
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
inhand_icon_state = null
|
||||
singular_name = "hot ice piece"
|
||||
icon = 'icons/obj/stack_objects.dmi'
|
||||
mats_per_unit = list(/datum/material/hot_ice=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/hot_ice=SHEET_MATERIAL_AMOUNT)
|
||||
grind_results = list(/datum/reagent/toxin/hot_ice = 25)
|
||||
material_type = /datum/material/hot_ice
|
||||
merge_type = /obj/item/stack/sheet/hot_ice
|
||||
|
||||
@@ -36,7 +36,7 @@ GLOBAL_LIST_INIT(sandstone_recipes, list ( \
|
||||
inhand_icon_state = null
|
||||
throw_speed = 3
|
||||
throw_range = 5
|
||||
mats_per_unit = list(/datum/material/sandstone=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/sandstone=SHEET_MATERIAL_AMOUNT)
|
||||
sheettype = "sandstone"
|
||||
merge_type = /obj/item/stack/sheet/mineral/sandstone
|
||||
walltype = /turf/closed/wall/mineral/sandstone
|
||||
@@ -97,7 +97,7 @@ GLOBAL_LIST_INIT(sandbag_recipes, list ( \
|
||||
inhand_icon_state = "sheet-diamond"
|
||||
singular_name = "diamond"
|
||||
sheettype = "diamond"
|
||||
mats_per_unit = list(/datum/material/diamond=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/diamond=SHEET_MATERIAL_AMOUNT)
|
||||
grind_results = list(/datum/reagent/carbon = 20)
|
||||
point_value = 25
|
||||
merge_type = /obj/item/stack/sheet/mineral/diamond
|
||||
@@ -122,7 +122,7 @@ GLOBAL_LIST_INIT(diamond_recipes, list ( \
|
||||
inhand_icon_state = "sheet-uranium"
|
||||
singular_name = "uranium sheet"
|
||||
sheettype = "uranium"
|
||||
mats_per_unit = list(/datum/material/uranium=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/uranium=SHEET_MATERIAL_AMOUNT)
|
||||
grind_results = list(/datum/reagent/uranium = 20)
|
||||
point_value = 20
|
||||
merge_type = /obj/item/stack/sheet/mineral/uranium
|
||||
@@ -152,7 +152,7 @@ GLOBAL_LIST_INIT(uranium_recipes, list ( \
|
||||
sheettype = "plasma"
|
||||
resistance_flags = FLAMMABLE
|
||||
max_integrity = 100
|
||||
mats_per_unit = list(/datum/material/plasma=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/plasma=SHEET_MATERIAL_AMOUNT)
|
||||
grind_results = list(/datum/reagent/toxin/plasma = 20)
|
||||
point_value = 20
|
||||
merge_type = /obj/item/stack/sheet/mineral/plasma
|
||||
@@ -187,7 +187,7 @@ GLOBAL_LIST_INIT(plasma_recipes, list ( \
|
||||
inhand_icon_state = "sheet-gold"
|
||||
singular_name = "gold bar"
|
||||
sheettype = "gold"
|
||||
mats_per_unit = list(/datum/material/gold=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/gold=SHEET_MATERIAL_AMOUNT)
|
||||
grind_results = list(/datum/reagent/gold = 20)
|
||||
point_value = 20
|
||||
merge_type = /obj/item/stack/sheet/mineral/gold
|
||||
@@ -214,7 +214,7 @@ GLOBAL_LIST_INIT(gold_recipes, list ( \
|
||||
inhand_icon_state = "sheet-silver"
|
||||
singular_name = "silver bar"
|
||||
sheettype = "silver"
|
||||
mats_per_unit = list(/datum/material/silver=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/silver=SHEET_MATERIAL_AMOUNT)
|
||||
grind_results = list(/datum/reagent/silver = 20)
|
||||
point_value = 20
|
||||
merge_type = /obj/item/stack/sheet/mineral/silver
|
||||
@@ -240,7 +240,7 @@ GLOBAL_LIST_INIT(silver_recipes, list ( \
|
||||
inhand_icon_state = null
|
||||
singular_name = "bananium sheet"
|
||||
sheettype = "bananium"
|
||||
mats_per_unit = list(/datum/material/bananium=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/bananium=SHEET_MATERIAL_AMOUNT)
|
||||
grind_results = list(/datum/reagent/consumable/banana = 20)
|
||||
point_value = 50
|
||||
merge_type = /obj/item/stack/sheet/mineral/bananium
|
||||
@@ -272,7 +272,7 @@ GLOBAL_LIST_INIT(bananium_recipes, list ( \
|
||||
throw_speed = 1
|
||||
throw_range = 3
|
||||
sheettype = "titanium"
|
||||
mats_per_unit = list(/datum/material/titanium=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/titanium=SHEET_MATERIAL_AMOUNT)
|
||||
point_value = 20
|
||||
merge_type = /obj/item/stack/sheet/mineral/titanium
|
||||
material_type = /datum/material/titanium
|
||||
@@ -304,7 +304,7 @@ GLOBAL_LIST_INIT(titanium_recipes, list ( \
|
||||
throw_speed = 1
|
||||
throw_range = 3
|
||||
sheettype = "plastitanium"
|
||||
mats_per_unit = list(/datum/material/alloy/plastitanium=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/alloy/plastitanium=SHEET_MATERIAL_AMOUNT)
|
||||
point_value = 45
|
||||
material_type = /datum/material/alloy/plastitanium
|
||||
merge_type = /obj/item/stack/sheet/mineral/plastitanium
|
||||
@@ -328,7 +328,7 @@ GLOBAL_LIST_INIT(plastitanium_recipes, list ( \
|
||||
name = "snow"
|
||||
icon_state = "sheet-snow"
|
||||
inhand_icon_state = null
|
||||
mats_per_unit = list(/datum/material/snow = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/snow = SHEET_MATERIAL_AMOUNT)
|
||||
singular_name = "snow block"
|
||||
force = 1
|
||||
throwforce = 2
|
||||
@@ -364,7 +364,7 @@ GLOBAL_LIST_INIT(adamantine_recipes, list(
|
||||
icon_state = "sheet-adamantine"
|
||||
inhand_icon_state = "sheet-adamantine"
|
||||
singular_name = "adamantine sheet"
|
||||
mats_per_unit = list(/datum/material/adamantine=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/adamantine=SHEET_MATERIAL_AMOUNT)
|
||||
merge_type = /obj/item/stack/sheet/mineral/adamantine
|
||||
|
||||
/obj/item/stack/sheet/mineral/adamantine/get_main_recipes()
|
||||
@@ -381,7 +381,7 @@ GLOBAL_LIST_INIT(adamantine_recipes, list(
|
||||
singular_name = "runite bar"
|
||||
icon_state = "sheet-runite"
|
||||
inhand_icon_state = "sheet-runite"
|
||||
mats_per_unit = list(/datum/material/runite=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/runite=SHEET_MATERIAL_AMOUNT)
|
||||
merge_type = /obj/item/stack/sheet/mineral/runite
|
||||
material_type = /datum/material/runite
|
||||
|
||||
@@ -395,7 +395,7 @@ GLOBAL_LIST_INIT(adamantine_recipes, list(
|
||||
inhand_icon_state = "sheet-mythril"
|
||||
singular_name = "mythril sheet"
|
||||
novariants = TRUE
|
||||
mats_per_unit = list(/datum/material/mythril=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/mythril=SHEET_MATERIAL_AMOUNT)
|
||||
merge_type = /obj/item/stack/sheet/mineral/mythril
|
||||
|
||||
/*
|
||||
@@ -408,7 +408,7 @@ GLOBAL_LIST_INIT(adamantine_recipes, list(
|
||||
inhand_icon_state = "sheet-abductor"
|
||||
singular_name = "alien alloy sheet"
|
||||
sheettype = "abductor"
|
||||
mats_per_unit = list(/datum/material/alloy/alien=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/alloy/alien=SHEET_MATERIAL_AMOUNT)
|
||||
merge_type = /obj/item/stack/sheet/mineral/abductor
|
||||
material_type = /datum/material/alloy/alien
|
||||
walltype = /turf/closed/wall/mineral/abductor
|
||||
@@ -476,7 +476,7 @@ GLOBAL_LIST_INIT(metalhydrogen_recipes, list(
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
resistance_flags = FIRE_PROOF | LAVA_PROOF | ACID_PROOF | INDESTRUCTIBLE
|
||||
point_value = 100
|
||||
mats_per_unit = list(/datum/material/metalhydrogen = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/metalhydrogen = SHEET_MATERIAL_AMOUNT)
|
||||
material_type = /datum/material/metalhydrogen
|
||||
merge_type = /obj/item/stack/sheet/mineral/metal_hydrogen
|
||||
|
||||
@@ -491,6 +491,6 @@ GLOBAL_LIST_INIT(metalhydrogen_recipes, list(
|
||||
singular_name = "zaukerite crystal"
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
point_value = 120
|
||||
mats_per_unit = list(/datum/material/zaukerite = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/zaukerite = SHEET_MATERIAL_AMOUNT)
|
||||
merge_type = /obj/item/stack/sheet/mineral/zaukerite
|
||||
material_type = /datum/material/zaukerite
|
||||
|
||||
@@ -77,7 +77,7 @@ GLOBAL_LIST_INIT(runed_metal_recipes, list( \
|
||||
icon_state = "sheet-runed"
|
||||
inhand_icon_state = "sheet-runed"
|
||||
icon = 'icons/obj/stack_objects.dmi'
|
||||
mats_per_unit = list(/datum/material/runedmetal = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/runedmetal = SHEET_MATERIAL_AMOUNT)
|
||||
sheettype = "runed"
|
||||
merge_type = /obj/item/stack/sheet/runed_metal
|
||||
grind_results = list(/datum/reagent/iron = 5, /datum/reagent/blood = 15)
|
||||
|
||||
@@ -139,7 +139,7 @@ GLOBAL_LIST_INIT(metal_recipes, list ( \
|
||||
singular_name = "iron sheet"
|
||||
icon_state = "sheet-metal"
|
||||
inhand_icon_state = "sheet-metal"
|
||||
mats_per_unit = list(/datum/material/iron=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT)
|
||||
throwforce = 10
|
||||
flags_1 = CONDUCT_1
|
||||
resistance_flags = FIRE_PROOF
|
||||
@@ -274,7 +274,7 @@ GLOBAL_LIST_INIT(plasteel_recipes, list ( \
|
||||
desc = "This sheet is an alloy of iron and plasma."
|
||||
icon_state = "sheet-plasteel"
|
||||
inhand_icon_state = "sheet-plasteel"
|
||||
mats_per_unit = list(/datum/material/alloy/plasteel=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/alloy/plasteel=SHEET_MATERIAL_AMOUNT)
|
||||
material_type = /datum/material/alloy/plasteel
|
||||
throwforce = 10
|
||||
flags_1 = CONDUCT_1
|
||||
@@ -356,7 +356,7 @@ GLOBAL_LIST_INIT(wood_recipes, list ( \
|
||||
icon_state = "sheet-wood"
|
||||
inhand_icon_state = "sheet-wood"
|
||||
icon = 'icons/obj/stack_objects.dmi'
|
||||
mats_per_unit = list(/datum/material/wood=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/wood=SHEET_MATERIAL_AMOUNT)
|
||||
sheettype = "wood"
|
||||
armor_type = /datum/armor/mineral_wood
|
||||
resistance_flags = FLAMMABLE
|
||||
@@ -405,7 +405,7 @@ GLOBAL_LIST_INIT(bamboo_recipes, list ( \
|
||||
inhand_icon_state = "sheet-bamboo"
|
||||
icon = 'icons/obj/stack_objects.dmi'
|
||||
sheettype = "bamboo"
|
||||
mats_per_unit = list(/datum/material/bamboo = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/bamboo = SHEET_MATERIAL_AMOUNT)
|
||||
throwforce = 15
|
||||
armor_type = /datum/armor/mineral_bamboo
|
||||
resistance_flags = FLAMMABLE
|
||||
@@ -616,7 +616,7 @@ GLOBAL_LIST_INIT(cardboard_recipes, list ( \
|
||||
singular_name = "cardboard sheet"
|
||||
icon_state = "sheet-card"
|
||||
inhand_icon_state = "sheet-card"
|
||||
mats_per_unit = list(/datum/material/cardboard = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/cardboard = SHEET_MATERIAL_AMOUNT)
|
||||
resistance_flags = FLAMMABLE
|
||||
force = 0
|
||||
throwforce = 0
|
||||
@@ -675,7 +675,7 @@ GLOBAL_LIST_INIT(bronze_recipes, list ( \
|
||||
icon_state = "sheet-brass"
|
||||
inhand_icon_state = "sheet-brass"
|
||||
icon = 'icons/obj/stack_objects.dmi'
|
||||
mats_per_unit = list(/datum/material/bronze = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/bronze = SHEET_MATERIAL_AMOUNT)
|
||||
lefthand_file = 'icons/mob/inhands/items/sheets_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/items/sheets_righthand.dmi'
|
||||
resistance_flags = FIRE_PROOF | ACID_PROOF
|
||||
@@ -734,7 +734,7 @@ GLOBAL_LIST_INIT(bronze_recipes, list ( \
|
||||
icon = 'icons/obj/stack_objects.dmi'
|
||||
icon_state = "bone"
|
||||
inhand_icon_state = null
|
||||
mats_per_unit = list(/datum/material/bone = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/bone = SHEET_MATERIAL_AMOUNT)
|
||||
singular_name = "bone"
|
||||
desc = "Someone's been drinking their milk."
|
||||
force = 7
|
||||
@@ -765,7 +765,7 @@ GLOBAL_LIST_INIT(plastic_recipes, list(
|
||||
singular_name = "plastic sheet"
|
||||
icon_state = "sheet-plastic"
|
||||
inhand_icon_state = "sheet-plastic"
|
||||
mats_per_unit = list(/datum/material/plastic=MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/plastic=SHEET_MATERIAL_AMOUNT)
|
||||
throwforce = 7
|
||||
material_type = /datum/material/plastic
|
||||
merge_type = /obj/item/stack/sheet/plastic
|
||||
@@ -790,7 +790,7 @@ new /datum/stack_recipe("paper frame door", /obj/structure/mineral_door/paperfra
|
||||
singular_name = "paper frame"
|
||||
icon_state = "sheet-paper"
|
||||
inhand_icon_state = "sheet-paper"
|
||||
mats_per_unit = list(/datum/material/paper = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/paper = SHEET_MATERIAL_AMOUNT)
|
||||
merge_type = /obj/item/stack/sheet/paperframes
|
||||
resistance_flags = FLAMMABLE
|
||||
grind_results = list(/datum/reagent/cellulose = 20)
|
||||
@@ -812,7 +812,7 @@ new /datum/stack_recipe("paper frame door", /obj/structure/mineral_door/paperfra
|
||||
singular_name = "meat sheet"
|
||||
icon_state = "sheet-meat"
|
||||
material_flags = MATERIAL_EFFECTS | MATERIAL_COLOR
|
||||
mats_per_unit = list(/datum/material/meat = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/meat = SHEET_MATERIAL_AMOUNT)
|
||||
merge_type = /obj/item/stack/sheet/meat
|
||||
material_type = /datum/material/meat
|
||||
material_modifier = 1 //None of that wussy stuff
|
||||
@@ -829,7 +829,7 @@ new /datum/stack_recipe("paper frame door", /obj/structure/mineral_door/paperfra
|
||||
desc = "It's a delicious pepperoni sheetzza!"
|
||||
singular_name = "pepperoni sheetzza"
|
||||
icon_state = "sheet-pizza"
|
||||
mats_per_unit = list(/datum/material/pizza = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/pizza = SHEET_MATERIAL_AMOUNT)
|
||||
merge_type = /obj/item/stack/sheet/pizza
|
||||
material_type = /datum/material/pizza
|
||||
material_modifier = 1
|
||||
@@ -846,7 +846,7 @@ new /datum/stack_recipe("paper frame door", /obj/structure/mineral_door/paperfra
|
||||
desc = "You're too old to be playing with sandcastles. Now you build... sandstations."
|
||||
singular_name = "sand block"
|
||||
icon_state = "sheet-sandstone"
|
||||
mats_per_unit = list(/datum/material/sand = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/sand = SHEET_MATERIAL_AMOUNT)
|
||||
merge_type = /obj/item/stack/sheet/sandblock
|
||||
material_type = /datum/material/sand
|
||||
material_modifier = 1
|
||||
@@ -865,7 +865,7 @@ new /datum/stack_recipe("paper frame door", /obj/structure/mineral_door/paperfra
|
||||
singular_name = "haunted sheet"
|
||||
icon_state = "sheet-meat"
|
||||
material_flags = MATERIAL_EFFECTS | MATERIAL_COLOR
|
||||
mats_per_unit = list(/datum/material/hauntium = MINERAL_MATERIAL_AMOUNT)
|
||||
mats_per_unit = list(/datum/material/hauntium = SHEET_MATERIAL_AMOUNT)
|
||||
merge_type = /obj/item/stack/sheet/hauntium
|
||||
material_type = /datum/material/hauntium
|
||||
material_modifier = 1 //None of that wussy stuff
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "tile"
|
||||
inhand_icon_state = "tile"
|
||||
force = 6
|
||||
mats_per_unit = list(/datum/material/iron=500)
|
||||
mats_per_unit = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*5)
|
||||
throwforce = 10
|
||||
flags_1 = CONDUCT_1
|
||||
turf_type = /turf/open/floor/iron
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
inhand_icon_state = "tile-plasma"
|
||||
turf_type = /turf/open/floor/mineral/plasma
|
||||
mineralType = "plasma"
|
||||
mats_per_unit = list(/datum/material/plasma=MINERAL_MATERIAL_AMOUNT*0.25)
|
||||
mats_per_unit = list(/datum/material/plasma=SHEET_MATERIAL_AMOUNT*0.25)
|
||||
merge_type = /obj/item/stack/tile/mineral/plasma
|
||||
|
||||
/obj/item/stack/tile/mineral/uranium
|
||||
@@ -43,7 +43,7 @@
|
||||
inhand_icon_state = "tile-uranium"
|
||||
turf_type = /turf/open/floor/mineral/uranium
|
||||
mineralType = "uranium"
|
||||
mats_per_unit = list(/datum/material/uranium=MINERAL_MATERIAL_AMOUNT*0.25)
|
||||
mats_per_unit = list(/datum/material/uranium=SHEET_MATERIAL_AMOUNT*0.25)
|
||||
merge_type = /obj/item/stack/tile/mineral/uranium
|
||||
|
||||
/obj/item/stack/tile/mineral/gold
|
||||
@@ -54,7 +54,7 @@
|
||||
inhand_icon_state = "tile-gold"
|
||||
turf_type = /turf/open/floor/mineral/gold
|
||||
mineralType = "gold"
|
||||
mats_per_unit = list(/datum/material/gold=MINERAL_MATERIAL_AMOUNT*0.25)
|
||||
mats_per_unit = list(/datum/material/gold=SHEET_MATERIAL_AMOUNT*0.25)
|
||||
merge_type = /obj/item/stack/tile/mineral/gold
|
||||
|
||||
/obj/item/stack/tile/mineral/silver
|
||||
@@ -65,7 +65,7 @@
|
||||
inhand_icon_state = "tile-silver"
|
||||
turf_type = /turf/open/floor/mineral/silver
|
||||
mineralType = "silver"
|
||||
mats_per_unit = list(/datum/material/silver=MINERAL_MATERIAL_AMOUNT*0.25)
|
||||
mats_per_unit = list(/datum/material/silver=SHEET_MATERIAL_AMOUNT*0.25)
|
||||
merge_type = /obj/item/stack/tile/mineral/silver
|
||||
|
||||
/obj/item/stack/tile/mineral/diamond
|
||||
@@ -76,7 +76,7 @@
|
||||
inhand_icon_state = "tile-diamond"
|
||||
turf_type = /turf/open/floor/mineral/diamond
|
||||
mineralType = "diamond"
|
||||
mats_per_unit = list(/datum/material/diamond=MINERAL_MATERIAL_AMOUNT*0.25)
|
||||
mats_per_unit = list(/datum/material/diamond=SHEET_MATERIAL_AMOUNT*0.25)
|
||||
merge_type = /obj/item/stack/tile/mineral/diamond
|
||||
|
||||
/obj/item/stack/tile/mineral/bananium
|
||||
@@ -87,7 +87,7 @@
|
||||
inhand_icon_state = "tile-bananium"
|
||||
turf_type = /turf/open/floor/mineral/bananium
|
||||
mineralType = "bananium"
|
||||
mats_per_unit = list(/datum/material/bananium=MINERAL_MATERIAL_AMOUNT*0.25)
|
||||
mats_per_unit = list(/datum/material/bananium=SHEET_MATERIAL_AMOUNT*0.25)
|
||||
material_flags = NONE //The slippery comp makes it unpractical for good clown decor. The material tiles should still slip.
|
||||
merge_type = /obj/item/stack/tile/mineral/bananium
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
icon = 'icons/obj/abductor.dmi'
|
||||
icon_state = "tile_abductor"
|
||||
inhand_icon_state = "tile-abductor"
|
||||
mats_per_unit = list(/datum/material/alloy/alien=MINERAL_MATERIAL_AMOUNT*0.25)
|
||||
mats_per_unit = list(/datum/material/alloy/alien=SHEET_MATERIAL_AMOUNT*0.25)
|
||||
turf_type = /turf/open/floor/mineral/abductor
|
||||
mineralType = "abductor"
|
||||
merge_type = /obj/item/stack/tile/mineral/abductor
|
||||
@@ -111,7 +111,7 @@
|
||||
inhand_icon_state = "tile-shuttle"
|
||||
turf_type = /turf/open/floor/mineral/titanium
|
||||
mineralType = "titanium"
|
||||
mats_per_unit = list(/datum/material/titanium=MINERAL_MATERIAL_AMOUNT*0.25)
|
||||
mats_per_unit = list(/datum/material/titanium=SHEET_MATERIAL_AMOUNT*0.25)
|
||||
merge_type = /obj/item/stack/tile/mineral/titanium
|
||||
tile_reskin_types = list(
|
||||
/obj/item/stack/tile/mineral/titanium,
|
||||
@@ -206,7 +206,7 @@
|
||||
inhand_icon_state = "tile-darkshuttle"
|
||||
turf_type = /turf/open/floor/mineral/plastitanium
|
||||
mineralType = "plastitanium"
|
||||
mats_per_unit = list(/datum/material/alloy/plastitanium=MINERAL_MATERIAL_AMOUNT*0.25)
|
||||
mats_per_unit = list(/datum/material/alloy/plastitanium=SHEET_MATERIAL_AMOUNT*0.25)
|
||||
merge_type = /obj/item/stack/tile/mineral/plastitanium
|
||||
tile_reskin_types = list(
|
||||
/obj/item/stack/tile/mineral/plastitanium,
|
||||
|
||||
@@ -1093,7 +1093,7 @@
|
||||
singular_name = "plastic floor tile"
|
||||
desc = "A tile of cheap, flimsy plastic flooring."
|
||||
icon_state = "tile_plastic"
|
||||
mats_per_unit = list(/datum/material/plastic=500)
|
||||
mats_per_unit = list(/datum/material/plastic=SMALL_MATERIAL_AMOUNT*5)
|
||||
turf_type = /turf/open/floor/plastic
|
||||
merge_type = /obj/item/stack/tile/plastic
|
||||
|
||||
@@ -1142,7 +1142,7 @@
|
||||
desc = "A clangy tile made of high-quality bronze. Clockwork construction techniques allow the clanging to be minimized."
|
||||
icon_state = "tile_brass"
|
||||
turf_type = /turf/open/floor/bronze
|
||||
mats_per_unit = list(/datum/material/bronze=500)
|
||||
mats_per_unit = list(/datum/material/bronze=SMALL_MATERIAL_AMOUNT*5)
|
||||
merge_type = /obj/item/stack/tile/bronze
|
||||
tile_reskin_types = list(
|
||||
/obj/item/stack/tile/bronze,
|
||||
@@ -1170,7 +1170,7 @@
|
||||
desc = "A strange tile made from runed metal. Doesn't seem to actually have any paranormal powers."
|
||||
icon_state = "tile_cult"
|
||||
turf_type = /turf/open/floor/cult
|
||||
mats_per_unit = list(/datum/material/runedmetal=500)
|
||||
mats_per_unit = list(/datum/material/runedmetal=SMALL_MATERIAL_AMOUNT*5)
|
||||
merge_type = /obj/item/stack/tile/cult
|
||||
|
||||
/// Floor tiles used to test emissive turfs.
|
||||
@@ -1208,7 +1208,7 @@
|
||||
desc = "Flooring that shows its contents underneath. Engineers love it!"
|
||||
icon_state = "maint_catwalk"
|
||||
inhand_icon_state = "tile-catwalk"
|
||||
mats_per_unit = list(/datum/material/iron=100)
|
||||
mats_per_unit = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT)
|
||||
turf_type = /turf/open/floor/catwalk_floor
|
||||
merge_type = /obj/item/stack/tile/catwalk_tile //Just to be cleaner, these all stack with eachother
|
||||
tile_reskin_types = list(
|
||||
@@ -1269,7 +1269,7 @@
|
||||
turf_type = /turf/open/floor/glass
|
||||
inhand_icon_state = "tile-glass"
|
||||
merge_type = /obj/item/stack/tile/glass
|
||||
mats_per_unit = list(/datum/material/glass=MINERAL_MATERIAL_AMOUNT * 0.25) // 4 tiles per sheet
|
||||
mats_per_unit = list(/datum/material/glass=SHEET_MATERIAL_AMOUNT * 0.25) // 4 tiles per sheet
|
||||
replace_plating = TRUE
|
||||
|
||||
/obj/item/stack/tile/glass/sixty
|
||||
@@ -1283,7 +1283,7 @@
|
||||
inhand_icon_state = "tile-rglass"
|
||||
turf_type = /turf/open/floor/glass/reinforced
|
||||
merge_type = /obj/item/stack/tile/rglass
|
||||
mats_per_unit = list(/datum/material/iron=MINERAL_MATERIAL_AMOUNT * 0.125, /datum/material/glass=MINERAL_MATERIAL_AMOUNT * 0.25) // 4 tiles per sheet
|
||||
mats_per_unit = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT * 0.125, /datum/material/glass=SHEET_MATERIAL_AMOUNT * 0.25) // 4 tiles per sheet
|
||||
replace_plating = TRUE
|
||||
|
||||
/obj/item/stack/tile/rglass/sixty
|
||||
@@ -1296,7 +1296,7 @@
|
||||
icon_state = "tile_pglass"
|
||||
turf_type = /turf/open/floor/glass/plasma
|
||||
merge_type = /obj/item/stack/tile/glass/plasma
|
||||
mats_per_unit = list(/datum/material/alloy/plasmaglass = MINERAL_MATERIAL_AMOUNT * 0.25)
|
||||
mats_per_unit = list(/datum/material/alloy/plasmaglass = SHEET_MATERIAL_AMOUNT * 0.25)
|
||||
|
||||
/obj/item/stack/tile/rglass/plasma
|
||||
name = "reinforced plasma glass floor"
|
||||
@@ -1305,4 +1305,4 @@
|
||||
icon_state = "tile_rpglass"
|
||||
turf_type = /turf/open/floor/glass/reinforced/plasma
|
||||
merge_type = /obj/item/stack/tile/rglass/plasma
|
||||
mats_per_unit = list(/datum/material/iron = MINERAL_MATERIAL_AMOUNT * 0.125, /datum/material/alloy/plasmaglass = MINERAL_MATERIAL_AMOUNT * 0.25)
|
||||
mats_per_unit = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT * 0.125, /datum/material/alloy/plasmaglass = SHEET_MATERIAL_AMOUNT * 0.25)
|
||||
|
||||
@@ -346,7 +346,7 @@
|
||||
throw_range = 5
|
||||
flags_1 = CONDUCT_1
|
||||
slot_flags = ITEM_SLOT_BELT
|
||||
custom_materials = list(/datum/material/iron=3000)
|
||||
custom_materials = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT*1.5)
|
||||
custom_price = PAYCHECK_CREW * 0.6
|
||||
|
||||
/obj/item/storage/bag/tray/Initialize(mapload)
|
||||
|
||||
@@ -497,7 +497,7 @@
|
||||
icon_state = "championbelt"
|
||||
inhand_icon_state = "championbelt"
|
||||
worn_icon_state = "championbelt"
|
||||
custom_materials = list(/datum/material/gold=400)
|
||||
custom_materials = list(/datum/material/gold=SMALL_MATERIAL_AMOUNT *4)
|
||||
|
||||
/obj/item/storage/belt/champion/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
icon_state = "plasticbox"
|
||||
foldable_result = null
|
||||
illustration = "writing"
|
||||
custom_materials = list(/datum/material/plastic = 1000) //You lose most if recycled.
|
||||
custom_materials = list(/datum/material/plastic = HALF_SHEET_MATERIAL_AMOUNT) //You lose most if recycled.
|
||||
|
||||
/obj/item/storage/box/emergencytank
|
||||
name = "emergency oxygen tank box"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
/obj/item/storage/fancy
|
||||
icon = 'icons/obj/food/containers.dmi'
|
||||
resistance_flags = FLAMMABLE
|
||||
custom_materials = list(/datum/material/cardboard = 2000)
|
||||
custom_materials = list(/datum/material/cardboard = SHEET_MATERIAL_AMOUNT)
|
||||
/// Used by examine to report what this thing is holding.
|
||||
var/contents_tag = "errors"
|
||||
/// What type of thing to fill this storage with.
|
||||
@@ -507,7 +507,7 @@
|
||||
spawn_count = 10
|
||||
contents_tag = "pickle"
|
||||
foldable_result = null
|
||||
custom_materials = list(/datum/material/glass = 2000)
|
||||
custom_materials = list(/datum/material/glass = SHEET_MATERIAL_AMOUNT)
|
||||
open_status = FANCY_CONTAINER_ALWAYS_OPEN
|
||||
has_open_closed_states = FALSE
|
||||
|
||||
@@ -536,7 +536,7 @@
|
||||
name = "coffee condiments display"
|
||||
desc = "A neat small wooden box, holding all your favorite coffee condiments."
|
||||
contents_tag = "coffee condiment"
|
||||
custom_materials = list(/datum/material/wood = 1000)
|
||||
custom_materials = list(/datum/material/wood = SHEET_MATERIAL_AMOUNT/2)
|
||||
resistance_flags = FLAMMABLE
|
||||
foldable_result = /obj/item/stack/sheet/mineral/wood
|
||||
open_status = FANCY_CONTAINER_ALWAYS_OPEN
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
inhand_icon_state = "cola"
|
||||
lefthand_file = 'icons/mob/inhands/items/drinks_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/items/drinks_righthand.dmi'
|
||||
custom_materials = list(/datum/material/plastic = 1200)
|
||||
custom_materials = list(/datum/material/plastic = HALF_SHEET_MATERIAL_AMOUNT*1.2)
|
||||
max_integrity = 500
|
||||
|
||||
/obj/item/storage/cans/suicide_act(mob/living/carbon/user)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
throw_range = 7
|
||||
demolition_mod = 1.25
|
||||
w_class = WEIGHT_CLASS_BULKY
|
||||
custom_materials = list(/datum/material/iron = 500)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT*5)
|
||||
attack_verb_continuous = list("robusts")
|
||||
attack_verb_simple = list("robust")
|
||||
hitsound = 'sound/weapons/smash.ogg'
|
||||
@@ -300,4 +300,4 @@
|
||||
|
||||
/obj/item/storage/toolbox/haunted
|
||||
name = "old toolbox"
|
||||
custom_materials = list(/datum/material/hauntium = 500)
|
||||
custom_materials = list(/datum/material/hauntium = SMALL_MATERIAL_AMOUNT*5)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
throwforce = 0
|
||||
throw_speed = 1
|
||||
embedding = EMBED_HARMLESS
|
||||
custom_materials = list(/datum/material/iron=1000)
|
||||
custom_materials = list(/datum/material/iron= HALF_SHEET_MATERIAL_AMOUNT)
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
attack_verb_continuous = list("pokes", "jabs", "pins the tail on")
|
||||
attack_verb_simple = list("poke", "jab")
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
throw_speed = 1
|
||||
throw_range = 4
|
||||
demolition_mod = 1.25
|
||||
custom_materials = list(/datum/material/iron = 500)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT*5)
|
||||
actions_types = list(/datum/action/item_action/set_internals)
|
||||
armor_type = /datum/armor/item_tank
|
||||
integrity_failure = 0.5
|
||||
|
||||
@@ -395,7 +395,7 @@ GLOBAL_LIST_EMPTY(tcgcard_radial_choices)
|
||||
desc = "A TGC flipper, for deciding who gets to go first. Also conveniently acts as a counter, for various purposes."
|
||||
icon = 'icons/obj/toys/tcgmisc.dmi'
|
||||
icon_state = "coin_nanotrasen"
|
||||
custom_materials = list(/datum/material/plastic = 400)
|
||||
custom_materials = list(/datum/material/plastic = SMALL_MATERIAL_AMOUNT*5)
|
||||
material_flags = NONE
|
||||
sideslist = list("nanotrasen", "syndicate")
|
||||
override_material_worth = TRUE
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
righthand_file = 'icons/mob/inhands/items/devices_righthand.dmi'
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
custom_materials = list(/datum/material/iron=400)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 4)
|
||||
var/tracking_range = 20
|
||||
|
||||
/obj/item/locator/ui_interact(mob/user, datum/tgui/ui)
|
||||
@@ -110,7 +110,7 @@
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
throw_speed = 3
|
||||
throw_range = 5
|
||||
custom_materials = list(/datum/material/iron=10000)
|
||||
custom_materials = list(/datum/material/iron= SHEET_MATERIAL_AMOUNT * 5)
|
||||
armor_type = /datum/armor/item_hand_tele
|
||||
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF
|
||||
var/list/active_portal_pairs
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
throwforce = 7
|
||||
demolition_mod = 1.25
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
custom_materials = list(/datum/material/iron=50)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*0.5)
|
||||
drop_sound = 'sound/items/handling/crowbar_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/crowbar_pickup.ogg'
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
desc = "A hard-light crowbar. It appears to pry by itself, without any effort required."
|
||||
icon = 'icons/obj/abductor.dmi'
|
||||
usesound = 'sound/weapons/sonic_jackhammer.ogg'
|
||||
custom_materials = list(/datum/material/iron = 5000, /datum/material/silver = 2500, /datum/material/plasma = 1000, /datum/material/titanium = 2000, /datum/material/diamond = 2000)
|
||||
custom_materials = list(/datum/material/iron =SHEET_MATERIAL_AMOUNT * 2.5, /datum/material/silver = SHEET_MATERIAL_AMOUNT*1.25, /datum/material/plasma =HALF_SHEET_MATERIAL_AMOUNT, /datum/material/titanium =SHEET_MATERIAL_AMOUNT, /datum/material/diamond =SHEET_MATERIAL_AMOUNT)
|
||||
icon_state = "crowbar"
|
||||
belt_icon_state = "crowbar_alien"
|
||||
toolspeed = 0.1
|
||||
@@ -60,7 +60,7 @@
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
throw_speed = 3
|
||||
throw_range = 3
|
||||
custom_materials = list(/datum/material/iron=70)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*0.7)
|
||||
icon_state = "crowbar_large"
|
||||
worn_icon_state = "crowbar"
|
||||
toolspeed = 0.7
|
||||
@@ -96,7 +96,7 @@
|
||||
worn_icon_state = "jawsoflife"
|
||||
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
|
||||
custom_materials = list(/datum/material/iron = 4500, /datum/material/silver = 2500, /datum/material/titanium = 3500)
|
||||
custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT*2.25, /datum/material/silver = SHEET_MATERIAL_AMOUNT*1.25, /datum/material/titanium = SHEET_MATERIAL_AMOUNT*1.75)
|
||||
usesound = 'sound/items/jaws_pry.ogg'
|
||||
force = 15
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
throwforce = 5
|
||||
throw_speed = 3
|
||||
throw_range = 5
|
||||
custom_materials = list(/datum/material/iron=75)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*0.75)
|
||||
attack_verb_continuous = list("stabs")
|
||||
attack_verb_simple = list("stab")
|
||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||
@@ -65,7 +65,7 @@
|
||||
icon = 'icons/obj/abductor.dmi'
|
||||
icon_state = "screwdriver_a"
|
||||
inhand_icon_state = "screwdriver_nuke"
|
||||
custom_materials = list(/datum/material/iron=5000, /datum/material/silver=2500, /datum/material/plasma = 1000, /datum/material/titanium = 2000, /datum/material/diamond = 2000)
|
||||
custom_materials = list(/datum/material/iron=HALF_SHEET_MATERIAL_AMOUNT*5, /datum/material/silver=SHEET_MATERIAL_AMOUNT*1.25, /datum/material/plasma =HALF_SHEET_MATERIAL_AMOUNT, /datum/material/titanium =SHEET_MATERIAL_AMOUNT, /datum/material/diamond =SHEET_MATERIAL_AMOUNT)
|
||||
usesound = 'sound/items/pshoom.ogg'
|
||||
toolspeed = 0.1
|
||||
random_color = FALSE
|
||||
@@ -84,7 +84,7 @@
|
||||
worn_icon_state = "drill"
|
||||
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
|
||||
custom_materials = list(/datum/material/iron=3500, /datum/material/silver=1500, /datum/material/titanium=2500) //what research value?
|
||||
custom_materials = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT*1.75, /datum/material/silver=HALF_SHEET_MATERIAL_AMOUNT * 1.5, /datum/material/titanium=SHEET_MATERIAL_AMOUNT*1.25) //what research value?
|
||||
force = 8 //might or might not be too high, subject to change
|
||||
throwforce = 8
|
||||
throw_speed = 2
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
toolspeed = 1
|
||||
//wound_bonus = 10 //SKYRAT EDIT REMOVAL
|
||||
//bare_wound_bonus = 15 //SKYRAT EDIT REMOVAL
|
||||
custom_materials = list(/datum/material/iron=70, /datum/material/glass=30)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*0.7, /datum/material/glass=SMALL_MATERIAL_AMOUNT*0.3)
|
||||
/// Whether the welding tool is on or off.
|
||||
var/welding = FALSE
|
||||
/// Whether the welder is secured or unsecured (able to attach rods to it to make a flamethrower)
|
||||
@@ -347,7 +347,7 @@
|
||||
desc = "A slightly larger welder with a larger tank."
|
||||
icon_state = "indwelder"
|
||||
max_fuel = 40
|
||||
custom_materials = list(/datum/material/glass=60)
|
||||
custom_materials = list(/datum/material/glass=SMALL_MATERIAL_AMOUNT*0.6)
|
||||
|
||||
/obj/item/weldingtool/largetank/flamethrower_screwdriver()
|
||||
return
|
||||
@@ -374,7 +374,7 @@
|
||||
icon_state = "miniwelder"
|
||||
max_fuel = 10
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
custom_materials = list(/datum/material/iron=30, /datum/material/glass=10)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*0.3, /datum/material/glass=SMALL_MATERIAL_AMOUNT*0.1)
|
||||
change_icons = FALSE
|
||||
|
||||
/obj/item/weldingtool/mini/flamethrower_screwdriver()
|
||||
@@ -389,7 +389,7 @@
|
||||
icon = 'icons/obj/abductor.dmi'
|
||||
icon_state = "welder"
|
||||
toolspeed = 0.1
|
||||
custom_materials = list(/datum/material/iron = 5000, /datum/material/silver = 2500, /datum/material/plasma = 5000, /datum/material/titanium = 2000, /datum/material/diamond = 2000)
|
||||
custom_materials = list(/datum/material/iron =SHEET_MATERIAL_AMOUNT * 2.5, /datum/material/silver = SHEET_MATERIAL_AMOUNT*1.25, /datum/material/plasma =SHEET_MATERIAL_AMOUNT * 2.5, /datum/material/titanium =SHEET_MATERIAL_AMOUNT, /datum/material/diamond =SHEET_MATERIAL_AMOUNT)
|
||||
light_system = NO_LIGHT_SUPPORT
|
||||
light_range = 0
|
||||
change_icons = FALSE
|
||||
@@ -405,7 +405,7 @@
|
||||
icon_state = "upindwelder"
|
||||
inhand_icon_state = "upindwelder"
|
||||
max_fuel = 80
|
||||
custom_materials = list(/datum/material/iron=70, /datum/material/glass=120)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*0.7, /datum/material/glass=SMALL_MATERIAL_AMOUNT*1.2)
|
||||
|
||||
/obj/item/weldingtool/experimental
|
||||
name = "experimental welding tool"
|
||||
@@ -413,7 +413,7 @@
|
||||
icon_state = "exwelder"
|
||||
inhand_icon_state = "exwelder"
|
||||
max_fuel = 40
|
||||
custom_materials = list(/datum/material/iron = 1000, /datum/material/glass = 500, /datum/material/plasma = 1500, /datum/material/uranium = 200)
|
||||
custom_materials = list(/datum/material/iron =HALF_SHEET_MATERIAL_AMOUNT, /datum/material/glass = SMALL_MATERIAL_AMOUNT*5, /datum/material/plasma =HALF_SHEET_MATERIAL_AMOUNT*1.5, /datum/material/uranium =SMALL_MATERIAL_AMOUNT * 2)
|
||||
change_icons = FALSE
|
||||
can_off_process = TRUE
|
||||
light_range = 1
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
custom_materials = list(/datum/material/iron=80)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*0.8)
|
||||
attack_verb_continuous = list("pinches", "nips")
|
||||
attack_verb_simple = list("pinch", "nip")
|
||||
hitsound = 'sound/items/wirecutter.ogg'
|
||||
@@ -71,7 +71,7 @@
|
||||
name = "alien wirecutters"
|
||||
desc = "Extremely sharp wirecutters, made out of a silvery-green metal."
|
||||
icon = 'icons/obj/abductor.dmi'
|
||||
custom_materials = list(/datum/material/iron = 5000, /datum/material/silver = 2500, /datum/material/plasma = 1000, /datum/material/titanium = 2000, /datum/material/diamond = 2000)
|
||||
custom_materials = list(/datum/material/iron =SHEET_MATERIAL_AMOUNT * 2.5, /datum/material/silver = SHEET_MATERIAL_AMOUNT*1.25, /datum/material/plasma =HALF_SHEET_MATERIAL_AMOUNT, /datum/material/titanium =SHEET_MATERIAL_AMOUNT, /datum/material/diamond =SHEET_MATERIAL_AMOUNT)
|
||||
icon_state = "cutters"
|
||||
toolspeed = 0.1
|
||||
random_color = FALSE
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
demolition_mod = 1.25
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
usesound = 'sound/items/ratchet.ogg'
|
||||
custom_materials = list(/datum/material/iron=150)
|
||||
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*1.5)
|
||||
drop_sound = 'sound/items/handling/wrench_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/wrench_pickup.ogg'
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
desc = "A polarized wrench. It causes anything placed between the jaws to turn."
|
||||
icon = 'icons/obj/abductor.dmi'
|
||||
belt_icon_state = "wrench_alien"
|
||||
custom_materials = list(/datum/material/iron = 5000, /datum/material/silver = 2500, /datum/material/plasma = 1000, /datum/material/titanium = 2000, /datum/material/diamond = 2000)
|
||||
custom_materials = list(/datum/material/iron =SHEET_MATERIAL_AMOUNT * 2.5, /datum/material/silver = SHEET_MATERIAL_AMOUNT*1.25, /datum/material/plasma =HALF_SHEET_MATERIAL_AMOUNT, /datum/material/titanium =SHEET_MATERIAL_AMOUNT, /datum/material/diamond =SHEET_MATERIAL_AMOUNT)
|
||||
usesound = 'sound/effects/empulse.ogg'
|
||||
toolspeed = 0.1
|
||||
|
||||
|
||||
@@ -322,7 +322,7 @@
|
||||
flags_1 = CONDUCT_1
|
||||
slot_flags = ITEM_SLOT_BELT
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
custom_materials = list(/datum/material/iron=10, /datum/material/glass=10)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 0.1, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 0.1)
|
||||
attack_verb_continuous = list("strikes", "pistol whips", "hits", "bashes")
|
||||
attack_verb_simple = list("strike", "pistol whip", "hit", "bash")
|
||||
var/bullets = 7
|
||||
@@ -377,7 +377,7 @@
|
||||
icon = 'icons/obj/weapons/guns/ammo.dmi'
|
||||
icon_state = "357OLD-7"
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
custom_materials = list(/datum/material/iron=10, /datum/material/glass=10)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 0.1, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 0.1)
|
||||
var/amount_left = 7
|
||||
|
||||
/obj/item/toy/ammo/gun/update_icon_state()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/obj/item/wallframe
|
||||
icon = 'icons/obj/wallframe.dmi'
|
||||
custom_materials = list(/datum/material/iron=MINERAL_MATERIAL_AMOUNT*2)
|
||||
custom_materials = list(/datum/material/iron= SHEET_MATERIAL_AMOUNT * 2)
|
||||
flags_1 = CONDUCT_1
|
||||
inhand_icon_state = "syringe_kit"
|
||||
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
|
||||
@@ -68,8 +68,8 @@
|
||||
return TOOL_ACT_TOOLTYPE_SUCCESS
|
||||
|
||||
/obj/item/wallframe/wrench_act(mob/living/user, obj/item/tool)
|
||||
var/metal_amt = round(custom_materials[GET_MATERIAL_REF(/datum/material/iron)]/MINERAL_MATERIAL_AMOUNT) //Replace this shit later
|
||||
var/glass_amt = round(custom_materials[GET_MATERIAL_REF(/datum/material/glass)]/MINERAL_MATERIAL_AMOUNT) //Replace this shit later
|
||||
var/metal_amt = round(custom_materials[GET_MATERIAL_REF(/datum/material/iron)]/SHEET_MATERIAL_AMOUNT) //Replace this shit later
|
||||
var/glass_amt = round(custom_materials[GET_MATERIAL_REF(/datum/material/glass)]/SHEET_MATERIAL_AMOUNT) //Replace this shit later
|
||||
|
||||
if(!metal_amt && !glass_amt)
|
||||
return FALSE
|
||||
@@ -91,6 +91,6 @@
|
||||
righthand_file = 'icons/mob/inhands/items/devices_righthand.dmi'
|
||||
flags_1 = CONDUCT_1
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
custom_materials = list(/datum/material/iron=50, /datum/material/glass=50)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 0.5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 0.5)
|
||||
grind_results = list(/datum/reagent/iron = 10, /datum/reagent/silicon = 10)
|
||||
custom_price = PAYCHECK_CREW * 0.5
|
||||
|
||||
@@ -304,7 +304,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
|
||||
force = 9
|
||||
throwforce = 10
|
||||
w_class = WEIGHT_CLASS_BULKY
|
||||
custom_materials = list(/datum/material/iron=1150, /datum/material/glass=75)
|
||||
custom_materials = list(/datum/material/iron= HALF_SHEET_MATERIAL_AMOUNT + SMALL_MATERIAL_AMOUNT * 1.5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 0.75)
|
||||
attack_verb_continuous = list("hits", "bludgeons", "whacks", "bonks")
|
||||
attack_verb_simple = list("hit", "bludgeon", "whack", "bonk")
|
||||
|
||||
@@ -373,7 +373,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
|
||||
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
sharpness = SHARP_POINTY
|
||||
custom_materials = list(/datum/material/iron=500, /datum/material/glass=500)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 5, /datum/material/glass= SMALL_MATERIAL_AMOUNT * 5)
|
||||
resistance_flags = FIRE_PROOF
|
||||
|
||||
/obj/item/throwing_star/stamina
|
||||
@@ -404,7 +404,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
|
||||
throwforce = 5
|
||||
throw_speed = 3
|
||||
throw_range = 6
|
||||
custom_materials = list(/datum/material/iron=12000)
|
||||
custom_materials = list(/datum/material/iron= SHEET_MATERIAL_AMOUNT * 6)
|
||||
hitsound = 'sound/weapons/genhit.ogg'
|
||||
attack_verb_continuous = list("stubs", "pokes")
|
||||
attack_verb_simple = list("stub", "poke")
|
||||
@@ -478,7 +478,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
|
||||
force = 5
|
||||
throwforce = 5
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
custom_materials = list(/datum/material/iron=50)
|
||||
custom_materials = list(/datum/material/iron= SMALL_MATERIAL_AMOUNT * 0.5)
|
||||
attack_verb_continuous = list("bludgeons", "whacks", "disciplines", "thrashes")
|
||||
attack_verb_simple = list("bludgeon", "whack", "discipline", "thrash")
|
||||
|
||||
@@ -491,7 +491,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
|
||||
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
|
||||
force = 1
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
custom_materials = list(/datum/material/iron = 600)
|
||||
custom_materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 6)
|
||||
|
||||
/obj/item/cane/white/Initialize(mapload)
|
||||
. = ..()
|
||||
@@ -691,7 +691,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
|
||||
demolition_mod = 1.25
|
||||
attack_verb_continuous = list("beats", "smacks")
|
||||
attack_verb_simple = list("beat", "smack")
|
||||
custom_materials = list(/datum/material/wood = MINERAL_MATERIAL_AMOUNT * 3.5)
|
||||
custom_materials = list(/datum/material/wood = SHEET_MATERIAL_AMOUNT * 3.5)
|
||||
resistance_flags = FLAMMABLE
|
||||
w_class = WEIGHT_CLASS_HUGE
|
||||
/// Are we able to do a homerun?
|
||||
@@ -817,7 +817,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
|
||||
desc = "This bat is made of highly reflective, highly armored material."
|
||||
icon_state = "baseball_bat_metal"
|
||||
inhand_icon_state = "baseball_bat_metal"
|
||||
custom_materials = list(/datum/material/titanium = MINERAL_MATERIAL_AMOUNT * 3.5)
|
||||
custom_materials = list(/datum/material/titanium = SHEET_MATERIAL_AMOUNT * 3.5)
|
||||
resistance_flags = NONE
|
||||
force = 12
|
||||
throwforce = 15
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
resistance_flags = NONE
|
||||
max_integrity = 250
|
||||
integrity_failure = 0.1
|
||||
custom_materials = list(/datum/material/iron = 2000)
|
||||
custom_materials = list(/datum/material/iron =SHEET_MATERIAL_AMOUNT)
|
||||
layer = OBJ_LAYER
|
||||
var/buildstacktype = /obj/item/stack/sheet/iron
|
||||
var/buildstackamount = 1
|
||||
@@ -44,7 +44,7 @@
|
||||
else
|
||||
for(var/i in custom_materials)
|
||||
var/datum/material/M = i
|
||||
new M.sheet_type(loc, FLOOR(custom_materials[M] / MINERAL_MATERIAL_AMOUNT, 1))
|
||||
new M.sheet_type(loc, FLOOR(custom_materials[M] / SHEET_MATERIAL_AMOUNT, 1))
|
||||
..()
|
||||
|
||||
/obj/structure/chair/attack_paw(mob/user, list/modifiers)
|
||||
@@ -331,7 +331,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/chair/stool/bar, 0)
|
||||
throw_range = 3
|
||||
hitsound = 'sound/items/trayhit1.ogg'
|
||||
hit_reaction_chance = 50
|
||||
custom_materials = list(/datum/material/iron = 2000)
|
||||
custom_materials = list(/datum/material/iron =SHEET_MATERIAL_AMOUNT)
|
||||
var/break_chance = 5 //Likely hood of smashing the chair.
|
||||
var/obj/structure/chair/origin_type = /obj/structure/chair
|
||||
|
||||
@@ -516,7 +516,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/chair/stool/bar, 0)
|
||||
desc = "No matter how much you squirm, it'll still be uncomfortable."
|
||||
resistance_flags = FLAMMABLE
|
||||
max_integrity = 50
|
||||
custom_materials = list(/datum/material/plastic = 2000)
|
||||
custom_materials = list(/datum/material/plastic =SHEET_MATERIAL_AMOUNT)
|
||||
buildstacktype = /obj/item/stack/sheet/plastic
|
||||
buildstackamount = 2
|
||||
item_chair = /obj/item/chair/plastic
|
||||
@@ -549,7 +549,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/chair/stool/bar, 0)
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
force = 7
|
||||
throw_range = 5 //Lighter Weight --> Flies Farther.
|
||||
custom_materials = list(/datum/material/plastic = 2000)
|
||||
custom_materials = list(/datum/material/plastic =SHEET_MATERIAL_AMOUNT)
|
||||
break_chance = 25
|
||||
origin_type = /obj/structure/chair/plastic
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
merge_type = /obj/item/stack/cannonball
|
||||
throwforce = 10
|
||||
flags_1 = CONDUCT_1
|
||||
custom_materials = list(/datum/material/alloy/plasteel=MINERAL_MATERIAL_AMOUNT)
|
||||
custom_materials = list(/datum/material/alloy/plasteel=SHEET_MATERIAL_AMOUNT)
|
||||
resistance_flags = FIRE_PROOF
|
||||
throw_speed = 5
|
||||
throw_range = 3
|
||||
|
||||
@@ -272,7 +272,7 @@
|
||||
var/turf/T = get_turf(src)
|
||||
for(var/material in custom_materials)
|
||||
var/datum/material/material_datum = material
|
||||
var/material_count = FLOOR(custom_materials[material_datum] / MINERAL_MATERIAL_AMOUNT, 1)
|
||||
var/material_count = FLOOR(custom_materials[material_datum] / SHEET_MATERIAL_AMOUNT, 1)
|
||||
if(!disassembled)
|
||||
material_count = rand(FLOOR(material_count/2, 1), material_count)
|
||||
new material_datum.sheet_type(T, material_count)
|
||||
|
||||
@@ -385,7 +385,7 @@
|
||||
new girder_type(loc)
|
||||
for(var/material in custom_materials)
|
||||
var/datum/material/material_datum = material
|
||||
new material_datum.sheet_type(loc, FLOOR(custom_materials[material_datum] / MINERAL_MATERIAL_AMOUNT, 1))
|
||||
new material_datum.sheet_type(loc, FLOOR(custom_materials[material_datum] / SHEET_MATERIAL_AMOUNT, 1))
|
||||
qdel(src)
|
||||
|
||||
/obj/structure/falsewall/material/mat_update_desc(mat)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user