Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions code/datums/components/storage/storage_grid_types.dm
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@

/datum/component/storage/concrete/grid/sack
max_w_class = WEIGHT_CLASS_NORMAL
screen_max_rows = 5
screen_max_rows = 6
screen_max_columns = 4
click_gather = TRUE
collection_mode = COLLECT_EVERYTHING
Expand All @@ -122,7 +122,7 @@
/datum/component/storage/concrete/grid/handbasket
max_w_class = WEIGHT_CLASS_NORMAL
screen_max_rows = 3
screen_max_columns = 3
screen_max_columns = 4
click_gather = TRUE
collection_mode = COLLECT_EVERYTHING
dump_time = 0
Expand Down Expand Up @@ -205,6 +205,18 @@
/obj/item/bodypart/head)
)

/datum/component/storage/concrete/grid/headhook/wood
max_w_class = WEIGHT_CLASS_NORMAL
screen_max_rows = 6
screen_max_columns = 2
click_gather = TRUE
collection_mode = COLLECT_EVERYTHING
dump_time = 0
allow_quick_gather = TRUE
allow_quick_empty = TRUE
allow_dump_out = TRUE
insert_preposition = "in"

/datum/component/storage/concrete/grid/headhook/bronze
max_w_class = WEIGHT_CLASS_NORMAL
screen_max_rows = 8
Expand Down
14 changes: 6 additions & 8 deletions code/game/objects/structures/fake_machines/headeater.dm
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@

/obj/structure/fake_machine/headeater
name = "\improper HEADEATER"
desc = "A machine that feeds on certain heads for coin. Worth more than selling to the merchantry."
icon = 'icons/roguetown/misc/machines.dmi'
icon_state = "headeater"
density = FALSE
lock = /datum/lock/key/hailer
blade_dulling = DULLING_BASH
SET_BASE_PIXEL(0, 32)

Expand All @@ -18,16 +16,16 @@
/obj/structure/fake_machine/headeater/attackby(obj/item/I, mob/user, list/modifiers)
if(!is_type_in_list(I, list(/obj/item/natural/head, /obj/item/bodypart/head)))
return ..()
if(locked())
to_chat(user, span_warning("It's locked. Of course."))
return
if(I.sellprice <= 0)
to_chat(user, span_warning("[I] isn't worth selling."))
return
else if(I.sellprice * 1.3 > 10)
playsound(src, 'sound/gore/organ2.ogg', 100)

var/reward = ceil(I.sellprice * 1.3)
playsound(src, 'sound/gore/flesh_eat_03.ogg', 100)
visible_message(span_notice("[src] consumes [I], spitting out [reward] mammons as reward!"), vision_distance = COMBAT_MESSAGE_RANGE)

visible_message(span_notice("[src] consumes [I], spitting out a reward!"), vision_distance = COMBAT_MESSAGE_RANGE)
playsound(src, 'sound/gore/flesh_eat_03.ogg', 100,)
var/reward = round(I.sellprice * 1.25)
budget2change(reward, user)
record_round_statistic(STATS_HEADEATER_EXPORTS, reward)
qdel(I)
21 changes: 21 additions & 0 deletions code/modules/clothing/belt/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -535,15 +535,36 @@
//mob_overlay_icon = 'icons/roguetown/clothing/onmob/belts.dmi' //N/A uncomment when a mob_overlay icon is made and added
icon_state = "ironheadhook"
item_state = "ironheadhook"
w_class = WEIGHT_CLASS_NORMAL
slot_flags = ITEM_SLOT_HIP
w_class = WEIGHT_CLASS_NORMAL
max_integrity = 300
equip_sound = 'sound/blank.ogg'
bloody_icon_state = "bodyblood"

grid_width = 64
grid_height = 64

anvilrepair = /datum/attribute/skill/craft/blacksmithing
smeltresult = /obj/item/ingot/iron
component_type = /datum/component/storage/concrete/grid/headhook

/obj/item/storage/hip/headhook/wood
name = "head hook"
desc = "an iron hook for storing 3 heads"
icon = 'icons/roguetown/clothing/belts.dmi'
//mob_overlay_icon = 'icons/roguetown/clothing/onmob/belts.dmi' //N/A uncomment when a mob_overlay icon is made and added
icon_state = "woodheadhook"
item_state = "woodheadhook"
slot_flags = ITEM_SLOT_HIP
w_class = WEIGHT_CLASS_NORMAL
max_integrity = 300
equip_sound = 'sound/blank.ogg'
bloody_icon_state = "bodyblood"
anvilrepair = /datum/attribute/skill/craft/blacksmithing
smeltresult = /obj/item/ingot/iron
component_type = /datum/component/storage/concrete/grid/headhook/wood

