Skip to content

Commit

Permalink
J-Corp syndicate Refinery (#1519)
Browse files Browse the repository at this point in the history
I love Gambling

Sets up J-corp framework

Moves Mariachi weapons into J-corp file

Added Ting Tang Weaponry

Made gambling feature (roll between max and 10%, at max sanity roll between 50% and max)

added inhands

added crate and refinery input

more sprites yippie

added mariachi stuff

new maracas sprites, old ones retired

added to J-corp crate

added armors

No more misinformation
  • Loading branch information
TheBronJameOffical authored Oct 12, 2023
1 parent ef0bd15 commit 7f2215e
Show file tree
Hide file tree
Showing 15 changed files with 270 additions and 53 deletions.
Binary file modified ModularTegustation/Teguicons/lc13_left.dmi
Binary file not shown.
Binary file modified ModularTegustation/Teguicons/lc13_right.dmi
Binary file not shown.
Binary file modified ModularTegustation/Teguicons/lc13_weapons.dmi
Binary file not shown.
Binary file modified ModularTegustation/Teguicons/refiner.dmi
Binary file not shown.
1 change: 1 addition & 0 deletions ModularTegustation/tegu_items/refinery/_spawners.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ GLOBAL_LIST_INIT(unspawned_sales, list(
/obj/structure/pe_sales/rosespanner,
/obj/structure/pe_sales/syndicate,
/obj/structure/pe_sales/backstreet,
/obj/structure/pe_sales/jcorp,

))

Expand Down
39 changes: 34 additions & 5 deletions ModularTegustation/tegu_items/refinery/crates/syndicate.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@
veryrarechance = 5
lootlist = list(
/obj/item/clothing/suit/armor/ego_gear/city/blade_lineage_salsu,
/obj/item/ego_weapon/city/mariachi,
/obj/item/ego_weapon/city/mariachi/dual,
/obj/item/gun/ego_gun/city/thumb,
/obj/item/clothing/suit/armor/ego_gear/city/thumb,
/obj/item/clothing/suit/armor/ego_gear/city/index,
)
)

rareloot = list(
/obj/item/clothing/suit/armor/ego_gear/city/blade_lineage_cutthroat,
Expand Down Expand Up @@ -52,18 +50,49 @@
/obj/item/ego_weapon/city/rats/brick,
/obj/item/ego_weapon/city/rats/pipe,
/obj/item/ego_weapon/city/axegang,
)
)

rareloot = list(
/obj/item/ego_weapon/city/sweeper,
/obj/item/ego_weapon/city/axegang/leader,
/obj/item/ego_weapon/city/district23,
/obj/item/ego_weapon/city/district23/pierre,)
/obj/item/ego_weapon/city/district23/pierre,
)

veryrareloot = list(
/obj/item/ego_weapon/city/sweeper/hooksword,
/obj/item/ego_weapon/city/sweeper/sickle,
/obj/item/ego_weapon/city/sweeper/claw,
)

//J-corp syndicate stuff, normally priced and most weapons are very gimmicky to use. Good for early game, bad for late. Has 1 more armor over weapons.
/obj/structure/lootcrate/jcorp
name = "jcorp syndicate crate"
desc = "A crate recieved from J-corp syndicates. Open with a Crowbar"
icon_state = "crate_jcorp"
rarechance = 30
veryrarechance = 10
lootlist = list(
/obj/item/clothing/suit/armor/ego_gear/city/mariachi,
/obj/item/clothing/suit/armor/ego_gear/city/mariachi/vivaz,
/obj/item/ego_weapon/city/mariachi_blades,
/obj/item/ego_weapon/city/ting_tang,
/obj/item/ego_weapon/city/ting_tang/cleaver,
/obj/item/ego_weapon/city/ting_tang/pipe,
/obj/item/clothing/suit/armor/ego_gear/city/ting_tang,
/obj/item/clothing/suit/armor/ego_gear/city/ting_tang/puffer,
/obj/item/clothing/suit/armor/ego_gear/city/ting_tang/rustic,
)

rareloot = list(
/obj/item/clothing/suit/armor/ego_gear/city/ting_tang/boss,
/obj/item/ego_weapon/city/ting_tang/knife,
/obj/item/clothing/suit/armor/ego_gear/city/mariachi/aida,
/obj/item/ego_weapon/city/mariachi,
/obj/item/ego_weapon/city/mariachi/dual,
)

