mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 17:14:47 +01:00
Makes illegal tech node harder to unlock
This commit is contained in:
@@ -982,7 +982,7 @@
|
||||
boost_item_paths = list()
|
||||
for(var/path in GLOB.uplink_items)
|
||||
var/datum/uplink_item/UI = new path
|
||||
if(!UI.item)
|
||||
if(!UI.item || !UI.illegal_tech)
|
||||
continue
|
||||
boost_item_paths |= UI.item //allows deconning to unlock.
|
||||
|
||||
|
||||
@@ -75,6 +75,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
|
||||
var/player_minimum //The minimum crew size needed for this item to be added to uplinks.
|
||||
var/purchase_log_vis = TRUE // Visible in the purchase log?
|
||||
var/restricted = FALSE // Adds restrictions for VR/Events
|
||||
var/illegal_tech = TRUE // Can this item be deconstructed to unlock certain techweb research nodes?
|
||||
|
||||
/datum/uplink_item/New()
|
||||
. = ..()
|
||||
@@ -476,6 +477,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
|
||||
item = /obj/item/ammo_box/a357
|
||||
cost = 4
|
||||
exclude_modes = list(/datum/game_mode/nuclear/clown_ops)
|
||||
illegal_tech = FALSE
|
||||
|
||||
/datum/uplink_item/ammo/shotgun
|
||||
cost = 2
|
||||
@@ -624,6 +626,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
|
||||
item = /obj/item/ammo_box/foambox/riot
|
||||
cost = 2
|
||||
surplus = 0
|
||||
illegal_tech = FALSE
|
||||
|
||||
/datum/uplink_item/ammo/bioterror
|
||||
name = "Box of Bioterror Syringes"
|
||||
@@ -1577,6 +1580,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
|
||||
desc = "Strong flavor, dense smoke, infused with omnizine."
|
||||
item = /obj/item/storage/fancy/cigarettes/cigpack_syndicate
|
||||
cost = 2
|
||||
illegal_tech = FALSE
|
||||
|
||||
/datum/uplink_item/badass/balloon
|
||||
name = "Syndicate Balloon"
|
||||
@@ -1585,6 +1589,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
|
||||
item = /obj/item/toy/syndicateballoon
|
||||
cost = 20
|
||||
cant_discount = TRUE
|
||||
illegal_tech = FALSE
|
||||
|
||||
/datum/uplink_item/badass/costumes
|
||||
surplus = 0
|
||||
|
||||
Reference in New Issue
Block a user