Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Zattarra authored Apr 21, 2024
2 parents a8b96d3 + f8c43e0 commit a90efce
Show file tree
Hide file tree
Showing 25 changed files with 181 additions and 89 deletions.
1 change: 1 addition & 0 deletions maplestation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -6508,4 +6508,5 @@
#include "maplestation_modules\story_content\story_posters\code\contraband.dm"
#include "maplestation_modules\story_content\stranger_equipment\code\strangerclothing.dm"
#include "maplestation_modules\story_content\volkan_equipment\code\volkanitems.dm"
#include "maplestation_modules\story_content\wollys_items\code\wollysitems.dm"
// END_INCLUDE
27 changes: 2 additions & 25 deletions maplestation_modules/code/game/objects/items/storage/belt.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
righthand_file = 'maplestation_modules/icons/mob/inhands/clothes/belts_righthand.dmi'
worn_icon = 'maplestation_modules/icons/mob/clothing/belt.dmi'
name = "Sheathe Basetype Item"
desc = "Whoa there buddy! You've got the Sheathe Basetype, if you're looking for the captain's sheathe, try /obj/item/storage/belt/sabre !" // this will be changed when i bother to post this refactor to tg
desc = "Whoa there buddy! You've got the Sheathe Basetype, if you're looking for the captain's sheathe, try /obj/item/storage/belt/sabre !" // this will be changed if i bother to post this refactor to tg
var/altclick_tip = "Altclick to draw the ITEM"
icon_state = "baseball_pack"
inhand_icon_state = "baseball_pack"
Expand All @@ -21,7 +21,7 @@
atom_storage.max_slots = 1
atom_storage.max_specific_storage = max_weight_class
atom_storage.set_holdable(storable_items)

/obj/item/storage/belt/sheathe/examine(mob/user)
. = ..()
if(length(contents))
Expand All @@ -44,29 +44,6 @@
worn_icon_state = initial(worn_icon_state)
return ..()

/obj/item/storage/belt/sheathe/maugrimsheathe
icon = 'maplestation_modules/icons/obj/clothing/belts.dmi'
lefthand_file = 'maplestation_modules/icons/mob/inhands/clothes/belts_lefthand.dmi'
righthand_file = 'maplestation_modules/icons/mob/inhands/clothes/belts_righthand.dmi'
worn_icon = 'maplestation_modules/icons/mob/clothing/belt.dmi'
name = "Maugrim's Sheathe"
desc = "A sheathe"
altclick_tip = "Altclick to draw the sword"
icon_state = "maugrim_sheathe"
inhand_icon_state = "maugrim_sheathe"
worn_icon_state = "maugrim_sheathe"
w_class = WEIGHT_CLASS_BULKY
content_overlays = TRUE
storable_items = list(/obj/item/melee/sabre/maugrim)
max_weight_class = WEIGHT_CLASS_HUGE

/obj/item/storage/belt/sheathe/maugrimsheathe/update_icon_state()
. = ..()
if(length(contents))
icon_state += "-sword"
inhand_icon_state += "-sword"
worn_icon_state += "-sword"

// baseball bat sheathe
/obj/item/storage/belt/sheathe/baseball
icon = 'maplestation_modules/icons/obj/clothing/belts.dmi'
Expand Down
30 changes: 0 additions & 30 deletions maplestation_modules/code/game/objects/items/weaponry.dm
Original file line number Diff line number Diff line change
Expand Up @@ -131,34 +131,4 @@
new /obj/item/melee/psych_rock(loc)
paperweight_spawned = TRUE

/obj/item/melee/sabre/maugrim
name = "Maugrim"
desc = "Hilda Brandt's longsword. It was christened after slaying a space-werewolf of the same name." // todo
force = 20
block_chance = 33
armour_penetration = 10
icon_state = "maugrim"
icon = 'maplestation_modules/icons/obj/weapons.dmi'
inhand_icon_state = "maugrim"
lefthand_file = 'maplestation_modules/icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'maplestation_modules/icons/mob/inhands/weapons/swords_righthand.dmi'