veryrareloot = list(
/obj/item/clothing/suit/armor/ego_gear/city/mariachi/aida_boss,
/obj/item/ego_weapon/city/mariachi/dual/boss,
)
8 changes: 8 additions & 0 deletions ModularTegustation/tegu_items/refinery/sales.dm
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,11 @@
crate = /obj/structure/lootcrate/backstreets
power_timer = 180 //Takes a bit
crate_timer = 180 //And it's super cheap

/obj/structure/pe_sales/jcorp
name = "J-corp Syndicate Power Input"
desc = "A machine used to send PE to J-corp's syndicates"
icon_state = "machinejcorp"
crate = /obj/structure/lootcrate/jcorp
power_timer = 180 //Takes a bit
crate_timer = 180 //And it's super cheap
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ White version of Kurokumo.
Blade Lineage
Lock in place, giving yourself a big damage boost.
Ting Tang
Rolls damage every hit between 10% and max damage like dice weapons. Has slightly more max damage than its tier. Chances scale off of current sanity.
Everything else.
Expand Down
146 changes: 146 additions & 0 deletions code/game/objects/items/ego_weapons/non_abnormality/jcorp.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
//Ting-Tang, weapons are quite gimmicky, and leaves up to chance. Thus does a bit more damage than their tier allows.
//All weapons, but leader are grade 7, they are all quite the jobber anyways.
/obj/item/ego_weapon/city/ting_tang
name = "ting tang shank"
desc = "A twisted piece of metal. The shape makes very open wounds."
special = "This deals a random damage amount between 10% of max damage and max damage. Chances scale with sanity with a max of 50% instead of 10%."
icon_state = "tingtang_shank"
inhand_icon_state = "tingtang_shank"
force = 27
attack_speed = 1
damtype = WHITE_DAMAGE //Almost everyone and their mother in this god forsaken district does something with sanity.
armortype = WHITE_DAMAGE
attack_verb_continuous = list("slices", "gashes", "stabs")
attack_verb_simple = list("slice", "gash", "stab")
hitsound = 'sound/weapons/fixer/generic/knife3.ogg'
var/sp_mod

/obj/item/ego_weapon/city/ting_tang/attack(mob/living/target, mob/living/user) //mostly stolen from dice code
sp_mod = user.sanityhealth / user.maxSanity * 0.5 //hits .5 at max sanity.
sp_mod = max(0.10, sp_mod)
force = rand(force*sp_mod, force)
..()
force = initial(force)

/obj/item/ego_weapon/city/ting_tang/cleaver
name = "ting tang cleaver"
desc = "It's quite heavy, clearly made for throwing your weight around."
icon_state = "tingtang_cleaver"
inhand_icon_state = "tingtang_cleaver"
force = 40
attack_speed = 1.5
hitsound = 'sound/weapons/fixer/generic/blade5.ogg'

/obj/item/ego_weapon/city/ting_tang/pipe
name = "ting tang pipe"
desc = "A heavy pipe that you're pretty sure used to belong in a car."
icon_state = "tingtang_pipe"
inhand_icon_state = "tingtang_pipe"
force = 54
attack_speed = 2
attack_verb_continuous = list("smacks", "bludgeons", "beats")
attack_verb_simple = list("smack", "bludgeon", "beat")
hitsound = 'sound/weapons/fixer/generic/baton1.ogg'

/obj/item/ego_weapon/city/ting_tang/knife //Leader, Grade 6
name = "ting tang knife"
desc = "The finger hook at the end lets you pull off some sick tricks. If you had the skill."
icon_state = "tingtang_knife"
inhand_icon_state = "tingtang_knife"
force = 37
attack_speed = 1
hitsound = 'sound/weapons/fixer/generic/knife1.ogg'
attribute_requirements = list(
FORTITUDE_ATTRIBUTE = 40,
PRUDENCE_ATTRIBUTE = 60,
TEMPERANCE_ATTRIBUTE = 40,
JUSTICE_ATTRIBUTE = 40
)

//Los Mariachis - Grade 7 with poise crits, white version of Kurokumo.
/obj/item/ego_weapon/city/mariachi
name = "maraca"
desc = "A single maraca used by Los Mariachis."
special = "This weapon gains 1 poise for every attack. 1 poise gives you a 2% chance to crit at 3x damage, stacking linearly. Critical hits reduce poise to 0."
icon_state = "maracas"
inhand_icon_state = "maracas"
force = 22
damtype = WHITE_DAMAGE
armortype = WHITE_DAMAGE
attack_verb_continuous = list("bashes", "clubs")
attack_verb_simple = list("bashes", "clubs")
hitsound = 'sound/weapons/fixer/generic/club1.ogg'
var/poise = 0

