Skip to content

Commit 74f118f

Browse files
authored
Merge pull request #325 from furrycactus/samurai-merc-class
The Cudao Update
2 parents 84e652c + 9359a0f commit 74f118f

23 files changed

Lines changed: 435 additions & 1 deletion

File tree

code/game/objects/items/rogueweapons/melee/polearms.dm

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,12 @@
257257
smeltresult = /obj/item/ingot/iron
258258
max_blade_int = 200
259259

260+
/obj/item/rogueweapon/halberd/naginata
261+
name = "naginata"
262+
desc = "A Cudese polearm with a long bladed end."
263+
icon_state = "naginata"
264+
item_state = "naginata"
265+
260266
/datum/intent/spear/cut/halberd
261267
damfactor = 0.9
262268
swingdelay = 10
@@ -397,6 +403,12 @@
397403
smelt_bar_num = 3
398404
sellprice = 300
399405

406+
/obj/item/rogueweapon/greatsword/odachi
407+
name = "odachi"
408+
desc = "A long curved blade originating in Cudao, too unwieldly to be handled one-handed. Larger than its sibling, the Tachi."
409+
icon_state = "odachi"
410+
item_state = "odachi"
411+
400412
/obj/item/rogueweapon/estoc
401413
name = "estoc"
402414
desc = "A sword possessed of a long and tapered blade that is intended to be thrust between the \

code/game/objects/items/rogueweapons/melee/swords.dm

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,30 @@
114114
is_silver = TRUE
115115
icon_state = "silverswordshort"
116116

117+
/obj/item/rogueweapon/sword/katana
118+
name = "katana"
119+
desc = "A slightly curved sword originating in Cudao, sharpened to a razor's edge."
120+
force = 20
121+
possible_item_intents = list(/datum/intent/sword/cut, /datum/intent/sword/thrust)
122+
gripped_intents = list(/datum/intent/sword/cut, /datum/intent/sword/thrust)
123+
icon_state = "katana"
124+
item_state = "katana"
125+
minstr = 4
126+
wdefense = 4
127+
128+
/obj/item/rogueweapon/sword/tachi
129+
icon_state = "tachi"
130+
item_state = "tachi"
131+
icon = 'icons/roguetown/weapons/32.dmi'
132+
name = "tachi"
133+
desc = "A slightly curved sword originating in Cudao, sharpened to a razor's edge. Longer than its sibling, the Katana."
134+
force = 25
135+
force_wielded = 30
136+
possible_item_intents = list(/datum/intent/sword/cut, /datum/intent/sword/thrust, /datum/intent/sword/strike)
137+
gripped_intents = list(/datum/intent/sword/cut, /datum/intent/sword/thrust, /datum/intent/sword/strike, /datum/intent/sword/chop)
138+
bigboy = 1
139+
wlength = WLENGTH_LONG
140+
117141
/obj/item/rogueweapon/sword/long
118142
force = 25
119143
force_wielded = 30
@@ -385,6 +409,7 @@
385409
if("onbelt")
386410
return list("shrink" = 0.5,"sx" = -4,"sy" = -6,"nx" = 5,"ny" = -6,"wx" = 0,"wy" = -6,"ex" = -1,"ey" = -6,"nturn" = 100,"sturn" = 156,"wturn" = 90,"eturn" = 180,"nflip" = 0,"sflip" = 0,"wflip" = 0,"eflip" = 0,"northabove" = 0,"southabove" = 1,"eastabove" = 1,"westabove" = 0)
387411

412+
388413
/datum/intent/sword/strike
389414
name = "pommel strike"
390415
icon_state = "instrike"

