Skip to content

Commit

Permalink
Cleans up after /accessory breakup.
Browse files Browse the repository at this point in the history
  • Loading branch information
MistakeNot4892 authored and comma committed Apr 26, 2024
1 parent 108beb7 commit b629b36
Show file tree
Hide file tree
Showing 47 changed files with 813 additions and 747 deletions.
66 changes: 33 additions & 33 deletions code/datums/trading/traders/ai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ They sell generic supplies and ask for generic supplies.
TRADER_BRIBE_REFUSAL = "You have given me money to stay, however, I am a station. I do not leave.",
)
possible_wanted_items = list(
/obj/item = TRADER_SUBTYPES_ONLY,
/obj/item/assembly = TRADER_BLACKLIST_ALL,
/obj/item/assembly_holder = TRADER_BLACKLIST_ALL,
/obj/item/encryptionkey/hacked = TRADER_BLACKLIST,
/obj/item/tank/onetankbomb = TRADER_BLACKLIST,
/obj/item/radio = TRADER_BLACKLIST_ALL,
/obj/item/modular_computer/pda = TRADER_BLACKLIST_SUB,
/obj/item/uplink = TRADER_BLACKLIST
/obj/item = TRADER_SUBTYPES_ONLY,
/obj/item/assembly = TRADER_BLACKLIST_ALL,
/obj/item/assembly_holder = TRADER_BLACKLIST_ALL,
/obj/item/encryptionkey/hacked = TRADER_BLACKLIST,
/obj/item/tank/onetankbomb = TRADER_BLACKLIST,
/obj/item/radio = TRADER_BLACKLIST_ALL,
/obj/item/modular_computer/pda = TRADER_BLACKLIST_SUB,
/obj/item/uplink = TRADER_BLACKLIST
)
possible_trading_items = list(
/obj/item/bag = TRADER_SUBTYPES_ONLY,
Expand All @@ -50,16 +50,16 @@ They sell generic supplies and ask for generic supplies.
/obj/item/briefcase = TRADER_THIS_TYPE,
/obj/item/box/fancy = TRADER_SUBTYPES_ONLY,
/obj/item/laundry_basket = TRADER_THIS_TYPE,
/obj/item/secure_storage/briefcase = TRADER_THIS_TYPE,
/obj/item/secure_storage/briefcase = TRADER_THIS_TYPE,
/obj/item/plants = TRADER_THIS_TYPE,
/obj/item/ore = TRADER_THIS_TYPE,
/obj/item/toolbox = TRADER_ALL,
/obj/item/wallet = TRADER_THIS_TYPE,
/obj/item/photo_album = TRADER_THIS_TYPE,
/obj/item/clothing/glasses = TRADER_SUBTYPES_ONLY,
/obj/item/clothing/glasses/hud = TRADER_BLACKLIST_ALL,
/obj/item/clothing/glasses/blindfold/tape = TRADER_BLACKLIST,
/obj/item/clothing/glasses/chameleon = TRADER_BLACKLIST
/obj/item/clothing/glasses = TRADER_SUBTYPES_ONLY,
/obj/item/clothing/glasses/hud = TRADER_BLACKLIST_ALL,
/obj/item/clothing/glasses/blindfold/tape = TRADER_BLACKLIST,
/obj/item/clothing/glasses/chameleon = TRADER_BLACKLIST
)

insult_drop = 0
Expand Down Expand Up @@ -97,25 +97,25 @@ They sell generic supplies and ask for generic supplies.
origin = "Manifacturing Beacon"