/obj/item/ego_weapon/city/mariachi/examine(mob/user)
. = ..()
. += "Current Poise: [poise]/20."

/obj/item/ego_weapon/city/mariachi/attack(mob/living/target, mob/living/carbon/human/user)
if(!CanUseEgo(user))
return
poise+=1
if(poise>= 20)
poise = 20

//Crit itself.
if(prob(poise*2))
force*=3
to_chat(user, "<span class='userdanger'>Critical!</span>")
poise = 0
..()
force = initial(force)

//Sp healing for jobbers
/obj/item/ego_weapon/city/mariachi_blades
name = "dual machetes"
desc = "A pair of machetes used by the Los Mariachis."
special = "On kill, heal 15 sanity."
icon_state = "mariachi_blades"
inhand_icon_state = "mariachi_blades"
force = 22
damtype = WHITE_DAMAGE
armortype = WHITE_DAMAGE
attack_verb_continuous = list("slashes", "slices")
attack_verb_simple = list("slash", "slice")
hitsound = 'sound/weapons/fixer/generic/blade1.ogg'

/obj/item/ego_weapon/city/mariachi_blades/attack(mob/living/target, mob/living/carbon/human/user)
var/living = FALSE
if(!CanUseEgo(user))
return
if(target.stat != DEAD)
living = TRUE
..()
if(target.stat == DEAD && living)
user.adjustSanityLoss(-15)
living = FALSE

//Leader, Grade 6 (She's pretty weak)
/obj/item/ego_weapon/city/mariachi/dual
name = "maracas"
desc = "A pair of maracas used by the leader of Los Mariachis."
icon_state = "dualmaracas"
inhand_icon_state = "dualmaracas"
force = 19 //Double the maracas twice the attack speed.
attack_speed = 0.5
attribute_requirements = list(
FORTITUDE_ATTRIBUTE = 60,
PRUDENCE_ATTRIBUTE = 40,
TEMPERANCE_ATTRIBUTE = 40,
JUSTICE_ATTRIBUTE = 40
)

//Pre-nerf Aida, the real prize of J-corp. Grade 5
/obj/item/ego_weapon/city/mariachi/dual/boss
name = "glowing maracas"
desc = "A pair of glowing maracas used by the leader of Los Mariachis. Only seen by the now dead."
icon_state = "dualmaracas_boss"
inhand_icon_state = "dualmaracas_boss"
force = 25
attribute_requirements = list(
FORTITUDE_ATTRIBUTE = 80,
PRUDENCE_ATTRIBUTE = 60,
TEMPERANCE_ATTRIBUTE = 60,
JUSTICE_ATTRIBUTE = 60
)
47 changes: 0 additions & 47 deletions code/game/objects/items/ego_weapons/non_abnormality/mariachi.dm

This file was deleted.

77 changes: 77 additions & 0 deletions code/modules/clothing/suits/ego_gear/non_abnormality/jcorp.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
//Ting Tang, stuffs kinda jobber, no reqs anyways so big day for clerks. White resist to pair up with weapons.
/obj/item/clothing/suit/armor/ego_gear/city/ting_tang
flags_inv = HIDEJUMPSUIT|HIDEGLOVES
name = "red ting tang shirt"
desc = "A hawaiin shirt that comes with tattos, somehow. They supposedly bring good luck."
icon_state = "tingtang_bean"
armor = list(RED_DAMAGE = 10, WHITE_DAMAGE = 30, BLACK_DAMAGE = -10, PALE_DAMAGE = -10)

/obj/item/clothing/suit/armor/ego_gear/city/ting_tang/puffer
name = "blue ting tang shirt"
icon_state = "tingtang_bean"

/obj/item/clothing/suit/armor/ego_gear/city/ting_tang/rustic
name = "yellow ting tang shirt"
icon_state = "tingtang_bean"

/obj/item/clothing/suit/armor/ego_gear/city/ting_tang/boss
name = "green ting tang shirt"
desc = "A hawaiin shirt worn by the boss of the Ting Tang Gang. The tattos on this one feel luckier."
icon_state = "tingtang_boss"
armor = list(RED_DAMAGE = 20, WHITE_DAMAGE = 40, BLACK_DAMAGE = 20, PALE_DAMAGE = 10)
attribute_requirements = list(
FORTITUDE_ATTRIBUTE = 60,
PRUDENCE_ATTRIBUTE = 60,
TEMPERANCE_ATTRIBUTE = 60,
JUSTICE_ATTRIBUTE = 60
)