/obj/item/melee/sabre/gehenna // matthew's sword when he's asset protection
name = "Gehenna"
desc = "The christened blade of Matthew Scoria."
icon_state = "amber_blade"
icon = 'maplestation_modules/icons/obj/weapons.dmi'
worn_icon_state = "amber_blade"
worn_icon = 'maplestation_modules/icons/mob/clothing/belt.dmi'
inhand_icon_state = "amber_blade"
lefthand_file = 'maplestation_modules/icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'maplestation_modules/icons/mob/inhands/weapons/swords_righthand.dmi'
// this is seperate from the null rod- this will have no anti-magic and higher stats to compensate for it being used by a command member who refuses to use energy guns
force = 20
sharpness = SHARP_EDGED
slot_flags = ITEM_SLOT_BELT | ITEM_SLOT_SUITSTORE
block_chance = 25
armour_penetration = 20
w_class = WEIGHT_CLASS_HUGE
attack_verb_continuous = list("stabs", "cuts", "slashes", "power attacks")
attack_verb_simple = list("stab", "cut", "slash", "power attack")
7 changes: 0 additions & 7 deletions maplestation_modules/code/modules/clothing/suits/armor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@
icon_state = "blueshift"
inhand_icon_state = "armor"

/obj/item/clothing/suit/armor/vest/asset_protection/clanjacket
name = "Armored Clan Jacket" // yes, a character item outside of story_content, because i'm a special boy
desc = "A red and gold jacket, embroidered with iconography of the Scoria Clan of Spectra. This one has been weaved with highly-protective fabrics."
icon = 'maplestation_modules/icons/obj/clothing/suit.dmi'
icon_state = "sclanjacket"
worn_icon = 'maplestation_modules/icons/mob/clothing/suit.dmi'

// Subtype of the toggle icon component (i know, ew) for GAGS items
/datum/component/toggle_icon/greyscale
/// Config when toggled.
Expand Down
19 changes: 0 additions & 19 deletions maplestation_modules/code/modules/clothing/suits/loadout_suits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,3 @@
worn_icon = 'maplestation_modules/icons/mob/clothing/suit.dmi'
blood_overlay_type = "armor"
clothing_traits = list(TRAIT_CAFFEINE_LOVER)

/obj/item/clothing/suit/cyrilcloak
name = "Claw-Sewn Cloak"
desc = "A warm cloak hand sewn by a tailor's hand. Its meant for cold winter climates, not brooding in a dark corner, mind you."
icon = 'maplestation_modules/icons/obj/clothing/suit.dmi'
icon_state = "bluecloak"
worn_icon = 'maplestation_modules/icons/mob/clothing/suit.dmi'
blood_overlay_type = "armor"
body_parts_covered = CHEST|GROIN|ARMS
cold_protection = CHEST|GROIN|ARMS
min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT

/obj/item/clothing/suit/matthewjacket
name = "Embroidered Clan Jacket"
desc = "A red and gold jacket, embroidered with iconography of the Scoria Clan of Spectra."
icon = 'maplestation_modules/icons/obj/clothing/suit.dmi'
icon_state = "sclanjacket"
worn_icon = 'maplestation_modules/icons/mob/clothing/suit.dmi'
blood_overlay_type = "armor"
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,3 @@
/datum/loadout_item/suit/chesed_jacket
name = "Well-Kept Jacket"
item_path = /obj/item/clothing/suit/toggle/chesedjacket

/datum/loadout_item/suit/cyrilcloak
name = "Claw-Sewn Cloak"
item_path = /obj/item/clothing/suit/cyrilcloak

/datum/loadout_item/suit/scoriajacket
name = "Embroidered Clan Jacket"
item_path = /obj/item/clothing/suit/matthewjacket
Binary file modified maplestation_modules/icons/mob/clothing/belt.dmi
Binary file not shown.
Binary file modified maplestation_modules/icons/mob/clothing/suit.dmi
Binary file not shown.
Binary file modified maplestation_modules/icons/mob/inhands/clothes/belts_lefthand.dmi
Binary file not shown.
Binary file modified maplestation_modules/icons/mob/inhands/clothes/belts_righthand.dmi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified maplestation_modules/icons/obj/clothing/belts.dmi
Binary file not shown.
Binary file modified maplestation_modules/icons/obj/clothing/suit.dmi
Binary file not shown.
Binary file modified maplestation_modules/icons/obj/weapons.dmi
Binary file not shown.
178 changes: 178 additions & 0 deletions maplestation_modules/story_content/wollys_items/code/wollysitems.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
/* a collection of items produced by yellow wollywog/wollyhop
since some of them are two per character or singleton, i'm gonna save space and just port them all into one file
*/
// Weapons