possible_trading_items = list(
/obj/structure/aicore = TRADER_THIS_TYPE,
/obj/structure/girder = TRADER_THIS_TYPE,
/obj/structure/grille = TRADER_THIS_TYPE,
/obj/structure/mopbucket = TRADER_THIS_TYPE,
/obj/structure/ore_box = TRADER_THIS_TYPE,
/obj/structure/coatrack = TRADER_THIS_TYPE,
/obj/structure/bookcase = TRADER_THIS_TYPE,
/obj/item/bee_pack = TRADER_THIS_TYPE,
/obj/item/bee_smoker = TRADER_THIS_TYPE,
/obj/item/beehive_assembly = TRADER_THIS_TYPE,
/obj/item/glass_jar = TRADER_THIS_TYPE,
/obj/item/honey_frame = TRADER_THIS_TYPE,
/obj/item/target = TRADER_ALL,
/obj/structure/tank_rack = TRADER_SUBTYPES_ONLY,
/obj/structure/filing_cabinet = TRADER_THIS_TYPE,
/obj/structure/safe = TRADER_THIS_TYPE,
/obj/structure/plushie = TRADER_SUBTYPES_ONLY,
/obj/structure/sign = TRADER_SUBTYPES_ONLY,
/obj/structure/sign/double = TRADER_BLACKLIST_ALL,
/obj/structure/aicore = TRADER_THIS_TYPE,
/obj/structure/girder = TRADER_THIS_TYPE,
/obj/structure/grille = TRADER_THIS_TYPE,
/obj/structure/mopbucket = TRADER_THIS_TYPE,
/obj/structure/ore_box = TRADER_THIS_TYPE,
/obj/structure/coatrack = TRADER_THIS_TYPE,
/obj/structure/bookcase = TRADER_THIS_TYPE,
/obj/item/bee_pack = TRADER_THIS_TYPE,
/obj/item/bee_smoker = TRADER_THIS_TYPE,
/obj/item/beehive_assembly = TRADER_THIS_TYPE,
/obj/item/glass_jar = TRADER_THIS_TYPE,
/obj/item/honey_frame = TRADER_THIS_TYPE,
/obj/item/target = TRADER_ALL,
/obj/structure/tank_rack = TRADER_SUBTYPES_ONLY,
/obj/structure/filing_cabinet = TRADER_THIS_TYPE,
/obj/structure/safe = TRADER_THIS_TYPE,
/obj/structure/plushie = TRADER_SUBTYPES_ONLY,
/obj/structure/sign = TRADER_SUBTYPES_ONLY,
/obj/structure/sign/double = TRADER_BLACKLIST_ALL,
/obj/structure/sign/plaque/golden = TRADER_BLACKLIST_ALL,
/obj/structure/sign/poster = TRADER_BLACKLIST
/obj/structure/sign/poster = TRADER_BLACKLIST
)
4 changes: 3 additions & 1 deletion code/datums/trading/traders/food.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
)
trade_flags = TRADER_MONEY
possible_wanted_items = list() //They are a pizza shop, not a bargainer.
possible_trading_items = list(/obj/item/chems/food/sliceable/pizza = TRADER_SUBTYPES_ONLY)
possible_trading_items = list(
/obj/item/chems/food/sliceable/pizza = TRADER_SUBTYPES_ONLY
)