//Mariachis, balanced red and white resists. two non-req armors, 2 moderately strong ones.
/obj/item/clothing/suit/armor/ego_gear/city/mariachi
name = "los mariachis poncho"
desc = "A poncho worn by members of the Los Mariachis. This one's blue."
icon_state = "mariachis_alegre"
armor = list(RED_DAMAGE = 20, WHITE_DAMAGE = 20, BLACK_DAMAGE = -10, PALE_DAMAGE = -10)

/obj/item/clothing/suit/armor/ego_gear/city/mariachi/vivaz
desc = "A poncho worn by members of the Los Mariachis. This one's brown."
icon_state = "mariachis_vivaz"

/obj/item/clothing/suit/armor/ego_gear/city/mariachi/aida
name = "los mariachis armor"
desc = "The outfit of the Los Mariachis leader. Its well woven for sure."
icon_state = "aida"
armor = list(RED_DAMAGE = 30, WHITE_DAMAGE = 30, BLACK_DAMAGE = 10, PALE_DAMAGE = 20)
hat = /obj/item/clothing/head/ego_hat/aida_hat
attribute_requirements = list(
FORTITUDE_ATTRIBUTE = 60,
PRUDENCE_ATTRIBUTE = 60,
TEMPERANCE_ATTRIBUTE = 60,
JUSTICE_ATTRIBUTE = 60
)

/obj/item/clothing/head/ego_hat/aida_hat
name = "los mariachis sombrero"
desc = "A sombrero worn by the Los Mariachis leader. It makes you want to dance."
icon_state = "aida"

/obj/item/clothing/suit/armor/ego_gear/city/mariachi/aida_boss
name = "los mariachis armor"
desc = "The outfit of the Los Mariachis leader. No one has seen this form and live."
icon_state = "aida_boss"
armor = list(RED_DAMAGE = 40, WHITE_DAMAGE = 40, BLACK_DAMAGE = 20, PALE_DAMAGE = 30)
hat = /obj/item/clothing/head/ego_hat/aida_hat_boss
attribute_requirements = list(
FORTITUDE_ATTRIBUTE = 80,
PRUDENCE_ATTRIBUTE = 80,
TEMPERANCE_ATTRIBUTE = 80,
JUSTICE_ATTRIBUTE = 80
)

/obj/item/clothing/head/ego_hat/aida_hat_boss
name = "los mariachis sombrero"
desc = "A sombrero worn by the Los Mariachis leader. This one has a glowing mask of a skull."
icon_state = "aida_boss"
flags_inv = HIDEMASK|HIDEFACE|HIDEFACIALHAIR|HIDEHAIR
dynamic_hair_suffix = ""
dynamic_fhair_suffix = ""
Binary file modified icons/mob/clothing/ego_gear/head.dmi
Binary file not shown.
Binary file modified icons/mob/clothing/ego_gear/lc13_armor.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/ego_gear/lc13_armor.dmi
Binary file not shown.
3 changes: 2 additions & 1 deletion lobotomy-corp13.dme
Original file line number Diff line number Diff line change
Expand Up @@ -1219,13 +1219,13 @@
#include "code\game\objects\items\ego_weapons\non_abnormality\gradeone.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\hana.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\index.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\jcorp.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\jeong.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\kcorp.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\leaflet.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\limbus_ego.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\limbus_sinner.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\liu.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\mariachi.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\mirae.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\miscbackstreet.dm"
#include "code\game\objects\items\ego_weapons\non_abnormality\miscfixer.dm"
Expand Down Expand Up @@ -2051,6 +2051,7 @@
#include "code\modules\clothing\suits\ego_gear\non_abnormality\fullstop.dm"
#include "code\modules\clothing\suits\ego_gear\non_abnormality\hana.dm"
#include "code\modules\clothing\suits\ego_gear\non_abnormality\index.dm"
#include "code\modules\clothing\suits\ego_gear\non_abnormality\jcorp.dm"
#include "code\modules\clothing\suits\ego_gear\non_abnormality\kcorp.dm"
#include "code\modules\clothing\suits\ego_gear\non_abnormality\kurokumo.dm"
#include "code\modules\clothing\suits\ego_gear\non_abnormality\limbus_ego.dm"
Expand Down

0 comments on commit 7f2215e

Please sign in to comment.