Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SmiLeYre committed Jan 10, 2025
2 parents 6fb2d33 + 982fb39 commit 08df4bc
Show file tree
Hide file tree
Showing 12 changed files with 78 additions and 49 deletions.
28 changes: 14 additions & 14 deletions _maps/map_files/rockhill/rockhill.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,8 @@
/obj/structure/lever/red{
dir = 6;
name = "BURN";
redstone_id = "lava_bastioncell";
pixel_x = -10
pixel_x = -10;
redstone_id = "lava_bastioncell"
},
/turf/open/floor/rogue/tile,
/area/rogue/indoors)
Expand Down Expand Up @@ -1146,7 +1146,7 @@
lockid = "blacksmith"
},
/obj/item/rogueweapon/tongs,
/obj/item/rogueweapon/hammer,
/obj/item/rogueweapon/hammer/iron,
/obj/item/key/blacksmith,
/turf/open/floor/rogue/ruinedwood{
icon_state = "weird1"
Expand Down Expand Up @@ -7509,10 +7509,10 @@
"ezy" = (
/obj/structure/mineral_door/wood/donjon{
dir = 8;
lockdiff = 2;
locked = 1;
lockid = "bog_gatehouse";
name = "Acid Cell";
lockdiff = 2
name = "Acid Cell"
},
/turf/open/floor/rogue/blocks/green,
/area/rogue/under/town/basement)
Expand Down Expand Up @@ -7913,10 +7913,10 @@
"eKm" = (
/obj/structure/mineral_door/wood/donjon{
dir = 8;
lockdiff = 2;
locked = 1;
lockid = "bog_gatehouse";
name = "Armory";
lockdiff = 2
name = "Armory"
},
/turf/open/floor/rogue/blocks/green,
/area/rogue/under/town/basement)
Expand Down Expand Up @@ -16064,7 +16064,7 @@
/area/rogue/indoors/town/bath)
"jEp" = (
/obj/machinery/anvil/crafted,
/obj/item/rogueweapon/hammer,
/obj/item/rogueweapon/hammer/iron,
/turf/open/floor/rogue/hexstone,
/area/rogue/indoors)
"jEq" = (
Expand Down Expand Up @@ -16466,7 +16466,7 @@
},
/obj/item/rogueweapon/tongs,
/obj/item/key/blacksmith,
/obj/item/rogueweapon/hammer,
/obj/item/rogueweapon/hammer/iron,
/turf/open/floor/rogue/ruinedwood{
icon_state = "weird1"
},
Expand Down Expand Up @@ -17784,7 +17784,7 @@
locked = 1;
lockid = "blacksmith"
},
/obj/item/rogueweapon/hammer,
/obj/item/rogueweapon/hammer/iron,
/obj/item/rogueweapon/tongs,
/obj/item/key/blacksmith,
/turf/open/floor/rogue/ruinedwood{
Expand Down Expand Up @@ -18213,11 +18213,11 @@
redstone_id = "lava_bastion"
},
/obj/structure/kybraxor{
desc = "Hungry for the poor.";
name = "Balar";
pixel_x = -32;
pixel_y = -32;
redstone_id = "lava_bastion";
desc = "Hungry for the poor.";
name = "Balar"
redstone_id = "lava_bastion"
},
/turf/open/transparent/openspace,
/area/rogue/indoors)
Expand Down Expand Up @@ -22094,7 +22094,7 @@
},
/obj/item/key/blacksmith,
/obj/item/rogueweapon/tongs,
/obj/item/rogueweapon/hammer,
/obj/item/rogueweapon/hammer/iron,
/turf/open/floor/rogue/ruinedwood{
icon_state = "weird1"
},
Expand Down
8 changes: 5 additions & 3 deletions code/game/objects/items/rogueitems/natural/wood.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
user.changeNext_move(CLICK_CD_MELEE)
var/skill_level = user.mind.get_skill_level(/datum/skill/labor/lumberjacking)
var/planking_time = (40 - (skill_level * 5))
if(istype(I, /obj/item/rogueweapon/handsaw))
if(lumber_amount && I.tool_behaviour == TOOL_SAW || I.tool_behaviour == TOOL_IMPROVSAW)
playsound(get_turf(src.loc), 'sound/foley/sawing.ogg', 100)
user.visible_message("<span class='notice'>[user] starts sawing [src] to smaller pieces.</span>")
if(do_after(user, planking_time))
Expand Down Expand Up @@ -80,13 +80,15 @@
smeltresult = /obj/item/rogueore/coal
lumber_amount = 0
metalizer_result = /obj/item/rogueore/copper