speech = list(
TRADER_HAIL_GENERIC = "Hello! Welcome to " + TRADER_TOKEN_ORIGIN + ", may I take your order?",
Expand Down
82 changes: 43 additions & 39 deletions code/datums/trading/traders/goods.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
/obj/item/energy_blade/sword/toy = TRADER_THIS_TYPE,
/obj/item/toy/bosunwhistle = TRADER_THIS_TYPE,
/obj/item/board = TRADER_THIS_TYPE,
/obj/item/box/checkers = TRADER_ALL,
/obj/item/box/checkers = TRADER_ALL,
/obj/item/deck = TRADER_SUBTYPES_ONLY,
/obj/item/pack = TRADER_SUBTYPES_ONLY,
/obj/item/dice = TRADER_ALL,
Expand Down Expand Up @@ -174,34 +174,38 @@
"Space Fashion"
)
possible_trading_items = list(
/obj/item/clothing/accessory = TRADER_ALL,
/obj/item/clothing/badge = TRADER_BLACKLIST_ALL,
/obj/item/clothing/webbing/holster = TRADER_BLACKLIST_ALL,
/obj/item/clothing/medal = TRADER_BLACKLIST_ALL,
/obj/item/clothing/webbing = TRADER_BLACKLIST_ALL,
/obj/item/clothing/gloves = TRADER_SUBTYPES_ONLY,
/obj/item/clothing/gloves/lightrig = TRADER_BLACKLIST_ALL,
/obj/item/clothing/gloves/rig = TRADER_BLACKLIST_ALL,
/obj/item/clothing/gloves/thick/swat = TRADER_BLACKLIST,
/obj/item/clothing/gloves/chameleon = TRADER_BLACKLIST,
/obj/item/clothing/head = TRADER_SUBTYPES_ONLY,
/obj/item/clothing/head/HoS = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/bio_hood = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/bomb_hood = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/caphat = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/centhat = TRADER_BLACKLIST,
/obj/item/clothing/head/chameleon = TRADER_BLACKLIST,
/obj/item/clothing/head/collectable = TRADER_BLACKLIST,
/obj/item/clothing/head/culthood = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/helmet = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/lightrig = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/radiation = TRADER_BLACKLIST,
/obj/item/clothing/head/warden = TRADER_BLACKLIST,
/obj/item/clothing/head/welding = TRADER_BLACKLIST
/obj/item/clothing/neck = TRADER_ALL,
/obj/item/clothing/suit/jacket = TRADER_ALL,
/obj/item/clothing/suit/robe = TRADER_ALL,
/obj/item/clothing/shoes/legbrace = TRADER_ALL,
/obj/item/clothing/shoes/kneepads = TRADER_ALL,
/obj/item/clothing/armor_attachment/tag = TRADER_ALL,
/obj/item/clothing/armor_attachment/helmcover = TRADER_ALL,
/obj/item/clothing/badge = TRADER_BLACKLIST_ALL,
/obj/item/clothing/medal = TRADER_BLACKLIST_ALL,
/obj/item/clothing/webbing = TRADER_BLACKLIST_ALL,
/obj/item/clothing/webbing/holster = TRADER_BLACKLIST_ALL,
/obj/item/clothing/gloves = TRADER_SUBTYPES_ONLY,
/obj/item/clothing/gloves/lightrig = TRADER_BLACKLIST_ALL,
/obj/item/clothing/gloves/rig = TRADER_BLACKLIST_ALL,
/obj/item/clothing/gloves/thick/swat = TRADER_BLACKLIST,
/obj/item/clothing/gloves/chameleon = TRADER_BLACKLIST,
/obj/item/clothing/head = TRADER_SUBTYPES_ONLY,
/obj/item/clothing/head/HoS = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/bio_hood = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/bomb_hood = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/caphat = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/centhat = TRADER_BLACKLIST,
/obj/item/clothing/head/chameleon = TRADER_BLACKLIST,
/obj/item/clothing/head/collectable = TRADER_BLACKLIST,
/obj/item/clothing/head/culthood = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/helmet = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/lightrig = TRADER_BLACKLIST_ALL,
/obj/item/clothing/head/radiation = TRADER_BLACKLIST,
/obj/item/clothing/head/warden = TRADER_BLACKLIST,
/obj/item/clothing/head/welding = TRADER_BLACKLIST
)



/*
Sells devices, odds and ends, and medical stuff
*/
Expand Down Expand Up @@ -378,20 +382,20 @@ Sells devices, odds and ends, and medical stuff
)

possible_wanted_items = list(
/obj/item/chems/drinks/bottle = TRADER_THIS_TYPE,
/obj/item/organ/internal/liver = TRADER_THIS_TYPE,
/obj/item/organ/internal/kidneys = TRADER_THIS_TYPE,
/obj/item/organ/internal/lungs = TRADER_THIS_TYPE,
/obj/item/organ/internal/heart = TRADER_THIS_TYPE,
/obj/item/box/fancy/cigarettes = TRADER_ALL
/obj/item/chems/drinks/bottle = TRADER_THIS_TYPE,
/obj/item/organ/internal/liver = TRADER_THIS_TYPE,
/obj/item/organ/internal/kidneys = TRADER_THIS_TYPE,
/obj/item/organ/internal/lungs = TRADER_THIS_TYPE,
/obj/item/organ/internal/heart = TRADER_THIS_TYPE,
/obj/item/box/fancy/cigarettes = TRADER_ALL
)

