forked from Darkrp-community/OpenKeep
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
redoes bandits to use adventurer class system
- Loading branch information
Showing
20 changed files
with
396 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
code/modules/jobs/job_types/roguetown/adventurer/bandit.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/datum/job/roguetown/bandit //pysdon above there's like THREE bandit.dms now I'm so sorry. This one is latejoin bandits, the one in villain is the antag datum, and the one in the 'antag' folder is an old adventurer class we don't use. Good luck! | ||
title = "Bandit" | ||
flag = BANDIT | ||
department_flag = PEASANTS | ||
faction = "Station" | ||
total_positions = 0 | ||
spawn_positions = 0 | ||
antag_job = TRUE | ||
allowed_races = ALL_PLAYER_RACES_BY_NAME | ||
tutorial = "Long ago you did a crime worthy of your bounty being hung on the wall outside of the local inn. You now live with your fellow freemen in the bog, and generally get up to no good." | ||
|
||
outfit = null | ||
outfit_female = null | ||
|
||
|
||
|
||
display_order = JDO_BANDIT | ||
show_in_credits = FALSE | ||
announce_latejoin = FALSE | ||
min_pq = 1 | ||
|
||
advclass_cat_rolls = list(CTAG_BANDIT = 20) | ||
//PQ_boost_divider = 10 | ||
|
||
wanderer_examine = TRUE | ||
always_show_on_latechoices = TRUE | ||
job_reopens_slots_on_death = FALSE //no endless stream of bandits, unless the migration waves deem it so | ||
same_job_respawn_delay = 30 MINUTES | ||
|
||
cmode_music = 'sound/music/combat_bandit2.ogg' | ||
|
||
/datum/job/roguetown/bandit/after_spawn(mob/living/L, mob/M, latejoin = TRUE) | ||
..() | ||
if(L) | ||
var/mob/living/carbon/human/H = L | ||
if(!H.mind) | ||
return | ||
H.advsetup = 1 | ||
H.invisibility = INVISIBILITY_MAXIMUM | ||
H.become_blind("advsetup") | ||
H.ambushable = FALSE | ||
|
||
/datum/outfit/job/roguetown/bandit/post_equip(mob/living/carbon/human/H) | ||
..() | ||
var/datum/antagonist/new_antag = new /datum/antagonist/bandit() | ||
H.mind.add_antag_datum(new_antag) | ||
addtimer(CALLBACK(H, TYPE_PROC_REF(/mob/living/carbon/human, choose_name_popup), "BANDIT"), 5 SECONDS) |
33 changes: 0 additions & 33 deletions
33
code/modules/jobs/job_types/roguetown/adventurer/types/antag/bandit.dm
This file was deleted.
Oops, something went wrong.
52 changes: 52 additions & 0 deletions
52
code/modules/jobs/job_types/roguetown/adventurer/types/antag/brigand.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/datum/advclass/brigand //Strength class, starts with axe or flails and medium armor training | ||
name = "Brigand" | ||
tutorial = "Cast from society, you use your powerful physical might and endurance to take from those who are weaker from you." | ||
allowed_sexes = list(MALE, FEMALE) | ||
allowed_races = ALL_PLAYER_RACES_BY_NAME | ||
outfit = /datum/outfit/job/roguetown/bandit/brigand | ||
category_tags = list(CTAG_BANDIT) | ||
cmode_music = 'sound/music/combat_bandit_brigand.ogg' | ||
|
||
/datum/outfit/job/roguetown/bandit/brigand/pre_equip(mob/living/carbon/human/H) | ||
..() | ||
H.mind.adjust_skillrank(/datum/skill/combat/polearms, 3, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/axesmaces, 4, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/wrestling, 4, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/unarmed, 3, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/swords, 2, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/whipsflails, 4, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/knives, 2, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/bows, 2, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/crossbows, 2, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/craft/crafting, 2, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/craft/carpentry, 1, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/misc/reading, 1, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/misc/climbing, 3, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/misc/sewing, 1, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/misc/medicine, 1, TRUE) | ||
belt = /obj/item/storage/belt/rogue/leather | ||
pants = /obj/item/clothing/under/roguetown/trou/leather | ||
shirt = /obj/item/clothing/suit/roguetown/shirt/shortshirt/random | ||
shoes = /obj/item/clothing/shoes/roguetown/boots | ||
backr = /obj/item/storage/backpack/rogue/satchel | ||
backpack_contents = list(/obj/item/needle/thorn = 1, /obj/item/natural/cloth = 1) | ||
mask = /obj/item/clothing/mask/rogue/facemask/steel | ||
neck = /obj/item/clothing/neck/roguetown/coif | ||
head = /obj/item/clothing/head/roguetown/helmet/leather/volfhelm | ||
armor = /obj/item/clothing/suit/roguetown/armor/leather/hide | ||
H.change_stat("strength", 3) | ||
H.change_stat("endurance", 2) | ||
H.change_stat("constitution", 2) | ||
H.change_stat("intelligence", -3) | ||
ADD_TRAIT(H, TRAIT_MEDIUMARMOR, TRAIT_GENERIC) | ||
H.adjust_blindness(-3) | ||
var/weapons = list("Battleaxe & Cudgel","Flail & Shield") | ||
var/weapon_choice = input("Choose your weapon.", "TAKE UP ARMS") as anything in weapons | ||
H.set_blindness(0) | ||
switch(weapon_choice) | ||
if("Battleaxe & Cudgel") //one weapon to hurt people one weapon to kill people | ||
backl= /obj/item/rogueweapon/axe/battle | ||
beltr = /obj/item/rogueweapon/mace/cudgel | ||
if("Flail & Shield") //plate users beware, you're in for a scare! | ||
backl= /obj/item/rogueweapon/shield/wood | ||
beltr = /obj/item/rogueweapon/flail |
46 changes: 46 additions & 0 deletions
46
code/modules/jobs/job_types/roguetown/adventurer/types/antag/hedgeknight.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/datum/advclass/hedgeknight //heavy knight class - just like black knight adventurer class. starts with heavy armor training and plate, but less weapon skills than brigand, sellsword and knave | ||
name = "Hedge Knight" | ||
tutorial = "A noble fallen from grace, your tarnished armor sits upon your shoulders as a heavy reminder of the life you've lost. Take back what is rightfully yours." | ||
allowed_sexes = list(MALE, FEMALE) | ||
allowed_races = ALL_PLAYER_RACES_BY_NAME | ||
outfit = /datum/outfit/job/roguetown/bandit/hedgeknight | ||
category_tags = list(CTAG_BANDIT) | ||
cmode_music = 'sound/music/combat_bandit.ogg' | ||
|
||
/datum/outfit/job/roguetown/bandit/hedgeknight/pre_equip(mob/living/carbon/human/H) | ||
..() | ||
head = /obj/item/clothing/head/roguetown/helmet | ||
gloves = /obj/item/clothing/gloves/roguetown/chain | ||
pants = /obj/item/clothing/under/roguetown/chainlegs | ||
cloak = /obj/item/clothing/cloak/tabard/blkknight | ||
neck = /obj/item/clothing/neck/roguetown/gorget | ||
shirt = /obj/item/clothing/suit/roguetown/armor/chainmail | ||
armor = /obj/item/clothing/suit/roguetown/armor/plate/blkknight | ||
wrists = /obj/item/clothing/wrists/roguetown/bracers | ||
shoes = /obj/item/clothing/shoes/roguetown/boots/armor/blkknight | ||
belt = /obj/item/storage/belt/rogue/leather | ||
beltr = /obj/item/rogueweapon/sword/long/death // ow the edge. it's just spraypainted. no weapon choice you MUST use a sword | ||
backr = /obj/item/storage/backpack/rogue/satchel/black | ||
backl = /obj/item/rogueweapon/shield/tower/metal | ||
backpack_contents = list(/obj/item/rogueweapon/knife/dagger = 1) | ||
H.mind.adjust_skillrank(/datum/skill/combat/polearms, 3, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/swords, 3, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/shields, 3, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/axesmaces, 3, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/wrestling, 3, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/combat/unarmed, 3, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/misc/athletics, 3, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/misc/swimming, 1, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/misc/climbing, 3, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/misc/reading, 3, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/misc/riding, 4, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/craft/cooking, 1, TRUE) | ||
H.mind.adjust_skillrank(/datum/skill/labor/butchering, 1, TRUE) | ||
H.change_stat("strength", 2) | ||
H.change_stat("endurance", 1) | ||
H.change_stat("constitution", 2) | ||
H.change_stat("intelligence", 1) | ||
H.change_stat("speed", 1) | ||
ADD_TRAIT(H, TRAIT_MEDIUMARMOR, TRAIT_GENERIC) | ||
ADD_TRAIT(H, TRAIT_HEAVYARMOR, TRAIT_GENERIC) | ||
ADD_TRAIT(H, TRAIT_NOBLE, TRAIT_GENERIC) //hey buddy you hear about roleplaying |
Oops, something went wrong.