/obj/item/grown/log/tree/small/attackby(obj/item/I, mob/living/user, params)
if(item_flags & IN_STORAGE)
return
user.changeNext_move(CLICK_CD_MELEE)
var/skill_level = user.mind.get_skill_level(/datum/skill/labor/lumberjacking)
var/skill_level = user.mind.get_skill_level(/datum/skill/craft/carpentry)
var/planking_time = (45 - (skill_level * 5))
if(istype(I, /obj/item/rogueweapon/handsaw))
if(I.tool_behaviour == TOOL_SAW || I.tool_behaviour == TOOL_IMPROVSAW)
playsound(get_turf(src.loc), 'sound/foley/sawing.ogg', 100)
user.visible_message("<span class='notice'>[user] starts sawing planks from [src].</span>")
if(do_after(user, planking_time))
Expand Down
20 changes: 20 additions & 0 deletions code/game/objects/structures/roguetown/rogueflora.dm
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,26 @@
icon_state = "tallbush[pick(1,2)]"


/* .................. Wild Swampweed ................... */
/obj/structure/wild_swampweed
name = "swampweed"
desc = ""
icon = 'icons/roguetown/misc/crops.dmi'
icon_state = "weed2"
color = "#d2d1ce"
layer = BELOW_MOB_LAYER
max_integrity = 60
density = FALSE
debris = list(/obj/item/natural/fibers = 1, /obj/item/reagent_containers/food/snacks/grown/rogue/sweetleaf = 1)
/obj/structure/wild_swampweed/attack_hand(mob/living/carbon/human/user)
playsound(src.loc, "plantcross", 80, FALSE, -1)
user.visible_message(span_warning("[user] harvests [src]."))
if(do_after(user, 3 SECONDS, target = src))
new /obj/item/reagent_containers/food/snacks/grown/rogue/sweetleaf (get_turf(src))
qdel(src)
/obj/structure/wild_swampweed/Crossed(mob/living/carbon/human/H)
playsound(src.loc, "plantcross", 80, FALSE, -1)

/obj/structure/flora/rogueshroom
name = "mushroom"
desc = "Mushrooms are the only happy beings in this island."
Expand Down
4 changes: 2 additions & 2 deletions code/modules/farming/produce.dm
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
list_reagents = list(/datum/reagent/consumable/nutriment = 1, /datum/reagent/berrypoison = 5)
tastes = list("sweet" = 1,"bitterness" = 1)
eat_effect = /datum/status_effect/debuff/badmeal
rotprocess = 15 MINUTES
rotprocess = 60 MINUTES

/obj/item/reagent_containers/food/snacks/grown/rogue/pipeweed
seed = /obj/item/seeds/pipeweed
Expand All @@ -224,7 +224,7 @@
list_reagents = list(/datum/reagent/drug/nicotine = 2, /datum/reagent/consumable/nutriment = 1, /datum/reagent/berrypoison = 5)
grind_results = list(/datum/reagent/drug/nicotine = 5)
eat_effect = /datum/status_effect/debuff/badmeal
rotprocess = 15 MINUTES
rotprocess = 60 MINUTES

/obj/item/reagent_containers/food/snacks/grown/rogue/pipeweeddry
seed = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@
/datum/customizer/organ/vagina/human,
)
body_markings = list(
/datum/body_marking/flushed_cheeks,
/datum/body_marking/eyeliner,
/datum/body_marking/tonage,
)