possible_trading_items = list(
/obj/item/pill_bottle = TRADER_SUBTYPES_ONLY,
/obj/item/firstaid/fire = TRADER_THIS_TYPE,
/obj/item/firstaid/toxin = TRADER_THIS_TYPE,
/obj/item/firstaid/adv = TRADER_THIS_TYPE,
/obj/item/box/bloodpacks = TRADER_THIS_TYPE,
/obj/item/pill_bottle = TRADER_SUBTYPES_ONLY,
/obj/item/firstaid/fire = TRADER_THIS_TYPE,
/obj/item/firstaid/toxin = TRADER_THIS_TYPE,
/obj/item/firstaid/adv = TRADER_THIS_TYPE,
/obj/item/box/bloodpacks = TRADER_THIS_TYPE,
/obj/item/chems/ivbag = TRADER_SUBTYPES_ONLY,
/obj/item/retractor = TRADER_THIS_TYPE,
/obj/item/hemostat = TRADER_THIS_TYPE,
Expand Down Expand Up @@ -447,7 +451,7 @@ Sells devices, odds and ends, and medical stuff
/obj/machinery/mining/drill = TRADER_THIS_TYPE,
/obj/machinery/mining/brace = TRADER_THIS_TYPE,
/obj/machinery/floodlight = TRADER_THIS_TYPE,
/obj/item/box/greenglowsticks = TRADER_THIS_TYPE,
/obj/item/box/greenglowsticks = TRADER_THIS_TYPE,
/obj/item/clothing/suit/space/void/engineering/salvage/prepared = TRADER_THIS_TYPE,
/obj/item/stack/material/puck/mapped/uranium/ten = TRADER_THIS_TYPE,
/obj/item/stack/material/sheet/reinforced/mapped/plasteel/fifty = TRADER_THIS_TYPE,
Expand Down
2 changes: 1 addition & 1 deletion code/datums/trading/traders/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
/obj/item/clothing/shoes/clown_shoes = TRADER_THIS_TYPE,
/obj/item/clothing/under/clown = TRADER_THIS_TYPE,
/obj/item/stamp/clown = TRADER_THIS_TYPE,
/obj/item/backpack/clown = TRADER_THIS_TYPE,
/obj/item/backpack/clown = TRADER_THIS_TYPE,
/obj/item/bananapeel = TRADER_THIS_TYPE,
/obj/item/gun/launcher/money = TRADER_THIS_TYPE,
/obj/item/chems/food/pie = TRADER_THIS_TYPE,
Expand Down
38 changes: 19 additions & 19 deletions code/datums/trading/traders/weaponry.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
)

possible_trading_items = list(
/obj/item/gun/projectile/pistol/holdout = TRADER_ALL,
/obj/item/gun/projectile/shotgun/pump = TRADER_SUBTYPES_ONLY,
/obj/item/ammo_magazine = TRADER_SUBTYPES_ONLY,
/obj/item/ammo_magazine/rifle/empty = TRADER_BLACKLIST,
/obj/item/ammo_magazine/pistol/small/empty = TRADER_BLACKLIST,
/obj/item/ammo_magazine/pistol/empty = TRADER_BLACKLIST,
/obj/item/ammo_magazine/box/pistol/empty = TRADER_BLACKLIST,
/obj/item/ammo_magazine/smg/empty = TRADER_BLACKLIST,
/obj/item/clothing/webbing/holster = TRADER_ALL
/obj/item/gun/projectile/pistol/holdout = TRADER_ALL,
/obj/item/gun/projectile/shotgun/pump = TRADER_SUBTYPES_ONLY,
/obj/item/ammo_magazine = TRADER_SUBTYPES_ONLY,
/obj/item/ammo_magazine/rifle/empty = TRADER_BLACKLIST,
/obj/item/ammo_magazine/pistol/small/empty = TRADER_BLACKLIST,
/obj/item/ammo_magazine/pistol/empty = TRADER_BLACKLIST,
/obj/item/ammo_magazine/box/pistol/empty = TRADER_BLACKLIST,
/obj/item/ammo_magazine/smg/empty = TRADER_BLACKLIST,
/obj/item/clothing/webbing/holster = TRADER_ALL
)

