mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
Bug Fixes (#4076)
Fixes #4074 Fixes #4047 Fixes #4005 Fixes #3995 Fixes #3953 Fixes #3855 Fixes #3426
This commit is contained in:
@@ -145,8 +145,13 @@
|
||||
var/is_wanted = 0
|
||||
if(is_type_in_list(offer,wanted_items))
|
||||
is_wanted = 1
|
||||
if(blacklisted_trade_items && blacklisted_trade_items.len && is_type_in_list(offer,blacklisted_trade_items))
|
||||
return 0
|
||||
if(blacklisted_trade_items && blacklisted_trade_items.len)
|
||||
if(ishuman(offer))
|
||||
var/mob/living/carbon/human/A = offer
|
||||
if(is_type_in_list(A.species, blacklisted_trade_items))
|
||||
return 0
|
||||
else if(is_type_in_list(offer,blacklisted_trade_items))
|
||||
return 0
|
||||
|
||||
if(istype(offer,/obj/item/weapon/spacecash))
|
||||
if(!(trade_flags & TRADER_MONEY))
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
/obj/item/weapon/gun/energy/rifle/pulse = TRADER_THIS_TYPE
|
||||
)
|
||||
|
||||
blacklisted_trade_items = null
|
||||
blacklisted_trade_items = list(/datum/species/monkey, /datum/species/machine, /datum/species/bug, /datum/species/diona)
|
||||
|
||||
speech = list(
|
||||
"hail_generic" = "H-hello. Can you hear me? G-good... I have... specific needs... I have a lot to t-trade with you in return of course.",
|
||||
|
||||
Reference in New Issue
Block a user