gender_swapping = TRUE
stress_examine = TRUE
stress_desc = span_red("A loathesome dark elf.")
Expand Down
2 changes: 1 addition & 1 deletion code/modules/roguetown/mapgen/bog.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/obj/structure/flora/roguetree/stump = 4,
/obj/effect/mob_spawner =5,
/obj/structure/closet/dirthole/closed/loot=3,
/obj/item/reagent_containers/food/snacks/grown/rogue/sweetleaf = 4,
/obj/structure/wild_swampweed = 5,
/obj/structure/flora/roguegrass/maneater/real=3)
spawnableTurfs = list(/turf/open/floor/rogue/dirt/road=2,
/turf/open/water/swamp=1)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/roguetown/roguecrafting/turfs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
reqs = list(/obj/item/natural/wood/plank = 1)
skill_level = 2

/datum/crafting_recipe/roguetown/turfs/woodplatform
/datum/crafting_recipe/roguetown/turfs/wood/woodplatform
name = "platform (wood)"
result = /turf/open/floor/rogue/ruinedwood/platform
reqs = list(/obj/item/natural/wood/plank = 2)
Expand Down
7 changes: 4 additions & 3 deletions code/modules/roguetown/roguejobs/artificer/handsaw_chisel.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//................ Handsaw ............... //
/obj/item/rogueweapon/handsaw
force = 5
possible_item_intents = list(/datum/intent/mace/strike/shovel)
possible_item_intents = list(/datum/intent/dagger/cut, /datum/intent/dagger/chop/cleaver)
gripped_intents = null
name = "handsaw"
desc = "Iron tool for woodworking."
Expand All @@ -21,10 +21,11 @@
wlength = WLENGTH_LONG
w_class = WEIGHT_CLASS_NORMAL
slot_flags = ITEM_SLOT_HIP
tool_behaviour = TOOL_IMPROVSAW
swingsound = list('sound/combat/wooshes/blunt/shovel_swing.ogg','sound/combat/wooshes/blunt/shovel_swing2.ogg')
drop_sound = 'sound/foley/dropsound/shovel_drop.ogg'
smeltresult = /obj/item/ingot/iron
associated_skill = /datum/skill/combat/maces
associated_skill = /datum/skill/combat/knives
max_blade_int = 50

//................ Chisel ............... //
Expand All @@ -51,7 +52,7 @@
slot_flags = ITEM_SLOT_HIP
swingsound = list('sound/combat/wooshes/blunt/shovel_swing.ogg','sound/combat/wooshes/blunt/shovel_swing2.ogg')
drop_sound = 'sound/foley/dropsound/shovel_drop.ogg'
associated_skill = /datum/skill/combat/maces
associated_skill = /datum/skill/combat/knives
max_blade_int = 50
dropshrink = 0.9

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

// Gold

/datum/anvil_recipe/general/cupsgold
/datum/anvil_recipe/cutlery/cupsgold
name = "Gold Goblets 3x"
req_bar = /obj/item/ingot/gold
created_item = list(/obj/item/reagent_containers/glass/cup/golden, /obj/item/reagent_containers/glass/cup/golden, /obj/item/reagent_containers/glass/cup/golden)
created_item = list(/obj/item/reagent_containers/glass/cup/golden, /obj/item/reagent_containers/glass/cup/golden, /obj/item/reagent_containers/glass/cup/golden)
6 changes: 3 additions & 3 deletions code/modules/roguetown/roguejobs/blacksmith/grindwheel.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
I.add_bintegrity(999)
return
if(istype(I, /obj/item/grown/log/tree/small))
var/skill_level = user.mind.get_skill_level(/datum/skill/labor/lumberjacking)
var/skill_level = user.mind.get_skill_level(/datum/skill/craft/carpentry)
var/wood_time = (40 - (skill_level * 5))
playsound(src, pick('sound/misc/slide_wood (2).ogg', 'sound/misc/slide_wood (1).ogg'), 100, FALSE)
if(do_after(user, wood_time, target = src))
if(prob(max(40 - (skill_level * 10), 0)) || !skill_level) //Chance maxes at level 4 (standard woodcutter)
if(prob(max(40 - (skill_level * 10), 0)) || !skill_level) //Chance maxes at level 4
to_chat(user, span_info("Curses! I ruined this piece of wood..."))
playsound(src,'sound/combat/hits/onwood/destroyfurniture.ogg', 100, FALSE)
else
new /obj/item/natural/wood/plank(get_turf(src))
user.mind.add_sleep_experience(/datum/skill/labor/lumberjacking, (user.STAINT*0.5))
user.mind.add_sleep_experience(/datum/skill/craft/carpentry, (user.STAINT*0.5))
qdel(I)
return
. = ..()
22 changes: 11 additions & 11 deletions code/modules/roguetown/roguestock/stockpile.dm
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,17 @@
importexport_amt = 10
passive_generation = 4