/datum/trader/ship/egunshop
Expand Down Expand Up @@ -65,15 +65,15 @@
)

possible_trading_items = list(
/obj/item/gun/energy/taser = TRADER_THIS_TYPE,
/obj/item/gun/energy/xray = TRADER_THIS_TYPE,
/obj/item/gun/energy/laser = TRADER_THIS_TYPE,
/obj/item/gun/energy/gun = TRADER_THIS_TYPE,
/obj/item/cell = TRADER_THIS_TYPE,
/obj/item/cell/crap = TRADER_THIS_TYPE,
/obj/item/cell/high = TRADER_THIS_TYPE,
/obj/item/cell/super = TRADER_THIS_TYPE,
/obj/item/cell/hyper = TRADER_THIS_TYPE,
/obj/item/gun/energy/taser = TRADER_THIS_TYPE,
/obj/item/gun/energy/xray = TRADER_THIS_TYPE,
/obj/item/gun/energy/laser = TRADER_THIS_TYPE,
/obj/item/gun/energy/gun = TRADER_THIS_TYPE,
/obj/item/cell = TRADER_THIS_TYPE,
/obj/item/cell/crap = TRADER_THIS_TYPE,
/obj/item/cell/high = TRADER_THIS_TYPE,
/obj/item/cell/super = TRADER_THIS_TYPE,
/obj/item/cell/hyper = TRADER_THIS_TYPE,
/obj/item/clothing/webbing/holster = TRADER_ALL
)

Expand Down Expand Up @@ -102,5 +102,5 @@
/obj/item/gun/projectile/bolt_action/sniper/ant = TRADER_THIS_TYPE,
/obj/item/gun/energy/laser/dogan = TRADER_THIS_TYPE,
/obj/item/gun/projectile/automatic/smg/usi = TRADER_THIS_TYPE,
/obj/item/clothing/webbing/holster = TRADER_ALL
/obj/item/clothing/webbing/holster = TRADER_ALL
)
4 changes: 3 additions & 1 deletion code/game/gamemodes/wizard/servant_items/champion.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
armor = list(
ARMOR_MELEE = ARMOR_MELEE_MINOR
)
starting_accessories = list(/obj/item/clothing/shirt/tunic/blue/champion)
starting_accessories = list(
/obj/item/clothing/shirt/tunic/blue/champion
)

/obj/item/clothing/shoes/jackboots/medievalboots
name = "leather boots"
Expand Down
4 changes: 3 additions & 1 deletion code/game/gamemodes/wizard/servant_items/familiar.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
/obj/item/clothing/pants/familiar
name = "familiar's garb"
desc = "Some rough leather leggings, reinforced here and there. A hasty job."
starting_accessories = list(/obj/item/clothing/shirt/tunic/green/familiar)
starting_accessories = list(
/obj/item/clothing/shirt/tunic/green/familiar
)

/obj/item/clothing/pants/familiar/Initialize()
. = ..()
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/weapons/explosives.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
/obj/item/plastique/afterattack(atom/movable/target, mob/user, flag)
if (!flag)
return
if (ismob(target) || target.storage || istype(target, /obj/item/clothing/webbing/) || istype(target, /obj/item/clothing/under))
if (ismob(target) || target.storage || istype(target, /obj/item/clothing/webbing) || istype(target, /obj/item/clothing/under))
return
if(isturf(target))
var/turf/target_turf = target
Expand Down
Loading

0 comments on commit b629b36

Please sign in to comment.