/obj/item/melee/maugrim
name = "Maugrim"
desc = "Hilda Brandt's longsword. It was christened after slaying a space-werewolf of the same name." // todo
force = 18 // identical the the chappie claymore rod, but without anti-magic
block_chance = 30
icon_state = "maugrim"
icon = 'maplestation_modules/story_content/wollys_items/icons/obj/weapons.dmi'
inhand_icon_state = "maugrim"
lefthand_file = 'maplestation_modules/story_content/wollys_items/icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'maplestation_modules/story_content/wollys_items/icons/mob/inhands/weapons/swords_righthand.dmi'
obj_flags = CONDUCTS_ELECTRICITY
throwforce = 16
demolition_mod = 0.75
w_class = WEIGHT_CLASS_BULKY
sharpness = SHARP_EDGED
attack_verb_continuous = list("slashes", "cuts")
attack_verb_simple = list("slash", "cut")
block_sound = 'sound/weapons/parry.ogg'
hitsound = 'sound/weapons/rapierhit.ogg'

/obj/item/melee/maugrim/on_exit_storage(datum/storage/container)
var/obj/item/storage/belt/sheathe/maugrim/sword = container.real_location?.resolve()
if(istype(sword))
playsound(sword, 'sound/items/unsheath.ogg', 25, TRUE)

/obj/item/melee/maugrim/on_enter_storage(datum/storage/container)
var/obj/item/storage/belt/sheathe/maugrim/sword = container.real_location?.resolve()
if(istype(sword))
playsound(sword, 'sound/items/sheath.ogg', 25, TRUE)

/obj/item/melee/maugrim/Initialize(mapload)
. = ..()
AddComponent(/datum/component/jousting)
AddComponent(/datum/component/butchering, \
speed = 3 SECONDS, \
effectiveness = 95, \
bonus_modifier = 5, \
)

/obj/item/melee/maugrim/razorwing
name = "Razorwing"
desc = "Cyril Pembrooke's Jikdo. Unlike the on-station katanas, this single-edged blade is meant to be straight." // lampshade on how all katanas have been straight-edge, when they're meant to be curved.
icon_state = "razorwing"
inhand_icon_state = "razorwing"
attack_verb_continuous = list("cuts", "slashes", "slices")
attack_verb_simple = list("cut", "slash", "slice")

/obj/item/melee/maugrim/razorwing/on_exit_storage(datum/storage/container)
var/obj/item/storage/belt/sheathe/maugrim/razorwing/sword = container.real_location?.resolve()
if(istype(sword))
playsound(sword, 'sound/items/unsheath.ogg', 25, TRUE)

/obj/item/melee/maugrim/razorwing/on_enter_storage(datum/storage/container)
var/obj/item/storage/belt/sheathe/maugrim/razorwing/sword = container.real_location?.resolve()
if(istype(sword))
playsound(sword, 'sound/items/sheath.ogg', 25, TRUE)

/obj/item/melee/maugrim/razorwing/Initialize(mapload) // you don't need to ask me to add world building only a few people will ever see.
. = ..()
AddElement(/datum/element/unique_examine, \
"The tassel is made out of a shed ornithid primary feather. \
Judging by the color, it would be a feather from its owner. \
Given the importance of these feathers to the flight, its quite common to hold on to such feathers. ", \
EXAMINE_CHECK_SPECIES, /datum/species/ornithid)
AddElement(/datum/element/bane, target_type = /mob/living/basic/heretic_summon, damage_multiplier = 0, added_damage = 2, requires_combat_mode = FALSE) // rare exhange if it ever even happens, nod to the character's specialization in anti-heresy

/obj/item/melee/gehenna // matthew's sword when he's asset protection
name = "Gehenna"
desc = "The christened blade of Matthew Scoria."
icon_state = "amber_blade"
icon = 'maplestation_modules/icons/obj/weapons.dmi'
worn_icon_state = "amber_blade"
worn_icon = 'maplestation_modules/icons/mob/clothing/belt.dmi'
inhand_icon_state = "amber_blade"
lefthand_file = 'maplestation_modules/icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'maplestation_modules/icons/mob/inhands/weapons/swords_righthand.dmi'
// this is seperate from the null rod- this will have no anti-magic and higher stats to compensate for it being used by a command member who refuses to use energy guns
force = 20
sharpness = SHARP_EDGED
slot_flags = ITEM_SLOT_BELT | ITEM_SLOT_SUITSTORE
block_chance = 25
armour_penetration = 20
w_class = WEIGHT_CLASS_HUGE
attack_verb_continuous = list("stabs", "cuts", "slashes", "power attacks")
attack_verb_simple = list("stab", "cut", "slash", "power attack")