/datum/roguestock/stockpile/cured
name = "Cured Leather"
desc = "Cured Leather ready to be worked."
item_type = /obj/item/natural/hide/cured
held_items = list(2, 0)
payout_price = 5
withdraw_price = 7
transport_fee = 1
export_price = 7
importexport_amt = 10

/datum/roguestock/stockpile/hide
name = "Hide"
desc = "Stripped hide from animals."
Expand All @@ -139,17 +150,6 @@
importexport_amt = 5
passive_generation = 2

/datum/roguestock/stockpile/cured
name = "Cured Leather"
desc = "Cured Leather ready to be worked."
item_type = /obj/item/natural/hide/cured
held_items = list(2, 0)
payout_price = 5
withdraw_price = 7
transport_fee = 1
export_price = 7
importexport_amt = 10

/datum/roguestock/stockpile/fur
name = "Fur"
desc = "Hide with a long winter coat from animals."
Expand Down
20 changes: 12 additions & 8 deletions code/modules/spells/roguetown/acolyte/sawbones.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ end recipe count: 8 ash, 8 minced meat, 4 swampweed, 2 poisonberry to make 1 bot
grinding_started = TRUE // Mark grinding as started
to_chat(user, "I start grinding...")
if((do_after(user, 25, target = src)) && grinded)
if(grinded.mill_result) // This goes first.
if(grinded.mill_result && !istype(user.rmb_intent, /datum/rmb_intent/strong)) // This goes first. Strong intent to bypass.
new grinded.mill_result(get_turf(src))
QDEL_NULL(grinded)
icon_state = reagents.total_volume > 0 ? "mortar_full" : "mortar_empty"
Expand All @@ -1368,17 +1368,21 @@ end recipe count: 8 ash, 8 minced meat, 4 swampweed, 2 poisonberry to make 1 bot
grinded.on_juice()
reagents.add_reagent_list(grinded.juice_results)
to_chat(user, "I juice [grinded] into a fine liquid.")
if(grinded.reagents) // Food and pills.
grinded.reagents.trans_to(src, grinded.reagents.total_volume, transfered_by = user)
if(grinded.grind_results && !isemptylist(grinded.grind_results))
grinded.on_grind()
reagents.add_reagent_list(grinded.grind_results)
to_chat(user, "I break [grinded] into powder.")
QDEL_NULL(grinded)
icon_state = reagents.total_volume > 0 ? "mortar_full" : "mortar_empty"
grinding_started = FALSE // Reset grinding status
return
grinded.on_grind()
reagents.add_reagent_list(grinded.grind_results)
to_chat(user, "I break [grinded] into powder.")
QDEL_NULL(grinded)
icon_state = reagents.total_volume > 0 ? "mortar_full" : "mortar_empty"
if(grinded.reagents) // Other stuff that might have reagents in them, let's not cause a runtime shall we?
grinded.reagents.trans_to(src, grinded.reagents.total_volume, transfered_by = user)
icon_state = reagents.total_volume > 0 ? "mortar_full" : "mortar_empty"
to_chat(user, "I pound [grinded] into mush.")
QDEL_NULL(grinded)
grinding_started = FALSE // Reset grinding status
return
grinding_started = FALSE // Reset grinding status
return
else
Expand Down

0 comments on commit 08df4bc

Please sign in to comment.