code/modules/clothing/rogueclothes/cloaks.dm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,3 +1363,13 @@
13631363
icon_state = "naledisash"
13641364
item_state = "naledisash"
13651365
desc = "A limp piece of fabric traditionally used to fasten bags that are too baggy, but in modern days has become more of a fashion statement than anything."
1366+
1367+
/obj/item/clothing/cloak/straw
1368+
name = "straw cloak"
1369+
desc = "A lightweight and water-repellant cloak fashioned from woven rice straw, originating in Cudao."
1370+
icon_state = "straw_cloak"
1371+
alternate_worn_layer = TABARD_LAYER
1372+
mob_overlay_icon = 'icons/roguetown/clothing/onmob/cloaks.dmi'
1373+
slot_flags = ITEM_SLOT_ARMOR|ITEM_SLOT_SHIRT|ITEM_SLOT_CLOAK
1374+
r_sleeve_status = SLEEVE_NORMAL
1375+
l_sleeve_status = SLEEVE_NORMAL

code/modules/clothing/rogueclothes/gloves.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127

128128
/obj/item/clothing/gloves/roguetown/plate/iron
129129
name = "iron plate gauntlets"
130-
icon_state = "iron_gauntlets"
130+
icon_state = "igauntlets"
131131
max_integrity = 135
132132
smeltresult = /obj/item/ingot/iron
133133

code/modules/clothing/rogueclothes/hats.dm

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,28 @@
746746
smeltresult = /obj/item/ingot/steel
747747
smelt_bar_num = 2
748748

749+
/obj/item/clothing/head/roguetown/helmet/heavy/samurai
750+
name = "steel samurai helmet"
751+
desc = "A steel Cudese helmet with a menacing visage, evocative of a demon, intended to strike terror into the foe beholding it."
752+
icon_state = "samurai"
753+
item_state = "samurai"
754+
emote_environment = 3
755+
flags_inv = HIDEEARS|HIDEFACE|HIDEHAIR
756+
block2add = FOV_RIGHT|FOV_LEFT
757+
smeltresult = /obj/item/ingot/steel
758+
smelt_bar_num = 2
759+
760+
/obj/item/clothing/head/roguetown/helmet/heavy/samurai/iron
761+
name = "iron samurai helmet"
762+
desc = "An iron Cudese helmet with a menacing visage, evocative of a demon, intended to strike terror into the foe beholding it."
763+
icon_state = "iron_samurai"
764+
item_state = "iron_samurai"
765+
emote_environment = 3
766+
flags_inv = HIDEEARS|HIDEFACE|HIDEHAIR
767+
block2add = FOV_RIGHT|FOV_LEFT
768+
smeltresult = /obj/item/ingot/iron
769+
smelt_bar_num = 2
770+
749771
/obj/item/clothing/head/roguetown/helmet/heavy/sheriff
750772
name = "barred helmet"
751773
desc = "A helmet which offers good protection to the face at the expense of vision."
@@ -1478,3 +1500,11 @@
14781500
desc = "A feathered leather hat, to show them all your superiority."
14791501
icon_state = "duelhat"
14801502
sewrepair = TRUE
1503+
1504+
/obj/item/clothing/head/roguetown/cudese_straw_hat
1505+
name = "cudese straw hat"
1506+
desc = "A straw hat popular in Cudao, water-resistant and good at keeping the sun off."
1507+
icon_state = "cudese_straw_hat"
1508+
item_state = "cudese_straw_hat"
1509+
sewrepair = TRUE
1510+
color = "#fbc588"