/obj/item/storage/hip/headhook/bronze
name = "bronze head hook"
desc = "a bronze hook for storing 12 heads"
Expand Down
17 changes: 17 additions & 0 deletions code/modules/crafting/quality_of_crafting/crafting.dm
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,23 @@
output = /obj/item/clothing/head/antlerhood
craftdiff = 0

/datum/repeatable_crafting_recipe/crafting/headhookwood
name = "head hook (wood)"
requirements = list(
/obj/item/grown/log/tree/small = 1,
/obj/item/grown/log/tree/stick = 2,
/obj/item/natural/fibers = 3,
)

tool_usage = list(
/obj/item/weapon/knife = list(span_notice("starts to whittle"), span_notice("start to whittle"), 'sound/items/wood_sharpen.ogg'),
)

attacked_atom = /obj/item/grown/log/tree
starting_atom = /obj/item/weapon/knife
output = /obj/item/storage/hip/headhook/wood
craftdiff = 0

/datum/repeatable_crafting_recipe/crafting/antlerhood/create_blacklisted_paths()
blacklisted_paths = subtypesof(/obj/item/natural/hide)

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/npc/goblin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
dismemberable = 0

/obj/item/bodypart/head/goblin
sellprice = 5
sellprice = 4

/obj/item/bodypart/head/goblin/update_icon_dropped()
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
d_intent = INTENT_PARRY
possible_mmb_intents = list(INTENT_BITE, INTENT_JUMP, INTENT_KICK)

headprice = 16
headprice = 12
var/is_silent = FALSE /// Determines whether or not we will scream our funny lines at people.


Expand Down Expand Up @@ -188,7 +188,7 @@
a_intent = INTENT_HELP
d_intent = INTENT_PARRY
possible_mmb_intents = list(INTENT_BITE, INTENT_JUMP, INTENT_KICK)
headprice = 20
headprice = 15

/mob/living/carbon/human/species/human/northern/bog_deserters/better_gear/ambush
wander = TRUE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GLOBAL_LIST_INIT(hedgeknight_aggro, file2list("strings/rt/hedgeknightaggrolines.
var/is_silent = FALSE /// Determines whether or not we will scream our funny lines at people.
var/preset = "matthios"
var/forced_preset = "" // If set, force a specific preset instead of randomizing.
headprice = 36
headprice = 25

/mob/living/carbon/human/species/human/northern/deranged_knight/Initialize()
. = ..()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GLOBAL_LIST_INIT(drowraider_aggro, file2list("strings/rt/drowaggrolines.txt"))
flee_in_pain = TRUE
d_intent = INTENT_DODGE
var/is_silent = FALSE /// Determines whether or not we will scream our funny lines at people.
headprice = 15
headprice = 13

/mob/living/carbon/human/species/elf/dark/drowraider/ambush
wander = TRUE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GLOBAL_LIST_INIT(highwayman_aggro, file2list("strings/rt/highwaymanaggrolines.tx
flee_in_pain = TRUE
d_intent = INTENT_PARRY
var/is_silent = FALSE /// Determines whether or not we will scream our funny lines at people.
headprice = 12
headprice = 9


/mob/living/carbon/human/species/human/northern/highwayman/ambush
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/npc/rousman.dm
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ GLOBAL_LIST_EMPTY(rousman_ambush_objects)
/////////////////////////////////////////////////////////////////////////////

/obj/item/bodypart/head/rousman
sellprice = 5
sellprice = 3

/obj/item/bodypart/head/rousman/update_icon_dropped()
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
stand_attempts = 4
cmode_music = 'sound/music/cmode/antag/combatskeleton.ogg'
var/should_have_aggro = TRUE
headprice = 7
headprice = 5

/mob/living/carbon/human/species/skeleton/npc/no_equipment
skel_outfit = null
Expand Down
2 changes: 1 addition & 1 deletion code/modules/surgery/bodyparts/head.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
px_x = 0
px_y = -8
dismember_wound = /datum/wound/dismemberment/head
sellprice = 8
sellprice = 7

grid_width = 64
grid_height = 64
Expand Down
Binary file modified icons/roguetown/clothing/belts.dmi
Binary file not shown.
Loading