// clothing & armor

/obj/item/clothing/suit/toggle/cyrilcloak
name = "Claw-Sewn Cloak"
desc = "A warm cloak hand sewn by a tailor's hand. Its meant for cold winter climates, not brooding in a dark corner, mind you."
icon = 'maplestation_modules/story_content/wollys_items/icons/obj/clothing/suit.dmi'
icon_state = "bluecloak"
worn_icon = 'maplestation_modules/story_content/wollys_items/icons/mob/clothing/suit.dmi'
blood_overlay_type = "armor"
body_parts_covered = CHEST|GROIN|ARMS
cold_protection = CHEST|GROIN|ARMS
min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT
alternate_worn_layer = (BACK_LAYER - 0.1) // renders above back items, but below hair.

/obj/item/clothing/suit/toggle/cyrilcloak/Initialize(mapload)
. = ..()
allowed += list(
/obj/item/flashlight,
/obj/item/lighter,
/obj/item/modular_computer/pda,
/obj/item/radio,
/obj/item/storage/bag/books,
/obj/item/storage/fancy/cigarettes,
/obj/item/tank/internals/emergency_oxygen,
/obj/item/tank/internals/plasmaman,
/obj/item/toy,
/obj/item/storage/belt/sheathe/maugrim/razorwing,
)

/obj/item/clothing/suit/matthewjacket
name = "Embroidered Clan Jacket"
desc = "A red and gold jacket, embroidered with iconography of the Scoria Clan of Spectra."
icon = 'maplestation_modules/story_content/wollys_items/icons/obj/clothing/suit.dmi'
icon_state = "sclanjacket"
worn_icon = 'maplestation_modules/story_content/wollys_items/icons/mob/clothing/suit.dmi'
blood_overlay_type = "armor"

/obj/item/clothing/suit/armor/vest/asset_protection/clanjacket
name = "Armored Clan Jacket" // not special any longer
desc = "A red and gold jacket, embroidered with iconography of the Scoria Clan of Spectra. This one has been weaved with highly-protective fabrics."
icon = 'maplestation_modules/story_content/wollys_items/icons/obj/clothing/suit.dmi'
icon_state = "sclanjacket"
worn_icon = 'maplestation_modules/story_content/wollys_items/icons/mob/clothing/suit.dmi'

// loadout datums

/datum/loadout_item/suit/cyrilcloak
name = "Claw-Sewn Cloak"
item_path = /obj/item/clothing/suit/toggle/cyrilcloak

/datum/loadout_item/suit/scoriajacket
name = "Embroidered Clan Jacket"
item_path = /obj/item/clothing/suit/matthewjacket

// sheathes

/obj/item/storage/belt/sheathe/maugrim
icon = 'maplestation_modules/story_content/wollys_items/icons/obj/clothing/belts.dmi'
lefthand_file = 'maplestation_modules/story_content/wollys_items/icons/mob/inhands/clothes/belts_lefthand.dmi'
righthand_file = 'maplestation_modules/story_content/wollys_items/icons/mob/inhands/clothes/belts_righthand.dmi'
worn_icon = 'maplestation_modules/story_content/wollys_items/icons/mob/clothing/belt.dmi'
name = "Maugrim's Sheathe"
desc = "A sheathe"
altclick_tip = "Altclick to draw the sword"
icon_state = "maugrim_sheathe"
inhand_icon_state = "maugrim_sheathe"
worn_icon_state = "maugrim_sheathe"
w_class = WEIGHT_CLASS_BULKY
content_overlays = TRUE
storable_items = list(/obj/item/melee/maugrim)
max_weight_class = WEIGHT_CLASS_HUGE

/obj/item/storage/belt/sheathe/maugrim/update_icon_state()
. = ..()
if(length(contents))
icon_state += "-sword"
inhand_icon_state += "-sword"
worn_icon_state += "-sword"

/obj/item/storage/belt/sheathe/maugrim/razorwing
name = "Razorwing's Sheathe"
desc = "A simple weaved sheathe used for containing a sword."
icon_state = "razorwing_sheathe"
inhand_icon_state = "razorwing_sheathe"
worn_icon_state = "razorwing_sheathe"
storable_items = list(/obj/item/melee/maugrim/razorwing)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit a90efce

Please sign in to comment.