code/modules/clothing/rogueclothes/shirts.dm

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,3 +372,39 @@
372372
desc = "A billowing tunic made of the finest silks and softest fabrics. Inlaid with golden thread, this is the height of fashion for the wealthiest of wearers."
373373
icon_state = "stewardtunic"
374374
item_state = "stewardtunic"
375+
376+
/obj/item/clothing/suit/roguetown/shirt/cudese_tunic
377+
slot_flags = ITEM_SLOT_SHIRT|ITEM_SLOT_ARMOR
378+
name = "cudese tunic"
379+
desc = "A tunic originating from Cudao."
380+
body_parts_covered = CHEST|GROIN|ARMS|LEGS|VITALS
381+
icon_state = "cudese_tunic"
382+
boobed = FALSE
383+
r_sleeve_status = SLEEVE_NORMAL
384+
l_sleeve_status = SLEEVE_NORMAL
385+
flags_inv = HIDECROTCH|HIDEBOOB
386+
387+
/obj/item/clothing/suit/roguetown/shirt/cudese_tunic/green
388+
color = CLOTHING_GREEN
389+
390+
/obj/item/clothing/suit/roguetown/shirt/cudese_tunic/blue
391+
color = CLOTHING_BLUE
392+
393+
/obj/item/clothing/suit/roguetown/shirt/cudese_tunic/red
394+
color = CLOTHING_RED
395+
396+
/obj/item/clothing/suit/roguetown/shirt/cudese_tunic/purple
397+
color = CLOTHING_PURPLE
398+
399+
/obj/item/clothing/suit/roguetown/shirt/cudese_tunic/white
400+
color = CLOTHING_WHITE
401+
402+
/obj/item/clothing/suit/roguetown/shirt/cudese_tunic/black
403+
color = CLOTHING_BLACK
404+
405+
/obj/item/clothing/suit/roguetown/shirt/cudese_tunic/ucolored
406+
color = COLOR_GRAY
407+
408+
/obj/item/clothing/suit/roguetown/shirt/cudese_tunic/random/Initialize()
409+
color = pick(CLOTHING_PURPLE, CLOTHING_RED, CLOTHING_BLUE, CLOTHING_GREEN, CLOTHING_BLACK, CLOTHING_WHITE, COLOR_GRAY)
410+
..()
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
/datum/advclass/ronin
2+
name = "Ronin"
3+
tutorial = "A disgraced Samurai of Cudao, fallen from grace. Perhaps you took too many contracts for unscrupulous buyers, perhaps you disgraced yourself thoroughly on a previous job, or perhaps you even killed your own master. Whatever led you down this path, the shame was too great to return to your old life."
4+
allowed_sexes = list(MALE, FEMALE)
5+
allowed_races = RACES_SHUNNED_UP
6+
outfit = /datum/outfit/job/roguetown/bandit/ronin
7+
category_tags = list(CTAG_BANDIT)
8+
cmode_music = 'sound/music/combat_yinbladesmen.ogg'
9+
10+
/datum/outfit/job/roguetown/bandit/ronin/pre_equip(mob/living/carbon/human/H)
11+
..()
12+
H.mind.adjust_skillrank(/datum/skill/misc/swimming, 2, TRUE)
13+
H.mind.adjust_skillrank(/datum/skill/misc/climbing, 2, TRUE)
14+
H.mind.adjust_skillrank(/datum/skill/misc/sneaking, 2, TRUE)
15+
H.mind.adjust_skillrank(/datum/skill/combat/maces, 2, TRUE)
16+
H.mind.adjust_skillrank(/datum/skill/combat/bows, 3, TRUE)
17+
H.mind.adjust_skillrank(/datum/skill/combat/wrestling, 3, TRUE)
18+
H.mind.adjust_skillrank(/datum/skill/combat/unarmed, 3, TRUE)
19+
H.mind.adjust_skillrank(/datum/skill/combat/swords, 3, TRUE)
20+
H.mind.adjust_skillrank(/datum/skill/combat/polearms, 3, TRUE)
21+
H.mind.adjust_skillrank(/datum/skill/combat/whipsflails, 2, TRUE)
22+
H.mind.adjust_skillrank(/datum/skill/combat/knives, 2, TRUE)
23+
H.mind.adjust_skillrank(/datum/skill/misc/reading, 1, TRUE)
24+
H.mind.adjust_skillrank(/datum/skill/misc/riding, 2, TRUE)
25+
H.mind.adjust_skillrank(/datum/skill/misc/athletics, 4, TRUE)
26+
H.change_stat("strength", 2)
27+
H.change_stat("endurance", 3)
28+
H.change_stat("constitution", 2)
29+
H.change_stat("perception", 1)
30+
ADD_TRAIT(H, TRAIT_HEAVYARMOR, TRAIT_GENERIC)
31+
ADD_TRAIT(H, TRAIT_STEELHEARTED, TRAIT_GENERIC)
32+
belt = /obj/item/storage/belt/rogue/leather/black
33+
beltr = /obj/item/quiver/arrows
34+
id = /obj/item/mattcoin
35+
neck = /obj/item/clothing/neck/roguetown/chaincoif/iron/blk
36+
cloak = /obj/item/clothing/cloak/straw
37+
shirt = /obj/item/clothing/suit/roguetown/armor/gambeson/heavy/blk
38+
head = /obj/item/clothing/head/roguetown/helmet/heavy/samurai/iron/blk
39+
armor = /obj/item/clothing/suit/roguetown/armor/brigandine/coatplates/iron/blk
40+
pants = /obj/item/clothing/under/roguetown/platelegs/iron/blk
41+
shoes = /obj/item/clothing/shoes/roguetown/boots/armor/iron/blk
42+
gloves = /obj/item/clothing/gloves/roguetown/plate/iron/blk
43+
backl = /obj/item/storage/backpack/rogue/satchel/black
44+
backpack_contents = list(/obj/item/flashlight/flare/torch/lantern = 1, /obj/item/storage/belt/rogue/pouch/coins/poor = 1)
45+
46+
var/weapons = list("Katana & Recurve Bow","Tachi & Buckler","Odachi","Naginata")
47+
var/weapon_choice = input(H,"Choose your weapon.", "TAKE UP ARMS") as anything in weapons
48+
switch(weapon_choice)
49+
if("Katana & Recurve Bow")
50+
H.put_in_hands(new /obj/item/rogueweapon/sword/katana(H), TRUE)
51+
H.put_in_hands(new /obj/item/gun/ballistic/revolver/grenadelauncher/bow/recurve(H), TRUE)
52+
H.mind.adjust_skillrank(/datum/skill/combat/swords, 1, TRUE)
53+
H.mind.adjust_skillrank(/datum/skill/combat/bows, 1, TRUE)
54+
if("Tachi & Buckler")
55+
H.put_in_hands(new /obj/item/rogueweapon/sword/tachi(H), TRUE)
56+
H.put_in_hands(new /obj/item/rogueweapon/shield/buckler(H), TRUE)
57+
H.mind.adjust_skillrank(/datum/skill/combat/swords, 1, TRUE)
58+
H.mind.adjust_skillrank(/datum/skill/combat/shields, 1, TRUE)
59+
if("Odachi")
60+
H.put_in_hands(new /obj/item/rogueweapon/greatsword/odachi(H), TRUE)
61+
H.put_in_hands(new /obj/item/gwstrap(H), TRUE)
62+
H.mind.adjust_skillrank(/datum/skill/combat/swords, 1, TRUE)
63+
if("Naginata")
64+
H.put_in_hands(new /obj/item/rogueweapon/halberd/naginata(H), TRUE)
65+
H.put_in_hands(new /obj/item/gwstrap(H), TRUE)
66+
H.mind.adjust_skillrank(/datum/skill/combat/polearms, 1, TRUE)
67+
68+
//Funny dye stuff
69+
/obj/item/clothing/neck/roguetown/chaincoif/iron/blk
70+
color = CLOTHING_GREY
71+
72+
/obj/item/clothing/head/roguetown/helmet/heavy/samurai/iron/blk
73+
color = CLOTHING_GREY
74+
75+
/obj/item/clothing/suit/roguetown/armor/brigandine/coatplates/iron/blk
76+
color = CLOTHING_GREY
77+
78+
/obj/item/clothing/under/roguetown/platelegs/iron/blk
79+
color = CLOTHING_GREY
80+
81+
/obj/item/clothing/gloves/roguetown/plate/iron/blk
82+
color = CLOTHING_GREY

0 commit comments

Comments
 (0)